vorbis-tools-1.4.0/0000777000175000017500000000000011353056544011171 500000000000000vorbis-tools-1.4.0/intl/0000777000175000017500000000000011353056543012136 500000000000000vorbis-tools-1.4.0/intl/Makefile.in0000644000175000017500000005041311326242572014121 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.0/intl/ChangeLog0000644000175000017500000000010711326242572013621 000000000000002007-11-07 GNU * Version 0.17 released. vorbis-tools-1.4.0/intl/config.charset0000744000175000017500000004702610623354201014673 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.0/intl/locale.alias0000644000175000017500000000510611326242572014325 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.0/intl/ref-add.sin0000644000175000017500000000210510623354201014054 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.0/intl/ref-del.sin0000644000175000017500000000203010623354200014064 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.0/intl/export.h0000644000175000017500000000023510623354200013532 00000000000000 #if @HAVE_VISIBILITY@ && BUILDING_LIBINTL #define LIBINTL_DLL_EXPORTED __attribute__((__visibility__("default"))) #else #define LIBINTL_DLL_EXPORTED #endif vorbis-tools-1.4.0/intl/libintl.rc0000644000175000017500000000323311326242572014035 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.0/intl/gmo.h0000644000175000017500000001151211326242572013004 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.0/intl/gettextP.h0000644000175000017500000002221411326242572014027 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.0/intl/hash-string.h0000644000175000017500000000256610623354201014452 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.0/intl/loadinfo.h0000644000175000017500000001211310623354201014003 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.0/intl/plural-exp.h0000644000175000017500000001013111326242572014307 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.0/intl/eval-plural.h0000644000175000017500000000534211326242572014452 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.0/intl/localcharset.h0000644000175000017500000000256310623354200014663 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.0/intl/lock.h0000644000175000017500000012735611326242572013170 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.0/intl/relocatable.h0000644000175000017500000000543210623354200014472 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.0/intl/tsearch.h0000644000175000017500000000536611326242572013665 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.0/intl/tsearch.c0000644000175000017500000004462011326242572013654 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.0/intl/xsize.h0000644000175000017500000000672610623354201013367 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.0/intl/printf-args.h0000644000175000017500000000662111326242572014463 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.0/intl/printf-args.c0000644000175000017500000001336311326242572014457 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.0/intl/printf-parse.h0000644000175000017500000000421310623354201014624 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.0/intl/wprintf-parse.h0000644000175000017500000000426310623354201015020 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.0/intl/printf-parse.c0000644000175000017500000003306011326242572014631 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.0/intl/vasnprintf.h0000644000175000017500000000544311326242572014422 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.0/intl/vasnwprintf.h0000644000175000017500000000330610623354200014574 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.0/intl/vasnprintf.c0000644000175000017500000035070311326242572014417 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.0/intl/os2compat.h0000644000175000017500000000302610623354201014122 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.0/intl/libgnuintl.h.in0000644000175000017500000003415311326242572015004 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.0/intl/bindtextdom.c0000644000175000017500000002137211326242572014543 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.0/intl/dcgettext.c0000644000175000017500000000342110623354200014177 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.0/intl/dgettext.c0000644000175000017500000000337110623354200014040 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.0/intl/gettext.c0000644000175000017500000000355410623354201013700 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.0/intl/finddomain.c0000644000175000017500000001367311326242572014337 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.0/intl/hash-string.c0000644000175000017500000000315110623354201014434 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.0/intl/loadmsgcat.c0000644000175000017500000010270011326242572014333 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.0/intl/localealias.c0000644000175000017500000002454611326242572014501 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.0/intl/textdomain.c0000644000175000017500000000746611326242572014406 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.0/intl/l10nflist.c0000644000175000017500000002557210623354201014034 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.0/intl/explodename.c0000644000175000017500000000654611326242572014531 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.0/intl/dcigettext.c0000644000175000017500000013334511326242572014372 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.0/intl/dcngettext.c0000644000175000017500000000347410623354201014366 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.0/intl/dngettext.c0000644000175000017500000000354610623354200014222 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.0/intl/ngettext.c0000644000175000017500000000367410623354201014061 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.0/intl/plural.y0000644000175000017500000001657611326242572013561 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.0/intl/plural-exp.c0000644000175000017500000000773211326242572014317 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.0/intl/localcharset.c0000644000175000017500000003031411326242572014662 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.0/intl/lock.c0000644000175000017500000005413011326242572013150 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.0/intl/relocatable.c0000644000175000017500000003353411326242572014502 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.0/intl/langprefs.c0000644000175000017500000000737511326242572014212 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.0/intl/localename.c0000644000175000017500000012457111326242572014327 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.0/intl/log.c0000644000175000017500000000623110623354201012770 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.0/intl/printf.c0000644000175000017500000002217311326242572013524 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.0/intl/version.c0000644000175000017500000000173110623354201013674 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.0/intl/osdep.c0000644000175000017500000000174110623354201013322 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.0/intl/os2compat.c0000644000175000017500000000550710623354201014123 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.0/intl/intl-exports.c0000644000175000017500000000273310623354201014662 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.0/intl/intl-compat.c0000644000175000017500000000662410623354200014443 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.0/intl/plural.c0000644000175000017500000014126511353056542013525 00000000000000/* A Bison parser, made by GNU Bison 2.3. */ /* 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.3" /* 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 /* 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 /* Copy the first part of user declarations. */ #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 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE #line 51 "plural.y" { unsigned long int num; enum expression_operator op; struct expression *exp; } /* Line 187 of yacc.c. */ #line 172 "plural.c" YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif /* Copy the second part of user declarations. */ #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 216 of yacc.c. */ #line 261 "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 i) #else static int YYID (i) int i; #endif { return i; } #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 *bottom, yytype_int16 *top) #else static void yy_stack_print (bottom, top) yytype_int16 *bottom; yytype_int16 *top; #endif { YYFPRINTF (stderr, "Stack now"); for (; bottom <= top; ++bottom) YYFPRINTF (stderr, " %d", *bottom); 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 look-ahead symbol. */ int yychar; /* The semantic value of the look-ahead 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; /* Look-ahead 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)); goto yybackup; /*-----------. | yybackup. | `-----------*/ yybackup: /* Do appropriate processing given the current state. Read a look-ahead token if we need one and don't already have one. */ /* First try to decide what to do without reference to look-ahead token. */ yyn = yypact[yystate]; if (yyn == YYPACT_NINF) goto yydefault; /* Not known => get a look-ahead token if don't already have one. */ /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead 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; } if (yyn == YYFINAL) YYACCEPT; /* Count tokens shifted since error; after three, turn off error status. */ if (yyerrstatus) yyerrstatus--; /* Shift the look-ahead token. */ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); /* Discard the shifted token unless it is eof. */ if (yychar != YYEOF) 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 155 "plural.y" { if ((yyvsp[(1) - (1)].exp) == NULL) YYABORT; ((struct parse_args *) arg)->res = (yyvsp[(1) - (1)].exp); } break; case 3: #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 167 "plural.y" { (yyval.exp) = new_exp_2 (lor, (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp)); } break; case 5: #line 171 "plural.y" { (yyval.exp) = new_exp_2 (land, (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp)); } break; case 6: #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 179 "plural.y" { (yyval.exp) = new_exp_2 ((yyvsp[(2) - (3)].op), (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp)); } break; case 8: #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 187 "plural.y" { (yyval.exp) = new_exp_2 ((yyvsp[(2) - (3)].op), (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp)); } break; case 10: #line 191 "plural.y" { (yyval.exp) = new_exp_1 (lnot, (yyvsp[(2) - (2)].exp)); } break; case 11: #line 195 "plural.y" { (yyval.exp) = new_exp_0 (var); } break; case 12: #line 199 "plural.y" { if (((yyval.exp) = new_exp_0 (num)) != NULL) (yyval.exp)->val.num = (yyvsp[(1) - (1)].num); } break; case 13: #line 204 "plural.y" { (yyval.exp) = (yyvsp[(2) - (3)].exp); } break; /* Line 1267 of yacc.c. */ #line 1554 "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 look-ahead 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 look-ahead 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); } if (yyn == YYFINAL) YYACCEPT; *++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 != YYEOF && 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 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.0/intl/VERSION0000644000175000017500000000004611326242572013121 00000000000000GNU gettext library from gettext-0.17 vorbis-tools-1.4.0/po/0000777000175000017500000000000011353056542011605 500000000000000vorbis-tools-1.4.0/po/Makefile.in.in0000644000175000017500000003552411327470220014176 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.0/po/remove-potcdate.sin0000644000175000017500000000066011327470220015326 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.0/po/Makevars0000644000175000017500000000343211327470220013211 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.0/po/POTFILES.in0000644000175000017500000000132211327470220013266 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.0/po/be.po0000644000175000017500000032760611353056535012467 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2003-10-21 11:45+0300\n" "Last-Translator: Ales Nyakhaychyk \n" "Language-Team: Belarusian \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:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Ÿ°ĵыğş°: ½µÑÑ‚°µ ż°ĵяці ў malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 msgid "Internal error parsing command line options.\n" msgstr "£½ÑƒÑ‚Ñ€°½°Ñ ż°ĵÑ‹ğş° Ñ€°·ħру ²Ñ‹ħ°Ñ€°Ñž ·°³°´½°³° р°´ş°.\n" #: ogg123/cmdline_options.c:90 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Ÿ°ĵµÑ€ ħуфэр° ў²´Ñƒ ĵµ½ÑˆÑ‹ ·° ½°ıĵµ½ÑˆÑ‹ ż°ĵµÑ€, рў½Ñ‹ %d šħ." #: ogg123/cmdline_options.c:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "œ°³Ñ‡Ñ‹ĵыя ²Ñ‹ħ°Ñ€Ñ‹:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Ñĵ° т°şı żÑ€Ñ‹ğ°´Ñ‹: %s.\n" #: ogg123/cmdline_options.c:138 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== ”Ñ€°ı²ÑÑ€ %s ½Ñ ²Ñ‹²´·Ñ–ць у ф°ığ.\n" #: ogg123/cmdline_options.c:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "=== µğь³° ²Ñ‹·½°Ñ‡°Ñ†ÑŒ ф°ığ ²Ñ‹²°´Ñƒ, ½Ñ ²Ñ‹·½°Ñ‡Ñ‹ÑžÑˆÑ‹ ´Ñ€°ı²ÑÑ€.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== µ´°şğ°´½Ñ‹ ф°Ñ€ĵ°Ñ‚ ²Ñ‹ħ°Ñ€°: %s.\n" #: ogg123/cmdline_options.c:177 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- µ´°żÑƒÑˆÑ‡°ğь½°µ ·½°Ñ‡Ñ½ÑŒ½µ żÑ€Ñħуфэр°. ŸÑ€°ĵµĥ°ş: 0-100.\n" #: ogg123/cmdline_options.c:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 · %s %s\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- µĵ°³Ñ‡Ñ‹ĵ° ³Ñ€°Ñ†ÑŒ şĥ½Ñ‹ 0-²Ñ‹ ş°²°ğ°ş!\n" #: ogg123/cmdline_options.c:216 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:232 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "" "--- µĵ°³Ñ‡Ñ‹ĵ° żÑ€°Ñ‡Ñ‹Ñ‚°Ñ†ÑŒ сьżÑ–с ф°ığ°Ñž %s ´ğя żÑ€°ı³Ñ€°²°½ÑŒ½Ñ. ŸÑ€°żÑƒÑˆÑ‡°½°.\n" #: ogg123/cmdline_options.c:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:261 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- ”Ñ€°ı²ÑÑ€ %s, яşÑ– ²Ñ‹·½°Ñ‡°½Ñ‹ ў ф°ığµ ½°ğ°´°ş, ½µ´°żÑƒÑˆÑ‡°ğь½Ñ‹.\n" #: ogg123/cmdline_options.c:271 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== µĵ°³Ñ‡Ñ‹ĵ° ·°³Ñ€Ñƒ·Ñ–ць ´°żĵ½Ñ‹ ´Ñ€°ı²ÑÑ€ і ½Ñĵ° ²Ñ‹·½°Ñ‡Ñ½ÑŒ½Ñ ´Ñ€°ı²ÑÑ€° ў ф°ığµ\n" "½°ğ°´°ş. ’ых°´.\n" #: ogg123/cmdline_options.c:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "œ°³Ñ‡Ñ‹ĵыя ²Ñ‹ħ°Ñ€Ñ‹:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "¤°ığ: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "œ°³Ñ‡Ñ‹ĵыя ²Ñ‹ħ°Ñ€Ñ‹:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "£²´ - ½Ñ ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "żÑ–с°½ÑŒ½µ" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "œ°³Ñ‡Ñ‹ĵыя ²Ñ‹ħ°Ñ€Ñ‹:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Ÿ°ĵыğş°: ½µÑÑ‚°µ ż°ĵяці.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "´°żĵ½°Ñ żÑ€Ñ‹ğ°´° ²Ñ‹²°´Ñƒ" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "²Ñ‹ż°´ş²°µ żÑ€°ı³Ñ€°²°½ÑŒ½µ" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "µĵ°³Ñ‡Ñ‹ĵ° °ħĵі½ÑƒÑ†ÑŒ %f сэşÑƒ½´°Ñž." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "\n" "ŸÑ€Ñ‹ğ°´° °Ñž´Ñ‹Ñ‘: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Ħт²°Ñ€°ğь½Ñ–ş: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "š°ĵэ½Ñ‚°Ñ€Ñ‹: %s" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "£²°³°: ½µĵ°³Ñ‡Ñ‹ĵ° żÑ€°Ñ‡Ñ‹Ñ‚°Ñ†ÑŒ тэчşÑƒ %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Ÿ°ĵыğş°: ½µĵ°³Ñ‡Ñ‹ĵ° ст²°Ñ€Ñ‹Ñ†ÑŒ °Ñž´Ñ‹Ñ‘ħуфэр.\n" #: ogg123/ogg123.c:561 #, c-format msgid "No module could be found to read from %s.\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° °´ÑˆÑƒş°Ñ†ÑŒ ĵ´Ñƒğь, ş°ħ чыт°Ñ†ÑŒ · %s.\n" #: ogg123/ogg123.c:566 #, c-format msgid "Cannot open %s.\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° °´Ñ‡Ñ‹½Ñ–ць %s.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "¤°Ñ€ĵ°Ñ‚ ф°ığ° %s ½µ ż°´Ñ‚рыĵğі²°µÑ†Ñ†°.\n" #: ogg123/ogg123.c:582 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" "Ÿ°ĵÑ‹ğş° °´Ñ‡Ñ‹½µ½ÑŒ½Ñ %s · ´°ż°ĵ³°ı ĵ´Ñƒğя %s. œ°³Ñ‡Ñ‹ĵ° ф°ığ ż°Ñˆş´ĥ°½Ñ‹.\n" #: ogg123/ogg123.c:601 #, c-format msgid "Playing: %s" msgstr "ŸÑ€°ı³Ñ€°²°½ÑŒ½µ: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "µĵ°³Ñ‡Ñ‹ĵ° °ħĵі½ÑƒÑ†ÑŒ %f сэşÑƒ½´°Ñž." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Ÿ°ĵыğş°: ż°ĵÑ‹ğş° ´Ñş°´°²°½ÑŒ½Ñ.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 msgid "Done." msgstr "—Ñ€ħğµ½°." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- ”·Ñ–Ñ€ş° ў żğы½Ñ–; ĵ°³Ñ‡Ñ‹ĵ°, ³ÑÑ‚° ħясшş´½°\n" #: ogg123/oggvorbis_format.c:214 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:413 #, 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:363 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:369 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "‘Ñ–Ñ‚°²°Ñ żğы½Ñ: %d ş°½°ğ(ы), %ld“ц" #: ogg123/speex_format.c:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "’эрсія: %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Ÿ°ĵÑ‹ğş° Ñ‡°Ñ‚°½ÑŒ½Ñ ·°³°ğўş°Ñž\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sŸÑ€Ñħуф ´° %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sŸÑ€Ñ‹żÑ‹½µ½°" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Ÿ°ĵÑ‹ğş° °Ñ‚рыĵ°½ÑŒ½Ñ ż°ĵяці ў stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "¤°ığ: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "§°Ñ: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "· %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Ħярэ´½Ñ– ħітрэıт: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " ħуфэр у²´Ñƒ %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "Ñƒĵ°Ñ€ ·°żÑ–с°:" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "ReplayGain (—°żÑ–с):" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "ReplayGain (ğьħĵ):" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "ReplayGain (—°żÑ–с):" #: ogg123/vorbis_comments.c:43 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "ReplayGain (ğьħĵ):" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "ÑžÑ‚°Ñ€ÑşÑ–я żÑ€°²Ñ‹" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "š°ĵэ½Ñ‚°Ñ€:" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 · %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "ŸœĞ›š: ½µĵ°³Ñ‡Ñ‹ĵ° °´şÑ€Ñ‹Ñ†ÑŒ ф°ığ у²´Ñƒ \"%s\": %s\n" #: oggdec/oggdec.c:217 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "ŸœĞ›š: ½µĵ°³Ñ‡Ñ‹ĵ° °´şÑ€Ñ‹Ñ†ÑŒ ф°ığ ²Ñ‹²°´Ñƒ \"%s\": %s\n" #: oggdec/oggdec.c:266 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "ÑÑž´°ğ°µ °´Ñ‡Ñ‹½µ½ÑŒ½µ ф°ığ° яş vorbis: %s\n" #: oggdec/oggdec.c:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "¤°ığ \"%s\" ·°ş°´°²°½Ñ‹.\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Ÿ°ĵÑ‹ğş° ²Ñ‹´°ğµ½ÑŒ½Ñ ст°Ñ€³° ф°ığ° %s\n" #: oggdec/oggdec.c:371 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "ŸœĞ›š: ½Ñ ²Ñ‹·½°Ñ‡°½Ñ‹Ñ ф°ığы ў²´Ñƒ. Ÿ°ÑżÑ€°ħуцµ -h ´ğя ´°²µ´şÑ–.\n" #: oggdec/oggdec.c:376 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "ŸœĞ›š: ½µş°ğьşÑ– ф°ığ°Ñž у²´Ñƒ · ²Ñ‹·½°Ñ‡°½°ı ½°·²°ı ф°ı𰠲ы²°´Ñƒ;\n" "ğµżµı ²Ñ‹ş°Ñ€Ñ‹ÑÑ‚Ñž²°ıцµ -n\n" #: oggenc/audio.c:46 #, fuzzy msgid "WAV file reader" msgstr "§Ñ‹Ñ‚°Ñ‡ ф°ığ°Ñž WAV" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "§Ñ‹Ñ‚°Ñ‡ ф°ığ°Ñž AIFF/AIFC" #: oggenc/audio.c:49 #, fuzzy msgid "FLAC file reader" msgstr "§Ñ‹Ñ‚°Ñ‡ ф°ığ°Ñž WAV" #: oggenc/audio.c:50 #, fuzzy msgid "Ogg FLAC file reader" msgstr "§Ñ‹Ñ‚°Ñ‡ ф°ığ°Ñž WAV" #: oggenc/audio.c:128 oggenc/audio.c:447 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "£²°³°: ½µÑ‡°ş°½Ñ‹ ş°½µÑ† ф°ığ° żÑ€Ñ‹ чыт°½ÑŒ½Ñ– ·°³°ğўş° WAV.\n" #: oggenc/audio.c:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "ŸÑ€żÑƒÑş ş°²°ğş° ²Ñ–´Ñƒ \"%s\", ´°Ñžĥы½Ñ‘ı %d.\n" #: oggenc/audio.c:165 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "£²°³°: ½µÑ‡°ş°½Ñ‹ ş°½µÑ† ф°ığ° żÑ€Ñ‹ чыт°½ÑŒ½Ñ– ·°³°ğўşÑƒ AIFF.\n" #: oggenc/audio.c:262 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "£²°³°: ½Ñ ·½ı´·µ½° ½Ñ–²´½°³° °³Ñƒğь½°³° ş°²°ğş° ў AIFF ф°ığµ.\n" #: oggenc/audio.c:268 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "£²°³°: ½ÑżÑž½Ñ‹ °³Ñƒğь½Ñ‹ ş°²°ğ°ş у ·°³°ğўşÑƒ AIFF.\n" #: oggenc/audio.c:276 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "£²°³°: ½µÑ‡°ş°½Ñ‹ ş°½µÑ† ф°ığ° żÑ€Ñ‹ чыт°½ÑŒ½Ñ– ·°³°ğўşÑƒ AIFF.\n" #: oggenc/audio.c:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "£²°³°: ½ÑżÑž½Ñ‹ ·°³°ğ²°ş AIFF-C.\n" #: oggenc/audio.c:305 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "£²°³°: сьціс½ÑƒÑ‚ыя AIFF-C ½µ ż°´Ñ‚рыĵğі²°ÑŽÑ†Ñ†°.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "£²°³°: ş°²°ğ°ş SSND ½Ñ ·½ı´·µ½Ñ‹ ў AIFF ф°ığµ.\n" #: oggenc/audio.c:318 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "£²°³°: с°żÑ°²°½Ñ‹ ş°²°ğ°ş SSND у ·°³°ğўşÑƒ AIFF.\n" #: oggenc/audio.c:324 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "£²°³°: ½µÑ‡°ş°½Ñ‹ ş°½µÑ† ф°ığ° żÑ€Ñ‹ чыт°½ÑŒ½Ñ– ·°³°ğўşÑƒ AIFF.\n" #: oggenc/audio.c:370 #, 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:427 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "£²°³°: ½µÑ€°Ñż°·½°½Ñ‹ ф°Ñ€ĵ°Ñ‚ ş°²°ğş° ў ·°³°ğўşÑƒ WAV.\n" #: oggenc/audio.c:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:772 #, 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:790 #, 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:68 #, 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:117 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "ŸœĞ›š: ½Ñ ²Ñ‹·½°Ñ‡°½Ñ‹Ñ ф°ığы ў²´Ñƒ. Ÿ°ÑżÑ€°ħуцµ -h ´ğя ´°²µ´şÑ–.\n" #: oggenc/oggenc.c:132 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "Ÿ°ĵыğş°: ½µş°ğьşÑ– ф°ığ°Ñž ²Ñ‹·½°Ñ‡°½° żÑ€Ñ‹ ўĥы²°½ÑŒ½Ñ– ст°½´°Ñ€Ñ‚½°³° ў²´Ñƒ.\n" #: oggenc/oggenc.c:139 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "ŸœĞ›š: ½µş°ğьşÑ– ф°ığ°Ñž у²´Ñƒ · ²Ñ‹·½°Ñ‡°½°ı ½°·²°ı ф°ı𰠲ы²°´Ñƒ;\n" "ğµżµı ²Ñ‹ş°Ñ€Ñ‹ÑÑ‚Ñž²°ıцµ -n\n" #: oggenc/oggenc.c:203 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "£’“: ²Ñ‹·½°Ñ‡°½° ·°ĵ°ğ° ·°³°ğўş°Ñž, ´°Ñž½Ñ–ĵ°µÑ†Ñ†° °żÑˆ½Ñ– ·°³°ğ²°ş.\n" #: oggenc/oggenc.c:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "ŸœĞ›š: ½µĵ°³Ñ‡Ñ‹ĵ° °´şÑ€Ñ‹Ñ†ÑŒ ф°ığ у²´Ñƒ \"%s\": %s\n" #: oggenc/oggenc.c:243 #, fuzzy msgid "RAW file reader" msgstr "§Ñ‹Ñ‚°Ñ‡ ф°ığ°Ñž WAV" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "´şÑ€Ñ‹Ñ†ÑŒÑ†Ñ‘ ĵ´Ñƒğµĵ %s: %s\n" #: oggenc/oggenc.c:269 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "ŸœĞ›š: ф°Ñ€ĵ°Ñ‚ ф°ığ° ў²´Ñƒ \"%s\" ½µ ż°´Ñ‚рыĵğі²°µÑ†Ñ†°.\n" #: oggenc/oggenc.c:328 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "£’“: ½Ñĵ° ½°·²Ñ‹ ф°ığ°, ´°żĵ½°Ñ ½°·²° \"default.ogg\".\n" #: oggenc/oggenc.c:335 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "ŸœĞ›š: ½µĵ°³Ñ‡Ñ‹ĵ° ст²°Ñ€Ñ‹Ñ†ÑŒ ż°´Ñ‚эчşÑ–, ż°Ñ‚рэħ½Ñ‹Ñ ´ğя ½°·²Ñ‹ ф°ı𰠲ы²°´Ñƒ \"%s" "\".\n" #: oggenc/oggenc.c:342 #, fuzzy, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "°·²Ñ‹ ф°ığ°Ñž у²´Ñƒ ı ²Ñ‹²°´Ñƒ ½µ ż°²Ñ–½½Ñ‹ суż°´°Ñ†ÑŒ\n" #: oggenc/oggenc.c:353 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "ŸœĞ›š: ½µĵ°³Ñ‡Ñ‹ĵ° °´şÑ€Ñ‹Ñ†ÑŒ ф°ığ ²Ñ‹²°´Ñƒ \"%s\": %s\n" #: oggenc/oggenc.c:399 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr " ÑÑÑĵżğі½³ у²´Ñƒ · %d “ц ´° %d “ц.\n" #: oggenc/oggenc.c:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "ŸµÑ€°ÑžÑ‚²°Ñ€Ñ½ÑŒ½µ яş°ÑÑŒÑ†Ñ– с° стэрэ° ў ĵ½°.\n" #: oggenc/oggenc.c:409 #, fuzzy, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "ŸœĞ›š: ·ÑŒĵя½µ½ÑŒ½µ ½µĵ°³Ñ‡Ñ‹ĵ°µ, °żÑ€Ñ‡ с° стэрэ° ў ĵ½°.\n" #: oggenc/oggenc.c:417 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 · %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "£’“: żÑ€°Ñ–³½°Ñ€°²°½Ñ‹ ½ÑżÑ€°²Ñ–ğь½Ñ‹ ·°ż°ħµĥ½Ñ‹ ·½°ş '%c' у ф°Ñ€ĵ°Ñ†µ іĵя\n" #: oggenc/oggenc.c:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "—°´·µı½Ñ–ч°½ÑŒ½µ ĵэх°½Ñ–·ĵу şÑ–Ñ€°²°½ÑŒ½Ñ ħітрэıт°ĵ\n" #: oggenc/oggenc.c:716 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "£’“: ²Ñ‹·½°Ñ‡°½Ñ‹ ż°Ñ€°´°ş ħ°ıт°Ñž ´ğя ½ÑżÑ€ÑÑ‚ых ´°½Ñ‹Ñ…. ›Ñ–чыĵ у²°Ñ…´ żÑ€ÑÑ‚Ñ‹ĵ.\n" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "£’“: ½µĵ°³Ñ‡Ñ‹ĵ° żÑ€°Ñ‡Ñ‹Ñ‚°Ñ†ÑŒ ż°Ñ€°ĵэт°Ñ€ ż°Ñ€°´şÑƒ ħ°ıт°Ñž \"%s\"\n" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "£’“: ½µĵ°³Ñ‡Ñ‹ĵ° żÑ€°Ñ‡Ñ‹Ñ‚°Ñ†ÑŒ ч°ÑÑŒÑ†Ñ–½ÑŽ рэсэĵżğі½³Ñƒ \"%s\"\n" #: oggenc/oggenc.c:732 #, 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:742 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "£’“: ½µĵ°³Ñ‡Ñ‹ĵ° żÑ€°Ñ‡Ñ‹Ñ‚°Ñ†ÑŒ ч°ÑÑŒÑ†Ñ–½ÑŽ рэсэĵżğі½³Ñƒ \"%s\"\n" #: oggenc/oggenc.c:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Ñ ·½ı´·µ½° ·½°Ñ‡Ñ½ÑŒ½µ ´ğя ·°´°´·µ½°ı ż°ÑˆÑ‹Ñ€°½°ı żÑ†Ñ‹Ñ– ş°´°²°½ÑŒ½Ñ–ş°\n" #: oggenc/oggenc.c:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "ÑƒÑ‚Ñ€°½°Ñ ż°ĵÑ‹ğş° Ñ€°·ħру żÑ†Ñ‹ı ş°ĵ°½´½°³° р°´ş°\n" #: oggenc/oggenc.c:787 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "£²°³°: ½ÑżÑ€°²Ñ–ğь½Ñ‹ ş°ĵэ½Ñ‚°Ñ€ (\"%s\"), żÑ€°Ñ–³½°Ñ€°²°½Ñ‹.\n" #: oggenc/oggenc.c:824 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "£²°³°: ½°ĵі½°ğь½Ñ‹ ħітрэıт \"%s\" ½µ р°Ñż°·½°½Ñ‹\n" #: oggenc/oggenc.c:832 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "£²°³°: ĵі½Ñ–ĵ°ğь½Ñ‹ ħітрэıт \"%s\" ½µ р°Ñż°·½°½Ñ‹\n" #: oggenc/oggenc.c:845 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "£²°³°: ĵ°şÑÑ‹ĵ°ğь½Ñ‹ ħітрэıт \"%s\" ½µ р°Ñż°·½°½Ñ‹\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "µ р°Ñż°·½°½°Ñ żÑ†Ñ‹Ñ яş°ÑÑŒÑ†Ñ– \"%s\", żÑ€°Ñ–³½°Ñ€°²°½°Ñ\n" #: oggenc/oggenc.c:865 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "£’“: ·°żÑ‹Ñ‚°½° ·°²Ñ‹Ñş°Ñ яş°ÑÑŒÑ†ÑŒ, уст°½Ñžğµ½° ў ĵ°şÑÑ‹ĵ°ğь½ÑƒÑŽ.\n" #: oggenc/oggenc.c:871 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "£’“: ²Ñ‹·½°Ñ‡°½° şğьşÑ– ф°Ñ€ĵ°Ñ‚°Ñž іĵя, уĥыты °żÑˆ½Ñ–\n" #: oggenc/oggenc.c:880 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "£’“: ²Ñ‹·½°Ñ‡°½° şğьşÑ– фіğьтр°Ñž ф°Ñ€ĵ°Ñ‚у іĵя, уĥыты °żÑˆ½Ñ–\n" #: oggenc/oggenc.c:889 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "£’“: ²Ñ‹·½°Ñ‡°½° şğьşÑ– фіğьтр°Ñž ·°ĵµ½Ñ‹ ф°Ñ€ĵ°Ñ‚у іĵя, уĥыты °żÑˆ½Ñ–\n" #: oggenc/oggenc.c:897 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "£’“: ²Ñ‹·½°Ñ‡°½° şğьşÑ– ²Ñ‹Ñ…´½Ñ‹Ñ… ф°ığ°Ñž, ğµżµı уĥы²°ı -n\n" #: oggenc/oggenc.c:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 · %s %s\n" #: oggenc/oggenc.c:916 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "£’“: ²Ñ‹·½°Ñ‡°½Ñ‹Ñ ħіты ½° сэĵżğ ´ğя ½ÑżÑ€ÑÑ‚ых ´°½Ñ‹Ñ…. ›Ñ–чыĵ у²°Ñ…´ żÑ€ÑÑ‚Ñ‹ĵ.\n" #: oggenc/oggenc.c:921 oggenc/oggenc.c:925 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "£’“: ²Ñ‹·½°Ñ‡°½Ñ‹Ñ ħіты ½° сэĵżğ ½ÑżÑ€°²Ñ–ğь½Ñ‹Ñ, żÑ€Ñ‹½ÑÑ‚° 16.\n" #: oggenc/oggenc.c:932 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "£’“: ²Ñ‹·½°Ñ‡°½°Ñ şğьş°ÑÑŒÑ†ÑŒ ş°½°ğ°Ñž ´ğя ½ÑżÑ€ÑÑ‚ых ´°½Ñ‹Ñ…. ›Ñ–чыĵ у²°Ñ…´ " "żÑ€ÑÑ‚Ñ‹ĵ.\n" #: oggenc/oggenc.c:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "£’“: ²Ñ‹·½°Ñ‡°½°Ñ ½ÑżÑ€°²Ñ–ğь½°Ñ şğьş°ÑÑŒÑ†ÑŒ ş°½°ğ°Ñž, żÑ€Ñ‹½ÑÑ‚° 2.\n" #: oggenc/oggenc.c:948 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "£’“: ²Ñ‹·½°Ñ‡°½°Ñ ч°ÑÑŒÑ†Ñ–½Ñ ´ğя ½ÑżÑ€ÑÑ‚ых ´°½Ñ‹Ñ…. ›Ñ–чыĵ у²°Ñ…´ żÑ€ÑÑ‚Ñ‹ĵ.\n" #: oggenc/oggenc.c:953 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "£’“: ²Ñ‹·½°Ñ‡°½°Ñ ½ÑżÑ€°²Ñ–ğь½°Ñ ч°ÑÑŒÑ†Ñ–½Ñ, żÑ€Ñ‹½ÑÑ‚° 44100.\n" #: oggenc/oggenc.c:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "£’“: ²Ñ‹·½°Ñ‡°½° ½µ²Ñ´ĵ°Ñ żÑ†Ñ‹Ñ, żÑ€°Ñ–³½°Ñ€°²°½°Ñ->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° сş°½²ÑÑ€Ñ‚°²°Ñ†ÑŒ ş°ĵэ½Ñ‚°Ñ€ у UTF-8, ½µĵ°³Ñ‡Ñ‹ĵ° ´°´°Ñ†ÑŒ\n" #: oggenc/oggenc.c:1014 vorbiscomment/vcomment.c:369 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° сş°½²ÑÑ€Ñ‚°²°Ñ†ÑŒ ş°ĵэ½Ñ‚°Ñ€ у UTF-8, ½µĵ°³Ñ‡Ñ‹ĵ° ´°´°Ñ†ÑŒ\n" #: oggenc/oggenc.c:1033 #, 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:212 #, fuzzy, c-format msgid "" "WARNING: Comment %d in stream %d has invalid format, does not contain '=': " "\"%s\"\n" msgstr "" "£²°³°: ş°ĵэ½Ñ‚°Ñ€ %d ў ż°Ñ‚şÑƒ %d ½ÑżÑ€°²Ñ–ğь½° °´Ñ„°Ñ€ĵ°Ñ‚°²°½Ñ‹, ½Ñ ўтрыĵğі²°µ '=': " "\"%s\"\n" #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format msgid "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" msgstr "" "£²°³°: іĵя żğя ş°ĵэ½Ñ‚°Ñ€° ў ş°ĵэ½Ñ‚°Ñ€Ñ‹ %d (ż°Ñ‚ş %d) ½ÑżÑ€°²Ñ–ğь½°µ: \"%s\"\n" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " "wrong\n" msgstr "" "£²°³°: ½µ´°żÑƒÑˆÑ‡°ğь½°Ñ ż°ÑÑŒğя´Ñž½°ÑÑŒÑ†ÑŒ UTF-8 у ş°ĵэ½Ñ‚°Ñ€Ñ‹ %d (ż°Ñ‚ş %d): " "ĵ°Ñ€şµÑ€ ´°Ñžĥы½Ñ– ½ÑżÑ€°²Ñ–ğь½Ñ‹\n" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" msgstr "" "£²°³°: ½µ´°żÑƒÑˆÑ‡°ğь½°Ñ ż°ÑÑŒğя´Ñž½°ÑÑŒÑ†ÑŒ UTF-8 у ş°ĵэ½Ñ‚°Ñ€Ñ‹ %d (ż°Ñ‚ş %d): " "·°ĵ°ğ° ħ°ıт°Ñž\n" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid sequence " "\"%s\": %s\n" msgstr "" "£²°³°: ½µ´°żÑƒÑˆÑ‡°ğь½°Ñ ż°ÑÑŒğя´Ñž½°ÑÑŒÑ†ÑŒ UTF-8 у ş°ĵэ½Ñ‚°Ñ€Ñ‹ %d (ż°Ñ‚ş %d): " "½ÑżÑ€°²Ñ–ğь½°Ñ ż°ÑÑŒğя´Ñž½°ÑÑŒÑ†ÑŒ\n" #: ogginfo/ogginfo2.c:356 #, fuzzy msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" msgstr "£²°³°: ż°ĵÑ‹ğş° Ñž ´Ñş´ÑÑ€Ñ‹ utf8. Ÿ°²Ñ–½½° ħыць ½µĵ°³Ñ‡Ñ‹ĵыĵ\n" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format msgid "" "WARNING: Could not decode Theora header packet - invalid Theora stream (%d)\n" msgstr "" "£²°³°: ½µĵ°³Ñ‡Ñ‹ĵ° р°Ñş°´°²°Ñ†ÑŒ ż°şµÑ‚ ·°³°ğўşÑƒ vorbis - ½ÑżÑ€°²Ñ–ğь½Ñ‹ ż°Ñ‚ş " "vorbis (%d)\n" #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, fuzzy, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "—°³°ğўşÑ– Vorbis р°·°ħр°½Ñ‹Ñ ў ż°Ñ‚şÑƒ %d, ·ÑŒ²µÑÑ‚şÑ– ½Ñ–ĥэı...\n" #: ogginfo/ogginfo2.c:403 #, fuzzy, c-format msgid "Version: %d.%d.%d\n" msgstr "’эрсія: %d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr " °Ñż°ÑžÑÑŽ´½Ñ–ş: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "" #: ogginfo/ogginfo2.c:407 #, fuzzy, c-format msgid "Height: %d\n" msgstr "’эрсія: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "" #: ogginfo/ogginfo2.c:439 msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" msgstr "" #: ogginfo/ogginfo2.c:441 #, fuzzy msgid "Colourspace unspecified\n" msgstr "´·µÑ½ÑŒ½µ ½Ñ ²Ñ‹·½°Ñ‡°½°\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "" #: ogginfo/ogginfo2.c:452 #, fuzzy, c-format msgid "Target bitrate: %d kbps\n" msgstr "°ıħğьшы ħітрэıт: %f şħіт/с\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "š°ĵэ½Ñ‚°Ñ€Ñ‹ ş°Ñ€Ñ‹ÑÑ‚°ğь½Ñ–ş° ı´ÑƒÑ†ÑŒ ½Ñ–ĥэı...\n" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "£²°³°: granulepos у ż°Ñ‚şÑƒ %d ·ÑŒĵя½Ñˆ°µÑ†Ñ†° °´ " #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format msgid "" "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream (%" "d)\n" msgstr "" "£²°³°: ½µĵ°³Ñ‡Ñ‹ĵ° р°Ñş°´°²°Ñ†ÑŒ ż°şµÑ‚ ·°³°ğўşÑƒ vorbis - ½ÑżÑ€°²Ñ–ğь½Ñ‹ ż°Ñ‚ş " "vorbis (%d)\n" #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "—°³°ğўşÑ– Vorbis р°·°ħр°½Ñ‹Ñ ў ż°Ñ‚şÑƒ %d, ·ÑŒ²µÑÑ‚şÑ– ½Ñ–ĥэı...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "’эрсія: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr " °Ñż°ÑžÑÑŽ´½Ñ–ş: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "š°½°ğ°Ñž: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "Ħтуżµ½ÑŒ: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "Ÿ°Ñ‡°Ñ‚ş²Ñ‹ ħітрэıт: %f şħіт/с\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "Ÿ°Ñ‡°Ñ‚ş²Ñ‹ ħітрэıт ½Ñ ²Ñ‹·½°Ñ‡°½Ñ‹\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "°ıħğьшы ħітрэıт: %f şħіт/с\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "°ıħğьшы ħітрэıт ½Ñ ²Ñ‹·½°Ñ‡°½Ñ‹\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "°ıĵµ½ÑˆÑ‹ ħітрэıт: %f şħіт/с\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "°ıĵµ½ÑˆÑ‹ ħітрэıт ½Ñ ²Ñ‹·½°Ñ‡°½Ñ‹\n" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format msgid "" "WARNING: Could not decode Kate header packet %d - invalid Kate stream (%d)\n" msgstr "" "£²°³°: ½µĵ°³Ñ‡Ñ‹ĵ° р°Ñş°´°²°Ñ†ÑŒ ż°şµÑ‚ ·°³°ğўşÑƒ vorbis - ½ÑżÑ€°²Ñ–ğь½Ñ‹ ż°Ñ‚ş " "vorbis (%d)\n" #: ogginfo/ogginfo2.c:703 #, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, fuzzy, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "—°³°ğўşÑ– Vorbis р°·°ħр°½Ñ‹Ñ ў ż°Ñ‚şÑƒ %d, ·ÑŒ²µÑÑ‚şÑ– ½Ñ–ĥэı...\n" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "’эрсія: %d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr " °Ñż°ÑžÑÑŽ´½Ñ–ş: %s\n" #: ogginfo/ogginfo2.c:756 #, fuzzy msgid "No category set\n" msgstr "Ÿ°Ñ‡°Ñ‚ş²Ñ‹ ħітрэıт ½Ñ ²Ñ‹·½°Ñ‡°½Ñ‹\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "£²°³°: ş°½µÑ†-ż°Ñ‚şÑƒ ½Ñ ²Ñ‹·½°Ñ‡°½Ñ‹ ў ż°Ñ‚şÑƒ %d\n" #: ogginfo/ogginfo2.c:1047 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "£²°³°: ÑżÑ€°²Ñ–ğь½°Ñ ст°Ñ€½ş° ·°³°ğўş°Ñž, ½Ñ ·½ı´·µ½° ż°şµÑ‚°Ñž\n" #: ogginfo/ogginfo2.c:1075 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "£²°³°: ½ÑżÑ€°²Ñ–ğь½°Ñ ст°Ñ€½ş° ·°³°ğўş°Ñž у ż°Ñ‚şÑƒ %d, утрыĵğі²°µ şğьşÑ– " "ż°şµÑ‚°Ñž\n" #: ogginfo/ogginfo2.c:1089 #, 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:1107 #, fuzzy msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "£²°³°: ”·Ñ–Ñ€ş° ў ´°½Ñ‹Ñ… ·½ı´·µ½° ½° żÑ€Ñ‹ħğі·½°ı °´ğµ³ğ°ÑÑŒÑ†Ñ– " #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Ÿ°ĵÑ‹ğş° °´şÑ€Ñ‹Ñ†ÑŒÑ†Ñ ф°ığ° ў²´Ñƒ \"%s\": %s\n" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "żÑ€°Ñ†Ñžş° ф°ığ° \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 msgid "Could not find a processor for stream, bailing\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° ·½°ıсьці °żÑ€°Ñ†ÑžÑˆÑ‡Ñ‹ş° ´ğя ż°Ñ‚ş°, bailing\n" #: ogginfo/ogginfo2.c:1156 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "²Ñ‹ ğя³Ñ–ч½Ñ‹ ż°Ñ‚ş (#%d, ½Ñƒĵ°Ñ€: %08x): тыż %s\n" #: ogginfo/ogginfo2.c:1181 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "£²°³°: сьця³ ż°Ñ‡°Ñ‚şÑƒ ż°Ñ‚ş° ½µ ўст°½Ñžğµ½Ñ‹ ў ż°Ñ‚şÑƒ %d\n" #: ogginfo/ogginfo2.c:1185 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "£²°³°: сьця³ ż°Ñ‡°Ñ‚şÑƒ ż°Ñ‚ş° ·½ı´·µ½Ñ‹ ў сярэ´·Ñ–½µ ż°Ñ‚ş° %d\n" #: ogginfo/ogginfo2.c:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "›Ñ³Ñ–ч½°Ñ żğы½Ñ %d сş½Ñ‡Ñ‹ğ°ÑÑ\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 · %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° р°·°ħр°Ñ†ÑŒ żÑƒ½şÑ‚ р°·Ñ€Ñ·şÑ– \"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° р°·°ħр°Ñ†ÑŒ żÑƒ½şÑ‚ р°·Ñ€Ñ·şÑ– \"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° °´şÑ€Ñ‹Ñ†ÑŒ %s ´ğя ·°żÑ–су\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° °´şÑ€Ñ‹Ñ†ÑŒ %s ´ğя чыт°½ÑŒ½Ñ\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° р°·°ħр°Ñ†ÑŒ żÑƒ½şÑ‚ р°·Ñ€Ñ·şÑ– \"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "żÑ€°Ñ†Ñžş°: р°·Ñ€Ñ· ğя %lld\n" #: vcut/vcut.c:303 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "żÑ€°Ñ†Ñžş°: р°·Ñ€Ñ· ğя %lld\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "Ÿ°ĵÑ‹ğş° °żÑ€°Ñ†ÑžşÑ–\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "£²°³°: ½µÑ‡°ş°½Ñ‹ ş°½µÑ† ф°ığ° żÑ€Ñ‹ чыт°½ÑŒ½Ñ– ·°³°ğўş° WAV.\n" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "šğюч ½Ñ ·½ı´·µ½Ñ‹" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Ÿ°ĵÑ‹ğş° ·°żÑ–су ş°ĵэ½Ñ‚°Ñ€Ñž у ф°ığ ²Ñ‹²°´Ñƒ: %s\n" #: vcut/vcut.c:519 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Ÿ°ĵÑ‹ğş° Ñ‡Ñ‹Ñ‚°½ÑŒ½Ñ żµÑ€Ñˆ°ı ст°Ñ€½şÑ– ħіт°²°µ żğы½Ñ– ogg." #: vcut/vcut.c:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Ÿ°ĵÑ‹ğş° ħіт°²°ı żğы½Ñ– яşÑƒÑŽ ĵĥ½° ²Ñ‹żÑ€°²Ñ–ць\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Ÿ°Ñˆş´ĥ°½Ñ‹ ´Ñ€Ñƒ³°Ñ½Ñ‹ ·°³°ğ²°ş\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Ÿ°ĵÑ‹ğş° ħіт°²°³°ı żğы½Ñ–, żÑ€°Ñ†Ñ³...\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Ÿ°ĵÑ‹ğş° Ñž żµÑ€Ñˆ°Ñ½Ñ‹ĵ ·°³°ğўşÑƒ: ½Ñ vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "£²´ - ½Ñ ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Ÿ°ĵÑ‹ğş° ħіт°²°³°ı żğы½Ñ–, żÑ€°Ñ†Ñ³...\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "—½´·µ½Ñ‹ ş°½µÑ†-żğы½Ñ– р°½µı ·° żÑƒ½şÑ‚ р°·Ñ€Ñ·şÑ–.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "Ÿ°ĵÑ‹ğş° Ñ‡Ñ‹Ñ‚°½ÑŒ½Ñ żµÑ€Ñˆ°ı ст°Ñ€½şÑ– ħіт°²°µ żğы½Ñ– ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "Ÿ°ĵÑ‹ğş° Ñ‡Ñ‹Ñ‚°½ÑŒ½Ñ ż°Ñ‡°Ñ‚ş²°³° сşÑ€ÑƒÑ‚ş° ·°³°ğўş°." #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "£²´ °ħрэ·°½Ñ‹ ці żÑƒÑÑ‚Ñ‹." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "£²´ ½µ ·ÑŒÑÑžğяµÑ†Ñ†° ħіт°²Ñ‹ı żğы½Ñı ogg." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "‘Ñ–Ñ‚°²°Ñ żğы½ÑŒ ogg ½Ñ ўтрыĵğі²°µ ´°½ÑŒ½ÑÑž vorbis." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "š°½µÑ† ф°ığ° (EOF) р°½µı ·° ş°½µÑ† ·°³°ğўş° vorbis." #: vorbiscomment/vcedit.c:595 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "‘Ñ–Ñ‚°²°Ñ żğы½ÑŒ ogg ½Ñ ўтрыĵğі²°µ ´°½ÑŒ½ÑÑž vorbis." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "Ÿ°Ñˆş´ĥ°½Ñ‹ ´Ñ€Ñƒ³°Ñ½Ñ‹ ·°³°ğ²°ş." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "š°½µÑ† ф°ığ° (EOF) р°½µı ·° ş°½µÑ† ·°³°ğўş° vorbis." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Ÿ°Ñˆş´ĥ°½Ñ‹Ñ ці żÑ€°żÑƒÑˆÑ‡°½Ñ‹Ñ ´°½ÑŒ½Ñ–, żÑ€°Ñ†Ñ³..." #: vorbiscomment/vcedit.c:875 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Ÿ°ĵÑ‹ğş° ·°żÑ–су żğы½Ñ– ў ²Ñ‹²°´. ’ых´½°Ñ żğы½ÑŒ ĵĥ° ħыць ż°Ñˆş´ĥ°½° ці " "°ħрэ·°½°." #: vorbiscomment/vcomment.c:195 vorbiscomment/vcomment.c:221 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "ÑÑž´°ğ°µ °´Ñ‡Ñ‹½µ½ÑŒ½µ ф°ığ° яş vorbis: %s\n" #: vorbiscomment/vcomment.c:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "šµżÑşÑ– ş°ĵэ½Ñ‚°Ñ€: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "şµżÑşÑ– ş°ĵэ½Ñ‚°Ñ€: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Ÿ°ĵÑ‹ğş° ·°żÑ–су ş°ĵэ½Ñ‚°Ñ€Ñž у ф°ığ ²Ñ‹²°´Ñƒ: %s\n" #: vorbiscomment/vcomment.c:280 #, c-format msgid "no action specified\n" msgstr "´·µÑ½ÑŒ½µ ½Ñ ²Ñ‹·½°Ñ‡°½°\n" #: vorbiscomment/vcomment.c:384 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "µĵ°³Ñ‡Ñ‹ĵ° żµÑ€°ÑžÑ‚²°Ñ€Ñ‹Ñ†ÑŒ ş°ĵэ½Ñ‚°Ñ€ у UTF8, ½µĵ°³Ñ‡Ñ‹ĵ° ´°´°Ñ†ÑŒ\n" #: vorbiscomment/vcomment.c:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "šµżÑşÑ– ²Ñ–´ у сьżÑ–сµ ²Ñ‹ħ°Ñ€°Ñž" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "£½ÑƒÑ‚Ñ€°½°Ñ ż°ĵÑ‹ğş° °żÑ€°Ñ†ÑžşÑ– ²Ñ‹ħ°Ñ€°Ñž ·°³°´Ñƒ\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Ÿ°ĵÑ‹ğş° °´şÑ€Ñ‹Ñ†ÑŒÑ†Ñ ф°ığ° ў²´Ñƒ \"%s\".\n" #: vorbiscomment/vcomment.c:741 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "°·²Ñ‹ ф°ığ°Ñž у²´Ñƒ ı ²Ñ‹²°´Ñƒ ½µ ż°²Ñ–½½Ñ‹ суż°´°Ñ†ÑŒ\n" #: vorbiscomment/vcomment.c:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Ÿ°ĵÑ‹ğş° °´şÑ€Ñ‹Ñ†ÑŒÑ†Ñ ф°ı𰠲ы²°´Ñƒ \"%s\"\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Ÿ°ĵÑ‹ğş° °´şÑ€Ñ‹Ñ†ÑŒÑ†Ñ ф°ığ° ş°ĵэ½Ñ‚°Ñ€°Ñž \"%s\".\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Ÿ°ĵÑ‹ğş° °´şÑ€Ñ‹Ñ†ÑŒÑ†Ñ ф°ığ° ş°ĵэ½Ñ‚°Ñ€°Ñž \"%s\"\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "Ÿ°ĵÑ‹ğş° ²Ñ‹´°ğµ½ÑŒ½Ñ ст°Ñ€³° ф°ığ° %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "Ÿ°ĵÑ‹ğş° żµÑ€°ıĵµ½°²°½ÑŒ½Ñ \"%s\" у \"%s\"\n" #: vorbiscomment/vcomment.c:830 #, 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" #~ 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 "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %ld bytes\n" #~ "\tPlayback length: %ldm:%02lds\n" #~ "\tAverage bitrate: %f kbps\n" #~ msgstr "" #~ "Ÿğы½Ñ Vorbis %d:\n" #~ "\t³Ñƒğь½°Ñ ´°Ñžĥы½Ñ ´°½ÑŒ½ÑÑž: %ld ħ°ıт°Ñž\n" #~ "\t”°Ñžĥы½Ñ żÑ€°ı³Ñ€°²°½ÑŒ½Ñ: %ldm:%02ld s.\n" #~ "\tĦярэ´½Ñ– ħітрэıт: %f şħіт/с\n" #~ 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.0/po/cs.po0000644000175000017500000034203111353056535012473 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2008-10-12 14:31+0200\n" "Last-Translator: Miloslav Trmač \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Chyba: Nedostatek paměti v malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 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:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Dostupnİ pĊ™ep­nače:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Takovİ zaĊ™­zen­ %s neexistuje.\n" #: ogg123/cmdline_options.c:138 #, 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:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "=== Nelze určit v½stupn­ soubor bez určen­ ovladače.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== NesprĦvn½ formĦt pĊ™ep­nače: %s.\n" #: ogg123/cmdline_options.c:177 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Hodnota prebuffer neplatnĦ. Rozsah je 0-100.\n" #: ogg123/cmdline_options.c:201 #, c-format msgid "ogg123 from %s %s" msgstr "ogg123 z %s %s" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Nemohu pĊ™ehrĦvat kaĊd½ nult½ şsek!\n" #: ogg123/cmdline_options.c:216 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:232 #, 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:248 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:261 #, 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:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" "ogg123 z %s %s\n" " od nadace Xiph.Org (http://www.xiph.org/)\n" "\n" #: ogg123/cmdline_options.c:309 #, 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:312 #, c-format msgid "Available codecs: " msgstr "Dostupnİ kodeky: " #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "FLAC, " #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "Speex, " #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" "Ogg Vorbis.\n" "\n" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "MoĊnosti v½stupu\n" #: ogg123/cmdline_options.c:325 #, 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:327 #, c-format msgid "Live:" msgstr "Ċ½ivě:" #: ogg123/cmdline_options.c:336 #, c-format msgid "File:" msgstr "Soubor:" #: ogg123/cmdline_options.c:345 #, 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:348 #, 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:349 #, 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:355 #, c-format msgid "Playlist options\n" msgstr "PĊ™ep­nače seznamu skladeb:\n" #: ogg123/cmdline_options.c:356 #, 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:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr " -r, --repeat Opakovat seznam skladeb donekonečna\n" #: ogg123/cmdline_options.c:358 #, 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:359 #, 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:360 #, 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:363 #, c-format msgid "Input options\n" msgstr "PĊ™ep­nače vstupu\n" #: ogg123/cmdline_options.c:364 #, 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:365 #, 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:368 #, c-format msgid "Decode options\n" msgstr "PĊ™ep­nače dek³dovĦn­\n" #: ogg123/cmdline_options.c:369 #, 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:370 #, 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:371 #, 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:372 #, 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:375 vorbiscomment/vcomment.c:549 #, c-format msgid "Miscellaneous options\n" msgstr "Ostatn­ pĊ™ep­nače\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr " -h, --help Zobrazit tuto nĦpovědu\n" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr " -q, --quiet Nic nezobrazovat (ĊĦdn½ nadpis)\n" #: ogg123/cmdline_options.c:383 #, 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:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Chyba: Nedostatek paměti.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "implicitn­ v½stupn­ zaĊ™­zen­" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "prom­chat seznam skladeb" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "opakovat seznam skladeb navĊdy" #: ogg123/ogg123.c:231 #, c-format msgid "Could not skip to %f in audio stream." msgstr "Nemohu v proudu zvuku pĊ™eskočit na %f." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "ZaĊ™­zen­ zvuku: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "PoznĦmky: %s" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "VarovĦn­: Nemohu č­st adresĦĊ™ %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Chyba: Nemohu vytvoĊ™it buffer zvuku.\n" #: ogg123/ogg123.c:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Nemohu otevĊ™­t %s.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "FormĦt souboru %s nen­ podporovĦn.\n" #: ogg123/ogg123.c:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "PĊ™ehrĦvĦm: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Nemohu pĊ™eskočit %f vteĊ™in zvuku." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Chyba: SelhĦn­ dek³dovĦn­.\n" #: ogg123/ogg123.c:710 #, fuzzy msgid "ERROR: buffer write failed.\n" msgstr "Chyba: zĦpis do vyrovnĦvac­ paměti selhal.\n" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, 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:369 #, 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:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Verze: %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Chyba pĊ™i čten­ hlaviček\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrebuf na %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sPozastaveno" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Chyba alokace paměti v stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Soubor: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Čas: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "z %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "PrĊŻm bitrate: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Vstupn­ buffer %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "Č­slo stopy:" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "ReplayGain (Stopa):" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "ReplayGain (Stopa):" #: ogg123/vorbis_comments.c:43 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "PoznĦmka:" #: oggdec/oggdec.c:50 #, c-format msgid "oggdec from %s %s\n" msgstr "oggdec z %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" " od nadace Xiph.Org (http://www.xiph.org/)\n" "\n" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "Podporovanİ pĊ™ep­nače:\n" #: oggdec/oggdec.c:59 #, 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:60 #, 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:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr " --version, -V Vytisknout č­slo verze.\n" #: oggdec/oggdec.c:62 #, 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:63 #, 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:65 #, 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:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr " --raw, -R Surov½ v½stup (bez hlavičky).\n" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, 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:217 #, 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:266 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Nemohu otevĊ™­t soubor jako vorbis: %s\n" #: oggdec/oggdec.c:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "K³dovĦn­ souboru \"%s\" hotovo\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, 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:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "Čteč souborĊŻ AU" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "Čteč souborĊŻ AIFF/AIFC" #: oggenc/audio.c:49 msgid "FLAC file reader" msgstr "Čteč souborĊŻ FLAC" #: oggenc/audio.c:50 msgid "Ogg FLAC file reader" msgstr "Čteč souborĊŻ Ogg FLAC" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "PĊ™eskakuji şsek typu \"%s\", dİlka %d\n" #: oggenc/audio.c:165 #, 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:262 #, 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:268 #, 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:276 #, 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:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "VarovĦn­: Hlavička AIFF-C useknuta.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, 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:324 #, 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:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, 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:670 #, 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:772 #, 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:790 #, 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:68 #, 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:117 #, 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:132 #, 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:139 #, 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:203 #, 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:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "CHYBA: Nemohu otevĊ™­t vstupn­ soubor \"%s\": %s\n" #: oggenc/oggenc.c:243 msgid "RAW file reader" msgstr "Čteč souborĊŻ RAW" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Otev­rĦm pomoc­ modulu %s: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, 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:335 #, 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:342 #, 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:353 #, 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:399 #, 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:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Mixuji stereo na mono\n" #: oggenc/oggenc.c:409 #, 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:417 #, c-format msgid "Scaling input to %f\n" msgstr "Měn­m velikost vstupu na %f\n" #: oggenc/oggenc.c:463 #, c-format msgid "oggenc from %s %s" msgstr "oggenc z %s %s" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" "PouĊit­: oggenc [pĊ™ep­nače] vstupn­soubor [...]\n" "\n" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Povoluji systİm sprĦvy bitrate\n" #: oggenc/oggenc.c:716 #, 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:719 #, 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:726 #, 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:732 #, 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:742 #, 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:756 #, 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:776 #, 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:787 #, 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:824 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "VarovĦn­: nominĦln­ bitrate \"%s\" nerozpoznĦna\n" #: oggenc/oggenc.c:832 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "VarovĦn­: minimĦln­ bitrate \"%s\" nerozpoznĦna\n" #: oggenc/oggenc.c:845 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "VarovĦn­: maximĦln­ bitrate \"%s\" nerozpoznĦna\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "PĊ™ep­nač kvality \"%s\" nerozpoznĦn, ignoruji jej\n" #: oggenc/oggenc.c:865 #, 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:871 #, 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:880 #, 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:889 #, 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:897 #, 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:909 #, c-format msgid "oggenc from %s %s\n" msgstr "oggenc z %s %s\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, 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:932 #, 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:937 #, 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:948 #, 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:953 #, 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:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "VAROVN: ZadĦn neplatn½ pĊ™ep­nač, ignoruji->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, 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:1014 vorbiscomment/vcomment.c:369 #, 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:1033 #, 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:212 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:356 #, 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" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, fuzzy, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "VarovĦn­: nesouvislost v proudu (%d)\n" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "Hlavičky theora zpracovĦny pro proud %d, nĦsleduj­ informace...\n" #: ogginfo/ogginfo2.c:403 #, c-format msgid "Version: %d.%d.%d\n" msgstr "Verze: %d.%d.%d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "Dodavatel: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "Ċ ­Ċ™ka: %d\n" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "V½ĊĦka: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format 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" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "Posun/velikost pol­Äka neplatnĦ: nesprĦvnĦ ĊĦ­Ċ™ka\n" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "Posun pol­Äka/velikost neplatnĦ: nesprĦvnĦ v½ĊĦka\n" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "NeplatnĦ nulovĦ rychlost pol­Äek\n" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "Rychlost pol­Äek %d/%d (%.02f/s)\n" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "Poměr stran nedefinovĦn\n" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "Poměr stran pixelu %d:%d (%f:1)\n" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "Poměr stran pol­Äka 4:3\n" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "Poměr stran pol­Äka 16:9\n" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "Poměr stran pol­Äka %f:1\n" #: ogginfo/ogginfo2.c:437 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" #: ogginfo/ogginfo2.c:439 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" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "Prostor barev nedefinovĦn\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "FormĦt pixelĊŻ 4:2:0\n" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "FormĦt pixelĊŻ 4:2:2\n" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "FormĦt pixelĊŻ 4:4:4\n" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "Neplatn½ formĦt pixelĊŻ\n" #: ogginfo/ogginfo2.c:452 #, c-format msgid "Target bitrate: %d kbps\n" msgstr "C­lovĦ bitrate: %d kb/s\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "NominĦln­ nastaven­ kvality (0-63): %d\n" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "NĦsleduje oblast poznĦmek uĊivatele...\n" #: ogginfo/ogginfo2.c:477 #, fuzzy msgid "WARNING: Expected frame %" msgstr "VarovĦn­: OčekĦvĦn rĦm %" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "VarovĦn­: granulepos v proudu %d se sniĊuje z %" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" "Proud Theora %d:\n" "\tCelkovĦ dİlka dat: %" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "Hlavičky vorbis zpracovĦny pro proud %d, nĦsleduj­ informace...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "Verze: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "Dodavatel: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "KanĦlĊŻ: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "Frekvence: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "NominĦln­ bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "NominĦln­ bitrate nenastavena\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "VyĊĦĊĦ­ bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "VyĊĦĊĦ­ bitrate nenastavena\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "NiĊĊĦ­ bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "NiĊĊĦ­ bitrate nenastavena\n" #: ogginfo/ogginfo2.c:630 #, fuzzy msgid "Negative or zero granulepos (%" msgstr "NeplatnĦ nulovĦ rychlost granulepos\n" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" "Proud Vorbis %d:\n" "\tCelkovĦ dİlka dat: %" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:703 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "Hlavičky kate zpracovĦny pro proud %d, nĦsleduj­ informace...\n" #: ogginfo/ogginfo2.c:741 #, c-format msgid "Version: %d.%d\n" msgstr "Verze: %d.%d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "Jazyk: %s\n" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "Jazyk nenastaven\n" #: ogginfo/ogginfo2.c:753 #, c-format msgid "Category: %s\n" msgstr "Kategorie: %s\n" #: ogginfo/ogginfo2.c:756 msgid "No category set\n" msgstr "Kategorie nenastavena\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "utf-8" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "K³dovĦn­ znakĊŻ: %s\n" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "NeznĦmİ k³dovĦn­ znakĊŻ\n" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "zleva doprava, shora dolĊŻ" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "zprava doleva, shora dolĊŻ" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "zdola nahoru, zprava doleva" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "zdola nahoru, zleva doprava" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "Směr textu: %s\n" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "NeznĦm½ směr textu\n" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "NeplatnĦ nulovĦ rychlost granulepos\n" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "Rychlost granulepos %d/%d (%.02f g/s)\n" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" "Proud Kate %d:\n" "\tCelkovĦ dİlka dat: %" #: ogginfo/ogginfo2.c:893 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "VarovĦn­: EOS nenastaveno v proudu %d\n" #: ogginfo/ogginfo2.c:1047 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "VarovĦn­: NeplatnĦ strana hlavičky, nenalezen paket\n" #: ogginfo/ogginfo2.c:1075 #, 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:1089 #, 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:1107 #, 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­ %" #: ogginfo/ogginfo2.c:1134 #, 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:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "ZpracovĦvĦm soubor \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 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:1156 msgid "Page found for stream after EOS flag" msgstr "Strana proudu nalezena po značce EOS" #: ogginfo/ogginfo2.c:1159 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:1163 msgid "Error unknown." msgstr "NeznĦmĦ chyba." #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, 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:1181 #, 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:1185 #, 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:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "Logick½ proud %d skončil\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, c-format msgid "ogginfo from %s %s\n" msgstr "ogginfo z %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, 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:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Nemohu zpracovat bod Ċ™ezu \"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Nemohu zpracovat bod Ċ™ezu \"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Nemohu otevĊ™­t %s pro zĦpis\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Nemohu otevĊ™­t %s pro čten­\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Nemohu zpracovat bod Ċ™ezu \"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "ZpracovĦvĦm: Ċ˜eĊu na %lld sekundĦch\n" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "ZpracovĦvĦm: Ċ˜eĊu na %lld vzorc­ch\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "ZpracovĦn­ selhalo\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "VarovĦn­: OčekĦvĦn rĦm %" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Kl­Ä nenalezen" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, 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:519 #, 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:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "ZotavitelnĦ chyba bitovİho proudu\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "SekundĦrn­ hlavička poĊĦkozena\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Chyba bitovİho proudu, pokračuji\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Chyba v primĦrn­ hlavičce: nen­ to vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "Vstup nen­ ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Chyba bitovİho proudu, pokračuji\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, 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:156 msgid "Couldn't get enough memory for input buffering." msgstr "Nemohu z­skat dost paměti pro vyrovnĦvac­ paměĊ vstupu." #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 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:558 msgid "Error reading initial header packet." msgstr "Chyba pĊ™i čten­ prvn­ho paketu hlavičky." #: vorbiscomment/vcedit.c:238 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:506 msgid "Input truncated or empty." msgstr "Vstup useknut nebo prĦzdn½." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "Vstup nen­ bitov½ proud Ogg." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Bitov½ proud ogg neobsahuje data vorbis." #: vorbiscomment/vcedit.c:579 msgid "EOF before recognised stream." msgstr "EOF pĊ™ed rozpoznan½m proudem." #: vorbiscomment/vcedit.c:595 msgid "Ogg bitstream does not contain a supported data-type." msgstr "Bitov½ proud ogg neobsahuje podporovan½ typ dat." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "PoĊĦkozenĦ sekundĦrn­ hlavička." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF pĊ™ed koncem hlaviček vorbis." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "PoĊĦkozenĦ nebo chyběj­c­ data, pokračuji..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Nemohu otevĊ™­t soubor jako vorbis: %s\n" #: vorbiscomment/vcomment.c:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Ċ patnĦ poznĦmka: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "ĊĦpatnĦ poznĦmka: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, 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:280 #, c-format msgid "no action specified\n" msgstr "neurčena ĊĦdnĦ akce\n" #: vorbiscomment/vcomment.c:384 #, 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:526 #, 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:529 #, 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:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "PĊ™ep­nače pro v½pis\n" #: vorbiscomment/vcomment.c:539 #, 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:542 #, c-format msgid "Editing options\n" msgstr "PĊ™ep­nače şpravy\n" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr " -a, --append PĊ™idat poznĦmky\n" #: vorbiscomment/vcomment.c:544 #, 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:546 #, 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:550 #, 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:553 #, 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:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, 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:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, 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:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Chyba pĊ™i otev­rĦn­ vstupn­ho souboru '%s'.\n" #: vorbiscomment/vcomment.c:741 #, 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:752 #, 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:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Chyba pĊ™i otev­rĦn­ souboru poznĦmek '%s'.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Chyba pĊ™i otev­rĦn­ souboru poznĦmek '%s'\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "Chyba pĊ™i odstraĊˆovĦn­ starİho souboru %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "Chyba pĊ™i pĊ™ejmenovĦvĦn­ %s na %s\n" #: vorbiscomment/vcomment.c:830 #, 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 "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: %I64d 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" #~ 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 "" #~ "Warning: Hole in data found at approximate offset %I64d bytes. Corrupted " #~ "ogg.\n" #~ msgstr "" #~ "VarovĦn­: V datech nalezena d­ra na pĊ™ibliĊnİm posunut­ %I64d bajtĊŻ. Ogg " #~ "poĊĦkozen.\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.0/po/da.po0000644000175000017500000024717211353056536012465 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2002-11-09 14:59+0100\n" "Last-Translator: Keld Simonsen \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Fejl: Slut pċ hukommelse i malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 #, fuzzy msgid "Internal error parsing command line options.\n" msgstr "Intern fejl ved tolkning af kommandoflag\n" #: ogg123/cmdline_options.c:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Tilgĉngelige flag:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Ingen enhed %s.\n" #: ogg123/cmdline_options.c:138 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Drivrutine %s er ikke for filer.\n" #: ogg123/cmdline_options.c:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "== Kan ikke angive udfil uden at angiv drivrutine.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Fejlagtigt format pċ argument: %s.\n" #: ogg123/cmdline_options.c:177 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:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 fra %s %s\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Kan ikke spille hver 0'te blok!\n" #: ogg123/cmdline_options.c:216 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:232 #, fuzzy, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "FEJL: Kan ikke ċbne indfil \"%s\": %s\n" #: ogg123/cmdline_options.c:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:261 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Drivrutine %s angivet i konfigurationsfil ugyldig.\n" #: ogg123/cmdline_options.c:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "Tilgĉngelige flag:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "Fil: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Tilgĉngelige flag:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "Inddata ikke ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "Beskrivelse" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Tilgĉngelige flag:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Fejl: Slut pċ hukommelse.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "forvalgt udenhed" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "bland spillelisten" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Mislykkedes at overspringe %f sekunder lyd." #: ogg123/ogg123.c:376 #, fuzzy, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Enhed: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Forfatter: %s" #: ogg123/ogg123.c:378 #, fuzzy, c-format msgid "Comments: %s" msgstr "Kommentarer: %s\n" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Kunne ikke oprette katalog \"%s\": %s\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Fejl: Kan ikke oprette lydbuffer.\n" #: ogg123/ogg123.c:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Kan ikke ċbne %s.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Filformatet pċ %s understĝttes ikke.\n" #: ogg123/ogg123.c:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "Spiller: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Mislykkedes at overspringe %f sekunder lyd." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Fejl: Afkodning mislykkedes.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:369 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Bitstrĝmmen har %d kanaler, %ldHz" #: ogg123/speex_format.c:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Version: %s" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Fejlagtigt sekundĉr-hoved." #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, fuzzy, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sForbufr til %1.f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sPauseret" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Hukommelsestildelingsfejl i stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Fil: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Tid: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "af %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Gennemsnitlig bithastighed: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Indbuffer %5.1f%%" #: ogg123/status.c:290 #, 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:39 #, fuzzy msgid "Track number:" msgstr "Spor: %s" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:44 #, fuzzy msgid "Copyright" msgstr "Ophavsret %s" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 #, fuzzy msgid "Comment:" msgstr "Kommentar: %s" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 fra %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "FEJL: Kan ikke ċbne indfil \"%s\": %s\n" #: oggdec/oggdec.c:217 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "FEJL: Kan ikke ċbne udfil \"%s\": %s\n" #: oggdec/oggdec.c:266 #, 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:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Kodning af \"%s\" fĉrdig\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Fejl ved ċbning af indfil \"%s\".\n" #: oggdec/oggdec.c:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "WAV-fillĉser" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "AIFF/AIFC-fillĉser" #: oggenc/audio.c:49 #, fuzzy msgid "FLAC file reader" msgstr "WAV-fillĉser" #: oggenc/audio.c:50 #, fuzzy msgid "Ogg FLAC file reader" msgstr "WAV-fillĉser" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Overspringer bid af type \"%s\", lĉngde %d\n" #: oggenc/audio.c:165 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Advarsel: Uventet EOF i AIFF-blok\n" #: oggenc/audio.c:262 #, 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:268 #, 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:276 #, 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:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Advarsel: AIFF-C-hoved afkortet.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Advarsel: Fejlagtig SSND-blok i AIFF-hoved\n" #: oggenc/audio.c:324 #, 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:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:772 #, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" #: oggenc/audio.c:790 #, 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:68 #, 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:117 #, 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:132 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "FEJL: Flere filer angivne med stdin\n" #: oggenc/oggenc.c:139 #, 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:203 #, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" #: oggenc/oggenc.c:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "FEJL: Kan ikke ċbne indfil \"%s\": %s\n" #: oggenc/oggenc.c:243 #, fuzzy msgid "RAW file reader" msgstr "WAV-fillĉser" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Ċbner med %s-modul: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "ADVARSEL: Intet filnavn, bruger forvalgt navn \"default.ogg\"\n" #: oggenc/oggenc.c:335 #, 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:342 #, 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:353 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "FEJL: Kan ikke ċbne udfil \"%s\": %s\n" #: oggenc/oggenc.c:399 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "" #: oggenc/oggenc.c:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "" #: oggenc/oggenc.c:409 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" #: oggenc/oggenc.c:417 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 fra %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "" #: oggenc/oggenc.c:716 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" #: oggenc/oggenc.c:732 #, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" #: oggenc/oggenc.c:742 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Kunne ikke tolke skĉrepunkt \"%s\"\n" #: oggenc/oggenc.c:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "" #: oggenc/oggenc.c:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "" #: oggenc/oggenc.c:787 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" #: oggenc/oggenc.c:824 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:832 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:845 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "" #: oggenc/oggenc.c:865 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" #: oggenc/oggenc.c:871 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" #: oggenc/oggenc.c:880 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" #: oggenc/oggenc.c:889 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" #: oggenc/oggenc.c:897 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" #: oggenc/oggenc.c:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 fra %s %s\n" #: oggenc/oggenc.c:916 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:921 oggenc/oggenc.c:925 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" #: oggenc/oggenc.c:932 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" #: oggenc/oggenc.c:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "" #: oggenc/oggenc.c:948 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:953 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" #: oggenc/oggenc.c:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1014 vorbiscomment/vcomment.c:369 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1033 #, 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:212 #, c-format msgid "" "WARNING: Comment %d in stream %d has invalid format, does not contain '=': " "\"%s\"\n" msgstr "" #: ogginfo/ogginfo2.c:220 #, c-format msgid "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" msgstr "" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " "wrong\n" msgstr "" #: ogginfo/ogginfo2.c:266 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" msgstr "" #: ogginfo/ogginfo2.c:342 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid sequence " "\"%s\": %s\n" msgstr "" #: ogginfo/ogginfo2.c:356 msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" msgstr "" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, c-format msgid "" "WARNING: Could not decode Theora header packet - invalid Theora stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:396 #, c-format msgid "" "WARNING: Theora stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:403 #, fuzzy, c-format msgid "Version: %d.%d.%d\n" msgstr "Version: %s" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, fuzzy, c-format msgid "Vendor: %s\n" msgstr "leverandĝr=%s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "" #: ogginfo/ogginfo2.c:439 msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" msgstr "" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "" #: ogginfo/ogginfo2.c:452 #, fuzzy, c-format msgid "Target bitrate: %d kbps\n" msgstr "" "\tGennemsnitlig bithastighed: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 msgid "WARNING: granulepos in stream %d decreases from %" msgstr "" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, c-format msgid "" "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:565 #, c-format msgid "" "WARNING: Vorbis stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:572 #, fuzzy, c-format msgid "Version: %d\n" msgstr "Version: %s" #: ogginfo/ogginfo2.c:576 #, fuzzy, c-format msgid "Vendor: %s (%s)\n" msgstr "leverandĝr=%s\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "" #: ogginfo/ogginfo2.c:585 #, fuzzy, c-format msgid "" "Rate: %ld\n" "\n" msgstr "Dato: %s" #: ogginfo/ogginfo2.c:588 #, fuzzy, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "" "\tGennemsnitlig bithastighed: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:594 #, fuzzy, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "" "\tGennemsnitlig bithastighed: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:600 #, fuzzy, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "" "\tGennemsnitlig bithastighed: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, c-format msgid "" "WARNING: Could not decode Kate header packet %d - invalid Kate stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:703 #, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:734 #, c-format msgid "" "WARNING: Kate stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:738 #, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "Version: %s" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "Dato: %s" #: ogginfo/ogginfo2.c:756 msgid "No category set\n" msgstr "" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1047 msgid "WARNING: Invalid header page, no packet found\n" msgstr "" #: ogginfo/ogginfo2.c:1075 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" #: ogginfo/ogginfo2.c:1089 #, 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:1107 msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "" #: ogginfo/ogginfo2.c:1134 #, fuzzy, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Fejl ved ċbning af indfil \"%s\".\n" #: ogginfo/ogginfo2.c:1139 #, fuzzy, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "\n" "\n" "Kodning af \"%s\" fĉrdig\n" #: ogginfo/ogginfo2.c:1148 #, fuzzy msgid "Could not find a processor for stream, bailing\n" msgstr "Kunne ikke ċbne %s for lĉsning\n" #: ogginfo/ogginfo2.c:1156 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "" #: ogginfo/ogginfo2.c:1181 #, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1185 #, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "" #: ogginfo/ogginfo2.c:1213 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 fra %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Kunne ikke tolke skĉrepunkt \"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Kunne ikke tolke skĉrepunkt \"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Kunne ikke ċbne %s for skrivning\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Kunne ikke ċbne %s for lĉsning\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Kunne ikke tolke skĉrepunkt \"%s\"\n" #: vcut/vcut.c:301 #, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "Advarsel: Uventet EOF under lĉsning af WAV-hoved\n" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Nĝgle fandtes ikke" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Mislykkedes at skrive kommentar til udfil: %s\n" #: vcut/vcut.c:519 #, c-format msgid "BOS not set on first page of stream\n" msgstr "" #: vcut/vcut.c:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Intern fejl ved tolkning af kommandoflag\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Sekundĉrt hoved fejlagtigt\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Fejl i primĉrt hoved: ikke vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "Inddata ikke ogg.\n" #: vcut/vcut.c:630 #, c-format msgid "Page error, continuing\n" msgstr "" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "" #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "Inddata trunkeret eller tomt." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "Inddata er ikke en Ogg-bitstrĝm." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ogg-bitstrĝm indeholder ikke vorbisdata." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "EOF fĝr slutningen pċ vorbis-hovedet." #: vorbiscomment/vcedit.c:595 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ogg-bitstrĝm indeholder ikke vorbisdata." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "Fejlagtigt sekundĉr-hoved." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF fĝr slutningen pċ vorbis-hovedet." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Data ĝdelagt eller mangler, fortsĉtter..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, 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:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Fejlagtig kommentar: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "fejlagtig kommentar: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Mislykkedes at skrive kommentar til udfil: %s\n" #: vorbiscomment/vcomment.c:280 #, c-format msgid "no action specified\n" msgstr "" #: vorbiscomment/vcomment.c:384 #, 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:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "Fejlagtig type i argumentliste" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "Intern fejl ved tolkning af kommandoflag\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Fejl ved ċbning af indfil \"%s\".\n" #: vorbiscomment/vcomment.c:741 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" #: vorbiscomment/vcomment.c:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Fejl ved ċbning af udfil \"%s\".\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Fejl ved ċbning af kommentarfil \"%s\".\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Fejl ved ċbning af kommentarfil \"%s\"\n" #: vorbiscomment/vcomment.c:818 #, fuzzy, c-format msgid "Error removing old file %s\n" msgstr "Fejl ved ċbning af udfil \"%s\".\n" #: vorbiscomment/vcomment.c:820 #, fuzzy, c-format msgid "Error renaming %s to %s\n" msgstr "Fejl ved ċbning af indfil \"%s\".\n" #: vorbiscomment/vcomment.c:830 #, 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" #~ 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.0/po/en_GB.po0000644000175000017500000026527711353056536013061 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2004-04-26 10:36-0400\n" "Last-Translator: Gareth Owen \n" "Language-Team: English (British) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Error: Out of memory in malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 msgid "Internal error parsing command line options.\n" msgstr "Internal error parsing command line options.\n" #: ogg123/cmdline_options.c:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Available options:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== No such device %s.\n" #: ogg123/cmdline_options.c:138 #, 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:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "=== Cannot specify output file without specifying a driver.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Incorrect option format: %s.\n" #: ogg123/cmdline_options.c:177 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Prebuffer value invalid. Range is 0-100.\n" #: ogg123/cmdline_options.c:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 from %s %s\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Cannot play every 0th chunk!\n" #: ogg123/cmdline_options.c:216 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:232 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Cannot open playlist file %s. Skipped.\n" #: ogg123/cmdline_options.c:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:261 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Driver %s specified in configuration file invalid.\n" #: ogg123/cmdline_options.c:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "Available options:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "File: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Available options:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "Input not ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "Description" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Available options:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Error: Out of memory.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "default output device" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "shuffle playlist" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Could not skip %f seconds of audio." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Audio Device: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Author: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "Comments: %s" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Warning: Could not read directory %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Error: Could not create audio buffer.\n" #: ogg123/ogg123.c:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Cannot open %s.\n" #: ogg123/ogg123.c:572 #, 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:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "Playing: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Could not skip %f seconds of audio." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Error: Decoding failure.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:369 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Bitstream is %d channel, %ldHz" #: ogg123/speex_format.c:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Version: %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Error reading headers\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrebuf to %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sPaused" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Memory allocation error in stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "File: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Time: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "of %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Avg bitrate: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Input Buffer %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "Track number:" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "ReplayGain (Track):" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "ReplayGain (Track):" #: ogg123/vorbis_comments.c:43 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "Copyright" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "Comment:" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 from %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "ERROR: Cannot open input file \"%s\": %s\n" #: oggdec/oggdec.c:217 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "ERROR: Cannot open output file \"%s\": %s\n" #: oggdec/oggdec.c:266 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Failed to open file as vorbis: %s\n" #: oggdec/oggdec.c:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Done encoding file \"%s\"\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Error removing old file %s\n" #: oggdec/oggdec.c:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "WAV file reader" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "AIFF/AIFC file reader" #: oggenc/audio.c:49 #, fuzzy msgid "FLAC file reader" msgstr "WAV file reader" #: oggenc/audio.c:50 #, fuzzy msgid "Ogg FLAC file reader" msgstr "WAV file reader" #: oggenc/audio.c:128 oggenc/audio.c:447 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Warning: Unexpected EOF in reading WAV header\n" #: oggenc/audio.c:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Skipping chunk of type \"%s\", length %d\n" #: oggenc/audio.c:165 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Warning: Unexpected EOF in AIFF chunk\n" #: oggenc/audio.c:262 #, 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:268 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Warning: Truncated common chunk in AIFF header\n" #: oggenc/audio.c:276 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Warning: Unexpected EOF in reading AIFF header\n" #: oggenc/audio.c:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Warning: AIFF-C header truncated.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Warning: Corrupted SSND chunk in AIFF header\n" #: oggenc/audio.c:324 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Warning: Unexpected EOF reading AIFF header\n" #: oggenc/audio.c:370 #, 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:427 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Warning: Unrecognised format chunk in WAV header\n" #: oggenc/audio.c:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:772 #, 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:790 #, 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:68 #, 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:117 #, 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:132 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "ERROR: Multiple files specified when using stdin\n" #: oggenc/oggenc.c:139 #, 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:203 #, 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:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "ERROR: Cannot open input file \"%s\": %s\n" #: oggenc/oggenc.c:243 #, fuzzy msgid "RAW file reader" msgstr "WAV file reader" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Opening with %s module: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "WARNING: No filename, defaulting to \"default.ogg\"\n" #: oggenc/oggenc.c:335 #, 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:342 #, 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:353 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "ERROR: Cannot open output file \"%s\": %s\n" #: oggenc/oggenc.c:399 #, 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:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Downmixing stereo to mono\n" #: oggenc/oggenc.c:409 #, 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:417 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 from %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Enabling bitrate management engine\n" #: oggenc/oggenc.c:716 #, 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:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "WARNING: Couldn't read endianness argument \"%s\"\n" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "WARNING: Couldn't read resampling frequency \"%s\"\n" #: oggenc/oggenc.c:732 #, 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:742 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "WARNING: Couldn't read resampling frequency \"%s\"\n" #: oggenc/oggenc.c:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "No value for advanced encoder option found\n" #: oggenc/oggenc.c:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "Internal error parsing command line options\n" #: oggenc/oggenc.c:787 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Warning: Illegal comment used (\"%s\"), ignoring.\n" #: oggenc/oggenc.c:824 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Warning: nominal bitrate \"%s\" not recognised\n" #: oggenc/oggenc.c:832 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Warning: minimum bitrate \"%s\" not recognised\n" #: oggenc/oggenc.c:845 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Warning: maximum bitrate \"%s\" not recognised\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Quality option \"%s\" not recognised, ignoring\n" #: oggenc/oggenc.c:865 #, 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:871 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "WARNING: Multiple name formats specified, using final\n" #: oggenc/oggenc.c:880 #, 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:889 #, 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:897 #, 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:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 from %s %s\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "WARNING: Invalid bits/sample specified, assuming 16.\n" #: oggenc/oggenc.c:932 #, 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:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "WARNING: Invalid channel count specified, assuming 2.\n" #: oggenc/oggenc.c:948 #, 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:953 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "WARNING: Invalid sample rate specified, assuming 44100.\n" #: oggenc/oggenc.c:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "WARNING: Unknown option specified, ignoring->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, 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:1014 vorbiscomment/vcomment.c:369 #, 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:1033 #, 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:212 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format msgid "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" msgstr "Warning: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:356 #, 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" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, fuzzy, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "Vorbis headers parsed for stream %d, information follows...\n" #: ogginfo/ogginfo2.c:403 #, fuzzy, c-format msgid "Version: %d.%d.%d\n" msgstr "Version: %d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "Vendor: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "" #: ogginfo/ogginfo2.c:407 #, fuzzy, c-format msgid "Height: %d\n" msgstr "Version: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "" #: ogginfo/ogginfo2.c:439 msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" msgstr "" #: ogginfo/ogginfo2.c:441 #, fuzzy msgid "Colourspace unspecified\n" msgstr "no action specified\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "" #: ogginfo/ogginfo2.c:452 #, fuzzy, c-format msgid "Target bitrate: %d kbps\n" msgstr "Upper bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "User comments section follows...\n" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "Warning: granulepos in stream %d decreases from " #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "Vorbis headers parsed for stream %d, information follows...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "Version: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "Vendor: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "Channels: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "Rate: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "Nominal bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "Nominal bitrate not set\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "Upper bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "Upper bitrate not set\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "Lower bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "Lower bitrate not set\n" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:703 #, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, fuzzy, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "Vorbis headers parsed for stream %d, information follows...\n" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "Version: %d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "Vendor: %s\n" #: ogginfo/ogginfo2.c:756 #, fuzzy msgid "No category set\n" msgstr "Nominal bitrate not set\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Warning: EOS not set on stream %d\n" #: ogginfo/ogginfo2.c:1047 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Warning: Invalid header page, no packet found\n" #: ogginfo/ogginfo2.c:1075 #, 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:1089 #, 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:1107 #, fuzzy msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "Warning: Hole in data found at approximate offset " #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Error opening input file \"%s\": %s\n" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Processing file \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 msgid "Could not find a processor for stream, bailing\n" msgstr "Could not find a processor for stream, bailing\n" #: ogginfo/ogginfo2.c:1156 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, 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:1181 #, 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:1185 #, 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:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "Logical stream %d ended\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 from %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Couldn't parse cutpoint \"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Couldn't parse cutpoint \"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Couldn't open %s for writing\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Couldn't open %s for reading\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Couldn't parse cutpoint \"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Processing: Cutting at %lld\n" #: vcut/vcut.c:303 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Processing: Cutting at %lld\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "Processing failed\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "Warning: Unexpected EOF in reading WAV header\n" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Key not found" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, 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:519 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Error reading first page of Ogg bitstream." #: vcut/vcut.c:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Recoverable bitstream error\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Secondary header corrupt\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Bitstream error, continuing\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Error in primary header: not vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "Input not ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Bitstream error, continuing\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "Found EOS before cut point.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "Error reading first page of Ogg bitstream." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "Error reading initial header packet." #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "Input truncated or empty." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "Input is not an Ogg bitstream." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ogg bitstream does not contain vorbis data." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "EOF before end of vorbis headers." #: vorbiscomment/vcedit.c:595 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ogg bitstream does not contain vorbis data." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "Corrupt secondary header." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF before end of vorbis headers." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Corrupt or missing data, continuing..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Failed to open file as vorbis: %s\n" #: vorbiscomment/vcomment.c:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Bad comment: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "bad comment: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, 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:280 #, c-format msgid "no action specified\n" msgstr "no action specified\n" #: vorbiscomment/vcomment.c:384 #, 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:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "Bad type in options list" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "Internal error parsing command options\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Error opening input file '%s'.\n" #: vorbiscomment/vcomment.c:741 #, 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:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Error opening output file '%s'.\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Error opening comment file '%s'.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Error opening comment file '%s'\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "Error removing old file %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "Error renaming %s to %s\n" #: vorbiscomment/vcomment.c:830 #, 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" #~ 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 "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %ld bytes\n" #~ "\tPlayback length: %ldm:%02lds\n" #~ "\tAverage bitrate: %f kbps\n" #~ msgstr "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %ld bytes\n" #~ "\tPlayback length: %ldm:%02lds\n" #~ "\tAverage bitrate: %f kbps\n" #~ 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.0/po/eo.po0000644000175000017500000034340411353056536012477 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2008-09-21 16:26-0300\n" "Last-Translator: Felipe Castro \n" "Language-Team: Esperanto \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Eraro: Mankis memoro en malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 msgid "Internal error parsing command line options.\n" msgstr "Interna eraro dum analizado de la opcioj de la komandlinio.\n" #: ogg123/cmdline_options.c:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Disponeblaj opcioj:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Neniu tia aparato: %s.\n" #: ogg123/cmdline_options.c:138 #, 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:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "=== Ne eblas indiki eligan dosieron sen indiki pelilon.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Malĝusta opcia formo: %s.\n" #: ogg123/cmdline_options.c:177 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:201 #, c-format msgid "ogg123 from %s %s" msgstr "ogg123 el %s %s" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Ne eblas ludi ĉiun 0-an pecon!\n" #: ogg123/cmdline_options.c:216 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:232 #, 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:248 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:261 #, 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:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" "ogg123 el %s %s\n" " farite de Xiph.Org Fondaĵo (http://www.xiph.org/)\n" "\n" #: ogg123/cmdline_options.c:309 #, 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:312 #, c-format msgid "Available codecs: " msgstr "Disponeblaj dekodiloj: " #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "FLAC, " #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "Speex, " #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" "Ogg Vorbis.\n" "\n" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "Eligaj opcioj\n" #: ogg123/cmdline_options.c:325 #, 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:327 #, c-format msgid "Live:" msgstr "Samtempe:" #: ogg123/cmdline_options.c:336 #, c-format msgid "File:" msgstr "Dosiero:" #: ogg123/cmdline_options.c:345 #, 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:348 #, 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:349 #, 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:355 #, c-format msgid "Playlist options\n" msgstr "Muziklistaj opcioj\n" #: ogg123/cmdline_options.c:356 #, 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:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr " -r, --repeat Ripetadas la muzikliston nedifinite\n" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr " -R, --remote Uzas demalprokiman reg-interfacon\n" #: ogg123/cmdline_options.c:359 #, 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:360 #, 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:363 #, c-format msgid "Input options\n" msgstr "Enigaj opcioj\n" #: ogg123/cmdline_options.c:364 #, 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:365 #, 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:368 #, c-format msgid "Decode options\n" msgstr "Dekodaj opcioj\n" #: ogg123/cmdline_options.c:369 #, 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:370 #, 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:371 #, 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:372 #, 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:375 vorbiscomment/vcomment.c:549 #, c-format msgid "Miscellaneous options\n" msgstr "Mikstemaj opcioj\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr " -h, --help Montrigas ĉi tiun helpon\n" #: ogg123/cmdline_options.c:382 #, 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:383 #, 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:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Eraro: Mankis memoro.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "implicita eliga aparato" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "hazard-orda ludlisto" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "ripeti muzikliston ĉiame" #: ogg123/ogg123.c:231 #, c-format msgid "Could not skip to %f in audio stream." msgstr "Ne eblis pretersalti al %f en la sonfluo." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Soniga Aparato: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "AĊ­toro: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "Komentoj: %s" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Averto: Ne eblis legi la dosierujon %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Eraro: Ne eblis krei sonigan bufron.\n" #: ogg123/ogg123.c:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Ne eblas malfermi %s.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "La dosierformo de %s ne estas subtenata.\n" #: ogg123/ogg123.c:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "Oni ludas: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Ne eblis pretersalti %f sekundoj da sonigo." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Eraro: dekoda malsukceso.\n" #: ogg123/ogg123.c:710 #, fuzzy msgid "ERROR: buffer write failed.\n" msgstr "Eraro: bufra skribado malsukcesis.\n" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, 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:369 #, 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:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Versio: %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Eraro dum la legado de datumkapoj\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sAntaĊ­bufro al %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sPaĊ­zita" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS (flufino)" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Eraro pri rezervo de memoro en stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Dosiero: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Horo: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "de %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Avg bitrapido: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Eniga Bufro %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 #, fuzzy msgid "Comment:" msgstr "Komentoj: %s" #: oggdec/oggdec.c:50 #, c-format msgid "oggdec from %s %s\n" msgstr "oggdec el %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" " farite de Xiph.Org Fondaĵo (http://www.xiph.org/)\n" "\n" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "Subtenataj opcioj:\n" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr " --quiet, -Q Silenta reĝimo. Neniu konzola eligo.\n" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr " --help, -h Produktas tiun ĉi help-mesaĝon.\n" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr " --version, -V Montrigas la versi-numeron.\n" #: oggdec/oggdec.c:62 #, 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:63 #, 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:65 #, 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:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr " --raw, -R Kruda (senkapa) eligo.\n" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, 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:217 #, 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:266 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Malsukcesis malfermo de dosiero kiel vorbis: %s\n" #: oggdec/oggdec.c:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Farita: enkodado de la dosiero \"%s\"\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Eraro dum forigo de la malnova dosiero '%s'\n" #: oggdec/oggdec.c:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "Legilo de dosiero AU" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "Legilo de dosiero AIFF/AIFC" #: oggenc/audio.c:49 msgid "FLAC file reader" msgstr "Legilo de dosiero FLAC" #: oggenc/audio.c:50 msgid "Ogg FLAC file reader" msgstr "Legilo de dosiero Ogg FLAC" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Oni preterpasas pecon el tipo \"%s\", grandeco %d\n" #: oggenc/audio.c:165 #, 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:262 #, 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:268 #, 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:276 #, 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:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Averto: AIFF-C-kapo estas distranĉita.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Averto: Disrompita SSND-peco en AIFF-kapo\n" #: oggenc/audio.c:324 #, 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:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, 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:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "Interna eraro: provo legi nesubtenatan bitprofundecon %d\n" #: oggenc/audio.c:772 #, 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:790 #, 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:68 #, 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:117 #, 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:132 #, 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:139 #, 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:203 #, 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:227 #, 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:243 msgid "RAW file reader" msgstr "Legilo de dosiero RAW" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Malfermado kun %s-modulo: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, 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:335 #, 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:342 #, 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:353 #, 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:399 #, 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:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Enmiksado de dukanalo al unukanalo\n" #: oggenc/oggenc.c:409 #, 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:417 #, c-format msgid "Scaling input to %f\n" msgstr "Reskalado de la enigo al %f\n" #: oggenc/oggenc.c:463 #, c-format msgid "oggenc from %s %s" msgstr "oggenc el %s %s" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" "Uzado: oggenc [opcioj] enigdosiero [...]\n" "\n" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Ni ebligas la motoron kiu regas bitrapidon\n" #: oggenc/oggenc.c:716 #, 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:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "AVERTO: Ne eblis legi pez-ordan argumenton \"%s\"\n" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "AVERTO: Ne eblis legi reakiradan frekvencon \"%s\"\n" #: oggenc/oggenc.c:732 #, 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:742 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Averto: Ne eblis malkomponi skalan faktoron \"%s\"\n" #: oggenc/oggenc.c:756 #, 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:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "Interna eraro dum analizado de la komandlinaj opcioj\n" #: oggenc/oggenc.c:787 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Averto: Malpermesita komento estis uzata (\"%s\"), ni preteratentas.\n" #: oggenc/oggenc.c:824 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Averto: la meznombra bitrapido \"%s\" ne estis rekonita\n" #: oggenc/oggenc.c:832 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Averto: la minimuma bitrapido \"%s\" ne estis rekonita\n" #: oggenc/oggenc.c:845 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Averto: la maksimuma bitrapido \"%s\" ne estis rekonita\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "La kvalita opcio \"%s\" ne estis rekonita, ni preteratentas\n" #: oggenc/oggenc.c:865 #, 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:871 #, 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:880 #, 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:889 #, 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:897 #, 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:909 #, c-format msgid "oggenc from %s %s\n" msgstr "oggenc el %s %s\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, 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:932 #, 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:937 #, 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:948 #, 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:953 #, 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:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "AVERTO: Nekonata opcio estis specifita, ni preteratentas->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, 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:1014 vorbiscomment/vcomment.c:369 #, 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:1033 #, 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:212 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:356 #, 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" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, fuzzy, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "Averto: malkontinuaĵo en fluo (%d)\n" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "" "'Theora'-kapoj estis malkomponitaj por la fluo %d, jen pli da informo...\n" #: ogginfo/ogginfo2.c:403 #, c-format msgid "Version: %d.%d.%d\n" msgstr "Versio: %d.%d.%d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "Vendanto: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "Larĝeco: %d\n" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "Alteco: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "Tuta bildo: %d je %d, marĝena deĊovo (%d, %d)\n" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "Malvalida deĊovo/grandeco de kadro: malĝusta larĝeco\n" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "Malvalida deĊovo/grandeco de kadro: malĝusta alteco\n" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "Malvalida nula kadro-rapido\n" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "Kadro-rapido %d/%d (%.02f pkps)\n" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "Nedifinita kadra proporcio\n" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "Bildera proporcio %d:%d (%f:1)\n" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "Kadra proporcio 4:3\n" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "Kadra proporcio 16:9\n" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "Kadra proporcio %f:1\n" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "Kolorspaco: Rec. ITU-R BT.470-6 System M (NTSC)\n" #: ogginfo/ogginfo2.c:439 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" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "Nespecifita kolorspaco\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "Bildero-formo 4:2:0\n" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "Bildero-formo 4:2:2\n" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "Bildero-formo 4:4:4\n" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "Malvalida bildero-formo\n" #: ogginfo/ogginfo2.c:452 #, c-format msgid "Target bitrate: %d kbps\n" msgstr "Celata bitrapido: %d kbps\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "Meznombra kvalito alĝustigo (0-63: %d\n" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "Jen sekcio de uzant-komentoj...\n" #: ogginfo/ogginfo2.c:477 #, fuzzy msgid "WARNING: Expected frame %" msgstr "Averto: Atendita kadro %" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "Averto: 'granulepos' en la fluo %d malpliiĝas de %" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" "'Theora'-fluo %d:\n" "\tTotala datum-longeco: %" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "" "'Vorbis'-kapoj estis malkomponitaj por la fluo %d, jen pli da informo...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "Versio: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "Vendanto: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "Kanaloj: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "Rapido: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "Meznombra bitrapido: %f kb/s\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "La meznombra bitrapido ne estas difinita\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "Supera bitrapido: %f kb/s\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "La supera bitrapido ne esta difinita\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "Malsupera bitrapido: %f kb/s\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "La malsupera bitrapido ne estas difinita\n" #: ogginfo/ogginfo2.c:630 #, fuzzy msgid "Negative or zero granulepos (%" msgstr "Malvalida nula 'granulepos'-rapido\n" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" "Fluo Vorbis %d:\n" "\tEntuta datumlongeco: %" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:703 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "" "'Kate'-kapoj estis disanalizitaj por la fluo %d, jen pli da informo...\n" #: ogginfo/ogginfo2.c:741 #, c-format msgid "Version: %d.%d\n" msgstr "Versio: %d.%d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "Lingvo: %s\n" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "Neniu lingvo estis difinita\n" #: ogginfo/ogginfo2.c:753 #, c-format msgid "Category: %s\n" msgstr "Kategorio: %s\n" #: ogginfo/ogginfo2.c:756 msgid "No category set\n" msgstr "Neniu kategorio estis difinita\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "utf-8" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "Sign-enkodo: %s\n" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "Nekonata sign-enkodo\n" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "maldekstre dekstren, supre malsupren" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "dekstre maldekstren, supre malsupren" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "supre malsupren, dekstre maldekstren" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "supre malsupren, maldekstre dekstren" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "Direkto de teksto: %s\n" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "Nekonata direkto de teksto\n" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "Malvalida nula 'granulepos'-rapido\n" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "'Granulepos'-rapido %d/%d (%.02f gps)\n" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" "Fluo Kate %d:\n" "\tEntuta datumlongeco: %" #: ogginfo/ogginfo2.c:893 #, 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:1047 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Averto: Nevalida kap-paĝo, neniu pako estis trovita\n" #: ogginfo/ogginfo2.c:1075 #, 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:1089 #, 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:1107 #, 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 %" #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Eraro dum malfermado de la enig-dosiero \"%s\": %s\n" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Procezado de la dosiero \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 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:1156 msgid "Page found for stream after EOS flag" msgstr "Estis trovita paĝo por la fluo post signo EOS (flufino)" #: ogginfo/ogginfo2.c:1159 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:1163 msgid "Error unknown." msgstr "Eraro nekonata." #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, 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:1181 #, 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:1185 #, 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:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "La logika fluo %d finiĝis\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, c-format msgid "ogginfo from %s %s\n" msgstr "ogginfo el %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "\t-V Eligas eligan informaron kaj ĉesiĝas\n" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Ne eblis malkomponi la tondpunkton \"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Ne eblis malkomponi la tondpunkton \"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Ne eblis malfermi %s-on por skribado\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Ne eblis malfermi %s-on por legado\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Ne eblis malkomponi la tondpunkton \"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Procezado: Ni tondas je %lld sekundoj\n" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Procezado: Ni tondas je %lld specimenoj\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "La procezado malsukcesis\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "Averto: Atendita kadro %" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Ċœlosilo ne trovita" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, 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:519 #, 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:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Riparebla bitflua eraro\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "La dua datumkapo estas disrompita\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Bitflua eraro, ni daĊ­rigas\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Eraro en la unua datumkapo: ĉu ne estas 'vorbis'?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "La enigo ne esta ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Bitflua eraro, ni daĊ­rigas\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "Flufino estis trovita antaĊ­ tondpunkto.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "Ne eblis disponi sufiĉe da memoro por eniga bufrado." #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 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:558 msgid "Error reading initial header packet." msgstr "Eraro dum legado de la komenca kapo-pako." #: vorbiscomment/vcedit.c:238 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:506 msgid "Input truncated or empty." msgstr "La enigo estas tranĉita aĊ­ malplena." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "La enigo ne estas Ogg-bitfluo." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "La Ogg-bitfluo ne enhavas vorbis-datumaron." #: vorbiscomment/vcedit.c:579 msgid "EOF before recognised stream." msgstr "EOF (dosier-fino) antaĊ­ rekonita fluo." #: vorbiscomment/vcedit.c:595 msgid "Ogg bitstream does not contain a supported data-type." msgstr "La Ogg-bitfluo ne enhavas subtenatan datum-tipon." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "Disrompita dua datumkapo." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "Finfluo antaĊ­ la fino de la vorbis-datumkapoj." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Disrompita aĊ­ malkompleta datumaro, ni daĊ­rigas..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Malsukcesis malfermo de dosiero kiel vorbis: %s\n" #: vorbiscomment/vcomment.c:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Malbona komento: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "malbona komento: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, 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:280 #, c-format msgid "no action specified\n" msgstr "neniu ago estis indikita\n" #: vorbiscomment/vcomment.c:384 #, 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:526 #, 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:529 #, 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:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "Listigaj opcioj\n" #: vorbiscomment/vcomment.c:539 #, 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:542 #, c-format msgid "Editing options\n" msgstr "Redaktadaj opcioj\n" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr " -a, --append Postaldonas komentojn\n" #: vorbiscomment/vcomment.c:544 #, 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:546 #, 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:550 #, 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:553 #, 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:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr " -V, --version Eligas versian informon kaj ĉesiĝas\n" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "Interna eraro dum malkomponado de la komandliniaj opcioj\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Eraro dum malfermo de la enig-dosiero '%s'.\n" #: vorbiscomment/vcomment.c:741 #, 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:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Eraro dum malfermo de la elig-dosiero '%s'.\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Eraro dum malfermo de la koment-dosiero '%s'.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Eraro dum malfermo de la koment-dosiero '%s'\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "Eraro dum forigo de la malnova dosiero '%s'\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "Eraro dum renomigo de '%s' al '%s'\n" #: vorbiscomment/vcomment.c:830 #, 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 "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: %I64d 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" #~ 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 "" #~ "Warning: Hole in data found at approximate offset %I64d bytes. Corrupted " #~ "ogg.\n" #~ msgstr "" #~ "Averto: Truo estis trovita en la datumaro proksimume ĉe la deĊovo je %" #~ "I64d bitokoj. Disrompita '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 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.0/po/es.po0000644000175000017500000030444511353056536012505 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2003-01-03 22:48+0100\n" "Last-Translator: Enric Martínez \n" "Language-Team: Spanish \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:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Error: Memoria insuficiente en malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 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:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Opciones disponibles:\n" #: ogg123/cmdline_options.c:118 #, 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:138 #, 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:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "" "=== No se puede especificar un fichero de salida sin indicar un " "controlador.\n" #: ogg123/cmdline_options.c:162 #, 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:177 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:201 #, 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:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- ĦNo se pueden reproducir todos los \"ceroenos\" fragmentos!\n" # chunk = trozo ??? #: ogg123/cmdline_options.c:216 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:232 #, 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:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:261 #, 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:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "Opciones disponibles:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "Fichero: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Opciones disponibles:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "El fichero de entrada no es ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "Descripción" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Opciones disponibles:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Error: Memoria insuficiente.\n" #: ogg123/format.c:82 #, 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:81 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:83 msgid "shuffle playlist" msgstr "ordenar la lista de reproducción al azar" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Imposible saltar %f segundos de audio." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Dispositivo de sonido: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "Comentarios: %s" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Aviso: Imposible leer el directorio %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Error: Imposible crear búfer de audio.\n" #: ogg123/ogg123.c:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Imposible abrir %s.\n" # supported / soportado, puagh - EM #: ogg123/ogg123.c:572 #, 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:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "Reproduciendo: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Imposible saltar %f segundos de audio." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Error: Fallo de decodificación \n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:369 #, 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:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Versión: %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Error de lectura de cabeceras\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrecarga a %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sEn Pausa" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS (Fin de flujo)" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Error de asignación de memoria en stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Fichero: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Tiempo: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "de %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Transferencia de bits media: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Búfer de entrada %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "Pista número: " #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "Ganancia de Reproducción (Pista):" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "Ganancia de Reproducción (Álbum):" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "Ganancia de Reproducción (Pista):" #: ogg123/vorbis_comments.c:43 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "Ganancia de Reproducción (Álbum):" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "Copyright" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "Comentario:" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 de %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, 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:217 #, 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:266 #, 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:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Codificación del fichero finalizada \"%s\"\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Error al borrar el fichero antiguo %s\n" #: oggdec/oggdec.c:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "Lector de ficheros WAV" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "Lector de ficheros AIFF/AIFC" #: oggenc/audio.c:49 #, fuzzy msgid "FLAC file reader" msgstr "Lector de ficheros WAV" #: oggenc/audio.c:50 #, fuzzy msgid "Ogg FLAC file reader" msgstr "Lector de ficheros WAV" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Omitiendo fragmento del tipo \"%s\", longitud %d\n" #: oggenc/audio.c:165 #, 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:262 #, 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:268 #, 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:276 #, 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:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "AVISO: Cabecera AIFF-C truncada.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, 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:324 #, 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:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:772 #, 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:790 #, 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:68 #, 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:117 #, 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:132 #, 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:139 #, 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:203 #, 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:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "ERROR: Imposible abrir fichero de entrada \"%s\": %s\n" #: oggenc/oggenc.c:243 #, fuzzy msgid "RAW file reader" msgstr "Lector de ficheros WAV" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Abriendo con el módulo %s: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, 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:335 #, 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:342 #, 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:353 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "ERROR: Imposible abrir fichero de salida \"%s\": %s\n" #: oggenc/oggenc.c:399 #, 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:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Mezclando a la baja de estéreo a mono\n" #: oggenc/oggenc.c:409 #, 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:417 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 de %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Activando motor de gestión de transferencia de bits\n" #: oggenc/oggenc.c:716 #, 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:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "AVISO: Imposible leer argumento de endianness \"%s\"\n" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "AVISO: Imposible leer frecuencia de remuestreo \"%s\"\n" #: oggenc/oggenc.c:732 #, 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:742 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "AVISO: Imposible leer frecuencia de remuestreo \"%s\"\n" #: oggenc/oggenc.c:756 #, 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:776 #, 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:787 #, 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:824 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "AVISO: Tasa de bits nominal \"%s\" no reconocida\n" #: oggenc/oggenc.c:832 #, 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:845 #, 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:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Opción de calidad \"%s\" no reconocida, ignorada\n" #: oggenc/oggenc.c:865 #, 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:871 #, 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:880 #, 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:889 #, 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:897 #, 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:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 de %s %s\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, 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:932 #, 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:937 #, 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:948 #, 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:953 #, 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:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "AVISO: Especificada opción desconocida, ignorada->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, 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:1014 vorbiscomment/vcomment.c:369 #, 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:1033 #, 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:212 #, fuzzy, c-format 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 #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:356 #, 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" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, fuzzy, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "" "Cabeceras vorbis analizadas para flujo %d, información a continuación...\n" #: ogginfo/ogginfo2.c:403 #, fuzzy, c-format msgid "Version: %d.%d.%d\n" msgstr "Versión: %d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "Distribuidor: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "" #: ogginfo/ogginfo2.c:407 #, fuzzy, c-format msgid "Height: %d\n" msgstr "Versión: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "" #: ogginfo/ogginfo2.c:439 msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" msgstr "" #: ogginfo/ogginfo2.c:441 #, fuzzy msgid "Colourspace unspecified\n" msgstr "no se ha indicado ninguna acción\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "" #: ogginfo/ogginfo2.c:452 #, fuzzy, c-format msgid "Target bitrate: %d kbps\n" msgstr "Tasa de bits máxima: %f kb/s\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "Sigue la sección de comentarios del usuario...\n" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "Aviso: granulepos en el flujo %d se decrementa desde " #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "" "Cabeceras vorbis analizadas para flujo %d, información a continuación...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "Versión: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "Distribuidor: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "Canales: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "Tasa de transferencia: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "Tasa de bits nominal: %f kb/s\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "Tasa de bits nominal no especificada\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "Tasa de bits máxima: %f kb/s\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "Tasa de transferencia de bits máxima no especificada\n" # algo largo EM #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "Tasa de transferencia de bits mínima: %f kb/s\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "Tasa de transferencia de bits mínima no especificada\n" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:703 #, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, fuzzy, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "" "Cabeceras vorbis analizadas para flujo %d, información a continuación...\n" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "Versión: %d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "Distribuidor: %s\n" #: ogginfo/ogginfo2.c:756 #, fuzzy msgid "No category set\n" msgstr "Tasa de bits nominal no especificada\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, 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:1047 #, 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:1075 #, 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:1089 #, 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:1107 #, fuzzy msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "Aviso: encontrado vacío en los datos en el offset aproximado " #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "ERROR: Imposible abrir fichero de entrada \"%s\": %s\n" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Procesando fichero \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 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:1156 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, 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:1181 #, 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:1185 #, 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:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "Flujo lógico %d finalizado\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 de %s %s\n" # no soporte "support" :P #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Imposible analizar el punto de corte \"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Imposible analizar el punto de corte \"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Imposible abrir %s para escritura\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Imposible abrir %s para lectura\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Imposible analizar el punto de corte \"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Procesando: Cortando en %lld\n" #: vcut/vcut.c:303 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Procesando: Cortando en %lld\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "Procesamiento fallido\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "AVISO: Final de fichero inesperado al leer la cabecera WAV\n" # żtecla o clave? lo sabr,bi(B en cuanto mire las fuentes ;) - EM # clave, supongo... -Quique #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Clave no encontrada" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, 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:519 #, 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:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Error recuperable en la transferencia\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Cabecera secundaria dañada\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Error en el flujo de bits, continuando\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Error en cabecera primaria: żNo es vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "El fichero de entrada no es ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Error en el flujo de bits, continuando\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, 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:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 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:558 msgid "Error reading initial header packet." msgstr "Error al leer el paquete inicial de las cabeceras." #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "Entrada truncada o vacía." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "La entrada no es un flujo de bits Ogg." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "El flujo de bits Ogg no contiene datos en formato vorbis." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "Fin de fichero antes que el final de las cabeceras vorbis." #: vorbiscomment/vcedit.c:595 #, 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:639 msgid "Corrupt secondary header." msgstr "Cabecera secundaria dañada." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "Fin de fichero antes que el final de las cabeceras vorbis." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Datos dañados o faltan datos, continuando..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, 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:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Comentario defectuoso: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "comentario defectuoso: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, 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:280 #, c-format msgid "no action specified\n" msgstr "no se ha indicado ninguna acción\n" #: vorbiscomment/vcomment.c:384 #, 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:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "Tipo no válido en la lista de opciones" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, 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:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Error de apertura del fichero de entrada '%s'.\n" #: vorbiscomment/vcomment.c:741 #, 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:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Error de apertura del fichero de salida '%s'.\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Error de apertura del fichero de comentarios '%s'.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Error de apertura del fichero de comentarios '%s'\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "Error al borrar el fichero antiguo %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "Error al cambiar el nombre de %s a %s\n" #: vorbiscomment/vcomment.c:830 #, 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" #~ 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 " #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %ld bytes\n" #~ "\tPlayback length: %ldm:%02lds\n" #~ "\tAverage bitrate: %f kbps\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" # ż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.0/po/fr.po0000644000175000017500000030232111353056537012475 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2003-03-06 15:15+0100\n" "Last-Translator: Martin Quinson \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, 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:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 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:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Options disponibles :\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Pas de tel périphérique %s.\n" #: ogg123/cmdline_options.c:138 #, 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:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "" "=== Impossible de spécifier quel fichier de sortie utiliser sans pilote.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Format d'option incorrecte : %s.\n" #: ogg123/cmdline_options.c:177 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:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 de %s %s\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Impossible de jouer tous les Ğ zéroièmes ğ tronçons !\n" #: ogg123/cmdline_options.c:216 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:232 #, 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:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:261 #, 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:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "Options disponibles :\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "Fichier : %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Options disponibles :\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "L'entrée n'est pas un ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "Description" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Options disponibles :\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Erreur : Plus de mémoire.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "pilote de sortie par défaut" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "mélange la liste des morceaux" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Impossible d'omettre %f secondes d'audio." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Périphérique audio : %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Auteur : %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "Commentaires : %s" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Attention : Impossible de lire le répertoire %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Erreur : Impossible de créer les tampons audio.\n" #: ogg123/ogg123.c:561 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Aucun module à lire depuis %s.\n" #: ogg123/ogg123.c:566 #, c-format msgid "Cannot open %s.\n" msgstr "Impossible d'ouvrir %s.\n" #: ogg123/ogg123.c:572 #, 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:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "Écoute de : %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Impossible d'omettre %f secondes d'audio." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Erreur : Échec du décodage.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:369 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Le flux a %d canaux, %ldHz" #: ogg123/speex_format.c:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Version : %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Erreur lors de la lecture des entêtes\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrétampon à %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sEn pause" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Erreur d'allocation mémoire dans stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Fichier : %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Temps : %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "de %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Débit moyen : %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Tampon d'entrée %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "Numéro de chanson :" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "ReplayGain (Morceau) :" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "ReplayGain (Album) :" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "ReplayGain (Morceau) :" #: ogg123/vorbis_comments.c:43 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "ReplayGain (Album) :" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "Copyright" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "Commentaire :" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 de %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, 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:217 #, 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:266 #, 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:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Fin de l'encodage du fichier Ğ %s ğ\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Erreur lors de la suppression du vieux fichier %s\n" #: oggdec/oggdec.c:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "lecteur de fichier WAV" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "lecteur de fichier AIFF/AIFC" #: oggenc/audio.c:49 #, fuzzy msgid "FLAC file reader" msgstr "lecteur de fichier WAV" #: oggenc/audio.c:50 #, fuzzy msgid "Ogg FLAC file reader" msgstr "lecteur de fichier WAV" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, 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:165 #, 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:262 #, 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:268 #, 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:276 #, 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:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Attention : l'entête AIFF-C est tronqué.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, 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:324 #, 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:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:772 #, 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:790 #, 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:68 #, 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:117 #, 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:132 #, 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:139 #, 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:203 #, 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:227 #, 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:243 #, fuzzy msgid "RAW file reader" msgstr "lecteur de fichier WAV" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Ouverture avec le module %s : %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, 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:335 #, 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:342 #, 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:353 #, 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:399 #, 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:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Démultiplexage de la stéréo en mono\n" #: oggenc/oggenc.c:409 #, 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:417 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 de %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Mise en route du mécanisme de gestion du débit\n" #: oggenc/oggenc.c:716 #, 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:719 #, 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:726 #, 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:732 #, 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:742 #, 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:756 #, 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:776 #, 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:787 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Attention : commande illégale (Ğ %s ğ). ignorée.\n" #: oggenc/oggenc.c:824 #, 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:832 #, 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:845 #, 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:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Option de qualité Ğ %s ğ inconnue, ignorée\n" #: oggenc/oggenc.c:865 #, 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:871 #, 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:880 #, 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:889 #, 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:897 #, 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:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 de %s %s\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, 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:932 #, 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:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "Attention : Nombre de canaux invalide. Utilisation de 2.\n" #: oggenc/oggenc.c:948 #, 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:953 #, 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:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "Attention : Option inconnue donnée, ignorée ->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, 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:1014 vorbiscomment/vcomment.c:369 #, 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:1033 #, 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:212 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:356 #, 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" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format 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 #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, fuzzy, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "Entêtes Vorbis du flux %d analysés, les informations suivent...\n" #: ogginfo/ogginfo2.c:403 #, fuzzy, c-format msgid "Version: %d.%d.%d\n" msgstr "Version : %d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "Vendeur : %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "" #: ogginfo/ogginfo2.c:407 #, fuzzy, c-format msgid "Height: %d\n" msgstr "Version : %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "" #: ogginfo/ogginfo2.c:439 msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" msgstr "" #: ogginfo/ogginfo2.c:441 #, fuzzy msgid "Colourspace unspecified\n" msgstr "Pas d'action spécifiée\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "" #: ogginfo/ogginfo2.c:452 #, fuzzy, c-format msgid "Target bitrate: %d kbps\n" msgstr "Débit maximal : %f kb/s\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "Les commentaires de l'utilisateur suivent...\n" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "Attention : le granulepos du flux %d a décru de " #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format 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 #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "Entêtes Vorbis du flux %d analysés, les informations suivent...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "Version : %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "Vendeur : %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "Canaux : %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "Taux : %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "Débit nominal : %f kb/s\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "Pas de débit nominal indiqué\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "Débit maximal : %f kb/s\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "Pas de débit maximal indiqué\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "Débit minimal : %f kb/s\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "Pas de débit minimal indiqué\n" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:703 #, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" # FIXME #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, fuzzy, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "Entêtes Vorbis du flux %d analysés, les informations suivent...\n" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "Version : %d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "Vendeur : %s\n" #: ogginfo/ogginfo2.c:756 #, fuzzy msgid "No category set\n" msgstr "Pas de débit nominal indiqué\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, 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:1047 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Attention : Page d'entête invalide, aucun paquet trouvé\n" #: ogginfo/ogginfo2.c:1075 #, 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:1089 #, 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:1107 #, fuzzy msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "Attention : trou trouvé dans les données après environ " #: ogginfo/ogginfo2.c:1134 #, 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:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Traitement du fichier Ğ %s ğ...\n" "\n" #: ogginfo/ogginfo2.c:1148 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:1156 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, 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:1181 #, 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:1185 #, 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:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "Fin du flux logique %d\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 de %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "point de césure Ğ %s ğ incompréhensible\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "point de césure Ğ %s ğ incompréhensible\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Impossible d'ouvrir %s pour y écrire\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Impossible d'ouvrir %s pour le lire\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "point de césure Ğ %s ğ incompréhensible\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Traitement : Coupure à %lld\n" #: vcut/vcut.c:303 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Traitement : Coupure à %lld\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "Échec du traitement\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "" "Attention : fin de fichier inattendue lors de la lecture des entêtes WAV\n" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Clé introuvable" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, 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:519 #, 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:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Erreur non fatale dans le flux\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Entête secondaire corrompu\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Erreur de flux, on continue\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Erreur dans l'entête primaire : pas du vorbis ?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "L'entrée n'est pas un ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Erreur de flux, on continue\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, 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:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 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:558 msgid "Error reading initial header packet." msgstr "Erreur lors de la lecture du paquet d'entête initial." #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "Entrée tronquée ou vide." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "L'entrée n'est pas un flux Ogg." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Le flux Ogg ne contient pas de données vorbis." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "Fin de fichier avant la fin des entêtes vorbis." #: vorbiscomment/vcedit.c:595 #, 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:639 msgid "Corrupt secondary header." msgstr "Entête secondaire corrompu." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "Fin de fichier avant la fin des entêtes vorbis." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Données corrompues ou manquantes, on continue..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, 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:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Mauvais commentaire : Ğ %s ğ\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "mauvais commentaire : Ğ %s ğ\n" #: vorbiscomment/vcomment.c:263 #, 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:280 #, c-format msgid "no action specified\n" msgstr "Pas d'action spécifiée\n" #: vorbiscomment/vcomment.c:384 #, 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:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "Mauvais typage dans la liste des options" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "Erreur interne lors de l'analyse des options de commande.\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, 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:741 #, 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:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Erreur lors de l'ouverture du fichier de sortie Ğ %s ğ.\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Erreur lors de l'ouverture du fichier de commentaires Ğ %s ğ.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Erreur lors de l'ouverture du fichier de commentaires Ğ %s ğ\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "Erreur lors de la suppression du vieux fichier %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "Erreur lors du renommage de %s en %s\n" #: vorbiscomment/vcomment.c:830 #, 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" #~ 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 "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %ld bytes\n" #~ "\tPlayback length: %ldm:%02lds\n" #~ "\tAverage bitrate: %f kbps\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" #~ 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.0/po/hr.po0000644000175000017500000017026411353056537012510 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2002-06-16 02:15-01\n" "Last-Translator: Vlatko Kosturjak \n" "Language-Team: Croatian \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:117 #, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 msgid "Internal error parsing command line options.\n" msgstr "" #: ogg123/cmdline_options.c:90 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "" #: ogg123/cmdline_options.c:102 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" #: ogg123/cmdline_options.c:109 #, c-format msgid "Available options:\n" msgstr "RaspoloĊive opcije:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "" #: ogg123/cmdline_options.c:138 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "" #: ogg123/cmdline_options.c:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "" #: ogg123/cmdline_options.c:177 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "" #: ogg123/cmdline_options.c:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 iz %s %s\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "" #: ogg123/cmdline_options.c:216 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" #: ogg123/cmdline_options.c:232 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "" #: ogg123/cmdline_options.c:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:261 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "" #: ogg123/cmdline_options.c:271 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" #: ogg123/cmdline_options.c:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "RaspoloĊive opcije:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "Datoteka: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "RaspoloĊive opcije:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid "Input options\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "Opis" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "RaspoloĊive opcije:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "GreĊĦka: Nedovoljno memorije.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, c-format msgid "Could not skip to %f in audio stream." msgstr "" #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:378 #, fuzzy, c-format msgid "Comments: %s" msgstr "Komentari: %s\n" #: ogg123/ogg123.c:422 #, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "" #: ogg123/ogg123.c:561 #, c-format msgid "No module could be found to read from %s.\n" msgstr "" #: ogg123/ogg123.c:566 #, c-format msgid "Cannot open %s.\n" msgstr "Ne mogu otvoriti %s.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "" #: ogg123/ogg123.c:582 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" #: ogg123/ogg123.c:601 #, c-format msgid "Playing: %s" msgstr "Reproduciram: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "" #: ogg123/ogg123.c:667 msgid "ERROR: Decoding failure.\n" msgstr "" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 msgid "Done." msgstr "Gotovo." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "" #: ogg123/oggvorbis_format.c:214 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:413 #, 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:363 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:369 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "" #: ogg123/speex_format.c:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Inačica: %s" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 msgid "Cannot read header" msgstr "" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Datoteka: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Vrijeme: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr "" #: ogg123/status.c:290 #, 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:39 #, fuzzy msgid "Track number:" msgstr "Broj pjesme: %s" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:44 #, fuzzy msgid "Copyright" msgstr "Autorska prava %s" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 #, fuzzy msgid "Comment:" msgstr "Komentar: %s" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 iz %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" #: oggdec/oggdec.c:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "" #: oggdec/oggdec.c:217 #, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "" #: oggdec/oggdec.c:266 #, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "" #: oggdec/oggdec.c:292 #, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, c-format msgid "Error writing to file: %s\n" msgstr "" #: oggdec/oggdec.c:371 #, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" #: oggdec/oggdec.c:376 #, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" #: oggenc/audio.c:46 msgid "WAV file reader" msgstr "" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "" #: oggenc/audio.c:49 msgid "FLAC file reader" msgstr "" #: oggenc/audio.c:50 msgid "Ogg FLAC file reader" msgstr "" #: oggenc/audio.c:128 oggenc/audio.c:447 #, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "" #: oggenc/audio.c:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "" #: oggenc/audio.c:165 #, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "" #: oggenc/audio.c:262 #, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "" #: oggenc/audio.c:268 #, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "" #: oggenc/audio.c:276 #, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "" #: oggenc/audio.c:291 #, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "" #: oggenc/audio.c:305 #, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "" #: oggenc/audio.c:312 #, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "" #: oggenc/audio.c:318 #, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "" #: oggenc/audio.c:324 #, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "" #: oggenc/audio.c:370 #, 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:427 #, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "" #: oggenc/audio.c:440 #, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" #: oggenc/audio.c:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:772 #, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" #: oggenc/audio.c:790 #, 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:68 #, 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:117 #, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" #: oggenc/oggenc.c:132 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "" #: oggenc/oggenc.c:139 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" #: oggenc/oggenc.c:203 #, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" #: oggenc/oggenc.c:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "" #: oggenc/oggenc.c:243 msgid "RAW file reader" msgstr "" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "" #: oggenc/oggenc.c:269 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "" #: oggenc/oggenc.c:328 #, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "" #: oggenc/oggenc.c:335 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" #: oggenc/oggenc.c:342 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "" #: oggenc/oggenc.c:353 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "" #: oggenc/oggenc.c:399 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "" #: oggenc/oggenc.c:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "" #: oggenc/oggenc.c:409 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" #: oggenc/oggenc.c:417 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 iz %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" #: oggenc/oggenc.c:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "" #: oggenc/oggenc.c:716 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" #: oggenc/oggenc.c:732 #, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" #: oggenc/oggenc.c:742 #, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "" #: oggenc/oggenc.c:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "" #: oggenc/oggenc.c:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "" #: oggenc/oggenc.c:787 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" #: oggenc/oggenc.c:824 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:832 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:845 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "" #: oggenc/oggenc.c:865 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" #: oggenc/oggenc.c:871 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" #: oggenc/oggenc.c:880 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" #: oggenc/oggenc.c:889 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" #: oggenc/oggenc.c:897 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" #: oggenc/oggenc.c:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 iz %s %s\n" #: oggenc/oggenc.c:916 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:921 oggenc/oggenc.c:925 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" #: oggenc/oggenc.c:932 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" #: oggenc/oggenc.c:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "" #: oggenc/oggenc.c:948 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:953 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" #: oggenc/oggenc.c:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1014 vorbiscomment/vcomment.c:369 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1033 #, 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:212 #, c-format msgid "" "WARNING: Comment %d in stream %d has invalid format, does not contain '=': " "\"%s\"\n" msgstr "" #: ogginfo/ogginfo2.c:220 #, c-format msgid "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" msgstr "" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " "wrong\n" msgstr "" #: ogginfo/ogginfo2.c:266 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" msgstr "" #: ogginfo/ogginfo2.c:342 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid sequence " "\"%s\": %s\n" msgstr "" #: ogginfo/ogginfo2.c:356 msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" msgstr "" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, c-format msgid "" "WARNING: Could not decode Theora header packet - invalid Theora stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:396 #, c-format msgid "" "WARNING: Theora stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:403 #, fuzzy, c-format msgid "Version: %d.%d.%d\n" msgstr "Inačica: %s" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, fuzzy, c-format msgid "Vendor: %s\n" msgstr "Ċ½anr: %s" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "" #: ogginfo/ogginfo2.c:439 msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" msgstr "" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "" #: ogginfo/ogginfo2.c:452 #, c-format msgid "Target bitrate: %d kbps\n" msgstr "" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 msgid "WARNING: granulepos in stream %d decreases from %" msgstr "" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, c-format msgid "" "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:565 #, c-format msgid "" "WARNING: Vorbis stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:572 #, fuzzy, c-format msgid "Version: %d\n" msgstr "Inačica: %s" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "" #: ogginfo/ogginfo2.c:585 #, fuzzy, c-format msgid "" "Rate: %ld\n" "\n" msgstr "Nadnevak: %s" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, c-format msgid "" "WARNING: Could not decode Kate header packet %d - invalid Kate stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:703 #, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:734 #, c-format msgid "" "WARNING: Kate stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:738 #, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "Inačica: %s" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "Nadnevak: %s" #: ogginfo/ogginfo2.c:756 msgid "No category set\n" msgstr "" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1047 msgid "WARNING: Invalid header page, no packet found\n" msgstr "" #: ogginfo/ogginfo2.c:1075 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" #: ogginfo/ogginfo2.c:1089 #, 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:1107 msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "" #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:1148 msgid "Could not find a processor for stream, bailing\n" msgstr "" #: ogginfo/ogginfo2.c:1156 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "" #: ogginfo/ogginfo2.c:1181 #, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1185 #, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "" #: ogginfo/ogginfo2.c:1213 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 iz %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, c-format msgid "Couldn't flush output stream\n" msgstr "" #: vcut/vcut.c:164 #, c-format msgid "Couldn't close output file\n" msgstr "" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "" #: vcut/vcut.c:264 #, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" #: vcut/vcut.c:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "" #: vcut/vcut.c:301 #, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "" #: vcut/vcut.c:355 #, c-format msgid "WARNING: unexpected granulepos " msgstr "" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Ključ nije pronađen" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, c-format msgid "Couldn't write packet to output file\n" msgstr "" #: vcut/vcut.c:519 #, c-format msgid "BOS not set on first page of stream\n" msgstr "" #: vcut/vcut.c:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, c-format msgid "Internal stream parsing error\n" msgstr "" #: vcut/vcut.c:559 #, c-format msgid "Header packet corrupt\n" msgstr "" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "" #: vcut/vcut.c:575 #, c-format msgid "Error in header: not vorbis?\n" msgstr "" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "" #: vcut/vcut.c:630 #, c-format msgid "Page error, continuing\n" msgstr "" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "" #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "" #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:566 msgid "Ogg bitstream does not contain Vorbis data." msgstr "" #: vorbiscomment/vcedit.c:579 msgid "EOF before recognised stream." msgstr "" #: vorbiscomment/vcedit.c:595 msgid "Ogg bitstream does not contain a supported data-type." msgstr "" #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "" #: vorbiscomment/vcedit.c:660 msgid "EOF before end of Vorbis headers." msgstr "" #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "" #: vorbiscomment/vcedit.c:875 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" #: vorbiscomment/vcomment.c:195 vorbiscomment/vcomment.c:221 #, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "" #: vorbiscomment/vcomment.c:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "" #: vorbiscomment/vcomment.c:263 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "" #: vorbiscomment/vcomment.c:280 #, c-format msgid "no action specified\n" msgstr "" #: vorbiscomment/vcomment.c:384 #, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "" #: vorbiscomment/vcomment.c:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "Neispravni tip u popisu opcija" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:741 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" #: vorbiscomment/vcomment.c:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "" #: vorbiscomment/vcomment.c:830 #, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "" #~ 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.0/po/hu.po0000644000175000017500000027047011353056537012513 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2004-05-07 11:38GMT\n" "Last-Translator: Gábor István \n" "Language-Team: Hungarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, 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:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 msgid "Internal error parsing command line options.\n" msgstr "Belsġ hiba a parancssori opciók elemzése során\n" #: ogg123/cmdline_options.c:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Rendelkezésre álló opciók:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Nincs ilyen eszköz: %s.\n" #: ogg123/cmdline_options.c:138 #, 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:143 msgid "=== Cannot specify output file without 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:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "==== Érvénytelen kimeneti formátum: %s.\n" #: ogg123/cmdline_options.c:177 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:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 a %s %s -ból\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Nem lehet lejátszani a 0-dik csonkokat!\n" #: ogg123/cmdline_options.c:216 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:232 #, 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:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:261 #, 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:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "Rendelkezésre álló opciók:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "Fájl: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Rendelkezésre álló opciók:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "A bemenet nem ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "Leírás" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Rendelkezésre álló opciók:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Hiba: Elfogyott a memória.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "alapértelmezés szerinti kimeneti eszköz" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "véletelen lejátszási lista" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Nem lehet átugrani %f másodpercet ." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Audioeszköz: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Szerzġ: %s" #: ogg123/ogg123.c:378 #, fuzzy, c-format msgid "Comments: %s" msgstr "Megjegyzések: %s\n" #: ogg123/ogg123.c:422 #, 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:458 msgid "Error: Could not create audio buffer.\n" msgstr "Hiba: Nem lehet létrehozni az audiopuffert.\n" #: ogg123/ogg123.c:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Nem lehet megnyitni %s-t.\n" #: ogg123/ogg123.c:572 #, 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:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "Lejátszás: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Nem lehet átugrani %f másodpercet ." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Hiba: Dekódolás nem sikerült.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:369 #, 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:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Verzió: %s" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Hiba a fejléc olvasása közben\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sElġpufferelés %1.f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sMegállítva" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Memóriakiosztási hiba a stats_init()-ben\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Fájl: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Idġ: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "/ %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Átl. bitráta: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr "Bemeneti puffer %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "Sáv száma:" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "Copyright" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "Megjegyzés:" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 a %s %s -ból\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, 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:217 #, 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:266 #, 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:292 #, 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:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, 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:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "WAV-fájl olvasó" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "AIFF/AIFC-fájl olvasó" #: oggenc/audio.c:49 #, fuzzy msgid "FLAC file reader" msgstr "WAV-fájl olvasó" #: oggenc/audio.c:50 #, fuzzy msgid "Ogg FLAC file reader" msgstr "WAV-fájl olvasó" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "\"%s\" típusú csonk átugrása, hossz: %d\n" #: oggenc/audio.c:165 #, 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:262 #, 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:268 #, 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:276 #, 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:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Figyelmeztetés: AIFF-C fejléc csonkított.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, 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:324 #, 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:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:772 #, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" #: oggenc/audio.c:790 #, 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:68 #, 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:117 #, 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:132 #, 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:139 #, 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:203 #, 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:227 #, 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:243 #, fuzzy msgid "RAW file reader" msgstr "WAV-fájl olvasó" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "A %s megnyitása %s modullal \n" #: oggenc/oggenc.c:269 #, 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:328 #, 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:335 #, 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:342 #, 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:353 #, 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:399 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "" #: oggenc/oggenc.c:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "" #: oggenc/oggenc.c:409 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" #: oggenc/oggenc.c:417 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 a %s %s -ból\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "A bitrára kezelés motor engedélyezése\n" #: oggenc/oggenc.c:716 #, 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:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" #: oggenc/oggenc.c:732 #, 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:742 #, 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:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "" #: oggenc/oggenc.c:776 #, 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:787 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" #: oggenc/oggenc.c:824 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Figyelmeztetés: névleges \"%s\" nem értelmezhetġ\n" #: oggenc/oggenc.c:832 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Figyelmeztetés: minimális \"%s\" nem értelmezhetġ\n" #: oggenc/oggenc.c:845 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Figyelmeztetés: maximális \"%s\" nem értelmezhetġ\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Minġség opciók \"%s\" nem értelmezhetġ\n" #: oggenc/oggenc.c:865 #, 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:871 #, 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:880 #, 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:889 #, 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:897 #, 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:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 a %s %s -ból\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, 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:932 #, 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:937 #, 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:948 #, 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:953 #, 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:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "FIGYELEM Ismeretlen opciót határozott meg, elutasítva->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, 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:1014 vorbiscomment/vcomment.c:369 #, 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:1033 #, 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:212 #, c-format msgid "" "WARNING: Comment %d in stream %d has invalid format, does not contain '=': " "\"%s\"\n" msgstr "" #: ogginfo/ogginfo2.c:220 #, c-format msgid "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" msgstr "" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " "wrong\n" msgstr "" #: ogginfo/ogginfo2.c:266 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" msgstr "" #: ogginfo/ogginfo2.c:342 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid sequence " "\"%s\": %s\n" msgstr "" #: ogginfo/ogginfo2.c:356 msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" msgstr "" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, c-format msgid "" "WARNING: Could not decode Theora header packet - invalid Theora stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:396 #, c-format msgid "" "WARNING: Theora stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:403 #, fuzzy, c-format msgid "Version: %d.%d.%d\n" msgstr "Verzió: %s" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, fuzzy, c-format msgid "Vendor: %s\n" msgstr "forgalmazó=%s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "" #: ogginfo/ogginfo2.c:407 #, fuzzy, c-format msgid "Height: %d\n" msgstr "Verzió: %s" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "" #: ogginfo/ogginfo2.c:439 msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" msgstr "" #: ogginfo/ogginfo2.c:441 #, fuzzy msgid "Colourspace unspecified\n" msgstr "nem határozott meg mûveletet\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "" #: ogginfo/ogginfo2.c:452 #, fuzzy, c-format msgid "Target bitrate: %d kbps\n" msgstr "" "\tÁtlagos bitráta: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 msgid "WARNING: granulepos in stream %d decreases from %" msgstr "" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, c-format msgid "" "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:565 #, c-format msgid "" "WARNING: Vorbis stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:572 #, fuzzy, c-format msgid "Version: %d\n" msgstr "Verzió: %s" #: ogginfo/ogginfo2.c:576 #, fuzzy, c-format msgid "Vendor: %s (%s)\n" msgstr "forgalmazó=%s\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "" #: ogginfo/ogginfo2.c:585 #, fuzzy, c-format msgid "" "Rate: %ld\n" "\n" msgstr "Dátum: %s" #: ogginfo/ogginfo2.c:588 #, fuzzy, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "" "\tÁtlagos bitráta: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:591 #, fuzzy msgid "Nominal bitrate not set\n" msgstr "Figyelmeztetés: névleges \"%s\" nem értelmezhetġ\n" #: ogginfo/ogginfo2.c:594 #, fuzzy, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "" "\tÁtlagos bitráta: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:600 #, fuzzy, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "" "\tÁtlagos bitráta: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, c-format msgid "" "WARNING: Could not decode Kate header packet %d - invalid Kate stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:703 #, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:734 #, c-format msgid "" "WARNING: Kate stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:738 #, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "Verzió: %s" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "forgalmazó=%s\n" #: ogginfo/ogginfo2.c:756 #, fuzzy msgid "No category set\n" msgstr "Figyelmeztetés: névleges \"%s\" nem értelmezhetġ\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Figyelmeztetés: maximális \"%s\" nem értelmezhetġ\n" #: ogginfo/ogginfo2.c:1047 #, 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:1075 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" #: ogginfo/ogginfo2.c:1089 #, 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:1107 msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "" #: ogginfo/ogginfo2.c:1134 #, 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:1139 #, fuzzy, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "Feldolgozás sikertelen\n" #: ogginfo/ogginfo2.c:1148 #, fuzzy msgid "Could not find a processor for stream, bailing\n" msgstr "A '%s'-t nem lehet megnyitni olvasásra\n" #: ogginfo/ogginfo2.c:1156 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "" #: ogginfo/ogginfo2.c:1181 #, 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:1185 #, 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:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "" #: ogginfo/ogginfo2.c:1213 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 a %s %s -ból\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Nem tudom értelmezni a vágásipontot\"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Nem tudom értelmezni a vágásipontot\"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "A '%s'-t nem lehet megnyitni írásra\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "A '%s'-t nem lehet megnyitni olvasásra\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Nem tudom értelmezni a vágásipontot\"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Feldolgozás: Vágás a %lld -nél\n" #: vcut/vcut.c:303 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Feldolgozás: Vágás a %lld -nél\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "Feldolgozás sikertelen\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "Figyelmeztetés: Váratlan fájlvég a WAV-fejlécben\n" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Kulcs nem található" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, 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:519 #, 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:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Helyrehozható adatfolyam hiba\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Másodlagos fejléc sérült\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Bitfolyamat hiba, folyatatás\n" #: vcut/vcut.c:575 #, 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:626 #, c-format msgid "Input not ogg.\n" msgstr "A bemenet nem ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Bitfolyamat hiba, folyatatás\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, 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:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 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:558 msgid "Error reading initial header packet." msgstr "Hiba a kezdġ fejléc csomag olvasása közben." #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "A bemenet megcsonkított vagy üres." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "A bemenet nem Ogg adatfolyam." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ogg adatfolyam nem tartalmaz vorbis adatokat." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "Fájl vég jel a vorbis fejléc vége elġtt." #: vorbiscomment/vcedit.c:595 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ogg adatfolyam nem tartalmaz vorbis adatokat." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "Sérült másodlagos fejléc." #: vorbiscomment/vcedit.c:660 #, 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:835 msgid "Corrupt or missing data, continuing..." msgstr "Sérült vagy hiányzó adatok, folytatás..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, 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:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Rossz megjegyzés: '%s'\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "rossz megjegyzés: '%s'\n" #: vorbiscomment/vcomment.c:263 #, 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:280 #, c-format msgid "no action specified\n" msgstr "nem határozott meg mûveletet\n" #: vorbiscomment/vcomment.c:384 #, 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:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "Rossz típus az opciók között" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, 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:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Hiba a '%s' bemeneti fájl megnyitása során.\n" #: vorbiscomment/vcomment.c:741 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" #: vorbiscomment/vcomment.c:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Hiba a '%s' kimeneti fájl megnyitása során.\n" #: vorbiscomment/vcomment.c:767 #, 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:784 #, 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:818 #, 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:820 #, fuzzy, c-format msgid "Error renaming %s to %s\n" msgstr "Hiba a fejléc olvasása közben\n" #: vorbiscomment/vcomment.c:830 #, 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" #~ 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.0/po/nl.po0000644000175000017500000033731611353056537012513 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2008-11-13 15:44+0100\n" "Last-Translator: Erwin Poeze \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "FOUT: geheugentekort in malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 msgid "Internal error parsing command line options.\n" msgstr "Interne fout bij ontleden opdrachtregelopties\n" #: ogg123/cmdline_options.c:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Beschikbare opties:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Zo'n apparaat bestaat niet: %s.\n" #: ogg123/cmdline_options.c:138 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Stuurprogramma %s is niet voor bestandsuitvoer.\n" #: ogg123/cmdline_options.c:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "" "=== Kan geen uitvoerbestand opgeven zonder een uitvoerstuurprogramma.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Optie verkeerd opgegeven: %s.\n" #: ogg123/cmdline_options.c:177 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Waarde voorloopbuffer is onjuist. Bereik is 0-100.\n" #: ogg123/cmdline_options.c:201 #, c-format msgid "ogg123 from %s %s" msgstr "ogg123 uit %s %s" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Kan niet elk 0de-blok afspelen!\n" #: ogg123/cmdline_options.c:216 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:232 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Kan bestand met afspeellijst %s niet openen. Overgeslagen.\n" #: ogg123/cmdline_options.c:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "=== Conflicterende optie: eindtijd ligt voor starttijd.\n" #: ogg123/cmdline_options.c:261 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Aangegeven stuurprogramma %s in configuratiebestand is onjuist.\n" #: ogg123/cmdline_options.c:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" "ogg123 van %s %s\n" " door de Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: ogg123/cmdline_options.c:309 #, 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:312 #, c-format msgid "Available codecs: " msgstr "Beschikbare codecs: " #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "FLAC, " #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "Speex, " #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" "Ogg Vorbis.\n" "\n" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "Uitvoeropties\n" #: ogg123/cmdline_options.c:325 #, 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:327 #, c-format msgid "Live:" msgstr "Rechtstreeks:" #: ogg123/cmdline_options.c:336 #, c-format msgid "File:" msgstr "Bestand:" #: ogg123/cmdline_options.c:345 #, 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:348 #, 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:349 #, 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:355 #, c-format msgid "Playlist options\n" msgstr "Opties van afspeellijst\n" #: ogg123/cmdline_options.c:356 #, 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:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr " -r, --repeat herhaal afspeellijst oneindig\n" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr " -R, --remote gebruikt afstandsbedieninginterface\n" #: ogg123/cmdline_options.c:359 #, 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:360 #, 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:363 #, c-format msgid "Input options\n" msgstr "Invoeropties\n" #: ogg123/cmdline_options.c:364 #, 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:365 #, 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:368 #, c-format msgid "Decode options\n" msgstr "Decodeeropties\n" #: ogg123/cmdline_options.c:369 #, 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:370 #, 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:371 #, 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:372 #, 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:375 vorbiscomment/vcomment.c:549 #, c-format msgid "Miscellaneous options\n" msgstr "Diverse opties\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr " -h, --help deze hulptekst tonen\n" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr " -q, --quiet niets (geen titel) tonen\n" #: ogg123/cmdline_options.c:383 #, 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:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, c-format msgid "ERROR: Out of memory.\n" msgstr "FOUT: geheugentekort.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "standaarduitvoerapparaat" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "zet afspeellijst in willekeurige volgorde" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "afspeellijst oneindig herhalen" #: ogg123/ogg123.c:231 #, c-format msgid "Could not skip to %f in audio stream." msgstr "Kon niet naar %f opschuiven in geluidsstroom." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Geluidsapparaat: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Auteur: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "Opmerkingen: %s" #: ogg123/ogg123.c:422 #, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "WAARSCHUWING: kon map %s niet lezen.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "FOUT: kon geen geluidsbuffer maken.\n" #: ogg123/ogg123.c:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Kan %s niet openen.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Het bestandsformaat van %s wordt niet ondersteund.\n" #: ogg123/ogg123.c:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "Afspelen: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Kon niet %f seconden overslaan." #: ogg123/ogg123.c:667 msgid "ERROR: Decoding failure.\n" msgstr "FOUT: decoderen is mislukt.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "FOUT: schrijven naar buffer is mislukt.\n" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, 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:369 #, 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:375 #, c-format msgid "Speex version: %s" msgstr "Speexversie: %s" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "Onjuiste/beschadigde opmerkingen" #: ogg123/speex_format.c:475 msgid "Cannot read header" msgstr "Fout tijdens lezen kop" #: ogg123/speex_format.c:480 #, 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:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sVoorloopbuffer voor %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sgepauzeerd" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Geheugenreserveringsfout in stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Bestand: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Tijd: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "van %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Gemiddelde bitsnelheid: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Invoerbuffer %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "Spoornummer:" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "Herspeelfactor (Nummer):" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "Herspeelfactor (Album):" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "Herspeelfactor piek (Nummer):" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "Herspeelfactor piek (album):" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "Auteursrecht" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "Opmerking:" #: oggdec/oggdec.c:50 #, c-format msgid "oggdec from %s %s\n" msgstr "oggdec van %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" " door de Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "Ondersteunde opties:\n" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr " --quiet, -Q geen uitvoer naar console.\n" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr " --help, -h deze hulptekst tonen.\n" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr " --version, -V het versienummer tonen.\n" #: oggdec/oggdec.c:62 #, 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:63 #, 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:65 #, 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:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr " --raw, -R ruwe uitvoer (zonder kop).\n" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "Interne fout: niet-herkend argument\n" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "FOUT: schrijven van Wave-kop is mislukt: %s\n" #: oggdec/oggdec.c:195 #, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "FOUT: kan invoerbestand niet openen: %s\n" #: oggdec/oggdec.c:217 #, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "FOUT: kan uitvoerbestand niet openen: %s\n" #: oggdec/oggdec.c:266 #, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "FOUT: openen bestand als Vorbis is mislukt\n" #: oggdec/oggdec.c:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Coderen bestand \"%s\" voltooid\n" #: oggdec/oggdec.c:293 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:294 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:308 #, 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:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "WAARSCHUWING: gat in gegevens (%d)\n" #: oggdec/oggdec.c:330 #, c-format msgid "Error writing to file: %s\n" msgstr "Fout bij schrijven naar bestand: %s\n" #: oggdec/oggdec.c:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "RAW-bestandslezer" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "AIFF/AIFC-bestandslezer" #: oggenc/audio.c:49 msgid "FLAC file reader" msgstr "FLAC-bestandslezer" #: oggenc/audio.c:50 msgid "Ogg FLAC file reader" msgstr "Ogg-FLAC-bestandslezer" #: oggenc/audio.c:128 oggenc/audio.c:447 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "WAARSCHUWING: onverwachte EOF bij lezen WAV-kop\n" #: oggenc/audio.c:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Overslaan blok van soort \"%s\", lengte %d\n" #: oggenc/audio.c:165 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "WAARSCHUWING: onverwachte EOF in AIFF-blok\n" #: oggenc/audio.c:262 #, 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:268 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "WAARSCHUWING: afgekapt algemeen blok in AIFF-kop\n" #: oggenc/audio.c:276 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "WAARSCHUWING: onverwachte EOF bij lezen AIFF-kop\n" #: oggenc/audio.c:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "WAARSCHUWING: AIFF-C-kop afgekapt.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "WAARSCHUWING: beschadigd SSND-blok in AIFF-kop\n" #: oggenc/audio.c:324 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "WAARSCHUWING: onverwachte EOF bij lezen AIFF-kop\n" #: oggenc/audio.c:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, 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:670 #, 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:772 #, 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:790 #, 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:68 #, 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:117 #, 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:132 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "FOUT: meerdere bestanden opgegeven bij gebruik stdin\n" #: oggenc/oggenc.c:139 #, 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:203 #, 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:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "FOUT: kan invoerbestand \"%s\" niet openen: %s\n" #: oggenc/oggenc.c:243 msgid "RAW file reader" msgstr "RAW-bestandslezer" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Openen met %s-module: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "WAARSCHUWING: geen bestandsnaam, gebruik nu als standaard \"%s\"\n" #: oggenc/oggenc.c:335 #, 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:342 #, 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:353 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "FOUT: kan uitvoerbestand \"%s\" niet openen: %s\n" #: oggenc/oggenc.c:399 #, 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:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Terugbrengen stereo naar mono\n" #: oggenc/oggenc.c:409 #, 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:417 #, c-format msgid "Scaling input to %f\n" msgstr "Invoer schalen naar %f\n" #: oggenc/oggenc.c:463 #, c-format msgid "oggenc from %s %s" msgstr "oggenc van %s %s" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" "Gebruik: oggenc [opties] invoerbestand [...]\n" "\n" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Het beheer van de bitratesnelheid wordt ingeschakeld\n" #: oggenc/oggenc.c:716 #, 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:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "WAARSCHUWING: kan endianness argument \"%s\" niet lezen\n" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "WAARSCHUWING: kan herbemonsterfrequentie \"%s\" niet lezen\n" #: oggenc/oggenc.c:732 #, 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:742 #, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "WAARSCHUWING: kan schaalfactor niet ontleden \"%s\"\n" #: oggenc/oggenc.c:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Geen waarde gevonden voor uitgebreide codeeroptie\n" #: oggenc/oggenc.c:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "Interne fout bij inlezen opdrachtregelopties\n" #: oggenc/oggenc.c:787 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "WAARSCHUWING: ongeldige opmerking gebruikt (\"%s\"), genegeerd.\n" #: oggenc/oggenc.c:824 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "WAARSCHUWING: nominale bitsnelheid \"%s\" wordt niet herkend\n" #: oggenc/oggenc.c:832 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "WAARSCHUWING: ondergrens bitsnelheid \"%s\" wordt niet herkend\n" #: oggenc/oggenc.c:845 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "WAARSCHUWING: bovengrens bitsnelheid \"%s\" wordt niet herkend\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Kwaliteitsoptie \"%s\" wordt niet herkend en genegeerd\n" #: oggenc/oggenc.c:865 #, 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:871 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" "WAARSCHUWING: meerdere naamindelingen opgegeven, de laatste wordt gebruikt\n" #: oggenc/oggenc.c:880 #, 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:889 #, 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:897 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "WAARSCHUWING: meerdere uitvoerbestanden opgegeven, probeer -n\n" #: oggenc/oggenc.c:909 #, c-format msgid "oggenc from %s %s\n" msgstr "oggenc van %s %s\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "WAARSCHUWING: onjuiste bits/monster opgegeven, 16 wordt gekozen.\n" #: oggenc/oggenc.c:932 #, 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:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "WAARSCHUWING: onjuist aantal kanalen opgegeven, 2 wordt gekozen.\n" #: oggenc/oggenc.c:948 #, 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:953 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" "WAARSCHUWING: onjuiste bemonsteringsfrequentie opgegeven, 44100 wordt " "gekozen.\n" #: oggenc/oggenc.c:965 oggenc/oggenc.c:977 #, 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:973 #, 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:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "WAARSCHUWING: onbekende optie opgegeven, negeren->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, 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:1014 vorbiscomment/vcomment.c:369 #, 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:1033 #, 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:212 #, c-format 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" #: ogginfo/ogginfo2.c:220 #, c-format msgid "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" msgstr "" "WAARSCHUWING: onjuiste commentaarveldnaam in opmerking %d (stroom %d): \"%s" "\"\n" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, c-format 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" #: ogginfo/ogginfo2.c:266 #, c-format 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" #: ogginfo/ogginfo2.c:342 #, c-format 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" #: ogginfo/ogginfo2.c:356 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" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "WAARSCHUWING: discontinuŻteit in stroom (%d)\n" #: ogginfo/ogginfo2.c:389 #, c-format 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" #: ogginfo/ogginfo2.c:396 #, c-format 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" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "Theora-koppen ingelezen voor stroom %d, informatie volgt...\n" #: ogginfo/ogginfo2.c:403 #, c-format msgid "Version: %d.%d.%d\n" msgstr "Versie: %d.%d.%d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "Maker: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "Breedte: %d\n" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "Hoogte: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "Volledige afbeelding: %d bij %d, afsnijmaat (%d, %d)\n" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "Beeldmaat of -grootte ongeldig: breedte onjuist\n" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "Beeldmaat of -grootte ongeldig: hoogte onjuist\n" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "Ongeldige beeldsnelheid nul\n" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "Beeldsnelheid %d/%d (%.02f fps)\n" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "Beeldverhouding ongedefinieerd\n" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "Beeldverhouding in pixels (%d:%d) (%f:1)\n" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "Beeldverhouding 4:3\n" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "Beeldverhouding 16:9\n" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "Beeldverhouding %f:1\n" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "Kleurruimte: Rec. ITU-R BT.470-6 Systeem M (NTSC)\n" #: ogginfo/ogginfo2.c:439 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" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "Kleurruimte niet opgegeven\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "Pixelverhouding 4:2:0\n" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "Pixelverhouding 4:2:2\n" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "Pixelverhouding 4:4:4\n" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "Pixelverhouding onjuist\n" #: ogginfo/ogginfo2.c:452 #, c-format msgid "Target bitrate: %d kbps\n" msgstr "Doel bitsnelheid: %d kbps\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "Nominale kwaliteitsinstelling (0-63): %d\n" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "Paragraaf gebruikersopmerkingen volgt...\n" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "WAARSCHUWING: verwacht beeld %" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 msgid "WARNING: granulepos in stream %d decreases from %" msgstr "WAARSCHUWING: granulepos in stroom %d neemt af van % " #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" "Theora-stroom %d:\n" "\tTotale gegevenslengte: %" #: ogginfo/ogginfo2.c:557 #, c-format 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" #: ogginfo/ogginfo2.c:565 #, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "Vorbiskoppen ingelezen voor stroom %d, informatie volgt...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "Versie: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "Maker: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "Kanalen: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "Snelheid: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "Nominale bitsnelheid: %f kb/s\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "Nominale bitsnelheid niet ingesteld\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "Bovengrens bitsnelheid: %f kb/s\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "Bovengrens bitsnelheid niet ingesteld\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "Ondergrens bitsnelheid: %f kb/s\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "Ondergrens bitsnelheid niet ingesteld\n" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "Negatieve of nul granulepos (%" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" "Vorbis-stroom %d:\n" "\tTotale gegevenslengte: %" #: ogginfo/ogginfo2.c:692 #, c-format 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" #: ogginfo/ogginfo2.c:703 #, c-format 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" #: ogginfo/ogginfo2.c:734 #, c-format 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" #: ogginfo/ogginfo2.c:738 #, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "Kate-koppen ontleed voor stroom %d, informatie volgt...\n" #: ogginfo/ogginfo2.c:741 #, c-format msgid "Version: %d.%d\n" msgstr "Versie: %d.%d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "Taal: %s\n" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "Geen taal ingesteld\n" #: ogginfo/ogginfo2.c:753 #, c-format msgid "Category: %s\n" msgstr "Categorie: %s\n" #: ogginfo/ogginfo2.c:756 msgid "No category set\n" msgstr "Geen categorie ingesteld\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "UTF-8" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "Karaktercodering: %s\n" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "Onbekende karaktercodering\n" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "links naar rechts, boven naar onderen" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "rechts naar links, boven naar onderen" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "boven naar onderen, rechts naar links" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "boven naar onderen, links naar rechts" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "Tekstrichting: %s\n" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "Onbekende tekstrichting\n" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "Ongeldige nul granulepos-snelheid\n" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "Granulepos-snelheid %d/%d (%.02f gps)\n" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "Negatieve granulepos (%" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" "Kate-stroom %d:\n" "\tTotale gegevenslengte: %" #: ogginfo/ogginfo2.c:893 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "WAARSCHUWING: EOS niet ingesteld voor stroom %d\n" #: ogginfo/ogginfo2.c:1047 msgid "WARNING: Invalid header page, no packet found\n" msgstr "WAARSCHUWING: onjuiste koppagina, geen pakket gevonden\n" #: ogginfo/ogginfo2.c:1075 #, 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:1089 #, 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:1107 msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "" "WAARSCHUWING: gat in gegevens (%d bytes) gevonden op plaats (ongeveer) % " #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Fout bij openen invoerbestand \"%s\": %s\n" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Verwerken bestand \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 msgid "Could not find a processor for stream, bailing\n" msgstr "Kon geen verwerker vinden voor stroom, afsluiten\n" #: ogginfo/ogginfo2.c:1156 msgid "Page found for stream after EOS flag" msgstr "Pagina voor stroom na EOS-vlag gevonden" #: ogginfo/ogginfo2.c:1159 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:1163 msgid "Error unknown." msgstr "Onbekende fout." #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, 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:1181 #, 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:1185 #, 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:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "Logische stroom %d geĞindigd\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, c-format msgid "ogginfo from %s %s\n" msgstr "ogginfo van %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "\t-V versieinformatie tonen en stoppen\n" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, c-format msgid "Couldn't flush output stream\n" msgstr "Kan uitvoerstroom niet verwijderen\n" #: vcut/vcut.c:164 #, c-format msgid "Couldn't close output file\n" msgstr "Kan uitvoerbestand niet sluiten\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Kan %s niet openen om te schrijven\n" #: vcut/vcut.c:264 #, 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:266 #, 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:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Kan %s niet openen om te lezen\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Kan knippunt \"%s\" niet lezen\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Verwerken: knippen bij %lf seconden\n" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Verwerken: knippen bij %lld monsters\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "Verwerken mislukt\n" #: vcut/vcut.c:355 #, c-format msgid "WARNING: unexpected granulepos " msgstr "WAARSCHUWING: verwachte granulepos" #: vcut/vcut.c:406 #, c-format msgid "Cutpoint not found\n" msgstr "Knippunt niet gevonden\n" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" "Een bestand dat begint en eindigt tussen sample-posities kan niet worden " "aangemaakt" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" "Een bestand dat begint tussen sample-posities kan niet worden aangemaakt" #: vcut/vcut.c:460 #, 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:498 #, c-format msgid "Couldn't write packet to output file\n" msgstr "Kan pakket niet naar uitvoerbestand schrijven\n" #: vcut/vcut.c:519 #, 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:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "Gemultiplexde bitstromen zijn niet ondersteund\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Herstelbare bitstroomfout\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Koppakket beschadigd\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Bitstroomfout, doorgaan\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Fout in kop: geen Vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "Invoer geen ogg.\n" #: vcut/vcut.c:630 #, c-format msgid "Page error, continuing\n" msgstr "Paginafout, doorgaan\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "WAARSCHUWING: invoerbestand onverwacht geĞindigd\n" #: vcut/vcut.c:644 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "WAARSCHUWING: EOS gevonden voor knippunt.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "aan onvoldoende geheugen voor invoerbuffering krijgen." #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "Fout tijdens lezen eerste pagina van Ogg-bitstroom." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "Fout tijdens lezen eerste koppakket." #: vorbiscomment/vcedit.c:238 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:506 msgid "Input truncated or empty." msgstr "Invoer afgekapt of leeg." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "Invoer is geen Ogg-bitstroom." #: vorbiscomment/vcedit.c:566 msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ogg-bitstroom bevat geen Vorbis-gegevens." #: vorbiscomment/vcedit.c:579 msgid "EOF before recognised stream." msgstr "EOF v³³r herkende stroom." #: vorbiscomment/vcedit.c:595 msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ogg-bitstroom bevat geen ondersteunde gegevenssoort." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "Beschadigde tweede kop." #: vorbiscomment/vcedit.c:660 msgid "EOF before end of Vorbis headers." msgstr "EOF v³³r einde van Vorbiskoppen." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Beschadigde of missende gegevens, doorgaan..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Openen bestand als Vorbis mislukt: %s\n" #: vorbiscomment/vcomment.c:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Onjuiste opmerking: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "onjuiste opmerking: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Fout tijdens schrijven opmerkingen naar uitvoerbestand: %s\n" #: vorbiscomment/vcomment.c:280 #, c-format msgid "no action specified\n" msgstr "geen actie opgegeven\n" #: vorbiscomment/vcomment.c:384 #, 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:526 #, 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:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "Toon of bewerk commentaar in Ogg-Vorbisbestanden.\n" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "Uitvoeropties\n" #: vorbiscomment/vcomment.c:539 #, 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:542 #, c-format msgid "Editing options\n" msgstr "Bewerkopties\n" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr " -a, --append commentaren toevoegen\n" #: vorbiscomment/vcomment.c:544 #, 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:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr " -w, --write schrijf commentaren, de huidige vervangend\n" #: vorbiscomment/vcomment.c:550 #, 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:553 #, 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:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr " -V, --version versieinformatie wegschrijven en stoppen\n" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "Interne fout bij ontleden van opdrachtopties\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "vorbiscomment van vorbis-tools " #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Fout bij openen invoerbestand '%s'.\n" #: vorbiscomment/vcomment.c:741 #, 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:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Fout bij openen uitvoerbestand '%s'.\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Fout bij openen opmerkingenbestand '%s'.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Fout bij openen opmerkingenbestand '%s'\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "Fout bij verwijderen oude bestand %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "Fout bij hernoemen %s naar %s\n" #: vorbiscomment/vcomment.c:830 #, 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 "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 "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %ld bytes\n" #~ "\tPlayback length: %ldm:%02lds\n" #~ "\tAverage bitrate: %f kbps\n" #~ msgstr "" #~ "Vorbis stroom %d:\n" #~ "\tTotale gegevenslengte: %ld bytes\n" #~ "\tAfspeellengte: %ldm:%02lds\n" #~ "\tGemiddelde bitrate: %f kbps\n" #~ 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.0/po/pl.po0000644000175000017500000027261611353056540012510 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2008-11-12 16:25+0100\n" "Last-Translator: Jakub Bogusz \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "BĊÄ„D: brak pamięci w malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 msgid "Internal error parsing command line options.\n" msgstr "BĊ‚Ä…d wewnętrzny podczas analizy opcji linii poleceĊ„.\n" #: ogg123/cmdline_options.c:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Dostępne opcje:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Nie ma takiego urządzenia %s.\n" #: ogg123/cmdline_options.c:138 #, 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:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "=== Nie moĊĵna podać pliku wyjĊ›ciowego bez okreĊ›lenia sterownika.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Niepoprawny format opcji: %s.\n" #: ogg123/cmdline_options.c:177 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:201 #, c-format msgid "ogg123 from %s %s" msgstr "ogg123 z pakietu %s %s" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Nie moĊĵna odtwarzać kaĊĵdego co 0. fragmentu!\n" #: ogg123/cmdline_options.c:216 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:232 #, 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:248 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:261 #, 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:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" "ogg123 z pakietu %s %s\n" " autorstwa Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: ogg123/cmdline_options.c:309 #, 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:312 #, c-format msgid "Available codecs: " msgstr "Dostępne kodeki: " #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "FLAC, " #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "Speex, " #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" "Ogg Vorbis.\n" "\n" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "Opcje wyjĊ›cia\n" #: ogg123/cmdline_options.c:325 #, 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:327 #, c-format msgid "Live:" msgstr "Na Ċĵywo:" #: ogg123/cmdline_options.c:336 #, c-format msgid "File:" msgstr "Plikowe:" #: ogg123/cmdline_options.c:345 #, 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:348 #, 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:349 #, 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:355 #, c-format msgid "Playlist options\n" msgstr "Opcje listy odtwarzania\n" #: ogg123/cmdline_options.c:356 #, 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:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr " -r, --repeat NieskoĊ„czone powtarzanie listy odtwarzania\n" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr " -R, --remote UĊĵycie interfejsu zdalnego sterowania\n" #: ogg123/cmdline_options.c:359 #, 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:360 #, 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:363 #, c-format msgid "Input options\n" msgstr "Opcje wejĊ›cia\n" #: ogg123/cmdline_options.c:364 #, 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:365 #, 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:368 #, c-format msgid "Decode options\n" msgstr "Opcje dekodowania\n" #: ogg123/cmdline_options.c:369 #, 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:370 #, 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:371 #, 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:372 #, 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:375 vorbiscomment/vcomment.c:549 #, c-format msgid "Miscellaneous options\n" msgstr "Opcje r³Ċĵne\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr " -h, --help WyĊ›wietlenie tego opisu\n" #: ogg123/cmdline_options.c:382 #, 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:383 #, 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:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, c-format msgid "ERROR: Out of memory.\n" msgstr "BĊÄ„D: brak pamięci.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "domyĊ›lne urządzenie wyjĊ›ciowe" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "przemieszanie listy odtwarzania" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "wieczne powtarzanie listy odtwarzania" #: ogg123/ogg123.c:231 #, 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:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Urządzenie dĊşwiękowe: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "Komentarze: %s" #: ogg123/ogg123.c:422 #, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "UWAGA: nie udaĊ‚o się odczytać katalogu %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "BĊ‚Ä…d: nie udaĊ‚o się utworzyć bufora dĊşwięku.\n" #: ogg123/ogg123.c:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Nie moĊĵna otworzyć %s.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Format pliku %s nie jest obsĊ‚ugiwany.\n" #: ogg123/ogg123.c:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "Odtwarzanie: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Nie udaĊ‚o się przeskoczyć %f sekund dĊşwięku." #: ogg123/ogg123.c:667 msgid "ERROR: Decoding failure.\n" msgstr "BĊÄ„D: niepowodzenie dekodowania.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "BĊÄ„D: zapis do bufora nie powi³dĊ‚ się.\n" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, 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:369 #, 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:375 #, c-format msgid "Speex version: %s" msgstr "Wersja Speex: %s" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "BĊ‚Ä™dne/uszkodzone komentarze" #: ogg123/speex_format.c:475 msgid "Cannot read header" msgstr "Nie moĊĵna odczytać nagĊ‚³wka" #: ogg123/speex_format.c:480 #, 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:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sWypeĊ‚nianie bufora do %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sPauza" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "BĊ‚Ä…d przydzielania pamięci w stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Plik: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Czas: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "z %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Ċšrednie bitrate: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Bufor wejĊ›cia %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "Numer Ċ›cieĊĵki:" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "ReplayGain (ĊšcieĊĵka):" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "ReplayGain Peak (ĊšcieĊĵka):" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "ReplayGain Peak (Album):" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "Prawa autorskie" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "Komentarz:" #: oggdec/oggdec.c:50 #, c-format msgid "oggdec from %s %s\n" msgstr "oggdec z pakietu %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" " autorstwa Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "ObsĊ‚ugiwane opcje:\n" #: oggdec/oggdec.c:59 #, 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:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr " --help, -h WyĊ›wietlenie tego opisu.\n" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr " --version, -V Wypisanie numeru wersji.\n" #: oggdec/oggdec.c:62 #, 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:63 #, 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:65 #, 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:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr " --raw, -R WyjĊ›cie surowe (bez nagĊ‚³wka).\n" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "BĊ‚Ä…d wewnętrzny: nierozpoznany argument\n" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, 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:195 #, 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:217 #, 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:266 #, 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:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "ZakoĊ„czono kodowanie pliku \"%s\"\n" #: oggdec/oggdec.c:293 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:294 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:308 #, 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:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "UWAGA: dziura w danych (%d)\n" #: oggdec/oggdec.c:330 #, c-format msgid "Error writing to file: %s\n" msgstr "BĊ‚Ä…d zapisu do pliku: %s\n" #: oggdec/oggdec.c:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "Czytnik plik³w RAW" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "Czytnik plik³w AIFF/AIFC" #: oggenc/audio.c:49 msgid "FLAC file reader" msgstr "Czytnik plik³w FLAC" #: oggenc/audio.c:50 msgid "Ogg FLAC file reader" msgstr "Czytnik plik³w Ogg FLAC" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, 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:165 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "UWAGA: nieoczekiwany EOF we fragmencie AIFF\n" #: oggenc/audio.c:262 #, 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:268 #, 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:276 #, 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:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "UWAGA: skr³cony nagĊ‚³wek AIFF-C.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, 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:324 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "UWAGA: nieoczekiwany EOF podczas odczytu nagĊ‚³wka AIFF\n" #: oggenc/audio.c:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, 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:670 #, 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:772 #, 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:790 #, 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:68 #, 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:117 #, 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:132 #, 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:139 #, 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:203 #, 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:227 #, 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:243 msgid "RAW file reader" msgstr "Czytnik plik³w RAW" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Otwieranie przy uĊĵyciu moduĊ‚u %s: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "UWAGA: brak nazwy pliku, przyjęcie domyĊ›lnej \"%s\"\n" #: oggenc/oggenc.c:335 #, 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:342 #, 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:353 #, 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:399 #, 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:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Miksowanie stereo do mono\n" #: oggenc/oggenc.c:409 #, 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:417 #, c-format msgid "Scaling input to %f\n" msgstr "Skalowanie wejĊ›cia do %f\n" #: oggenc/oggenc.c:463 #, c-format msgid "oggenc from %s %s" msgstr "oggenc z pakietu %s %s" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" "SkĊ‚adnia: oggenc [opcje] plik_wejĊ›ciowy [...]\n" "\n" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "WĊ‚Ä…czono silnik zarządzania bitrate\n" #: oggenc/oggenc.c:716 #, 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:719 #, 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:726 #, 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:732 #, 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:742 #, 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:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Nie odnaleziono wartoĊ›ci zaawansowanej opcji kodera\n" #: oggenc/oggenc.c:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "BĊ‚Ä…d wewnętrzny podczas analizy opcji linii poleceĊ„\n" #: oggenc/oggenc.c:787 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "UWAGA: uĊĵyto niedozwolonego komentarza (\"%s\"), zignorowano.\n" #: oggenc/oggenc.c:824 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "UWAGA: nierozpoznane nominalne bitrate \"%s\"\n" #: oggenc/oggenc.c:832 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "UWAGA: nierozpoznane minimalne bitrate \"%s\"\n" #: oggenc/oggenc.c:845 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "UWAGA: nierozpoznane maksymalne bitrate \"%s\"\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Nierozpoznana opcja jakoĊ›ci \"%s\", zignorowano\n" #: oggenc/oggenc.c:865 #, 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:871 #, 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:880 #, 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:889 #, 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:897 #, 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:909 #, c-format msgid "oggenc from %s %s\n" msgstr "oggenc z pakietu %s %s\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, 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:932 #, 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:937 #, 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:948 #, 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:953 #, 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:965 oggenc/oggenc.c:977 #, 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:973 #, 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:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "UWAGA: podano nieznaną opcję, zignorowano\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, 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:1014 vorbiscomment/vcomment.c:369 #, 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:1033 #, 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:212 #, c-format 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" #: ogginfo/ogginfo2.c:220 #, c-format 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" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, c-format 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" #: ogginfo/ogginfo2.c:266 #, c-format 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" #: ogginfo/ogginfo2.c:342 #, c-format 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" #: ogginfo/ogginfo2.c:356 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" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "UWAGA: nieciągĊ‚oĊ›Ä‡ w strumieniu (%d)\n" #: ogginfo/ogginfo2.c:389 #, c-format 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" #: ogginfo/ogginfo2.c:396 #, c-format 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" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "" "Przeanalizowano nagĊ‚³wki Theora dla strumienia %d, informacje poniĊĵej...\n" #: ogginfo/ogginfo2.c:403 #, c-format msgid "Version: %d.%d.%d\n" msgstr "Wersja: %d.%d>%d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "Producent: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "SzerokoĊ›Ä‡: %d\n" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "WysokoĊ›Ä‡: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "CaĊ‚kowity obraz: %d na %d, offset obcięcia (%d, %d)\n" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "BĊ‚Ä™dny offset/rozmiar ramki: niepoprawna szerokoĊ›Ä‡\n" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "BĊ‚Ä™dny offset/rozmiar ramki: niepoprawna wysokoĊ›Ä‡\n" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "BĊ‚Ä™dna zerowa częstotliwoĊ›Ä‡ ramek\n" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "CzęstotliwoĊ›Ä‡ ramek %d/%d (%.02f fps)\n" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "NieokreĊ›lone proporcje\n" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "Proporcje pikseli %d:%d (%f:1)\n" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "Proporcje klatki 4:3\n" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "Proporcje klatki 16:9\n" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "Proporcje klatki %f:1\n" #: ogginfo/ogginfo2.c:437 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" #: ogginfo/ogginfo2.c:439 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" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "PrzestrzeĊ„ kolor³w nieokreĊ›lona\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "Format piksela 4:2:0\n" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "Format piksela 4:2:2\n" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "Format piksela 4:4:4\n" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "Format piksela bĊ‚Ä™dny\n" #: ogginfo/ogginfo2.c:452 #, c-format msgid "Target bitrate: %d kbps\n" msgstr "Docelowe bitrate: %d kbps\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "Nominalne ustawienie jakoĊ›ci (0-63): %d\n" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "Sekcja komentarzy uĊĵytkownika poniĊĵej...\n" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "UWAGA: oczekiwano ramki %" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 msgid "WARNING: granulepos in stream %d decreases from %" msgstr "UWAGA: granulepos w strumieniu %d zmniejsza się z %" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" "StrumieĊ„ Theora %d:\n" "\tCaĊ‚kowita dĊ‚ugoĊ›Ä‡ danych: %" #: ogginfo/ogginfo2.c:557 #, c-format 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" #: ogginfo/ogginfo2.c:565 #, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "" "Przeanalizowano nagĊ‚³wki Vorbis dla strumienia %d, informacje poniĊĵej...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "Wersja: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "Producent: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "KanaĊ‚y: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "CzęstotliwoĊ›Ä‡: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "Nominalne bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "Nominalne bitrate nie ustawione\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "WyĊĵsze bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "WyĊĵsze bitrate nie ustawione\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "NiĊĵsze bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "NiĊĵsze bitrate nie ustawione\n" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "Ujemna lub zerowa granulepos (%" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" "StrumieĊ„ Vorbis %d:\n" "\tCaĊ‚kowita dĊ‚ugoĊ›Ä‡ danych: %" #: ogginfo/ogginfo2.c:692 #, c-format 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" #: ogginfo/ogginfo2.c:703 #, c-format 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" #: ogginfo/ogginfo2.c:734 #, c-format 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" #: ogginfo/ogginfo2.c:738 #, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "" "Przeanalizowano nagĊ‚³wki Kate dla strumienia %d, informacje poniĊĵej...\n" #: ogginfo/ogginfo2.c:741 #, c-format msgid "Version: %d.%d\n" msgstr "Wersja: %d.%d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "Język: %s\n" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "Brak ustawionego języka\n" #: ogginfo/ogginfo2.c:753 #, c-format msgid "Category: %s\n" msgstr "Kategoria: %s\n" #: ogginfo/ogginfo2.c:756 msgid "No category set\n" msgstr "Brak ustawionej kategorii\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "utf-8" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "Kodowanie znak³w: %s\n" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "Nieznane kodowanie znak³w\n" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "od lewej do prawej, od g³ry do doĊ‚u" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "od prawej do lewej, od g³ry do doĊ‚u" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "od g³ry do doĊ‚u, od prawej do lewej" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "od g³ry do doĊ‚u, od lewej do prawej" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "Kierunek tekstu: %s\n" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "Nieznany kierunek tekstu\n" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "BĊ‚Ä™dna zerowa częstotliwoĊ›Ä‡ granulepos\n" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "CzęstotliwoĊ›Ä‡ granulepos %d/%d (%.02f gps)\n" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "Ujemna granulepos (%" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" "StrumieĊ„ Kate %d:\n" "\tCaĊ‚kowita dĊ‚ugoĊ›Ä‡ danych: %" #: ogginfo/ogginfo2.c:893 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "UWAGA: nie ustawiono EOS w strumieniu %d\n" #: ogginfo/ogginfo2.c:1047 msgid "WARNING: Invalid header page, no packet found\n" msgstr "UWAGA: bĊ‚Ä™dna strona nagĊ‚³wka, nie znaleziono pakietu\n" #: ogginfo/ogginfo2.c:1075 #, 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:1089 #, 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:1107 msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "UWAGA: dziura w danych (%d bajt³w) pod przybliĊĵonym offsetem %" #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "BĊ‚Ä…d otwierania pliku wejĊ›ciowego \"%s\": %s\n" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Przetwarzanie pliku \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 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:1156 msgid "Page found for stream after EOS flag" msgstr "Napotkano stronę w strumieniu po fladze EOS" #: ogginfo/ogginfo2.c:1159 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:1163 msgid "Error unknown." msgstr "Nieznany bĊ‚Ä…d." #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, 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:1181 #, 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:1185 #, 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:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "StrumieĊ„ logiczny %d zakoĊ„czony\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, c-format msgid "ogginfo from %s %s\n" msgstr "ogginfo z pakietu %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, 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:1251 #, 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:1285 #, 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:144 #, c-format msgid "Couldn't flush output stream\n" msgstr "Nie udaĊ‚o się wypchnąć strumienia wyjĊ›ciowego\n" #: vcut/vcut.c:164 #, c-format msgid "Couldn't close output file\n" msgstr "Nie udaĊ‚o się zamknąć pliku wyjĊ›ciowego\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Nie udaĊ‚o się otworzyć %s do zapisu\n" #: vcut/vcut.c:264 #, 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:266 #, 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:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Nie udaĊ‚o się otworzyć %s do odczytu\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Nie udaĊ‚o się przeanalizować punktu cięcia \"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Przetwarzanie: cięcie po %lf sekundach\n" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Przetwarzanie: cięcie po %lld pr³bkach\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "Przetwarzanie nie powiodĊ‚o się\n" #: vcut/vcut.c:355 #, c-format msgid "WARNING: unexpected granulepos " msgstr "UWAGA: nieoczekiwane granulepos " #: vcut/vcut.c:406 #, c-format msgid "Cutpoint not found\n" msgstr "Nie znaleziono punktu cięcia\n" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" "Nie moĊĵna stworzyć pliku zaczynającego się i koĊ„czącego między pozycjami " "pr³bek " #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "Nie moĊĵna stworzyć pliku zaczynającego się między pozycjami pr³bek " #: vcut/vcut.c:460 #, 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:498 #, 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:519 #, c-format msgid "BOS not set on first page of stream\n" msgstr "BOS nie ustawiony na pierwszej stronie strumienia\n" #: vcut/vcut.c:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "Przeplatane strumienie bitowe nie są obsĊ‚ugiwane\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "BĊ‚Ä…d strumienia danych, kontynuacja\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Uszkodzony pakiet nagĊ‚³wka\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "BĊ‚Ä…d strumienia danych, kontynuacja\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "BĊ‚Ä…d w nagĊ‚³wku: to nie jest Vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "WejĊ›cie nie jest typu Ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "BĊ‚Ä…d strumienia danych, kontynuacja\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "UWAGA: plik wejĊ›ciowy nieoczekiwanie się skoĊ„czyĊ‚\n" #: vcut/vcut.c:644 #, 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:156 msgid "Couldn't get enough memory for input buffering." msgstr "Nie udaĊ‚o się przydzielić pamięci do buforowania wejĊ›cia." #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "BĊ‚Ä…d odczytu pierwszej strony strumienia danych Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "BĊ‚Ä…d odczytu początkowego pakietu nagĊ‚³wka." #: vorbiscomment/vcedit.c:238 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:506 msgid "Input truncated or empty." msgstr "WejĊ›cie ucięte lub puste." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "WejĊ›cie nie jest strumieniem danych Ogg." #: vorbiscomment/vcedit.c:566 msgid "Ogg bitstream does not contain Vorbis data." msgstr "StrumieĊ„ danych Ogg nie zawiera danych Vorbis." #: vorbiscomment/vcedit.c:579 msgid "EOF before recognised stream." msgstr "EOF przed rozpoznanym strumieniem." #: vorbiscomment/vcedit.c:595 msgid "Ogg bitstream does not contain a supported data-type." msgstr "StrumieĊ„ danych Ogg nie zawiera obsĊ‚ugiwanego typu danych." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "Uszkodzony drugi nagĊ‚³wek." #: vorbiscomment/vcedit.c:660 msgid "EOF before end of Vorbis headers." msgstr "EOF przed koĊ„cem nagĊ‚³wk³w Vorbis." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Uszkodzone lub brakujące dane, kontynuacja..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, 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:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "BĊ‚Ä™dny komentarz: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "BĊ‚Ä™dny komentarz: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, 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:280 #, c-format msgid "no action specified\n" msgstr "Nie okreĊ›lono akcji\n" #: vorbiscomment/vcomment.c:384 #, 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:526 #, 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:529 #, 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:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "Opcje wypisywania\n" #: vorbiscomment/vcomment.c:539 #, 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:542 #, c-format msgid "Editing options\n" msgstr "Opcje modyfikacji\n" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr " -a, --append DoĊ‚Ä…czenie komentarzy\n" #: vorbiscomment/vcomment.c:544 #, 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:546 #, 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:550 #, 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:553 #, 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:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, 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:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "BĊ‚Ä…d wewnętrzny analizy opcji polecenia\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "vorbiscomment z pakietu vorbis-tools " #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "BĊ‚Ä…d otwierania pliku wejĊ›ciowego '%s'.\n" #: vorbiscomment/vcomment.c:741 #, 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:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "BĊ‚Ä…d otwierania pliku wyjĊ›ciowego '%s'.\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "BĊ‚Ä…d otwierania pliku wyjĊ›ciowego '%s'.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "BĊ‚Ä…d otwierania pliku komentarzy '%s'\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "BĊ‚Ä…d usuwania starego pliku %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "BĊ‚Ä…d zmiany nazwy z %s na %s\n" #: vorbiscomment/vcomment.c:830 #, 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" #, fuzzy #~ msgid "Page error. Corrupt input.\n" #~ msgstr "BĊ‚Ä…d strony, 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.0/po/ro.po0000644000175000017500000027370311353056540012513 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2003-04-14 06:17+0000\n" "Last-Translator: Eugen Hoanca \n" "Language-Team: Romanian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Eroare: memorie plin în malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 msgid "(none)" msgstr "(nimic)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Succes" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Key negsit" #: 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:83 msgid "Internal error parsing command line options.\n" msgstr "Eroare intern in analiz opŝiuni linie comand.\n" #: ogg123/cmdline_options.c:90 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Buffer de intrare mai mic decât mrimea minim de %dkB." #: ogg123/cmdline_options.c:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Opŝiuni disponibile:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Nu exist device-ul %s.\n" #: ogg123/cmdline_options.c:138 #, 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:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "" "=== Nu se poate specifica fişier de output fr specificare de driver.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Format opŝiune incorect: %s.\n" #: ogg123/cmdline_options.c:177 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Valoare prebuffer invalid. Intervalul este 0-100.\n" #: ogg123/cmdline_options.c:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 de la %s %s\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Nu se poate cânta fiecare 0 fişier!\n" #: ogg123/cmdline_options.c:216 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:232 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Nu se poate deschide playlistul %s. Omis.\n" #: ogg123/cmdline_options.c:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:261 #, 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:271 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Nu s-a putut incrca driverul implicit şi nu s-a specificat nici un " "driver in fişierul de configurare. Ieşire.\n" #: ogg123/cmdline_options.c:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "Opŝiuni disponibile:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "Fişier: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Opŝiuni disponibile:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "Intrare non ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "Descriere" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Opŝiuni disponibile:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Eroare: memorie plin.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "device de ieşire implicit" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "playlist amestecat" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, 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:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Dispozitiv Audio: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "Comentarii: %s" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Avertisment: Nu s-a putut citi directorul %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Eroare: Nu s-a putut crea bufferul audio.\n" #: ogg123/ogg123.c:561 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Nu s-a gsit nici un modul din care sa se citeasc %s.\n" #: ogg123/ogg123.c:566 #, c-format msgid "Cannot open %s.\n" msgstr "Nu s-a putut deschide %s.\n" #: ogg123/ogg123.c:572 #, 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:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "În rulare: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Nu s-au putut omite %f secunde de audio." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Eroare: Decodare eşuat.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 msgid "Done." msgstr "Finalizat." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Pauz în stream; probabil neduntoare\n" #: ogg123/oggvorbis_format.c:214 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:413 #, 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:363 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:369 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Bitstreamul este canal %d, %ldHz" #: ogg123/speex_format.c:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Versiune: %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Eroare în citirea headerelor\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrebuf ctre %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sÎn pauz" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Eroare alocare memorie in stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Fişier: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Durat: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "din %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Bitrate mediu: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr "Buffer intrare %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "Numar pist(track):" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "ReplayGain (Pist):" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "ReplayGain (Pist):" #: ogg123/vorbis_comments.c:43 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "Copyright" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "Comentariu:" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 de la %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, 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:217 #, 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:266 #, 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:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Encodare fişier finalizat \"%s\"\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Eroare in ştergerea fişierului vechi %s\n" #: oggdec/oggdec.c:371 #, 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:376 #, 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: sugerm " "folosirea lui -n\n" #: oggenc/audio.c:46 #, fuzzy msgid "WAV file reader" msgstr "cititor fişiere WAV" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "cititor fişiere AIFF/AIFC" #: oggenc/audio.c:49 #, fuzzy msgid "FLAC file reader" msgstr "cititor fişiere WAV" #: oggenc/audio.c:50 #, fuzzy msgid "Ogg FLAC file reader" msgstr "cititor fişiere WAV" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Omitere bucat tip \"%s\", lungime %d\n" #: oggenc/audio.c:165 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Avertisment: EOF neaşteptat în bucat AIFF\n" #: oggenc/audio.c:262 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Avertisment: Nu s-a gsit nici o bucat obişnuit in fişier AIFF\n" #: oggenc/audio.c:268 #, 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:276 #, 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:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Avertisment: Header AIFF-C trunchiat.\n" #: oggenc/audio.c:305 #, 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:312 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Avertisment: Nu s-a gsit nici o bucat SSND in fişierul AIFF\n" #: oggenc/audio.c:318 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Avertisment: Bucat SSND corupt în header AIFF\n" #: oggenc/audio.c:324 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Avertisment: EOF neaşteptat în citirea headerului AIFF\n" #: oggenc/audio.c:370 #, 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:427 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Avertisment: Format bucata nerecunoscut în header WAV\n" #: oggenc/audio.c:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:772 #, 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 " "rugm raportaŝi asta.\n" #: oggenc/audio.c:790 #, 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 "Setri opŝiuni avansate encoder \"%s\" la %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Setri 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 ru, 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 rmase] %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:68 #, 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:117 #, 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:132 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "EROARE: Fişiere multiple specificate pentru utilizare stdin\n" #: oggenc/oggenc.c:139 #, 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: sugerm " "folosirea lui -n\n" #: oggenc/oggenc.c:203 #, 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:227 #, 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:243 #, fuzzy msgid "RAW file reader" msgstr "cititor fişiere WAV" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Deschidere cu modulul %s: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, 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:335 #, 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:342 #, 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:353 #, 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:399 #, 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:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Demixare stereo în mono\n" #: oggenc/oggenc.c:409 #, 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:417 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 de la %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Activare motor management bitrate\n" #: oggenc/oggenc.c:716 #, 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:719 #, 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:726 #, 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:732 #, 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:742 #, 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:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Nu s-a gsit nici o valoare pentru opŝiunea avansat de encoder\n" #: oggenc/oggenc.c:776 #, 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:787 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Avertisment: Comentariu invalid utilizat (\"%s\"), ignorat.\n" #: oggenc/oggenc.c:824 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Avertisment: bitrate nominal \"%s\" nerecunoscut\n" #: oggenc/oggenc.c:832 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Avertisment: bitrate minim \"%s\" nerecunoscut.\n" #: oggenc/oggenc.c:845 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Avertisment: bitrate maxim \"%s\" nerecunoscut\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Opŝiune de calitate \"%s\" nerecunoscuta, ignorat\n" #: oggenc/oggenc.c:865 #, 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:871 #, 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:880 #, 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:889 #, 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:897 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" "AVERTISMENT: Fişiere de ieşire multiple specificate, sugerm sa folosiŝi -n\n" #: oggenc/oggenc.c:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 de la %s %s\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "AVERTISMENT: Numr biŝi/sample invalid, se presupune 16.\n" #: oggenc/oggenc.c:932 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "AVERTISMENT: Numrare canal brut specificat pentru date non-brute. Se " "presupune intrare brut.\n" #: oggenc/oggenc.c:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "AVERTISMENT: Numrare canal specificat invalid, se presupune 2.\n" #: oggenc/oggenc.c:948 #, 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:953 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "AVERTISMENT: Rat sample specificat invalid, se presupune 44100.\n" #: oggenc/oggenc.c:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "AVERTISMENT: Opŝiune necunoscut specificat, se ignor->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, 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 aduga\n" #: oggenc/oggenc.c:1014 vorbiscomment/vcomment.c:369 #, 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 aduga\n" #: oggenc/oggenc.c:1033 #, 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:212 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:356 #, 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" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, fuzzy, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "Headerele vorbis analizate pentru streamul %d, urmeaz informaŝie...\n" #: ogginfo/ogginfo2.c:403 #, fuzzy, c-format msgid "Version: %d.%d.%d\n" msgstr "Versiune: %d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "Vânztor: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "" #: ogginfo/ogginfo2.c:407 #, fuzzy, c-format msgid "Height: %d\n" msgstr "Versiune: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "" #: ogginfo/ogginfo2.c:439 msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" msgstr "" #: ogginfo/ogginfo2.c:441 #, fuzzy msgid "Colourspace unspecified\n" msgstr "nici o acŝiune specificat\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "" #: ogginfo/ogginfo2.c:452 #, fuzzy, c-format msgid "Target bitrate: %d kbps\n" msgstr "Bitrate superior: %f kb/s\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "Urmeaza secŝiunea comentariilor utilizator..\n" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "Avertisment: granulele (granulepos) în streamul %d scad din " #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "Headerele vorbis analizate pentru streamul %d, urmeaz informaŝie...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "Versiune: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "Vânztor: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "Canale: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "Rat: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "Bitrate nominal: %f kb/s\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "Bitrate nominal nesetat\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "Bitrate superior: %f kb/s\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "Bitrate superior nesetat\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "Bitrate inferior: %fkb/s\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "Bitrate inferior nesetat\n" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:703 #, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, fuzzy, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "Headerele vorbis analizate pentru streamul %d, urmeaz informaŝie...\n" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "Versiune: %d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "Vânztor: %s\n" #: ogginfo/ogginfo2.c:756 #, fuzzy msgid "No category set\n" msgstr "Bitrate nominal nesetat\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Avertisment: EOS nesetat în streamul %d\n" #: ogginfo/ogginfo2.c:1047 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Avertisment: Pagin header invalid, nici un pachet gasit\n" #: ogginfo/ogginfo2.c:1075 #, 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:1089 #, 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:1107 #, fuzzy msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "Avertisment: Lips de date la offsetul aproximativ" #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Eroare în deschiderea fişierului de intrare \"%s\": %s\n" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Procesare fişier \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 msgid "Could not find a processor for stream, bailing\n" msgstr "Nu s-a gsit procesor pentru stream, se merge pe încredere\n" #: ogginfo/ogginfo2.c:1156 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, 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:1181 #, 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:1185 #, 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 gsit la mijlocul " "stream-ului\n" #: ogginfo/ogginfo2.c:1190 #, 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 numr secvenŝ în stream-ul %d. S-a gsit pagina %ld în " "loc de pagina % ld. Indic date lips.\n" #: ogginfo/ogginfo2.c:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "Stream logic %d terminat.\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 de la %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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 verificri\n" "\t detaliate pentru mai multe tipuri de stream-uri.\n" "\n" #: ogginfo/ogginfo2.c:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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 tiprirea 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:1285 #, 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:144 #, 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:164 #, 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:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Nu s-a putut deschide %s pentru scriere\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Nu s-a putut deschide %s pentru citire\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Nu s-a putut analiza punctul de secŝiune \"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Procesare: Secŝionare la %lld\n" #: vcut/vcut.c:303 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Procesare: Secŝionare la %lld\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "Procesare eşuat\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "Avertisment: EOF neaşteptat în citirea headerului WAV\n" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Key negsit" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, 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:519 #, 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:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Eroare bitstream recuperabil\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Header secundar corupt\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Eroare bitstream, se continu\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Eroare în headerul primar: non vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "Intrare non ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Eroare bitstream, se continu\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "S-a gsit EOS înainte de punctul de secŝiune(cut point).\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "Eroare în citirea primei pagini a bitstreamului Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "Eroare în citirea pachetului iniŝial de header." #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "Intrare corupt sau vid." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "Intrarea(input) nu este un bitstream Ogg." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Bitstreamul Ogg nu conŝine date vorbis." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "EOF înainte de headerele vorbis." #: vorbiscomment/vcedit.c:595 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Bitstreamul Ogg nu conŝine date vorbis." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "Header secundar corupt." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF înainte de headerele vorbis." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Date corupte sau lips, se continu..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, 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:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Comentariu greşit: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "comentariu greşit: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, 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:280 #, c-format msgid "no action specified\n" msgstr "nici o acŝiune specificat\n" #: vorbiscomment/vcomment.c:384 #, 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 aduga\n" #: vorbiscomment/vcomment.c:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "Tip greşit in list opŝiuni" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "Eroare intern în analiza opŝiunilor din linia comand\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Eroare în deschiderea fişierului '%s'.\n" #: vorbiscomment/vcomment.c:741 #, 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:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Eroare în deschiderea fişierului de ieşire '%s'.\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Eroare în deschiderea fişierului de comentarii '%s'.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Eroare în deschiderea fişierului de comentarii '%s'\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "Eroare in ştergerea fişierului vechi %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "Eroare în redenumirea %s în %s\n" #: vorbiscomment/vcomment.c:830 #, 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" #~ 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 (fr 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 sri 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 Tipreş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 numr 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 numr 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 " #~ "numr,\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" #~ " Setrile implicite pentru cele dou argumente de " #~ "mai sus sunt specifice\n" #~ " de la o platform la alta.\n" #~ " -c, --comment=c Adugare ş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 fcut " #~ "cântecul)\n" #~ " -N, --tracknum Numr 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 tipri un " #~ "avertisment, şi\n" #~ " va utiliza ultimul titlu pentru restul de fişiere " #~ "Dac e\n" #~ " dat un numr mai mic de piste, fişierele rmase nu " #~ "vor fi\n" #~ " numerotate. Pentru celelalte ultima etichet (tag) " #~ "va fi refolosit\n" #~ " pentru toate celelalte fr 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 "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %ld bytes\n" #~ "\tPlayback length: %ldm:%02lds\n" #~ "\tAverage bitrate: %f kbps\n" #~ msgstr "" #~ "Stream Vorbis %d:\n" #~ "\tLungime total date: %ld octeŝi\n" #~ "\tLungime playback: %ldm:%02lds\n" #~ "\tBitrate mediu: %f kbps\n" #~ 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 adugare 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 aduga 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" #~ " (notm 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.0/po/ru.po0000644000175000017500000035672711353056540012531 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2007-07-26 15:01+0300\n" "Last-Translator: Dmitry D. Stasyuk \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "žÑˆ¸ħş°: µ ´ÑÑ‚°Ñ‚ч½ ż°ĵят¸ żÑ€¸ ²Ñ‹żğ½µ½¸¸ malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 msgid "Internal error parsing command line options.\n" msgstr "’½ÑƒÑ‚Ñ€µ½½ÑÑ ш¸ħş° р°·ħр° ż°Ñ€°ĵµÑ‚Ñ€² şĵ°½´½ı стрş¸.\n" #: ogg123/cmdline_options.c:90 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr " °·ĵµÑ€ ²Ñ…´½³ ħуфµÑ€° ĵµ½ÑŒÑˆµ ĵ¸½¸ĵ°ğь½³ - %dšħ." #: ogg123/cmdline_options.c:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "”стуż½Ñ‹µ ż°Ñ€°ĵµÑ‚ры:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== £ÑÑ‚Ñ€ıст² %s ½µ сущµÑÑ‚²ÑƒµÑ‚.\n" #: ogg123/cmdline_options.c:138 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== ”Ñ€°ı²µÑ€ %s ½µ я²ğяµÑ‚ся ´Ñ€°ı²µÑ€ĵ ²Ñ‹Ñ…´½³ ф°ığ°.\n" #: ogg123/cmdline_options.c:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "=== µ²·ĵĥ½ уş°·°Ñ‚ÑŒ ²Ñ‹Ñ…´½ı ф°ığ, ½µ уş°·°² ´Ñ€°ı²µÑ€.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== µşÑ€Ñ€µşÑ‚½Ñ‹ı фрĵ°Ñ‚ ż°Ñ€°ĵµÑ‚Ñ€°: %s.\n" #: ogg123/cmdline_options.c:177 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- µżÑ€°²¸ğь½µ ·½°Ñ‡µ½¸µ р°·ĵµÑ€° żÑ€µ-ħуфµÑ€°. ”¸°ż°·½ 0-100.\n" #: ogg123/cmdline_options.c:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 ¸· %s %s\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- ’сżÑ€¸·²µÑÑ‚¸ ş°ĥ´Ñ‹ı 0-ı фр°³ĵµ½Ñ‚ ½µ²·ĵĥ½!\n" #: ogg123/cmdline_options.c:216 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:232 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- µ²·ĵĥ½ тşÑ€Ñ‹Ñ‚ÑŒ ф°ığ сż¸Ñş° ²ÑżÑ€¸·²µ´µ½¸Ñ %s. ŸÑ€żÑƒÑ‰µ½.\n" #: ogg123/cmdline_options.c:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "=== š½Ñ„ğ¸şÑ‚ ż°Ñ€°ĵµÑ‚Ñ€²: ’Ñ€µĵя ş½Ñ‡°½¸Ñ р°½ÑŒÑˆµ ²Ñ€µĵµ½¸ ст°Ñ€Ñ‚°.\n" #: ogg123/cmdline_options.c:261 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- £ş°·°½½Ñ‹ı ² ф°ığµ ş½Ñ„¸³ÑƒÑ€°Ñ†¸¸ ´Ñ€°ı²µÑ€ %s ½µżÑ€°²¸ğµ½.\n" #: ogg123/cmdline_options.c:271 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== µ²·ĵĥ½ ·°³Ñ€Ñƒ·¸Ñ‚ÑŒ ´Ñ€°ı²µÑ€ ż уĵğч°½¸ÑŽ, ° ² ф°ığµ ş½Ñ„¸³ÑƒÑ€°Ñ†¸¸ " "½¸ş°şı ´Ñ€°ı²µÑ€ ½µ уş°·°½. —°²µÑ€Ñˆµ½¸µ р°ħты.\n" #: ogg123/cmdline_options.c:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "”стуż½Ñ‹µ ż°Ñ€°ĵµÑ‚ры:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "¤°ığ: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "”стуż½Ñ‹µ ż°Ñ€°ĵµÑ‚ры:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "’Ñ…´½Ñ‹µ ´°½½Ñ‹µ ½µ ² фрĵ°Ñ‚µ ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "žż¸Ñ°½¸µ" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "”стуż½Ñ‹µ ż°Ñ€°ĵµÑ‚ры:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "žÑˆ¸ħş°: µ ´ÑÑ‚°Ñ‚ч½ ż°ĵят¸.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "устрıст² ²Ñ‹²´° ż уĵğч°½¸ÑŽ" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "żµÑ€µĵµÑˆ°Ñ‚ÑŒ сż¸Ñş ²ÑżÑ€¸·²µ´µ½¸Ñ" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "µ²·ĵĥ½ żÑ€żÑƒÑÑ‚¸Ñ‚ÑŒ %f сµşÑƒ½´ ·²Ñƒş°." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "—²Ñƒş²µ £ÑÑ‚Ñ€ıст²: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "²Ñ‚Ñ€: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "šĵĵµ½Ñ‚°Ñ€¸¸: %s" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "’½¸ĵ°½¸µ: µ²·ĵĥ½ żÑ€Ñ‡¸Ñ‚°Ñ‚ÑŒ ş°Ñ‚°ğ³ %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "žÑˆ¸ħş°: µ²·ĵĥ½ с·´°Ñ‚ÑŒ ħуфµÑ€ ´ğя ·²Ñƒş°.\n" #: ogg123/ogg123.c:561 #, c-format msgid "No module could be found to read from %s.\n" msgstr "µ ½°ı´µ½Ñ‹ ĵ´Ñƒğ¸ ´ğя чтµ½¸Ñ ¸· ф°ığ° %s.\n" #: ogg123/ogg123.c:566 #, c-format msgid "Cannot open %s.\n" msgstr "µ²·ĵĥ½ тşÑ€Ñ‹Ñ‚ÑŒ %s.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "¤Ñ€ĵ°Ñ‚ ф°ığ° %s ½µ ż´´µÑ€ĥ¸²°µÑ‚ся.\n" #: ogg123/ogg123.c:582 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "žÑˆ¸ħş° тşÑ€Ñ‹Ñ‚¸Ñ %s ĵ´Ñƒğµĵ %s. ¤°ığ ĵĥµÑ‚ ħыть ż²Ñ€µĥ´Ñ‘½.\n" #: ogg123/ogg123.c:601 #, c-format msgid "Playing: %s" msgstr "’сżÑ€¸·²µ´µ½¸µ: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "µ²·ĵĥ½ żÑ€żÑƒÑÑ‚¸Ñ‚ÑŒ %f сµşÑƒ½´ ·²Ñƒş°." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "žÑˆ¸ħş°: ”µş´¸Ñ€²°½¸µ ½µ у´°ğсь.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 msgid "Done." msgstr "—°²µÑ€Ñˆµ½." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- ’ żÑ‚şµ żÑƒÑÑ‚; ²·ĵĥ½, ½¸Ñ‡µ³ стр°Ñˆ½³\n" #: ogg123/oggvorbis_format.c:214 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:413 #, 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:363 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "ŸÑ‚ş Ogg Vorbis: %d ş°½°ğ, %ld “ц" #: ogg123/speex_format.c:369 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "ŸÑ‚ş Ogg Vorbis: %d ş°½°ğ, %ld “ц" #: ogg123/speex_format.c:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "’µÑ€Ñ¸Ñ: %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "žÑˆ¸ħş° чтµ½¸Ñ ·°³ğ²ş²\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sŸÑ€µ´-чтµ½¸µ ´ %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sŸ°Ñƒ·°" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "žÑˆ¸ħş° ²Ñ‹´µğµ½¸Ñ ż°ĵят¸ żÑ€¸ ²Ñ‹żğ½µ½¸¸ stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "¤°ığ: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "’Ñ€µĵя: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "¸· %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Ħр´ ħ¸Ñ‚Ñ€µıт: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " ’Ñ…´½ı ‘уфµÑ€ %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 #, fuzzy msgid "Comment:" msgstr "šĵĵµ½Ñ‚°Ñ€¸¸: %s" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 ¸· %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" #: oggdec/oggdec.c:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "ž¨˜‘š: µ²·ĵĥ½ тşÑ€Ñ‹Ñ‚ÑŒ ²Ñ…´½ı ф°ığ \"%s\": %s\n" #: oggdec/oggdec.c:217 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "ž¨˜‘š: µ²·ĵĥ½ тşÑ€Ñ‹Ñ‚ÑŒ ²Ñ‹Ñ…´½ı ф°ığ \"%s\": %s\n" #: oggdec/oggdec.c:266 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "žÑˆ¸ħş° тşÑ€Ñ‹Ñ‚¸Ñ ф°ığ° ş°ş ф°ığ° vorbis: %s\n" #: oggdec/oggdec.c:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "š´¸Ñ€²°½¸µ ф°ığ° \"%s\" ·°²µÑ€Ñˆµ½\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "žÑˆ¸ħş° у´°ğµ½¸Ñ ст°Ñ€³ ф°ığ° %s\n" #: oggdec/oggdec.c:371 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "ž¨˜‘š: µ уş°·°½Ñ‹ ²Ñ…´½Ñ‹µ ф°ığы. ”ğя żğучµ½¸Ñ сżÑ€°²ş¸ -h.\n" #: oggdec/oggdec.c:376 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "ž¨˜‘š: µÑşğьş ²Ñ…´½Ñ‹Ñ… ф°ığ² żÑ€¸ уş°·°½½ĵ ¸ĵµ½¸ ²Ñ‹Ñ…´½³ ф°ığ°: " "żÑ€µ´żğ°³°µÑ‚ся ¸Ñżğь·²°½¸µ - n\n" #: oggenc/audio.c:46 #, fuzzy msgid "WAV file reader" msgstr "§Ñ‚µ½¸µ ф°ığ² WAV" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "§Ñ‚µ½¸µ ф°ığ² AIFF/AIFC" #: oggenc/audio.c:49 msgid "FLAC file reader" msgstr "§Ñ‚µ½¸µ ф°ığ² FLAC" #: oggenc/audio.c:50 msgid "Ogg FLAC file reader" msgstr "§Ñ‚µ½¸µ ф°ığ² Ogg FLAC" #: oggenc/audio.c:128 oggenc/audio.c:447 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "’½¸ĵ°½¸µ: µĥ¸´°½½Ñ‹ı ş½µÑ† ф°ığ° żÑ€¸ чтµ½¸¸ ·°³ğ²ş° WAV\n" #: oggenc/audio.c:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "ŸÑ€żÑƒÑş°µĵ фр°³ĵµ½Ñ‚ т¸ż° \"%s\", ´ğ¸½° %d\n" #: oggenc/audio.c:165 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "’½¸ĵ°½¸µ: µĥ¸´°½½Ñ‹ı ş½µÑ† ф°ığ° ² фр°³ĵµ½Ñ‚µ AIFF\n" #: oggenc/audio.c:262 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "’½¸ĵ°½¸µ: ’ ф°ığµ AIFF ½µ ½°ı´µ½ ħщ¸ı фр°³ĵµ½Ñ‚\n" #: oggenc/audio.c:268 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "’½¸ĵ°½¸µ: žħрµ·°½½Ñ‹ı ħщ¸ı фр°³ĵµ½Ñ‚ ² ·°³ğ²şµ AIFF\n" #: oggenc/audio.c:276 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "’½¸ĵ°½¸µ: µĥ¸´°½½Ñ‹ı ş½µÑ† ф°ığ° żÑ€¸ чтµ½¸¸ ·°³ğ²ş° AIFF\n" #: oggenc/audio.c:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "’½¸ĵ°½¸µ: —°³ğ²ş AIFF-C ħрµ·°½.\n" #: oggenc/audio.c:305 #, 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:312 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "’½¸ĵ°½¸µ: ’ ф°ığµ AIFF ½µ ½°ı´µ½ SSND-фр°³ĵµ½Ñ‚\n" #: oggenc/audio.c:318 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "’½¸ĵ°½¸µ: ’ ·°³ğ²şµ AIFF ż²Ñ€µĥ´Ñ‘½ SSND-фр°³ĵµ½Ñ‚\n" #: oggenc/audio.c:324 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "’½¸ĵ°½¸µ: µĥ¸´°½½Ñ‹ı ş½µÑ† ф°ığ° żÑ€¸ чтµ½¸¸ ·°³ğ²ş° AIFF\n" #: oggenc/audio.c:370 #, 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:427 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "’½¸ĵ°½¸µ: ¤Ñ€ĵ°Ñ‚ фр°³ĵµ½Ñ‚° ² ·°³ğ²şµ WAV ½µ р°Ñż·½°½\n" #: oggenc/audio.c:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" "24-ħ¸Ñ‚½Ñ‹µ ´°½½Ñ‹µ PCM ² рµĥ¸ĵµ BIG-ENDIAN ½µ ż´´µÑ€ĥ¸²°ÑŽÑ‚ся. ”µıст²¸µ " "żÑ€µÑ€²°½.\n" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" "’½ÑƒÑ‚Ñ€µ½½ÑÑ ш¸ħş°: żżÑ‹Ñ‚ş° żÑ€Ñ‡¸Ñ‚°Ñ‚ÑŒ ½µ ż´´µÑ€ĥ¸²°µĵую р°·Ñ€Ñ´½ÑÑ‚ÑŒ ² %d ħ¸Ñ‚\n" #: oggenc/audio.c:772 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "“›š: žÑ‚ рµÑÑĵżğµÑ€° żğучµ½ ½Ñƒğµ²µ ч¸Ñğ ş°´Ñ€²: ²°Ñˆ ф°ığ ħу´µÑ‚ ħрµ·°½. " "Ÿĥ°ğуıст°, сħщ¸Ñ‚µ ħ этĵ °²Ñ‚ру.\n" #: oggenc/audio.c:790 #, 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:68 #, 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:117 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "ž¨˜‘š: µ уş°·°½Ñ‹ ²Ñ…´½Ñ‹µ ф°ığы. ”ğя żğучµ½¸Ñ сżÑ€°²ş¸ -h.\n" #: oggenc/oggenc.c:132 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "ž¨˜‘š: £ş°·°½ ½µÑşğьş ф°ığ², ² т ²Ñ€µĵя ş°ş ¸Ñżğь·ÑƒµÑ‚ся stdin\n" #: oggenc/oggenc.c:139 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "ž¨˜‘š: µÑşğьş ²Ñ…´½Ñ‹Ñ… ф°ığ² żÑ€¸ уş°·°½½ĵ ¸ĵµ½¸ ²Ñ‹Ñ…´½³ ф°ığ°: " "żÑ€µ´żğ°³°µÑ‚ся ¸Ñżğь·²°½¸µ - n\n" #: oggenc/oggenc.c:203 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "’˜œ˜•: £ş°·°½ ½µ´ÑÑ‚°Ñ‚ч½µ şğ¸Ñ‡µÑÑ‚² ·°³ğ²ş², уст°½²ğµ½Ñ‹ żÑğµ´½¸µ " "·½°Ñ‡µ½¸Ñ.\n" #: oggenc/oggenc.c:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "ž¨˜‘š: µ²·ĵĥ½ тşÑ€Ñ‹Ñ‚ÑŒ ²Ñ…´½ı ф°ığ \"%s\": %s\n" #: oggenc/oggenc.c:243 #, fuzzy msgid "RAW file reader" msgstr "§Ñ‚µ½¸µ ф°ığ² WAV" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "žÑ‚şÑ€Ñ‹Ñ‚¸µ с ĵ´Ñƒğµĵ %s: %s\n" #: oggenc/oggenc.c:269 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "ž¨˜‘š: ’Ñ…´½ı ф°ığ \"%s\" ² ½µ ż´´µÑ€ĥ¸²°µĵĵ фрĵ°Ñ‚µ\n" #: oggenc/oggenc.c:328 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "’˜œ˜•: µ уş°·°½ ¸ĵя ф°ığ°, ¸Ñżğь·ÑƒµÑ‚ся \"default.ogg\"\n" #: oggenc/oggenc.c:335 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "ž¨˜‘š: µ²·ĵĥ½ с·´°Ñ‚ÑŒ ½µħх´¸ĵыµ ż´ş°Ñ‚°ğ³¸ ´ğя ²Ñ‹Ñ…´½³ ф°ığ° \"%s" "\"\n" #: oggenc/oggenc.c:342 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "˜ĵя ²Ñ…´½³ ф°ığ° с²ż°´°µÑ‚ с ¸ĵµ½µĵ ²Ñ‹Ñ…´½³ ф°ığ° \"%s\"\n" #: oggenc/oggenc.c:353 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "ž¨˜‘š: µ²·ĵĥ½ тşÑ€Ñ‹Ñ‚ÑŒ ²Ñ‹Ñ…´½ı ф°ığ \"%s\": %s\n" #: oggenc/oggenc.c:399 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "˜·ĵµ½µ½¸µ ч°ÑÑ‚ты ²Ñ‹ħрş¸ ²Ñ…´½Ñ‹Ñ… ф°ığ² с %d ´ %d “ц\n" #: oggenc/oggenc.c:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "ĦĵµÑˆµ½¸µ стµÑ€µ ² ĵ½\n" #: oggenc/oggenc.c:409 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "’˜œ˜•: ĦĵµÑˆµ½¸µ с¸³½°ğ² ²·ĵĥ½ тğьş ¸· стµÑ€µ ² ĵ½\n" #: oggenc/oggenc.c:417 #, c-format msgid "Scaling input to %f\n" msgstr "£ĵ½ĥµ½¸µ ²Ñ…´½³ с¸³½°ğ° ½° %f\n" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 ¸· %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" "’˜œ˜•: µşÑ€Ñ€µşÑ‚½Ñ‹ı уżÑ€°²ğяющ¸ı с¸ĵ²ğ '%c' ² фрĵ°Ñ‚µ ¸ĵµ½¸, " "¸³½Ñ€¸Ñ€ÑƒµÑ‚ся\n" #: oggenc/oggenc.c:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "’şğючµ½¸µ ĵµÑ…°½¸·ĵ° уżÑ€°²ğµ½¸Ñ ħ¸Ñ‚Ñ€µıтĵ\n" #: oggenc/oggenc.c:716 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "’˜œ˜•: £ş°·°½ żÑ€Ñ´ş ħ°ıт сырых ´°½½Ñ‹Ñ… ´ğя ½µ-сырых ´°½½Ñ‹Ñ…. " "Ÿ´Ñ€°·Ñƒĵµ²°µĵ сырыµ ´°½½Ñ‹µ.\n" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" "’˜œ˜•: µ²·ĵĥ½ żÑ€Ñ‡¸Ñ‚°Ñ‚ÑŒ °Ñ€³Ñƒĵµ½Ñ‚ \"%s\" ² żÑ€Ñ´şµ с𵴲°½¸Ñ ħ°ıт\n" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "’˜œ˜•: µ²·ĵĥ½ żÑ€Ñ‡¸Ñ‚°Ñ‚ÑŒ ¸·ĵµ½µ½¸µ ч°ÑÑ‚ты \"%s\"\n" #: oggenc/oggenc.c:732 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "’½¸ĵ°½¸µ: £ş°·°½ ¸·ĵµ½µ½¸µ ч°ÑÑ‚ты ²Ñ‹ħрş¸ %d “ц. ’Ñ‹ ¸ĵµğ¸ ² ²¸´Ñƒ %d “ц?\n" #: oggenc/oggenc.c:742 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "’½¸ĵ°½¸µ: µ²·ĵĥ½ ħр°ħт°Ñ‚ÑŒ şÑÑ„Ñ„¸Ñ†¸µ½Ñ‚ уĵ½ĥµ½¸Ñ \"%s\".\n" #: oggenc/oggenc.c:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "µ ½°ı´µ½ ·½°Ñ‡µ½¸µ ´żğ½¸Ñ‚µğь½³ ż°Ñ€°ĵµÑ‚Ñ€° ş´¸Ñ€²Ñ‰¸ş°\n" #: oggenc/oggenc.c:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "’½ÑƒÑ‚Ñ€µ½½ÑÑ ш¸ħş° р°·ħр° ż°Ñ€°ĵµÑ‚Ñ€² şĵ°½´½ı стрş¸\n" #: oggenc/oggenc.c:787 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" "’½¸ĵ°½¸µ: ˜Ñżğь·²°½ ½µşÑ€Ñ€µşÑ‚½Ñ‹ı şĵĵµ½Ñ‚°Ñ€¸ı (\"%s\"), ¸³½Ñ€¸Ñ€ÑƒµÑ‚ся.\n" #: oggenc/oggenc.c:824 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "’½¸ĵ°½¸µ: ½ĵ¸½°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт \"%s\" ½µ ż·½°½\n" #: oggenc/oggenc.c:832 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "’½¸ĵ°½¸µ: ĵ¸½¸ĵ°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт \"%s\" ½µ ż·½°½\n" #: oggenc/oggenc.c:845 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "’½¸ĵ°½¸µ: ĵ°şÑ¸ĵ°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт \"%s\" ½µ ż·½°½\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "žżÑ†¸Ñ ş°Ñ‡µÑÑ‚²° \"%s\" ½µ ż·½°½°, ¸³½Ñ€¸Ñ€ÑƒµÑ‚ся\n" #: oggenc/oggenc.c:865 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "’˜œ˜•: уст°½²ğµ½ сğ¸Ñˆşĵ ²Ñ‹Ñşµ ş°Ñ‡µÑÑ‚², ³Ñ€°½¸Ñ‡µ½ ´ ĵ°şÑ¸ĵ°ğь½³\n" #: oggenc/oggenc.c:871 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "’˜œ˜•: £ş°·°½ ½µÑşğьş фрĵ°Ñ‚² ¸ĵµ½¸, ¸Ñżğь·ÑƒµÑ‚ся żÑğµ´½¸ı\n" #: oggenc/oggenc.c:880 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "’˜œ˜•: £ş°·°½ ½µÑşğьş ф¸ğьтр² фрĵ°Ñ‚² ¸ĵµ½¸, ¸Ñżğь·ÑƒµÑ‚ся żÑğµ´½¸ı\n" #: oggenc/oggenc.c:889 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "’˜œ˜•: £ş°·°½ ½µÑşğьş ·°ĵµ½ ф¸ğьтр² фрĵ°Ñ‚² ¸ĵµ½¸, ¸Ñżğь·ÑƒµÑ‚ся " "żÑğµ´½ÑÑ\n" #: oggenc/oggenc.c:897 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" "’˜œ˜•: £ş°·°½ ½µÑşğьş ²Ñ‹Ñ…´½Ñ‹Ñ… ф°ığ², żÑ€µ´żğ°³°µÑ‚ся ¸Ñżğь·²°½¸µ " "ż°Ñ€°ĵµÑ‚Ñ€° -n\n" #: oggenc/oggenc.c:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 ¸· %s %s\n" #: oggenc/oggenc.c:916 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "’˜œ˜•: £ş°·°½ ·½°Ñ‡µ½¸µ сырых ħ¸Ñ‚/ş°´Ñ€ ´ğя ½µ-сырых ´°½½Ñ‹Ñ…. " "ŸÑ€µ´żğ°³°µÑ‚ся сырı ²²´.\n" #: oggenc/oggenc.c:921 oggenc/oggenc.c:925 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "’˜œ˜•: £ş°·°½ ½µşÑ€Ñ€µşÑ‚½µ ·½°Ñ‡µ½¸µ ħ¸Ñ‚/ş°´Ñ€, żÑ€µ´żğ°³°µÑ‚ся 16.\n" #: oggenc/oggenc.c:932 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "’˜œ˜•: £ş°·°½ ч¸Ñğ сырых ş°½°ğ² ´ğя ½µ-сырых ´°½½Ñ‹Ñ…. ŸÑ€µ´żğ°³°µÑ‚ся " "сырı ²²´.\n" #: oggenc/oggenc.c:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "’˜œ˜•: £ş°·°½ ½µ²µÑ€½µ ч¸Ñğ ş°½°ğ², żÑ€µ´żğ°³°µÑ‚ся 2.\n" #: oggenc/oggenc.c:948 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "’˜œ˜•: £ş°·°½° сыр°Ñ ч°ÑÑ‚Ñ‚° ²Ñ‹ħрş¸ ´ğя ½µ-сырых ´°½½Ñ‹Ñ…. ŸÑ€µ´żğ°³°µÑ‚ся " "сырı ²²´.\n" #: oggenc/oggenc.c:953 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" "’˜œ˜•: £ş°·°½ ½µşÑ€Ñ€µşÑ‚½µ ·½°Ñ‡µ½¸µ ч°ÑÑ‚ты ²Ñ‹ħрş¸, żÑ€µ´żğ°³°µÑ‚ся " "44100.\n" #: oggenc/oggenc.c:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "’˜œ˜•: £ş°·°½ ½µ¸·²µÑÑ‚½Ñ‹ı ż°Ñ€°ĵµÑ‚Ñ€, ¸³½Ñ€¸Ñ€ÑƒµÑ‚ся->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "µ²·ĵĥ½ żÑ€µħр°·²°Ñ‚ÑŒ şĵĵµ½Ñ‚°Ñ€¸ı ² UTF-8, ´ħ°²ğять ½µğь·Ñ\n" #: oggenc/oggenc.c:1014 vorbiscomment/vcomment.c:369 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "µ²·ĵĥ½ żÑ€µħр°·²°Ñ‚ÑŒ şĵĵµ½Ñ‚°Ñ€¸ı ² UTF-8, ´ħ°²ğять ½µğь·Ñ\n" #: oggenc/oggenc.c:1033 #, 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:212 #, fuzzy, c-format msgid "" "WARNING: Comment %d in stream %d has invalid format, does not contain '=': " "\"%s\"\n" msgstr "" "’½¸ĵ°½¸µ: šĵĵµ½Ñ‚°Ñ€¸ı %d ² żÑ‚şµ %d ¸ĵµµÑ‚ ½µ´żÑƒÑÑ‚¸ĵыı фрĵ°Ñ‚. ž½ ½µ " "с´µÑ€ĥ¸Ñ‚ '=': \"%s\"\n" #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format msgid "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" msgstr "" "’½¸ĵ°½¸µ: µşÑ€Ñ€µşÑ‚½µ ¸ĵя żğя şĵĵµ½Ñ‚°Ñ€¸Ñ ² şĵĵµ½Ñ‚°Ñ€¸¸ %d (żÑ‚ş %d): \"%s" "\"\n" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " "wrong\n" msgstr "" "’½¸ĵ°½¸µ: µşÑ€Ñ€µşÑ‚½°Ñ żÑğµ´²°Ñ‚µğь½ÑÑ‚ÑŒ UTF-8 ² şĵĵµ½Ñ‚°Ñ€¸¸ %d (żÑ‚ş %d): " "½µżÑ€°²¸ğь½Ñ‹ı ĵ°Ñ€şµÑ€ ´ğ¸½Ñ‹\n" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" msgstr "" "’½¸ĵ°½¸µ: µşÑ€Ñ€µşÑ‚½°Ñ żÑğµ´²°Ñ‚µğь½ÑÑ‚ÑŒ UTF-8 ² şĵĵµ½Ñ‚°Ñ€¸¸ %d (żÑ‚ş %d): " "сğ¸Ñˆşĵ ĵ°ğ ħ°ıт\n" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid sequence " "\"%s\": %s\n" msgstr "" "’½¸ĵ°½¸µ: µşÑ€Ñ€µşÑ‚½°Ñ żÑğµ´²°Ñ‚µğь½ÑÑ‚ÑŒ UTF-8 ² şĵĵµ½Ñ‚°Ñ€¸¸ %d (żÑ‚ş %d): " "½µżÑ€°²¸ğь½°Ñ żÑğµ´²°Ñ‚µğь½ÑÑ‚ÑŒ\n" #: ogginfo/ogginfo2.c:356 #, fuzzy msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" msgstr "’½¸ĵ°½¸µ: Ħħı ² ´µş´µÑ€µ utf8. ’ħщµ-т эт ´ğĥ½ ħыть ½µ²·ĵĥ½\n" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format msgid "" "WARNING: Could not decode Theora header packet - invalid Theora stream (%d)\n" msgstr "" "’½¸ĵ°½¸µ: µ²·ĵĥ½ ´µş´¸Ñ€²°Ñ‚ÑŒ ż°şµÑ‚ ·°³ğ²ş° theora - ½µşÑ€Ñ€µşÑ‚½Ñ‹ı " "żÑ‚ş theora (%d)\n" #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "—°³ğ²ş¸ theora ħр°ħт°½Ñ‹ ´ğя żÑ‚ş° %d, ´°ğµµ ¸½Ñ„Ñ€ĵ°Ñ†¸Ñ...\n" #: ogginfo/ogginfo2.c:403 #, c-format msgid "Version: %d.%d.%d\n" msgstr "’µÑ€Ñ¸Ñ: %d.%d.%d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "ŸÑÑ‚°²Ñ‰¸ş: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "¨¸Ñ€¸½°: %d\n" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "’ыст°: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "Ÿğ½µ ¸·ħр°ĥµ½¸µ: %d ½° %d, с´²¸³ ħрµ·ş¸ (%d, %d)\n" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "µ´żÑƒÑÑ‚¸ĵµ сĵµÑ‰µ½¸µ/р°·ĵµÑ€ ş°´Ñ€°: ½µżÑ€°²¸ğь½°Ñ ш¸Ñ€¸½°\n" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "µ´żÑƒÑÑ‚¸ĵµ сĵµÑ‰µ½¸µ/р°·ĵµÑ€ ş°´Ñ€°: ½µżÑ€°²¸ğь½°Ñ ²Ñ‹ÑÑ‚°\n" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "µ´żÑƒÑÑ‚¸ĵ°Ñ ½Ñƒğµ²°Ñ ч°ÑÑ‚Ñ‚° ş°´Ñ€²\n" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "§°ÑÑ‚Ñ‚° ş°´Ñ€² %d/%d (%.02f ş°´Ñ€/с)\n" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "Ħт½Ñˆµ½¸µ р°·ĵµÑ€² ½µ уş°·°½\n" #: ogginfo/ogginfo2.c:427 #, fuzzy, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "Ħт½Ñˆµ½¸µ р°·ĵµÑ€² ż¸şÑµğя %d:%d (1:%f)\n" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "Ħт½Ñˆµ½¸µ р°·ĵµÑ€² ş°´Ñ€° 4:3\n" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "Ħт½Ñˆµ½¸µ р°·ĵµÑ€² ş°´Ñ€° 16:9\n" #: ogginfo/ogginfo2.c:433 #, fuzzy, c-format msgid "Frame aspect %f:1\n" msgstr "Ħт½Ñˆµ½¸µ р°·ĵµÑ€² ş°´Ñ€° 4:3\n" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "Ĥ²µÑ‚²µ żÑ€ÑÑ‚Ñ€°½ÑÑ‚²: Rec. ITU-R BT.470-6 Ħ¸ÑÑ‚µĵ° M (NTSC)\n" #: ogginfo/ogginfo2.c:439 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" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "Ĥ²µÑ‚²µ żÑ€ÑÑ‚Ñ€°½ÑÑ‚² ½µ уş°·°½\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "¤Ñ€ĵ°Ñ‚ ż¸şÑµğя 4:2:0\n" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "¤Ñ€ĵ°Ñ‚ ż¸şÑµğя 4:4:2\n" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "¤Ñ€ĵ°Ñ‚ ż¸şÑµğя 4:4:4\n" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "µżÑ€°²¸ğь½Ñ‹ı фрĵ°Ñ‚ ż¸şÑµğя\n" #: ogginfo/ogginfo2.c:452 #, c-format msgid "Target bitrate: %d kbps\n" msgstr "Ĥµğµ²ı ħ¸Ñ‚Ñ€µıт: %d šħ/с\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "—½°Ñ‡µ½¸µ ½ĵ¸½°ğь½³ ş°Ñ‡µÑÑ‚²° (0-63): %d\n" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "ĦµşÑ†¸Ñ żğь·²°Ñ‚µğьсş¸Ñ… şĵĵµ½Ñ‚°Ñ€¸µ² сğµ´ÑƒµÑ‚ ·°...\n" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "’½¸ĵ°½¸µ: granulepos ² żÑ‚şµ %d уĵµ½ÑŒÑˆ¸ğсь с %lld ´ %lld" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format msgid "" "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream (%" "d)\n" msgstr "" "’½¸ĵ°½¸µ: µ²·ĵĥ½ ´µş´¸Ñ€²°Ñ‚ÑŒ ż°şµÑ‚ ·°³ğ²ş° vorbis - ½µşÑ€Ñ€µşÑ‚½Ñ‹ı " "żÑ‚ş vorbis (%d)\n" #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "—°³ğ²ş¸ vorbis ħр°ħт°½Ñ‹ ´ğя żÑ‚ş° %d, ´°ğµµ ¸½Ñ„Ñ€ĵ°Ñ†¸Ñ...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "’µÑ€Ñ¸Ñ: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "ŸÑÑ‚°²Ñ‰¸ş: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "š°½°ğы: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "‘¸Ñ‚Ñ€µıт: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "ĵ¸½°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт: %f šħ/с\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "ĵ¸½°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт ½µ уст°½²ğµ½\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "œ°şÑ¸ĵ°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт: %f šħ/с\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "œ°şÑ¸ĵ°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт ½µ уст°½²ğµ½\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "œ¸½¸ĵ°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт: %f šħ/с\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "œ¸½¸ĵ°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт ½µ уст°½²ğµ½\n" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format msgid "" "WARNING: Could not decode Kate header packet %d - invalid Kate stream (%d)\n" msgstr "" "’½¸ĵ°½¸µ: µ²·ĵĥ½ ´µş´¸Ñ€²°Ñ‚ÑŒ ż°şµÑ‚ ·°³ğ²ş° theora - ½µşÑ€Ñ€µşÑ‚½Ñ‹ı " "żÑ‚ş theora (%d)\n" #: ogginfo/ogginfo2.c:703 #, fuzzy, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" "’½¸ĵ°½¸µ: µ²·ĵĥ½ ´µş´¸Ñ€²°Ñ‚ÑŒ ż°şµÑ‚ ·°³ğ²ş° theora - ½µşÑ€Ñ€µşÑ‚½Ñ‹ı " "żÑ‚ş theora (%d)\n" #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, fuzzy, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "—°³ğ²ş¸ theora ħр°ħт°½Ñ‹ ´ğя żÑ‚ş° %d, ´°ğµµ ¸½Ñ„Ñ€ĵ°Ñ†¸Ñ...\n" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "’µÑ€Ñ¸Ñ: %d.%d.%d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "ŸÑÑ‚°²Ñ‰¸ş: %s\n" #: ogginfo/ogginfo2.c:756 #, fuzzy msgid "No category set\n" msgstr "ĵ¸½°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт ½µ уст°½²ğµ½\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 #, fuzzy msgid "Invalid zero granulepos rate\n" msgstr "µ´żÑƒÑÑ‚¸ĵ°Ñ ½Ñƒğµ²°Ñ ч°ÑÑ‚Ñ‚° ş°´Ñ€²\n" #: ogginfo/ogginfo2.c:797 #, fuzzy, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "§°ÑÑ‚Ñ‚° ş°´Ñ€² %d/%d (%.02f ş°´Ñ€/с)\n" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "’½¸ĵ°½¸µ: ´ğя żÑ‚ş° %d ½µ уст°½²ğµ½ ĵ°Ñ€şµÑ€ µ³ ş½Ñ†°\n" #: ogginfo/ogginfo2.c:1047 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "’½¸ĵ°½¸µ: µżÑ€°²¸ğь½°Ñ стр°½¸Ñ†° ·°³ğ²ş°, ½µ ½°ı´µ½ ż°şµÑ‚\n" #: ogginfo/ogginfo2.c:1075 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "’½¸ĵ°½¸µ: µżÑ€°²¸ğь½°Ñ стр°½¸Ñ†° ·°³ğ²ş° ² żÑ‚şµ %d, с´µÑ€ĥ¸Ñ‚ ĵ½ĥµÑÑ‚² " "ż°şµÑ‚²\n" #: ogginfo/ogginfo2.c:1089 #, 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:1107 #, fuzzy msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "" "’½¸ĵ°½¸µ: žħ½°Ñ€Ñƒĥµ½° ´Ñ‹Ñ€° ² ´°½½Ñ‹Ñ… с сĵµÑ‰µ½¸µĵ żÑ€¸ħ𸷸тµğь½ %lld ħ°ıт. " "˜ÑżÑ€Ñ‡µ½½Ñ‹ı ogg.\n" #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "žÑˆ¸ħş° тşÑ€Ñ‹Ñ‚¸Ñ ²Ñ…´½³ ф°ığ° \"%s\": %s\n" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "žħр°ħтş° ф°ığ° \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 msgid "Could not find a processor for stream, bailing\n" msgstr "µ²·ĵĥ½ ½°ıт¸ ħр°ħтч¸ş ´ğя żÑ‚ş°. —°´°½¸µ тğĥµ½\n" #: ogginfo/ogginfo2.c:1156 msgid "Page found for stream after EOS flag" msgstr "°ı´µ½° стр°½¸Ñ†° ´ğя żÑ‚ş° żÑğµ żğучµ½¸Ñ ĵ°Ñ€şµÑ€° µ³ ş½Ñ†°" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" "°Ñ€ÑƒÑˆµ½Ñ‹ ³Ñ€°½¸Ñ‡µ½¸Ñ ĵуğьт¸żğµşÑ¸Ñ€²°½¸Ñ Ogg. °ı´µ½ ½²Ñ‹ı żÑ‚ş ´ " "żğучµ½¸Ñ ĵ°Ñ€şµÑ€² ş½Ñ†° ²ÑµÑ… żÑ€µ´Ñ‹´ÑƒÑ‰¸Ñ… żÑ‚ş²" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "µ¸·²µÑÑ‚½°Ñ ш¸ħş°." #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "²Ñ‹ı ğ³¸Ñ‡µÑş¸ı żÑ‚ş (#%d, сµÑ€¸ı½Ñ‹ı ½ĵµÑ€: %08x): т¸ż %s\n" #: ogginfo/ogginfo2.c:1181 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "’½¸ĵ°½¸µ: ´ğя żÑ‚ş° %d ½µ уст°½²ğµ½ ф𰳠µ³ ½°Ñ‡°ğ°\n" #: ogginfo/ogginfo2.c:1185 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "’½¸ĵ°½¸µ: ² сµÑ€µ´¸½µ żÑ‚ş° %d ½°ı´µ½ ф𰳠½°Ñ‡°ğ° żÑ‚ş°\n" #: ogginfo/ogginfo2.c:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "›³¸Ñ‡µÑş¸ı żÑ‚ş %d ·°²µÑ€ÑˆÑ‘½\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 ¸· %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "µ²·ĵĥ½ ħр°ħт°Ñ‚ÑŒ тчşÑƒ трµ·° \"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "µ²·ĵĥ½ ħр°ħт°Ñ‚ÑŒ тчşÑƒ трµ·° \"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "µ²·ĵĥ½ тşÑ€Ñ‹Ñ‚ÑŒ %s ´ğя ·°ż¸Ñ¸\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "µ²·ĵĥ½ тşÑ€Ñ‹Ñ‚ÑŒ %s ´ğя чтµ½¸Ñ\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "µ²·ĵĥ½ ħр°ħт°Ñ‚ÑŒ тчşÑƒ трµ·° \"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "žħр°ħтş°: ’ырµ·°½¸µ ² ż·¸Ñ†¸¸ %lld сµşÑƒ½´\n" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "žħр°ħтş°: ’ырµ·°½¸µ ² ż·¸Ñ†¸¸ %lld ş°´Ñ€²\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "žħр°ħтş° ½µ у´°ğ°ÑÑŒ\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "’½¸ĵ°½¸µ: µĥ¸´°½½Ñ‹ı ş½µÑ† ф°ığ° żÑ€¸ чтµ½¸¸ ·°³ğ²ş° WAV\n" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "šğюч ½µ ½°ı´µ½" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "žÑˆ¸ħş° żÑ€¸ ·°ż¸Ñ¸ şĵĵµ½Ñ‚°Ñ€¸µ² ² ²Ñ‹Ñ…´½ı ф°ığ: %s\n" #: vcut/vcut.c:519 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "žÑˆ¸ħş° чтµ½¸Ñ żµÑ€²ı стр°½¸Ñ†Ñ‹ ħ¸Ñ‚²³ żÑ‚ş° Ogg." #: vcut/vcut.c:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "˜ÑżÑ€°²ğяµĵ°Ñ ш¸ħş° ħ¸Ñ‚²³ żÑ‚ş°\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "’тр¸Ñ‡½Ñ‹ı ·°³ğ²ş ż²Ñ€µĥ´Ñ‘½\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "žÑˆ¸ħş° ħ¸Ñ‚²³ żÑ‚ş°, żÑ€´ğĥµ½¸µ р°ħты\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "žÑˆ¸ħş° ² с½²½ĵ ·°³ğ²şµ: ½µ vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "’Ñ…´½Ñ‹µ ´°½½Ñ‹µ ½µ ² фрĵ°Ñ‚µ ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "žÑˆ¸ħş° ħ¸Ñ‚²³ żÑ‚ş°, żÑ€´ğĥµ½¸µ р°ħты\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "š½µÑ† żÑ‚ş° ½°ı´µ½ ´ тчş¸ трµ·°.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "žÑˆ¸ħş° чтµ½¸Ñ żµÑ€²ı стр°½¸Ñ†Ñ‹ ħ¸Ñ‚²³ żÑ‚ş° Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "žÑˆ¸ħş° чтµ½¸Ñ ½°Ñ‡°ğь½³ ·°³ğ²ş° ż°şµÑ‚°." #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "’Ñ…´½Ñ‹µ ´°½½Ñ‹µ ħрµ·°½Ñ‹ ¸ğ¸ żÑƒÑÑ‚Ñ‹." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "’Ñ…´½Ñ‹µ ´°½½Ñ‹µ ½µ я²ğяются ħ¸Ñ‚²Ñ‹ĵ żÑ‚şĵ Ogg." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "‘¸Ñ‚²Ñ‹ı żÑ‚ş Ogg ½µ с´µÑ€ĥ¸Ñ‚ ´°½½Ñ‹Ñ… vorbis." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "š½µÑ† ф°ığ° ħ½°Ñ€Ñƒĥµ½ ´ ş½Ñ‡°½¸Ñ ·°³ğ²ş² vorbis." #: vorbiscomment/vcedit.c:595 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "‘¸Ñ‚²Ñ‹ı żÑ‚ş Ogg ½µ с´µÑ€ĥ¸Ñ‚ ´°½½Ñ‹Ñ… vorbis." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "Ÿ²Ñ€µĥ´Ñ‘½ ²Ñ‚Ñ€¸Ñ‡½Ñ‹ı ·°³ğ²ş." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "š½µÑ† ф°ığ° ħ½°Ñ€Ñƒĥµ½ ´ ş½Ñ‡°½¸Ñ ·°³ğ²ş² vorbis." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Ÿ²Ñ€µĥ´µ½Ñ‹ ¸ğ¸ тсутст²ÑƒÑŽÑ‚ ´°½½Ñ‹µ, żÑ€´ğĥµ½¸µ р°ħты..." #: vorbiscomment/vcedit.c:875 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "žÑˆ¸ħş° ·°ż¸Ñ¸ ²Ñ‹Ñ…´½³ żÑ‚ş°. ’ых´½ı żÑ‚ş ĵĥµÑ‚ ħыть ż²Ñ€µĥ´Ñ‘½ ¸ğ¸ " "ħрµ·°½." #: vorbiscomment/vcomment.c:195 vorbiscomment/vcomment.c:221 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "žÑˆ¸ħş° тşÑ€Ñ‹Ñ‚¸Ñ ф°ığ° ş°ş ф°ığ° vorbis: %s\n" #: vorbiscomment/vcomment.c:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "µżÑ€°²¸ğь½Ñ‹ı şĵĵµ½Ñ‚°Ñ€¸ı: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "½µżÑ€°²¸ğь½Ñ‹ı şĵĵµ½Ñ‚°Ñ€¸ı: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "žÑˆ¸ħş° żÑ€¸ ·°ż¸Ñ¸ şĵĵµ½Ñ‚°Ñ€¸µ² ² ²Ñ‹Ñ…´½ı ф°ığ: %s\n" #: vorbiscomment/vcomment.c:280 #, c-format msgid "no action specified\n" msgstr "´µıст²¸µ ½µ уş°·°½\n" #: vorbiscomment/vcomment.c:384 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "µ²·ĵĥ½ żÑ€µħр°·²°Ñ‚ÑŒ şĵĵµ½Ñ‚°Ñ€¸ı ² UTF-8, ´ħ°²ğять ½µğь·Ñ\n" #: vorbiscomment/vcomment.c:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "µşÑ€Ñ€µşÑ‚½Ñ‹ı т¸ż ² сż¸Ñşµ ż°Ñ€°ĵµÑ‚Ñ€²" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "’½ÑƒÑ‚Ñ€µ½½ÑÑ ш¸ħş° р°·ħр° ż°Ñ€°ĵµÑ‚Ñ€² şĵ°½´½ı стрş¸\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "žÑˆ¸ħş° тşÑ€Ñ‹Ñ‚¸Ñ ²Ñ…´½³ ф°ığ° '%s'.\n" #: vorbiscomment/vcomment.c:741 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "˜ĵя ²Ñ…´½³ ф°ığ° ½µ ĵĥµÑ‚ с²ż°´°Ñ‚ÑŒ с ¸ĵµ½µĵ ²Ñ‹Ñ…´½³ ф°ığ°\n" #: vorbiscomment/vcomment.c:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "žÑˆ¸ħş° тşÑ€Ñ‹Ñ‚¸Ñ ²Ñ‹Ñ…´½³ ф°ığ° '%s'.\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "žÑˆ¸ħş° тşÑ€Ñ‹Ñ‚¸Ñ ф°ığ° şĵĵµ½Ñ‚°Ñ€¸µ² '%s'.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "žÑˆ¸ħş° тşÑ€Ñ‹Ñ‚¸Ñ ф°ığ° şĵĵµ½Ñ‚°Ñ€¸µ² '%s'\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "žÑˆ¸ħş° у´°ğµ½¸Ñ ст°Ñ€³ ф°ığ° %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "žÑˆ¸ħş° żµÑ€µ¸ĵµ½²°½¸Ñ %s ² %s\n" #: vorbiscomment/vcomment.c:830 #, 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" #~ 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: %I64d 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" #~ 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 "" #~ "Warning: Hole in data found at approximate offset %I64d bytes. Corrupted " #~ "ogg.\n" #~ msgstr "" #~ "’½¸ĵ°½¸µ: žħ½°Ñ€Ñƒĥµ½° ´Ñ‹Ñ€° ² ´°½½Ñ‹Ñ… с сĵµÑ‰µ½¸µĵ żÑ€¸ħ𸷸тµğь½ %I64d " #~ "ħ°ıт. ˜ÑżÑ€Ñ‡µ½½Ñ‹ı 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 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.0/po/sk.po0000644000175000017500000031037511353056540012505 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2008-03-20 20:15+0100\n" "Last-Translator: Peter TuhĦrsky \n" "Language-Team: Slovak \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:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Chyba: Nedostatok pam¤te v malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 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:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Dostupnİ prep­nače:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Takİ zariadenie %s neexistuje.\n" #: ogg123/cmdline_options.c:138 #, 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:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "=== NedĦ sa určiĊ v½stupn½ sşbor bez určenia ovlĦdača.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== NesprĦvny formĦt prep­nača: %s.\n" #: ogg123/cmdline_options.c:177 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Hodnota prebuffer neplatnĦ. Rozsah je 0-100.\n" #: ogg123/cmdline_options.c:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 z %s %s\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- NedĦ sa prehrĦvaĊ kaĊd½ nult½ şsek!\n" #: ogg123/cmdline_options.c:216 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:232 #, 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:248 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:261 #, 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:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "Dostupnİ prep­nače:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "Soubor: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Dostupnİ prep­nače:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "Vstup nen­ ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "Popis" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Dostupnİ prep­nače:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Chyba: Nedostatok pam¤te.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "implicitnİ v½stupnİ zariadenie" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "pomieĊĦaĊ zoznam skladieb" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Nemohu pĊ™eskočit %f vteĊ™in zvuku." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Zvukovİ zariadenie: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "PoznĦmky: %s" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Varovanie: Nepodarilo sa preč­taĊ adresĦr %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Chyba: Nemohu vytvoĊ™it vyrovnĦvac­ paměĊ zvuku.\n" #: ogg123/ogg123.c:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Nemohu otevĊ™­t %s.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "FormĦt souboru %s nen­ podporovĦn.\n" #: ogg123/ogg123.c:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "PĊ™ehrĦvĦm: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Nemohu pĊ™eskočit %f vteĊ™in zvuku." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Chyba: SelhĦn­ dek³dovĦn­.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, 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:369 #, 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:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Verze: %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Chyba pĊ™i čten­ hlaviček\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrebuf na %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sPozastaveno" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Chyba alokace paměti v stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Soubor: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Čas: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "z %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "PrĊŻm bitrate: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Vstupn­ vyrovnĦvac­ paměĊ %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 #, fuzzy msgid "Comment:" msgstr "PoznĦmky: %s" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 z %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" #: oggdec/oggdec.c:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, 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:217 #, 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:266 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Nemohu otevĊ™­t soubor jako vorbis: %s\n" #: oggdec/oggdec.c:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "K³dovĦn­ souboru \"%s\" hotovo\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, 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:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "Čteč souborĊŻ WAV" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "Čteč souborĊŻ AIFF/AIFC" #: oggenc/audio.c:49 msgid "FLAC file reader" msgstr "Č­tač sşborov FLAC" #: oggenc/audio.c:50 msgid "Ogg FLAC file reader" msgstr "Ogg č­tač sşborov FLAC" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "PĊ™eskakuji şsek typu \"%s\", dİlka %d\n" #: oggenc/audio.c:165 #, 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:262 #, 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:268 #, 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:276 #, 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:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "VarovĦn­: Hlavička AIFF-C useknuta.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, 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:324 #, 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:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, 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:670 #, 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:772 #, 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:790 #, 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:68 #, 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:117 #, 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:132 #, 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:139 #, 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:203 #, 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:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "CHYBA: Nemohu otevĊ™­t vstupn­ soubor \"%s\": %s\n" #: oggenc/oggenc.c:243 #, fuzzy msgid "RAW file reader" msgstr "Čteč souborĊŻ WAV" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Otev­rĦm pomoc­ modulu %s: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, 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:335 #, 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:342 #, 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:353 #, 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:399 #, 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:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Mixuji stereo na mono\n" #: oggenc/oggenc.c:409 #, 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:417 #, c-format msgid "Scaling input to %f\n" msgstr "Prisp´sobujem vstup na %f\n" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 z %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Povoluji systİm sprĦvy bitrate\n" #: oggenc/oggenc.c:716 #, 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:719 #, 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:726 #, 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:732 #, 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:742 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Varovanie: Neviem spracovaĊ ĊĦkĦlovac­ faktor \"%s\"\n" #: oggenc/oggenc.c:756 #, 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:776 #, 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:787 #, 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:824 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "VarovĦn­: nominĦln­ bitrate \"%s\" nerozpoznĦna\n" #: oggenc/oggenc.c:832 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "VarovĦn­: minimĦln­ bitrate \"%s\" nerozpoznĦna\n" #: oggenc/oggenc.c:845 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "VarovĦn­: maximĦln­ bitrate \"%s\" nerozpoznĦna\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "PĊ™ep­nač kvality \"%s\" nerozpoznĦn, ignoruji jej\n" #: oggenc/oggenc.c:865 #, 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:871 #, 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:880 #, 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:889 #, 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:897 #, 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:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 z %s %s\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, 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:932 #, 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:937 #, 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:948 #, 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:953 #, 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:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "VAROVN: ZadĦn neplatn½ pĊ™ep­nač, ignoruji->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, 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:1014 vorbiscomment/vcomment.c:369 #, 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:1033 #, 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:212 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:356 #, 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" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "" "Hlavičky theora spracovanİ pre prşd şdajov %d, nasledujş informĦcie...\n" #: ogginfo/ogginfo2.c:403 #, c-format msgid "Version: %d.%d.%d\n" msgstr "Verzia: %d.%d.%d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "Dodavatel: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "Ċ ­rka: %d\n" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "V½ĊĦka: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "Celkov½ obraz: %d o %d, orezaĊ posun (%d, %d)\n" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "Neplatn½ posun/veÄkosĊ rĦmca: nesprĦvna ĊĦ­rka\n" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "Neplatn½ posun/veÄkosĊ rĦmca: nesprĦvna v½ĊĦka\n" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "NeplatnĦ nulovĦ r½chlosĊ rĦmcov\n" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "R½chlosĊ rĦmcov %d/%d (%.02f fps)\n" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "Pomer strĦn nebol definovan½\n" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "Pomer strĦn 4:3\n" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "Pomer strĦn 16:9\n" #: ogginfo/ogginfo2.c:433 #, fuzzy, c-format msgid "Frame aspect %f:1\n" msgstr "Pomer strĦn 4:3\n" #: ogginfo/ogginfo2.c:437 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" #: ogginfo/ogginfo2.c:439 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" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "Nebol zadan½ farebn½ priestor\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "FormĦt pixelov 4:2:0\n" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "FormĦt pixelov 4:2:2\n" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "FormĦt pixelov 4:4:4\n" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "Neplatn½ formĦt pixelov\n" #: ogginfo/ogginfo2.c:452 #, c-format msgid "Target bitrate: %d kbps\n" msgstr "CieÄovĦ bitovĦ r½chlosĊ: %d kb/s\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "Č­selnİ nastavenie kvality (0-63): %d\n" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "NĦsleduje oblast poznĦmek uĊivatele...\n" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "Varovanie: granulepos v prşde şdajov %d sa zniĊuje z %lld na %lld" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "Hlavičky vorbis zpracovĦny pro proud %d, nĦsleduj­ informace...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "Verze: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "Dodavatel: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "KanĦlĊŻ: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "Frekvence: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "NominĦln­ bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "NominĦln­ bitrate nenastavena\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "VyĊĦĊĦ­ bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "VyĊĦĊĦ­ bitrate nenastavena\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "NiĊĊĦ­ bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "NiĊĊĦ­ bitrate nenastavena\n" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:703 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, fuzzy, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "" "Hlavičky theora spracovanİ pre prşd şdajov %d, nasledujş informĦcie...\n" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "Verzia: %d.%d.%d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "Dodavatel: %s\n" #: ogginfo/ogginfo2.c:756 #, fuzzy msgid "No category set\n" msgstr "NominĦln­ bitrate nenastavena\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 #, fuzzy msgid "Invalid zero granulepos rate\n" msgstr "NeplatnĦ nulovĦ r½chlosĊ rĦmcov\n" #: ogginfo/ogginfo2.c:797 #, fuzzy, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "R½chlosĊ rĦmcov %d/%d (%.02f fps)\n" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "VarovĦn­: EOS nenastaveno v proudu %d\n" #: ogginfo/ogginfo2.c:1047 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "VarovĦn­: NeplatnĦ strana hlavičky, nenalezen paket\n" #: ogginfo/ogginfo2.c:1075 #, 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:1089 #, 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:1107 #, 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" #: ogginfo/ogginfo2.c:1134 #, 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:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Spracşvam sşbor \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 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:1156 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:1159 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:1163 msgid "Error unknown." msgstr "NeznĦma chyba." #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, 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:1181 #, 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:1185 #, 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:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "Logick½ proud %d skončil\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 z %s %s\n" # FIXME: s/files1/file1/ #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Nemohu zpracovat bod Ċ™ezu \"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Nemohu zpracovat bod Ċ™ezu \"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Nemohu otevĊ™­t %s pro zĦpis\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Nemohu otevĊ™­t %s pro čten­\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Nemohu zpracovat bod Ċ™ezu \"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Spracşvam: StrihĦm %lld sekunde\n" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Spracşvam: StrihĦm na %lld vzorkĦch\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "ZpracovĦn­ selhalo\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "VarovĦn­: NeočekĦvan½ EOF pĊ™i čten­ hlavičky WAV\n" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Kĺč sa nenaĊĦiel" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, 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:519 #, 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:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "ZotavitelnĦ chyba bitovİho proudu\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "SekundĦrn­ hlavička poĊĦkozena\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Chyba bitovİho proudu, pokračuji\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Chyba v primĦrn­ hlavičce: nen­ to vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "Vstup nen­ ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Chyba bitovİho proudu, pokračuji\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, 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:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 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:558 msgid "Error reading initial header packet." msgstr "Chyba pĊ™i čten­ prvn­ho paketu hlavičky." #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "Vstup useknut nebo prĦzdn½." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "Vstup nen­ bitov½ proud Ogg." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Bitov½ proud ogg neobsahuje data vorbis." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "EOF pĊ™ed koncem hlaviček vorbis." #: vorbiscomment/vcedit.c:595 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Bitov½ proud ogg neobsahuje data vorbis." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "PoĊĦkozenĦ sekundĦrn­ hlavička." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF pĊ™ed koncem hlaviček vorbis." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "PoĊĦkozenĦ nebo chyběj­c­ data, pokračuji..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Nemohu otevĊ™­t soubor jako vorbis: %s\n" #: vorbiscomment/vcomment.c:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Ċ patnĦ poznĦmka: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "ĊĦpatnĦ poznĦmka: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, 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:280 #, c-format msgid "no action specified\n" msgstr "neurčena ĊĦdnĦ akce\n" #: vorbiscomment/vcomment.c:384 #, 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:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "Chybn½ typ v zozname prep­načov" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, 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:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Chyba pĊ™i otev­rĦn­ vstupn­ho souboru '%s'.\n" #: vorbiscomment/vcomment.c:741 #, 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:752 #, 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:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Chyba pĊ™i otev­rĦn­ souboru poznĦmek '%s'.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Chyba pĊ™i otev­rĦn­ souboru poznĦmek '%s'\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "Chyba pĊ™i odstraĊˆovĦn­ starİho souboru %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "Chyba pĊ™i pĊ™ejmenovĦvĦn­ %s na %s\n" #: vorbiscomment/vcomment.c:830 #, 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" #~ 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: %I64d 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" #~ 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" #~ msgid "" #~ "Warning: Hole in data found at approximate offset %I64d bytes. Corrupted " #~ "ogg.\n" #~ msgstr "" #~ "Varovanie: V şdajoch sa naĊĦla diera, pribliĊne na poz­cii %l64d bajtov. " #~ "PoĊĦkoden½ ogg.\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.0/po/sv.po0000644000175000017500000024626411353056541012526 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2002-02-20 14:59+0100\n" "Last-Translator: Mikael Hedin \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Fel: Slut pċ minne i malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 #, fuzzy msgid "Internal error parsing command line options.\n" msgstr "Internt fel vid tolkning av kommandoflaggor\n" #: ogg123/cmdline_options.c:90 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "In-buffertens storlek mindre än minimistorkeken %dkB." #: ogg123/cmdline_options.c:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Tillgängliga flaggor:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== Ingen enhet %s.\n" #: ogg123/cmdline_options.c:138 #, 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:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "== Kan inte ange utfil utan att ange drivrutin.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Felaktigt format pċ argument: %s.\n" #: ogg123/cmdline_options.c:177 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:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 frċn %s %s\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Kan inte spela var 0:te block!\n" #: ogg123/cmdline_options.c:216 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:232 #, fuzzy, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "FEL: Kan inte öppna infil \"%s\": %s\n" #: ogg123/cmdline_options.c:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:261 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Drivrutin %s angiven i konfigurationsfil ogiltig.\n" #: ogg123/cmdline_options.c:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "Tillgängliga flaggor:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "Fil: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Tillgängliga flaggor:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "Indata inte ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "Beskrivning" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Tillgängliga flaggor:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Fel: Slut pċ minne.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "förvald utenhet" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "blanda spellistan" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Misslyckades med att hoppa över %f sekunder ljud." #: ogg123/ogg123.c:376 #, fuzzy, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Enhet: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "Författare: %s" #: ogg123/ogg123.c:378 #, fuzzy, c-format msgid "Comments: %s" msgstr "Kommentarer: %s\n" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Kunde inte skapa katalog \"%s\": %s\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Fel: Kan inte skapa ljudbuffer.\n" #: ogg123/ogg123.c:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Kan inte öppna %s.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Filformatet pċ %s stöds inte.\n" #: ogg123/ogg123.c:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "Spelar: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Misslyckades med att hoppa över %f sekunder ljud." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Fel: Avkodning misslyckades.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:369 #, 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:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Version: %s" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Felaktigt sekundär-huvud." #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, fuzzy, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sFörbuffra %1.f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sPausad" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Minnestilldelningsfel i stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "Fil: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Tid: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "av %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Genomsnittlig bithastighet: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Inbuffer %5.1f%%" #: ogg123/status.c:290 #, 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:39 #, fuzzy msgid "Track number:" msgstr "Spċr: %s" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:44 #, fuzzy msgid "Copyright" msgstr "Copyright %s" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 #, fuzzy msgid "Comment:" msgstr "Kommentar: %s" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 frċn %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "FEL: Kan inte öppna infil \"%s\": %s\n" #: oggdec/oggdec.c:217 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "FEL: Kan inte öppna utfil \"%s\": %s\n" #: oggdec/oggdec.c:266 #, 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:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Kodning av \"%s\" klar\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Misslyckades att öppna infil \"%s\".\n" #: oggdec/oggdec.c:371 #, 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:376 #, 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:46 msgid "WAV file reader" msgstr "WAV-filläsare" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "AIFF/AIFC-filläsare" #: oggenc/audio.c:49 #, fuzzy msgid "FLAC file reader" msgstr "WAV-filläsare" #: oggenc/audio.c:50 #, fuzzy msgid "Ogg FLAC file reader" msgstr "WAV-filläsare" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, 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:165 #, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Varning: Oväntad EOF i AIFF-block\n" #: oggenc/audio.c:262 #, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Varning: Ingen gemensamt block i AIFF-fil\n" #: oggenc/audio.c:268 #, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Varning: Stympat gemensamt block i AIFF-huvud\n" #: oggenc/audio.c:276 #, 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:291 #, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Varning: AIFF-C-huvud stympat.\n" #: oggenc/audio.c:305 #, 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:312 #, 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:318 #, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Varning: Felaktigt SSND-block i AIFF-huvud\n" #: oggenc/audio.c:324 #, 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:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:772 #, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" #: oggenc/audio.c:790 #, 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 #, 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:68 #, 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:117 #, 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:132 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "FEL: Flera filer angivna med stdin\n" #: oggenc/oggenc.c:139 #, 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:203 #, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" #: oggenc/oggenc.c:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "FEL: Kan inte öppna infil \"%s\": %s\n" #: oggenc/oggenc.c:243 #, fuzzy msgid "RAW file reader" msgstr "WAV-filläsare" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Öppnar med %s-modul: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, 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:335 #, 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:342 #, 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:353 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "FEL: Kan inte öppna utfil \"%s\": %s\n" #: oggenc/oggenc.c:399 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "" #: oggenc/oggenc.c:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "" #: oggenc/oggenc.c:409 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" #: oggenc/oggenc.c:417 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 frċn %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "" #: oggenc/oggenc.c:716 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" #: oggenc/oggenc.c:732 #, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" #: oggenc/oggenc.c:742 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Kunde inte tolka skärpunkt \"%s\"\n" #: oggenc/oggenc.c:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "" #: oggenc/oggenc.c:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "" #: oggenc/oggenc.c:787 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" #: oggenc/oggenc.c:824 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:832 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:845 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "" #: oggenc/oggenc.c:865 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" #: oggenc/oggenc.c:871 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" #: oggenc/oggenc.c:880 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" #: oggenc/oggenc.c:889 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" #: oggenc/oggenc.c:897 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" #: oggenc/oggenc.c:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 frċn %s %s\n" #: oggenc/oggenc.c:916 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:921 oggenc/oggenc.c:925 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" #: oggenc/oggenc.c:932 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" #: oggenc/oggenc.c:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "" #: oggenc/oggenc.c:948 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:953 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" #: oggenc/oggenc.c:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1014 vorbiscomment/vcomment.c:369 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1033 #, 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:212 #, c-format msgid "" "WARNING: Comment %d in stream %d has invalid format, does not contain '=': " "\"%s\"\n" msgstr "" #: ogginfo/ogginfo2.c:220 #, c-format msgid "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" msgstr "" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " "wrong\n" msgstr "" #: ogginfo/ogginfo2.c:266 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" msgstr "" #: ogginfo/ogginfo2.c:342 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid sequence " "\"%s\": %s\n" msgstr "" #: ogginfo/ogginfo2.c:356 msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" msgstr "" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, c-format msgid "" "WARNING: Could not decode Theora header packet - invalid Theora stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:396 #, c-format msgid "" "WARNING: Theora stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:403 #, fuzzy, c-format msgid "Version: %d.%d.%d\n" msgstr "Version: %s" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, fuzzy, c-format msgid "Vendor: %s\n" msgstr "säljare=%s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "" #: ogginfo/ogginfo2.c:439 msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" msgstr "" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "" #: ogginfo/ogginfo2.c:452 #, fuzzy, c-format msgid "Target bitrate: %d kbps\n" msgstr "" "\tGenomsnittlig bithastighet: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 msgid "WARNING: granulepos in stream %d decreases from %" msgstr "" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, c-format msgid "" "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:565 #, c-format msgid "" "WARNING: Vorbis stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:572 #, fuzzy, c-format msgid "Version: %d\n" msgstr "Version: %s" #: ogginfo/ogginfo2.c:576 #, fuzzy, c-format msgid "Vendor: %s (%s)\n" msgstr "säljare=%s\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "" #: ogginfo/ogginfo2.c:585 #, fuzzy, c-format msgid "" "Rate: %ld\n" "\n" msgstr "Datum: %s" #: ogginfo/ogginfo2.c:588 #, fuzzy, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "" "\tGenomsnittlig bithastighet: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:594 #, fuzzy, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "" "\tGenomsnittlig bithastighet: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:600 #, fuzzy, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "" "\tGenomsnittlig bithastighet: %.1f kb/s\n" "\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, c-format msgid "" "WARNING: Could not decode Kate header packet %d - invalid Kate stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:703 #, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:734 #, c-format msgid "" "WARNING: Kate stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:738 #, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "Version: %s" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "Datum: %s" #: ogginfo/ogginfo2.c:756 msgid "No category set\n" msgstr "" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1047 msgid "WARNING: Invalid header page, no packet found\n" msgstr "" #: ogginfo/ogginfo2.c:1075 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" #: ogginfo/ogginfo2.c:1089 #, 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:1107 msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "" #: ogginfo/ogginfo2.c:1134 #, fuzzy, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Misslyckades att öppna infil \"%s\".\n" #: ogginfo/ogginfo2.c:1139 #, fuzzy, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "\n" "\n" "Kodning av \"%s\" klar\n" #: ogginfo/ogginfo2.c:1148 #, 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:1156 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "" #: ogginfo/ogginfo2.c:1181 #, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1185 #, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "" #: ogginfo/ogginfo2.c:1213 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 frċn %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Kunde inte tolka skärpunkt \"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Kunde inte tolka skärpunkt \"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Kunde inte öppna %s för att skriva\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Kunde inte öppna %s för att läsa\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Kunde inte tolka skärpunkt \"%s\"\n" #: vcut/vcut.c:301 #, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "" #: vcut/vcut.c:355 #, c-format msgid "WARNING: unexpected granulepos " msgstr "" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Nyckel hittades inte" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Misslyckades att skriva kommentar till utfil: %s\n" #: vcut/vcut.c:519 #, c-format msgid "BOS not set on first page of stream\n" msgstr "" #: vcut/vcut.c:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Internt fel vid tolkning av kommandoflaggor\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Sekundärt huvud felaktigt\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Fel i primärt huvud: inte vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "Indata inte ogg.\n" #: vcut/vcut.c:630 #, c-format msgid "Page error, continuing\n" msgstr "" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "Error reading initial header packet." #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "Indata stympat eller tomt." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "Indata är inte en Ogg-bitström." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ogg-bitström inehċller inte vorbisdata." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "EOF innan slutet pċ vorbis-huvudet." #: vorbiscomment/vcedit.c:595 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ogg-bitström inehċller inte vorbisdata." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "Felaktigt sekundär-huvud." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF innan slutet pċ vorbis-huvudet." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "Data felaktigt eller saknas, fortsätter..." #: vorbiscomment/vcedit.c:875 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:195 vorbiscomment/vcomment.c:221 #, 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:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Felaktig kommentar: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "felaktig kommentar: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Misslyckades att skriva kommentar till utfil: %s\n" #: vorbiscomment/vcomment.c:280 #, c-format msgid "no action specified\n" msgstr "" #: vorbiscomment/vcomment.c:384 #, 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:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "Felaktig typ i argumentlista" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "Internt fel vid tolkning av kommandoflaggor\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Misslyckades att öppna infil \"%s\".\n" #: vorbiscomment/vcomment.c:741 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" #: vorbiscomment/vcomment.c:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Misslyckades att öppna utfil \"%s\".\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Misslyckades att öppna kommentarfil \"%s\".\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Misslyckades att öppna kommentarfil \"%s\"\n" #: vorbiscomment/vcomment.c:818 #, fuzzy, c-format msgid "Error removing old file %s\n" msgstr "Misslyckades att öppna utfil \"%s\".\n" #: vorbiscomment/vcomment.c:820 #, fuzzy, c-format msgid "Error renaming %s to %s\n" msgstr "Misslyckades att öppna infil \"%s\".\n" #: vorbiscomment/vcomment.c:830 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Misslyckades att öppna utfil \"%s\".\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 "Cutpoint not within stream. 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" #~ 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 "" #~ "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.0/po/uk.po0000644000175000017500000036020311353056541012503 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2007-08-17 16:32+0200\n" "Last-Translator: Maxim V. Dziumanenko \n" "Language-Team: Ukrainian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Ÿĵ¸ğş°: ½µ´ÑÑ‚°Ñ‚½ÑŒ ż°ĵ'яті żÑ€¸ ²¸ş½°½½Ñ– malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 msgid "Internal error parsing command line options.\n" msgstr "’½ÑƒÑ‚ріш½Ñ żĵ¸ğş° żÑ€¸ °½°ğі·Ñ– ż°Ñ€°ĵµÑ‚рі² şĵ°½´½³ ря´ş°.\n" #: ogg123/cmdline_options.c:90 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr " ·ĵір ²Ñ…Ñ–´½³ ħуфµÑ€° ĵµ½Ñˆµ ĵі½Ñ–ĵ°ğь½³ - %dş‘." #: ogg123/cmdline_options.c:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "”стуż½Ñ– ż°Ñ€°ĵµÑ‚Ñ€¸:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "=== ŸÑ€¸ÑÑ‚ріı %s ½µ іс½ÑƒÑ”.\n" #: ogg123/cmdline_options.c:138 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== ”Ñ€°ı²µÑ€ %s ½µ є ´Ñ€°ı²µÑ€ĵ ф°ığу ²¸²´Ñƒ.\n" #: ogg123/cmdline_options.c:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "=== µ ĵĥ½° ²ş°·Ñƒ²°Ñ‚¸ ф°ı𠲸²´Ñƒ ħµ· ²ş°·Ñƒ²°½½Ñ ´Ñ€°ı²µÑ€°.\n" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== µşÑ€µşÑ‚½¸ı фрĵ°Ñ‚ ż°Ñ€°ĵµÑ‚Ñ€°: %s.\n" #: ogg123/cmdline_options.c:177 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- µżÑ€°²¸ğь½µ ·½°Ñ‡µ½½Ñ żÑ€µ-ħуфµÑ€°. ”żÑƒÑÑ‚¸ĵ¸ı ´Ñ–°ż°·½ 0-100.\n" #: ogg123/cmdline_options.c:201 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 · %s %s\n" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- ’Ñ–´Ñ‚²Ñ€¸Ñ‚¸ şĥµ½ 0-ı фр°³ĵµ½Ñ‚ ½µĵĥğ¸²!\n" #: ogg123/cmdline_options.c:216 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:232 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- µ ²´°Ñ”ться ²Ñ–´şÑ€¸Ñ‚¸ ф°ığ сż¸ÑşÑƒ ²Ñ–´Ñ‚²Ñ€µ½½Ñ %s. ŸÑ€żÑƒÑ‰µ½¸ı.\n" #: ogg123/cmdline_options.c:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "=== š½Ñ„ğіşÑ‚ ż°Ñ€°ĵµÑ‚рі²: şÑ–½Ñ†µ²¸ı ч°Ñ р°½Ñ–ш¸ı ·° żÑ‡°Ñ‚ş²¸ı ч°Ñ.\n" #: ogg123/cmdline_options.c:261 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- ’ş°·°½¸ı у ş½Ñ„Ñ–³ÑƒÑ€°Ñ†Ñ–Ñ— ´Ñ€°ı²µÑ€ %s - ½µżÑ€°²¸ğь½¸ı.\n" #: ogg123/cmdline_options.c:271 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== µ ²´°Ñ”ться ·°²°½Ñ‚°ĥ¸Ñ‚¸ т¸ż²¸ı ´Ñ€°ı²µÑ€, ° у ş½Ñ„Ñ–³ÑƒÑ€°Ñ†Ñ–ı½ĵу ф°ığі " "´Ñ€°ı²µÑ€ ½µ ²¸·½°Ñ‡µ½¸ı. —°²µÑ€Ñˆµ½½Ñ рħт¸.\n" #: ogg123/cmdline_options.c:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, fuzzy, c-format msgid "Available codecs: " msgstr "”стуż½Ñ– ż°Ñ€°ĵµÑ‚Ñ€¸:\n" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, fuzzy, c-format msgid "File:" msgstr "¤°ığ: %s" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, fuzzy, c-format msgid "Playlist options\n" msgstr "”стуż½Ñ– ż°Ñ€°ĵµÑ‚Ñ€¸:\n" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, fuzzy, c-format msgid "Input options\n" msgstr "’Ñ…Ñ–´½Ñ– ´°½Ñ– ½µ у фрĵ°Ñ‚Ñ– ogg.\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, fuzzy, c-format msgid "Decode options\n" msgstr "žż¸Ñ" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "”стуż½Ñ– ż°Ñ€°ĵµÑ‚Ñ€¸:\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Ÿĵ¸ğş°: ½µ´ÑÑ‚°Ñ‚½ÑŒ ż°ĵ'яті.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "т¸ż²¸ı żÑ€¸ÑÑ‚ріı ²¸²´Ñƒ" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "żµÑ€µĵіш°Ñ‚¸ сż¸Ñş żÑ€³Ñ€°²°½½Ñ" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "µ ²´°Ñ”ться żÑ€żÑƒÑÑ‚¸Ñ‚¸ %f сµşÑƒ½´ ·²ÑƒşÑƒ." #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "—²Ñƒş²¸ı żÑ€¸ÑÑ‚ріı: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "²Ñ‚Ñ€: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "šĵµ½Ñ‚°Ñ€Ñ–: %s" #: ogg123/ogg123.c:422 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ½µ ²´°Ñ”ться żÑ€Ñ‡¸Ñ‚°Ñ‚¸ ş°Ñ‚°ğ³ %s.\n" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "Ÿĵ¸ğş°: ½µ ²´°Ñ”ться ст²Ñ€¸Ñ‚¸ ħуфµÑ€ ´ğя ·²ÑƒşÑƒ.\n" #: ogg123/ogg123.c:561 #, c-format msgid "No module could be found to read from %s.\n" msgstr "µ ·½°ı´µ½Ñ– ĵ´Ñƒğі ´ğя ч¸Ñ‚°½½Ñ ф°ığу · %s.\n" #: ogg123/ogg123.c:566 #, c-format msgid "Cannot open %s.\n" msgstr "µ ²´°Ñ”ться ²Ñ–´şÑ€¸Ñ‚¸ %s.\n" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "¤Ñ€ĵ°Ñ‚ ф°ığу %s ½µ żÑ–´Ñ‚Ñ€¸ĵується.\n" #: ogg123/ogg123.c:582 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" "Ÿĵ¸ğş° ²Ñ–´şÑ€¸²°½½Ñ %s ²¸şÑ€¸ÑÑ‚²ÑƒÑŽÑ‡¸ ĵ´Ñƒğь %s. œĥğ¸², ф°ığ żÑˆş´ĥµ½¸ı.\n" #: ogg123/ogg123.c:601 #, c-format msgid "Playing: %s" msgstr "’Ñ–´Ñ‚²Ñ€µ½½Ñ: %s" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "µ ²´°Ñ”ться żÑ€żÑƒÑÑ‚¸Ñ‚¸ %f сµşÑƒ½´ ·²ÑƒşÑƒ." #: ogg123/ogg123.c:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Ÿĵ¸ğş°: żĵ¸ğş° ´µş´Ñƒ²°½½Ñ.\n" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 msgid "Done." msgstr "—°²µÑ€Ñˆµ½." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- ŸÑ€żÑƒÑş у żÑ‚ş²Ñ–; ĵĥ𸲠½Ñ–ч³ стр°Ñˆ½³\n" #: ogg123/oggvorbis_format.c:214 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:413 #, 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:363 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "ŸÑ‚Ñ–ş Ogg Vorbis: %d ş°½°ğ¸, %ld “ц" #: ogg123/speex_format.c:369 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "ŸÑ‚Ñ–ş Ogg Vorbis: %d ş°½°ğ¸, %ld “ц" #: ogg123/speex_format.c:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "’µÑ€ÑÑ–я: %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Ÿĵ¸ğş° ч¸Ñ‚°½½Ñ ·°³ğ²şÑ–²\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sŸÑ€µ-ч¸Ñ‚°½½Ñ ´ %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sŸ°Ñƒ·°" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sšÑ–½µÑ†ÑŒ żÑ‚şÑƒ" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Ÿĵ¸ğş° р·ż´Ñ–ğу ż°ĵ'яті żÑ€¸ ²¸ş½°½½Ñ– stats_init()\n" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "¤°ığ: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "§°Ñ: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "· %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "ĦµÑ€µ´½. żÑ‚Ñ–ş ħіт: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " ’Ñ…Ñ–´½¸ı ħуфµÑ€ %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "ĵµÑ€ ´Ñ€Ñ–ĥş¸:" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr " Ñ–²µ½ÑŒ ²Ñ–´Ñ‚²Ñ€µ½½Ñ (´Ñ€Ñ–ĥş°):" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr " Ñ–²µ½ÑŒ ²Ñ–´Ñ‚²Ñ€µ½½Ñ (°ğьħĵ):" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr " Ñ–²µ½ÑŒ ²Ñ–´Ñ‚²Ñ€µ½½Ñ (´Ñ€Ñ–ĥş°):" #: ogg123/vorbis_comments.c:43 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr " Ñ–²µ½ÑŒ ²Ñ–´Ñ‚²Ñ€µ½½Ñ (°ğьħĵ):" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "²Ñ‚рсьşÑ– żÑ€°²°" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "šĵµ½Ñ‚°Ñ€:" #: oggdec/oggdec.c:50 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 · %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" #: oggdec/oggdec.c:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "Ÿžœ˜›š: µ ²´°Ñ”ться ²Ñ–´şÑ€¸Ñ‚¸ ²Ñ…Ñ–´½¸ı ф°ığ \"%s\": %s\n" #: oggdec/oggdec.c:217 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "Ÿžœ˜›š: µ ²´°Ñ”ться ²Ñ–´şÑ€¸Ñ‚¸ ф°ı𠲸²´Ñƒ \"%s\": %s\n" #: oggdec/oggdec.c:266 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Ÿĵ¸ğş° żÑ€¸ ²Ñ–´şÑ€¸²°½½Ñ– ф°ığу яş ф°ığу vorbis: %s\n" #: oggdec/oggdec.c:292 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "š´Ñƒ²°½½Ñ ф°ığу ·°²µÑ€Ñˆµ½ \"%s\"\n" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Ÿĵ¸ğş° ²¸´°ğµ½½Ñ ст°Ñ€³ ф°ığу %s\n" #: oggdec/oggdec.c:371 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "Ÿžœ˜›š: µ ²ş°·°½Ñ– ²Ñ…Ñ–´½Ñ– ф°ığ¸. ”ğя тр¸ĵ°½½Ñ ´²Ñ–´ş¸ ²¸şÑ€¸ÑÑ‚²Ñƒıтµ -h.\n" #: oggdec/oggdec.c:376 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "Ÿžœ˜›š: ”µşÑ–ğьş° ²Ñ…Ñ–´½¸Ñ… ф°ığі² żÑ€¸ ²ş°·°½Ñ–ı ½°·²Ñ– ²Ñ…Ñ–´½³ ф°ığу: " "рµşĵµ½´ÑƒÑ”ться ²¸şÑ€¸ÑÑ‚²Ñƒ²°Ñ‚¸ -n\n" #: oggenc/audio.c:46 #, fuzzy msgid "WAV file reader" msgstr "§¸Ñ‚°½½Ñ ф°ığі² WAV" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "§¸Ñ‚°½½Ñ ф°ığі² AIFF/AIFC" #: oggenc/audio.c:49 msgid "FLAC file reader" msgstr "§¸Ñ‚°½½Ñ ф°ığі² FLAC" #: oggenc/audio.c:50 msgid "Ogg FLAC file reader" msgstr "§¸Ñ‚°½½Ñ ф°ığі² Ogg FLAC" #: oggenc/audio.c:128 oggenc/audio.c:447 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ½µÑ‡Ñ–şÑƒ²°½¸ı şÑ–½µÑ†ÑŒ ф°ığу żÑ€¸ ч¸Ñ‚°½½Ñ– ·°³ğ²şÑƒ WAV\n" #: oggenc/audio.c:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "ŸÑ€żÑƒÑş°Ñ”ться фр°³ĵµ½Ñ‚ т¸żÑƒ \"%s\", ´²ĥ¸½° %d\n" #: oggenc/audio.c:165 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ½µÑ‡Ñ–şÑƒ²°½¸ı şÑ–½µÑ†ÑŒ ф°ığ° у фр°³ĵµ½Ñ‚Ñ– AIFF\n" #: oggenc/audio.c:262 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: у ф°ığі AIFF ½µ ·½°ı´µ½ ·°³°ğь½¸ı фр°³ĵµ½Ñ‚\n" #: oggenc/audio.c:268 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ħрі·°½¸ı ·°³°ğь½¸ı фр°³ĵµ½Ñ‚ у ·°³ğ²şÑƒ AIFF\n" #: oggenc/audio.c:276 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ½µÑ‡Ñ–şÑƒ²°½¸ı şÑ–½µÑ†ÑŒ ф°ığу żÑ€¸ ч¸Ñ‚°½½Ñ– ·°³ğ²şÑƒ AIFF\n" #: oggenc/audio.c:291 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ·°³ğ²ş AIFF-C ħрі·°½¸ı.\n" #: oggenc/audio.c:305 #, 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:312 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: у ф°ığі AIFF ½µ ·½°ı´µ½ SSND-фр°³ĵµ½Ñ‚\n" #: oggenc/audio.c:318 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: у ·°³ğ²şÑƒ AIFF żÑˆş´ĥµ½¸ı SSND-фр°³ĵµ½Ñ‚\n" #: oggenc/audio.c:324 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ½µÑ‡Ñ–şÑƒ²°½¸ı şÑ–½µÑ†ÑŒ ф°ığу żÑ€¸ ч¸Ñ‚°½½Ñ– ·°³ğ²şÑƒ AIFF\n" #: oggenc/audio.c:370 #, 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:427 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: фрĵ°Ñ‚ фр°³ĵµ½Ñ‚у у ·°³ğ²şÑƒ WAV ½µ р·żÑ–·½°½¸ı\n" #: oggenc/audio.c:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" "¤Ñ€ĵ°Ñ‚ Big endian 24-ħіт PCM ½°Ñ€°·Ñ– ½µ żÑ–´Ñ‚Ñ€¸ĵується, ·°²µÑ€Ñˆµ½½Ñ рħт¸.\n" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "’½ÑƒÑ‚ріш½Ñ żĵ¸ğş°: сżÑ€ħ° żÑ€Ñ‡¸Ñ‚°Ñ‚¸ ½µżÑ–´Ñ‚Ñ€¸ĵу²°½Ñƒ р·Ñ€Ñ´½Ñ–сть %d\n" #: oggenc/audio.c:772 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "Ÿžœ˜›š: ’Ñ–´ рµÑµĵżğµÑ€° тр¸ĵ°½µ ½Ñƒğь²µ ч¸Ñğ сµĵżğі². Ÿ²Ñ–´ĵтµ żÑ€ " "żĵ¸ğşÑƒ °²Ñ‚ру.\n" #: oggenc/audio.c:790 #, 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:68 #, 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:117 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "Ÿžœ˜›š: µ ²ş°·°½Ñ– ²Ñ…Ñ–´½Ñ– ф°ığ¸. ”ğя тр¸ĵ°½½Ñ ´²Ñ–´ş¸ ²¸şÑ€¸ÑÑ‚²Ñƒıтµ -h.\n" #: oggenc/oggenc.c:132 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "" "Ÿžœ˜›š: ’ş°·°½ ´µşÑ–ğьş° ф°ığі², °ğµ ²¸şÑ€¸ÑÑ‚²ÑƒÑ”ться ст°½´°Ñ€Ñ‚½¸ı ²²Ñ–´\n" #: oggenc/oggenc.c:139 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "Ÿžœ˜›š: ”µşÑ–ğьş° ²Ñ…Ñ–´½¸Ñ… ф°ığі² żÑ€¸ ²ş°·°½Ñ–ı ½°·²Ñ– ²Ñ…Ñ–´½³ ф°ığу: " "рµşĵµ½´ÑƒÑ”ться ²¸şÑ€¸ÑÑ‚²Ñƒ²°Ñ‚¸ -n\n" #: oggenc/oggenc.c:203 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "ŸžŸ• •”–•Ż: ²ş°·°½° ½µ´ÑÑ‚°Ñ‚½Ñ şÑ–ğьşÑ–сть ·°³ğ²şÑ–², ²ÑÑ‚°½²ğµ½Ñ– ст°½½Ñ– " "·½°Ñ‡µ½½Ñ.\n" #: oggenc/oggenc.c:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "Ÿžœ˜›š: µ ²´°Ñ”ться ²Ñ–´şÑ€¸Ñ‚¸ ²Ñ…Ñ–´½¸ı ф°ığ \"%s\": %s\n" #: oggenc/oggenc.c:243 #, fuzzy msgid "RAW file reader" msgstr "§¸Ñ‚°½½Ñ ф°ığі² WAV" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "’Ñ–´şÑ€¸²°Ñ”ться %s ĵ´Ñƒğµĵ: %s\n" #: oggenc/oggenc.c:269 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "Ÿžœ˜›š: ’Ñ…Ñ–´½¸ı ф°ığ \"%s\" ĵ°Ñ” ½µżÑ–´Ñ‚Ñ€¸ĵу²°½¸ı фрĵ°Ñ‚\n" #: oggenc/oggenc.c:328 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "" "ŸžŸ• •”–•Ż: µ ²ş°·°½° ½°·²° ф°ığу, ²¸şÑ€¸ÑÑ‚²ÑƒÑ”ться \"default.ogg\"\n" #: oggenc/oggenc.c:335 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "Ÿžœ˜›š: µ ²´°Ñ”ться ст²Ñ€¸Ñ‚¸ ½µħхі´½Ñ– ş°Ñ‚°ğ³¸ ´ğя ф°ığу ²¸²´Ñƒ \"%s\"\n" #: oggenc/oggenc.c:342 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "" "Ÿžœ˜›š: °·²° ²Ñ…Ñ–´½³ ф°ığу ½µ ĵĥµ ·ħі³°Ñ‚¸ÑÑ · ½°·²ÑŽ ф°ığу ²¸²´Ñƒ \"%s" "\"\n" #: oggenc/oggenc.c:353 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "Ÿžœ˜›š: µ ²´°Ñ”ться ²Ñ–´şÑ€¸Ñ‚¸ ф°ı𠲸²´Ñƒ \"%s\": %s\n" #: oggenc/oggenc.c:399 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "—ĵі½° ч°ÑÑ‚Ñ‚¸ ²Ñ…Ñ–´½¸Ñ… ф°ığі² · %d “ц ´ %d “ц\n" #: oggenc/oggenc.c:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "—ĵішу²°½½Ñ стµÑ€µ у ĵ½\n" #: oggenc/oggenc.c:409 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "Ÿžœ˜›š: —ĵішу²°½½Ñ с¸³½°ğі² ĵĥ𸲵 ğ¸Ñˆµ ·Ñ– стµÑ€µ у ĵ½\n" #: oggenc/oggenc.c:417 #, c-format msgid "Scaling input to %f\n" msgstr "—ĵі½ÑŽÑ”ться ĵ°ÑÑˆÑ‚°ħ ²²´Ñƒ ½° %f\n" #: oggenc/oggenc.c:463 #, fuzzy, c-format msgid "oggenc from %s %s" msgstr "ogg123 · %s %s\n" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" "ŸžŸ• •”–•Ż: żÑ€Ñ–³½Ñ€²°½¸ı ½µşÑ€µşÑ‚½¸ı şµÑ€ÑƒÑŽÑ‡¸ı с¸ĵ²ğ '%c' у фрĵ°Ñ‚Ñ– " "½°·²¸\n" #: oggenc/oggenc.c:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "£²Ñ–ĵş½µ½½Ñ ĵµÑ…°½Ñ–·ĵу şµÑ€Ñƒ²°½½Ñ щіğь½Ñ–стю ħіті²\n" #: oggenc/oggenc.c:716 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "ŸžŸ• •”–•Ż: ²ş°·°½ żÑ€Ñ´ş с¸Ñ€¸Ñ… ħ°ıт ´ğя ½µ с¸Ñ€¸Ñ… ´°½¸Ñ…. ’²°ĥ°Ñ”ться, щ " "´°½Ñ– с¸Ñ€Ñ–.\n" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" "ŸžŸ• •”–•Ż: ½µ ²´°Ñ”ться żÑ€Ñ‡¸Ñ‚°Ñ‚¸ °Ñ€³Ñƒĵµ½Ñ‚ żÑ€Ñ´şÑƒ сğі´Ñƒ²°½½Ñ ħ°ıт \"%s\"\n" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "ŸžŸ• •”–•Ż: ½µ ²´°Ñ”ться żÑ€Ñ‡¸Ñ‚°Ñ‚¸ ·ĵі½Ñƒ ч°ÑÑ‚Ñ‚¸ \"%s\"\n" #: oggenc/oggenc.c:732 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ²ş°·°½° ·ĵі½° ч°ÑÑ‚Ñ‚¸ ´¸ÑşÑ€µÑ‚¸·°Ñ†Ñ–Ñ— ½° %d “ц. ’¸ ĵ°ğ¸ ½° у²°·Ñ– " "%d “ц?\n" #: oggenc/oggenc.c:742 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ½µ ²´°Ñ”ться р·Ñ–ħр°Ñ‚¸ ĵ°ÑÑˆÑ‚°ħ \"%s\"\n" #: oggenc/oggenc.c:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "µ ·½°ı´µ½ ·½°Ñ‡µ½½Ñ ´´°Ñ‚ş²³ ż°Ñ€°ĵµÑ‚Ñ€° ş´Ñƒ²°ğь½¸ş°\n" #: oggenc/oggenc.c:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "’½ÑƒÑ‚ріш½Ñ żĵ¸ğş° °½°ğі·Ñƒ şĵ°½´½³ ря´ş°\n" #: oggenc/oggenc.c:787 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ²¸şÑ€¸ÑÑ‚°½ ½µżÑ€°²¸ğь½¸ı şĵµ½Ñ‚°Ñ€ (\"%s\"), і³½Ñ€ÑƒÑ”ться.\n" #: oggenc/oggenc.c:824 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ½ĵі½°ğь½Ñƒ щіğь½Ñ–сть ħіті² \"%s\" ½µ р·żÑ–·½°½\n" #: oggenc/oggenc.c:832 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ĵі½Ñ–ĵ°ğь½Ñƒ щіğь½Ñ–сть ħіті² \"%s\" ½µ р·żÑ–·½°½\n" #: oggenc/oggenc.c:845 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ĵ°şÑ¸ĵ°ğь½Ñƒ щіğь½Ñ–сть ħіті² \"%s\" ½µ р·żÑ–·½°½\n" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Ÿ°Ñ€°ĵµÑ‚Ñ€ яşÑÑ‚Ñ– \"%s\" ½µ р·żÑ–·½°½, і³½Ñ€ÑƒÑ”ться\n" #: oggenc/oggenc.c:865 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "ŸžŸ• •”–•Ż: ²ÑÑ‚°½²ğµ½ ·°½°´Ñ‚ ²¸ÑşÑƒ яşÑ–сть, ħĵµĥµ½ ´ ĵ°şÑ¸ĵ°ğь½Ñ—\n" #: oggenc/oggenc.c:871 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" "ŸžŸ• •”–•Ż: ’ş°·°½ ´µşÑ–ğьş° фрĵ°Ñ‚Ñ–² ½°·², ²¸şÑ€¸ÑÑ‚²ÑƒÑ”ться ст°½½Ñ–ı\n" #: oggenc/oggenc.c:880 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "ŸžŸ• •”–•Ż: ’ş°·°½ ´µşÑ–ğьş° фіğьтрі² фрĵ°Ñ‚Ñ–² ½°·², ²¸şÑ€¸ÑÑ‚²ÑƒÑ”ться " "ст°½½Ñ–ı\n" #: oggenc/oggenc.c:889 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "ŸžŸ• •”–•Ż: ’ş°·°½ ´µşÑ–ğьş° ·°ĵі½ фіğьтрі² фрĵ°Ñ‚Ñ–² ½°·², " "²¸şÑ€¸ÑÑ‚²ÑƒÑ”ться ст°½½Ñ–ı\n" #: oggenc/oggenc.c:897 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" "ŸžŸ• •”–•Ż: ’ş°·°½ ´µşÑ–ğьş° ф°ığі² ²¸²´Ñƒ, рµşĵµ½´ÑƒÑ”ться ²¸şÑ€¸ÑÑ‚²Ñƒ²°Ñ‚¸ " "-n\n" #: oggenc/oggenc.c:909 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 · %s %s\n" #: oggenc/oggenc.c:916 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "ŸžŸ• •”–•Ż: ²ş°·°½ ·½°Ñ‡µ½½Ñ с¸Ñ€¸Ñ… ħіт/сµĵżğ ´ğя ½µ с¸Ñ€¸Ñ… ´°½¸Ñ…. " "’²°ĥ°Ñ”ться, щ ´°½Ñ– ½° ²²´Ñ– с¸Ñ€Ñ–.\n" #: oggenc/oggenc.c:921 oggenc/oggenc.c:925 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "ŸžŸ• •”–•Ż: ²ş°·°½ ½µşÑ€µşÑ‚½µ ·½°Ñ‡µ½½Ñ ħіт/сµĵżğ, ²²°ĥ°Ñ”ться 16.\n" #: oggenc/oggenc.c:932 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "ŸžŸ• •”–•Ż: ²ş°·°½° şÑ–ğьşÑ–сть с¸Ñ€¸Ñ… ş°½°ğі² ´ğя ½µ с¸Ñ€¸Ñ… ´°½¸Ñ…. " "’²°ĥ°Ñ”ться, щ ´°½Ñ– ½° ²²´Ñ– с¸Ñ€Ñ–.\n" #: oggenc/oggenc.c:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "ŸžŸ• •”–•Ż: ²ş°·°½° ½µżÑ€°²¸ğь½° şÑ–ğьşÑ–сть ş°½°ğі², ²²°ĥ°Ñ”ться 2.\n" #: oggenc/oggenc.c:948 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "ŸžŸ• •”–•Ż: ²ş°·°½° с¸Ñ€° ч°ÑÑ‚Ñ‚° ²¸ħірş¸ ´°½¸Ñ… ´ğя ½µ с¸Ñ€¸Ñ… ´°½¸Ñ…. " "’²°ĥ°Ñ”ться, щ ´°½Ñ– ½° ²²´Ñ– с¸Ñ€Ñ–.\n" #: oggenc/oggenc.c:953 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" "ŸžŸ• •”–•Ż: ²ş°·°½° ½µżÑ€°²¸ğь½° ч°ÑÑ‚Ñ‚° ´¸ÑşÑ€µÑ‚¸·°Ñ†Ñ–Ñ—, ²²°ĥ°Ñ”ться 44100.\n" #: oggenc/oggenc.c:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "ŸžŸ• •”–•Ż: ²ş°·°½ ½µ²Ñ–´ĵ¸ı ż°Ñ€°ĵµÑ‚Ñ€, і³½Ñ€ÑƒÑ”ться->\n" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "µ ²´°Ñ”ться żµÑ€µÑ‚²Ñ€¸Ñ‚¸ şĵµ½Ñ‚°Ñ€ у UTF-8, ½µĵĥ𸲠´´°Ñ‚¸\n" #: oggenc/oggenc.c:1014 vorbiscomment/vcomment.c:369 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "µ ²´°Ñ”ться żµÑ€µÑ‚²Ñ€¸Ñ‚¸ şĵµ½Ñ‚°Ñ€ у UTF-8, ½µĵĥ𸲠´´°Ñ‚¸\n" #: oggenc/oggenc.c:1033 #, 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:212 #, fuzzy, c-format msgid "" "WARNING: Comment %d in stream %d has invalid format, does not contain '=': " "\"%s\"\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: şĵµ½Ñ‚°Ñ€ %d żÑ‚şÑƒ %d ĵ°Ñ” ½µşÑ€µşÑ‚½¸ı фрĵ°Ñ‚, ²Ñ–½ ½µ ĵіст¸Ñ‚ÑŒ " "'=': \"%s\"\n" #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format msgid "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ½µşÑ€µşÑ‚½° ½°·²° şĵµ½Ñ‚°Ñ€ÑŽ у şĵµ½Ñ‚°Ñ€Ñ– %d (żÑ‚Ñ–ş %d): \"%s\"\n" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " "wrong\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ½µşÑ€µşÑ‚½° UTF-8 żÑğі´²½Ñ–сть у şĵµ½Ñ‚°Ñ€Ñ– %d (żÑ‚Ñ–ş %d): " "½µżÑ€°²¸ğь½¸ı ĵ°Ñ€şµÑ€ ´²ĥ¸½¸\n" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ½µżÑ€°²¸ğь½° UTF-8 żÑğі´²½Ñ–сть у şĵµ½Ñ‚°Ñ€Ñ– %d (żÑ‚Ñ–ş %d): " "½°´Ñ‚ ĵ°ğ ħ°ıті²\n" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid sequence " "\"%s\": %s\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ½µżÑ€°²¸ğь½° UTF-8 żÑğі´²½Ñ–сть у şĵµ½Ñ‚°Ñ€Ñ– %d (żÑ‚Ñ–ş %d): " "½µżÑ€°²¸ğь½° żÑğі´²½Ñ–сть\n" #: ogginfo/ogginfo2.c:356 #, fuzzy msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: żĵ¸ğş° у utf8 ´µş´µÑ€Ñ–. ’·°³°ğі, цµ ½µĵĥğ¸²\n" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format msgid "" "WARNING: Could not decode Theora header packet - invalid Theora stream (%d)\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ½µ ²´°Ñ”ться р·ş´Ñƒ²°Ñ‚¸ ż°şµÑ‚ ·°³ğ²şÑ–² theora - ½µżÑ€°²¸ğь½¸ı " "żÑ‚Ñ–ş theora (%d)\n" #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "žħрħğµ½Ñ– ·°³ğ²ş¸ theora ´ğя żÑ‚şÑƒ %d, ´°ğі ı´µ і½Ñ„Ñ€ĵ°Ñ†Ñ–я...\n" #: ogginfo/ogginfo2.c:403 #, c-format msgid "Version: %d.%d.%d\n" msgstr "’µÑ€ÑÑ–я: %d.%d.%d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "ŸÑÑ‚°Ñ‡°ğь½¸ş: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "¨¸Ñ€¸½°: %d\n" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "’¸ÑÑ‚°: %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "Ÿ²½µ ·ħр°ĥµ½½Ñ: %d ½° %d, ·ÑÑƒ² ş°´Ñ€Ñƒ²°½½Ñ (%d, %d)\n" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "µşÑ€µşÑ‚½¸ı ·ÑÑƒ²/р·ĵір ş°´Ñ€Ñƒ: ½µşÑ€µşÑ‚½° ш¸Ñ€¸½°\n" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "µşÑ€µşÑ‚½¸ı ·ÑÑƒ²/р·ĵір ş°´Ñ€Ñƒ: ½µşÑ€µşÑ‚½° ²¸ÑÑ‚°\n" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "µşÑ€µşÑ‚½¸ı ½Ñƒğь²° ч°ÑÑ‚Ñ‚° ş°´Ñ€Ñ–²\n" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "§°ÑÑ‚Ñ‚° ş°´Ñ€Ñ–² %d/%d (%.02f ş°´Ñ€/с)\n" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "µ ²¸·½°Ñ‡µ½ сżÑ–²²Ñ–´½Ñˆµ½½Ñ стрі½\n" #: ogginfo/ogginfo2.c:427 #, fuzzy, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "ĦżÑ–²²Ñ–´½Ñˆµ½½Ñ стрі½ тчş¸ %d:%d (1:%f)\n" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "ĦżÑ–²²Ñ–´½Ñˆµ½½Ñ стрі½ ş°´Ñ€Ñƒ 4:3\n" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "ĦżÑ–²²Ñ–´½Ñˆµ½½Ñ стрі½ ş°´Ñ€Ñƒ 16:9\n" #: ogginfo/ogginfo2.c:433 #, fuzzy, c-format msgid "Frame aspect %f:1\n" msgstr "ĦżÑ–²²Ñ–´½Ñˆµ½½Ñ стрі½ ş°´Ñ€Ñƒ 4:3\n" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "ŸÑ€ÑÑ‚Ñ–Ñ€ şğьрі²: Rec. ITU-R BT.470-6 System M (NTSC)\n" #: ogginfo/ogginfo2.c:439 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" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "ŸÑ€ÑÑ‚Ñ–Ñ€ şğьрі² ½µ ²¸·½°Ñ‡µ½¸ı\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "¤Ñ€ĵ°Ñ‚ тчş 4:2:0\n" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "¤Ñ€ĵ°Ñ‚ тчş 4:2:2\n" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "¤Ñ€ĵ°Ñ‚ тчş 4:4:4\n" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "µşÑ€µşÑ‚½¸ı фрĵ°Ñ‚ тчş\n" #: ogginfo/ogginfo2.c:452 #, c-format msgid "Target bitrate: %d kbps\n" msgstr "Ĥіğь²° щіğь½Ñ–сть ħіті²: %d şħіт/с\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "ĵі½°ğь½° яşÑ–сть (0-63): %d\n" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "”°ğі сğі´ÑƒÑ” сµşÑ†Ñ–я şĵµ½Ñ‚°Ñ€Ñ–² şÑ€¸ÑÑ‚у²°Ñ‡°...\n" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ·½°Ñ‡µ½½Ñ granulepos żÑ‚şÑƒ %d ·ĵµ½Ñˆ¸ğсь · %lld ´ %lld" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format msgid "" "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream (%" "d)\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ½µ ²´°Ñ”ться р·ş´Ñƒ²°Ñ‚¸ ż°şµÑ‚ ·°³ğ²şÑ–² vorbis - ½µżÑ€°²¸ğь½¸ı " "żÑ‚Ñ–ş vorbis (%d)\n" #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "žħрħğµ½Ñ– ·°³ğ²ş¸ vorbis ´ğя żÑ‚şÑƒ %d, ´°ğі ı´µ і½Ñ„Ñ€ĵ°Ñ†Ñ–я...\n" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "’µÑ€ÑÑ–я: %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "ŸÑÑ‚°Ñ‡°ğь½¸ş: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "š°½°ğ¸: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "”¸ÑşÑ€µÑ‚¸·°Ñ†Ñ–я: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "ĵі½°ğь½° щіğь½Ñ–сть ħіті²: %f şħіт/с\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "ĵі½°ğь½° щіğь½Ñ–сть ħіті² ½µ ²ÑÑ‚°½²ğµ½°\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "œ°şÑ¸ĵ°ğь½° щіğь½Ñ–сть ħіті²: %f şħіт/с\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "œ°şÑ¸ĵ°ğь½° щіğь½Ñ–сть ħіті² ½µ ²ÑÑ‚°½²ğµ½°\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "œÑ–½Ñ–ĵ°ğь½° щіğь½Ñ–сть ħіті²: %f şħіт/с\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "œÑ–½Ñ–ĵ°ğь½° щіğь½Ñ–сть ħіті² ½µ ²ÑÑ‚°½²ğµ½°\n" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format msgid "" "WARNING: Could not decode Kate header packet %d - invalid Kate stream (%d)\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ½µ ²´°Ñ”ться р·ş´Ñƒ²°Ñ‚¸ ż°şµÑ‚ ·°³ğ²şÑ–² theora - ½µżÑ€°²¸ğь½¸ı " "żÑ‚Ñ–ş theora (%d)\n" #: ogginfo/ogginfo2.c:703 #, fuzzy, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ½µ ²´°Ñ”ться р·ş´Ñƒ²°Ñ‚¸ ż°şµÑ‚ ·°³ğ²şÑ–² theora - ½µżÑ€°²¸ğь½¸ı " "żÑ‚Ñ–ş theora (%d)\n" #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, fuzzy, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "žħрħğµ½Ñ– ·°³ğ²ş¸ theora ´ğя żÑ‚şÑƒ %d, ´°ğі ı´µ і½Ñ„Ñ€ĵ°Ñ†Ñ–я...\n" #: ogginfo/ogginfo2.c:741 #, fuzzy, c-format msgid "Version: %d.%d\n" msgstr "’µÑ€ÑÑ–я: %d.%d.%d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, fuzzy, c-format msgid "Category: %s\n" msgstr "ŸÑÑ‚°Ñ‡°ğь½¸ş: %s\n" #: ogginfo/ogginfo2.c:756 #, fuzzy msgid "No category set\n" msgstr "ĵі½°ğь½° щіğь½Ñ–сть ħіті² ½µ ²ÑÑ‚°½²ğµ½°\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 #, fuzzy msgid "Invalid zero granulepos rate\n" msgstr "µşÑ€µşÑ‚½¸ı ½Ñƒğь²° ч°ÑÑ‚Ñ‚° ş°´Ñ€Ñ–²\n" #: ogginfo/ogginfo2.c:797 #, fuzzy, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "§°ÑÑ‚Ñ‚° ş°´Ñ€Ñ–² %d/%d (%.02f ş°´Ñ€/с)\n" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ´ğя żÑ‚şÑƒ %d ½µ ²ÑÑ‚°½²ğµ½ ĵ°Ñ€şµÑ€ ı³ şÑ–½Ñ†Ñ\n" #: ogginfo/ogginfo2.c:1047 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ½µżÑ€°²¸ğь½° стрі½ş° ·°³ğ²şÑƒ, ½µ ·½°ı´µ½ ż°şµÑ‚\n" #: ogginfo/ogginfo2.c:1075 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ½µżÑ€°²¸ğь½° стрі½ş° ·°³ğ²şÑƒ у żÑ‚ці %d, ĵіст¸Ñ‚ÑŒ ħ°³°Ñ‚ " "ż°şµÑ‚Ñ–²\n" #: ogginfo/ogginfo2.c:1089 #, 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:1107 #, fuzzy msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "" "ŸżµÑ€µ´ĥµ½½Ñ: ´Ñ–Ñ€ş° у ´°½¸Ñ… ·Ñ– ·ÑÑƒ²ĵ żÑ€¸ħ𸷽 %lld ħ°ıті². ŸÑˆş´ĥµ½¸ı " "ogg.\n" #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Ÿĵ¸ğş° żÑ€¸ ²Ñ–´şÑ€¸²°½½Ñ– ²Ñ…Ñ–´½³ ф°ığу \"%s\": %s\n" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "žħрħş° ф°ığу \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:1148 msgid "Could not find a processor for stream, bailing\n" msgstr "µ ²´°Ñ”ться ·½°ıт¸ ħрħ½¸ş żÑ‚şÑƒ. —°²´°½½Ñ ż²µÑ€½ÑƒÑ‚\n" #: ogginfo/ogginfo2.c:1156 msgid "Page found for stream after EOS flag" msgstr "Ħтрі½ş° ½µ іс½ÑƒÑ” żÑ–сğя ·½°ş¸ EOS" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" "ŸÑ€ÑƒÑˆµ½ ħĵµĥµ½½Ñ ĵіşÑˆÑƒ²°½½Ñ Ogg, ½²¸ı żÑ‚Ñ–ş żµÑ€µ´ EOS усіх żżµÑ€µ´½Ñ–Ñ… " "şÑ‚şÑ–²" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "µ²Ñ–´ĵ° żĵ¸ğş°." #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "²¸ı ğ³Ñ–ч½¸ı żÑ‚Ñ–ş (#%d, сµÑ€Ñ–ı½¸ı ½ĵµÑ€: %08x): т¸ż %s\n" #: ogginfo/ogginfo2.c:1181 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ´ğя żÑ‚şÑƒ %d ½µ ²ÑÑ‚°½²ğµ½° ·½°ş° ı³ żÑ‡°Ñ‚şÑƒ\n" #: ogginfo/ogginfo2.c:1185 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "ŸżµÑ€µ´ĥµ½½Ñ: у сµÑ€µ´¸½Ñ– żÑ‚şÑƒ %d ·½°ı´µ½ ·½°şÑƒ żÑ‡°Ñ‚şÑƒ żÑ‚şÑƒ\n" #: ogginfo/ogginfo2.c:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "›³Ñ–ч½¸ı żÑ‚Ñ–ş %d ·°²µÑ€Ñˆ¸²ÑÑ\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 · %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "µ ²´°Ñ”ться ħрħ¸Ñ‚¸ тчşÑƒ ²Ñ–´Ñ€Ñ–·°½½Ñ \"%s\"\n" #: vcut/vcut.c:164 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "µ ²´°Ñ”ться ħрħ¸Ñ‚¸ тчşÑƒ ²Ñ–´Ñ€Ñ–·°½½Ñ \"%s\"\n" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "µ ²´°Ñ”ться ²Ñ–´şÑ€¸Ñ‚¸ %s ´ğя ·°ż¸ÑÑƒ²°½½Ñ\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "µ ²´°Ñ”ться ²Ñ–´şÑ€¸Ñ‚¸ %s ´ğя ч¸Ñ‚°½½Ñ\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "µ ²´°Ñ”ться ħрħ¸Ñ‚¸ тчşÑƒ ²Ñ–´Ñ€Ñ–·°½½Ñ \"%s\"\n" #: vcut/vcut.c:301 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "žħрħş°: ’¸Ñ€Ñ–·°½½Ñ у ż·¸Ñ†Ñ–Ñ— %lld сµşÑƒ½´\n" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "žħрħş°: ’¸Ñ€Ñ–·°½½Ñ у ż·¸Ñ†Ñ–Ñ— %lld сµşÑƒ½´\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "žħрħş° ½µ ²´°ğ°ÑÑŒ\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "ŸżµÑ€µ´ĥµ½½Ñ: ½µÑ‡Ñ–şÑƒ²°½¸ı şÑ–½µÑ†ÑŒ ф°ığу żÑ€¸ ч¸Ñ‚°½½Ñ– ·°³ğ²şÑƒ WAV\n" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "šğюч ½µ ·½°ı´µ½" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Ÿĵ¸ğş° żÑ€¸ ·°ż¸ÑÑƒ²°½½Ñ– şĵµ½Ñ‚°Ñ€Ñ–² у ф°ı𠲸²´Ñƒ: %s\n" #: vcut/vcut.c:519 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Ÿĵ¸ğş° żÑ€¸ ч¸Ñ‚°½½Ñ– żµÑ€ÑˆÑ— стрі½ş¸ ħіт²³ żÑ‚şÑƒ Ogg." #: vcut/vcut.c:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "’¸żÑ€°²½° żĵ¸ğş° żÑ‚şÑƒ ħіті²\n" #: vcut/vcut.c:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "’тр¸½½¸ı ·°³ğ²ş żÑˆş´ĥµ½¸ı\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Ÿĵ¸ğş° żÑ‚şÑƒ ħіті², żÑ€´²ĥµ½½Ñ рħт¸\n" #: vcut/vcut.c:575 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Ÿĵ¸ğş° у с½²½ĵу ·°³ğ²şÑƒ: ½µ vorbis?\n" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "’Ñ…Ñ–´½Ñ– ´°½Ñ– ½µ у фрĵ°Ñ‚Ñ– ogg.\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Ÿĵ¸ğş° żÑ‚şÑƒ ħіті², żÑ€´²ĥµ½½Ñ рħт¸\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "’¸Ñ²ğµ½ şÑ–½µÑ†ÑŒ żÑ‚şÑƒ żµÑ€µ´ тчşÑŽ ²Ñ–´Ñ€Ñ–·°½½Ñ.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "Ÿĵ¸ğş° żÑ€¸ ч¸Ñ‚°½½Ñ– żµÑ€ÑˆÑ— стрі½ş¸ ħіт²³ żÑ‚şÑƒ Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "Ÿĵ¸ğş° żÑ€¸ ч¸Ñ‚°½½Ñ ·°³ğ²ş° ż°şµÑ‚у." #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "’Ñ…Ñ–´½Ñ– ´°½Ñ– ħрі·°½Ñ– ч¸ żÑ€ĥ½Ñ–." #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "’Ñ…Ñ–´½Ñ– ´°½Ñ– ½µ є ħіт²¸ĵ żÑ‚şĵ Ogg." #: vorbiscomment/vcedit.c:566 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "‘Ñ–Ñ‚²¸ı żÑ‚Ñ–ş Ogg ½µ ĵіст¸Ñ‚ÑŒ ´°½Ñ– vorbis." #: vorbiscomment/vcedit.c:579 #, fuzzy msgid "EOF before recognised stream." msgstr "’¸Ñ²ğµ½ şÑ–½µÑ†ÑŒ ф°ığу żµÑ€µ´ ´ ·°şÑ–½Ñ‡µ½½Ñ ·°³ğ²şÑ–²." #: vorbiscomment/vcedit.c:595 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "‘Ñ–Ñ‚²¸ı żÑ‚Ñ–ş Ogg ½µ ĵіст¸Ñ‚ÑŒ ´°½Ñ– vorbis." #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "ŸÑˆş´ĥµ½¸ı ²Ñ‚Ñ€¸½½¸ı ·°³ğ²ş." #: vorbiscomment/vcedit.c:660 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "’¸Ñ²ğµ½ şÑ–½µÑ†ÑŒ ф°ığу żµÑ€µ´ ´ ·°şÑ–½Ñ‡µ½½Ñ ·°³ğ²şÑ–²." #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "ŸÑˆş´ĥµ½Ñ– °ħ ²Ñ–´ÑÑƒÑ‚½Ñ– ´°½Ñ–, żÑ€´²ĥµ½½Ñ рħт¸..." #: vorbiscomment/vcedit.c:875 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Ÿĵ¸ğş° żÑ€¸ ·°ż¸ÑÑƒ²°½Ñ– żÑ‚şÑƒ ²¸²´Ñƒ. ŸÑ‚Ñ–ş ²¸²´Ñƒ ĵĥµ ħут¸ żÑˆş´ĥµ½¸ı ч¸ " "ħрі·°½¸ı." #: vorbiscomment/vcomment.c:195 vorbiscomment/vcomment.c:221 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Ÿĵ¸ğş° żÑ€¸ ²Ñ–´şÑ€¸²°½½Ñ– ф°ığу яş ф°ığу vorbis: %s\n" #: vorbiscomment/vcomment.c:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "µżÑ€°²¸ğь½¸ı şĵµ½Ñ‚°Ñ€: \"%s\"\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "½µżÑ€°²¸ğь½¸ı şĵµ½Ñ‚°Ñ€: \"%s\"\n" #: vorbiscomment/vcomment.c:263 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Ÿĵ¸ğş° żÑ€¸ ·°ż¸ÑÑƒ²°½½Ñ– şĵµ½Ñ‚°Ñ€Ñ–² у ф°ı𠲸²´Ñƒ: %s\n" #: vorbiscomment/vcomment.c:280 #, c-format msgid "no action specified\n" msgstr "½µ ²ş°·°½° ´Ñ–я\n" #: vorbiscomment/vcomment.c:384 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "µ ²´°Ñ”ться żµÑ€µÑ‚²Ñ€¸Ñ‚¸ şĵµ½Ñ‚°Ñ€ у UTF-8, ½µ ĵĥ½° ´´°Ñ‚¸\n" #: vorbiscomment/vcomment.c:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, fuzzy, c-format msgid "Editing options\n" msgstr "µżÑ€°²¸ğь½¸ı т¸ż у сż¸ÑşÑƒ ż°Ñ€°ĵµÑ‚рі²" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "’½ÑƒÑ‚ріш½Ñ żĵ¸ğş° żÑ€¸ °½°ğі·Ñ– ż°Ñ€°ĵµÑ‚рі² şĵ°½´½³ ря´ş°\n" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Ÿĵ¸ğş° żÑ€¸ ²Ñ–´şÑ€¸²°½½Ñ– ²Ñ…Ñ–´½³ ф°ığу '%s'.\n" #: vorbiscomment/vcomment.c:741 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "°·²° ²Ñ…Ñ–´½³ ф°ığу ½µ ĵĥµ сżÑ–²ż°´°Ñ‚¸ · ½°·²ÑŽ ф°ığу ²¸²´Ñƒ\n" #: vorbiscomment/vcomment.c:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Ÿĵ¸ğş° żÑ€¸ ²Ñ–´şÑ€¸²°½½Ñ– ф°ığу ²¸²´Ñƒ '%s'.\n" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Ÿĵ¸ğş° żÑ€¸ ²Ñ–´şÑ€¸²°½½Ñ– ф°ığу şĵµ½Ñ‚°Ñ€Ñ–² '%s'.\n" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Ÿĵ¸ğş° żÑ€¸ ²Ñ–´şÑ€¸²°½½Ñ– ф°ığу şĵµ½Ñ‚°Ñ€Ñ–² '%s'\n" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "Ÿĵ¸ğş° ²¸´°ğµ½½Ñ ст°Ñ€³ ф°ığу %s\n" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "Ÿĵ¸ğş° żµÑ€µıĵµ½Ñƒ²°½½Ñ %s у %s\n" #: vorbiscomment/vcomment.c:830 #, 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" #~ 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: %I64d 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" #~ 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 "" #~ "Warning: Hole in data found at approximate offset %I64d bytes. Corrupted " #~ "ogg.\n" #~ msgstr "" #~ "ŸżµÑ€µ´ĥµ½½Ñ: ´Ñ–Ñ€ş° у ´°½¸Ñ… ·Ñ– ·ÑÑƒ²ĵ żÑ€¸ħ𸷽 %I64d ħ°ıті². ŸÑˆş´ĥµ½¸ı " #~ "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 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.0/po/vi.po0000644000175000017500000030761111353056542012507 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: 2010-03-26 03:08-0400\n" "PO-Revision-Date: 2008-09-22 18:57+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \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:117 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Error: Out of memory in malloc_action().\n" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 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:90 #, 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:102 #, 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:109 #, c-format msgid "Available options:\n" msgstr "Tıy cháğn c³ sáşµn:\n" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "━━ Kh´ng c³ thiáşżt báğ‹ nhĈ° váş­y %s.\n" #: ogg123/cmdline_options.c:138 #, 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:143 msgid "=== Cannot specify output file without 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:162 #, 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:177 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:201 #, c-format msgid "ogg123 from %s %s" msgstr "ogg123 táğĞ %s %s" #: ogg123/cmdline_options.c:208 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:216 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:232 #, 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:248 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:261 #, 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:271 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:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\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 #, 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:312 #, c-format msgid "Available codecs: " msgstr "Codec c³ sáşµn: " #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "FLAC, " #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "Speex, " #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" "Ogg Vorbis.\n" "\n" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "Tıy cháğn xuáşt\n" #: ogg123/cmdline_options.c:325 #, 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:327 #, c-format msgid "Live:" msgstr "Đáğ™ng:" #: ogg123/cmdline_options.c:336 #, c-format msgid "File:" msgstr "Táş­p tin:" #: ogg123/cmdline_options.c:345 #, 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:348 #, 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:349 #, 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:355 #, c-format msgid "Playlist options\n" msgstr "Tıy cháğn danh máğc phĦt\n" #: ogg123/cmdline_options.c:356 #, 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:357 #, 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:358 #, 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:359 #, 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:360 #, 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:363 #, c-format msgid "Input options\n" msgstr "Tıy cháğn nháş­p liáğ‡u\n" #: ogg123/cmdline_options.c:364 #, 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:365 #, 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:368 #, c-format msgid "Decode options\n" msgstr "Tıy cháğn giáş£i m£\n" #: ogg123/cmdline_options.c:369 #, 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:370 #, 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:371 #, 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:372 #, 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:375 vorbiscomment/vcomment.c:549 #, c-format msgid "Miscellaneous options\n" msgstr "Tıy cháğn khĦc\n" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, 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:382 #, 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:383 #, 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:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Láğ—i: háşżt báğ™ nháğ›.\n" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "thiáşżt báğ‹ xuáşt máş·c đáğ‹nh" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "tráğ™n b i phĦt" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "láş·p láşĦi v´ háşĦn danh máğc phĦt" #: ogg123/ogg123.c:231 #, 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:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Thiáşżt báğ‹ ˘m thanh: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "TĦc giáş£: %s" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "Ghi chş : %s" #: ogg123/ogg123.c:422 #, 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:458 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:561 #, 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:566 #, c-format msgid "Cannot open %s.\n" msgstr "Kh´ng tháğƒ máğŸ %s.\n" #: ogg123/ogg123.c:572 #, 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:582 #, 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:601 #, c-format msgid "Playing: %s" msgstr "Đang phĦt: %s" #: ogg123/ogg123.c:612 #, 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:667 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Láğ—i: viáğ‡c giáş£i m£ kh´ng cháşĦy đĈ°áğ£c.\n" #: ogg123/ogg123.c:710 #, fuzzy msgid "ERROR: buffer write failed.\n" msgstr "Láğ—i: kh´ng ghi đĈ°áğ£c v o vıng đáğ‡m.\n" #: ogg123/ogg123.c:748 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 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:413 #, 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:363 #, 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:369 #, 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:375 #, fuzzy, c-format msgid "Speex version: %s" msgstr "PhiŞn báş£n %d\n" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 #, fuzzy msgid "Cannot read header" msgstr "Gáş·p láğ—i khi đáğc pháş§n đầu\n" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sTiáğn đáğ‡m đến %.1f%%" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "%sBáğ‹ táşĦm dáğĞng" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "%sKáşżt thşc luáğ“ng" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, 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:211 #, c-format msgid "File: %s" msgstr "Táş­p tin: %s" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "Tháği gian: %s" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "trŞn %s" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Táğ· láğ‡ bit trung bĴnh: %5.1f" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Vıng đáğ‡m nháş­p %5.1f%%" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 #, fuzzy msgid "Comment:" msgstr "Ghi chş : %s" #: oggdec/oggdec.c:50 #, c-format msgid "oggdec from %s %s\n" msgstr "oggdec táğĞ %s %s\n" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" " cáğ§a Táğ• cháğİc Xiph.Org (http://www.xiph.org/)\n" "\n" #: oggdec/oggdec.c:57 #, 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:58 #, c-format msgid "Supported options:\n" msgstr "Tıy cháğn đĈ°áğ£c háğ— tráğ£ :\n" #: oggdec/oggdec.c:59 #, 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:60 #, 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:61 #, 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:62 #, 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:63 #, 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:65 #, 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:67 #, 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:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, 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:217 #, 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:266 #, 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:292 #, 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:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, 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:371 #, 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:376 #, 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:46 #, fuzzy msgid "WAV file reader" msgstr "Báğ™ đáğc táş­p tin AU" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "Báğ™ đáğc táş­p tin AIFF/AIFC" #: oggenc/audio.c:49 msgid "FLAC file reader" msgstr "Báğ™ đáğc táş­p tin FLAC" #: oggenc/audio.c:50 msgid "Ogg FLAC file reader" msgstr "Báğ™ đáğc táş­p tin FLAC Ogg" #: oggenc/audio.c:128 oggenc/audio.c:447 #, 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:139 #, 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:165 #, 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:262 #, 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:268 #, 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:276 #, 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:291 #, 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:305 #, 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:312 #, 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:318 #, 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:324 #, 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:370 #, 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:427 #, 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:440 #, 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:519 #, 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:528 #, 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:588 #, 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:664 #, 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:670 #, 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:772 #, 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:790 #, 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:68 #, 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:117 #, 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:132 #, 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:139 #, 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:203 #, 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:227 #, 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:243 msgid "RAW file reader" msgstr "Báğ™ đáğc táş­p tin RAW" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "Đang máğŸ báşħng m´-đun %s: %s\n" #: oggenc/oggenc.c:269 #, 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:328 #, 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:335 #, 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:342 #, 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:353 #, 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:399 #, 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:406 #, 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:409 #, 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:417 #, c-format msgid "Scaling input to %f\n" msgstr "Đang co d£n káşżt nháş­p th nh %f\n" #: oggenc/oggenc.c:463 #, c-format msgid "oggenc from %s %s" msgstr "oggenc táğĞ %s %s" #: oggenc/oggenc.c:465 #, 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:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, 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:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Đang báş­t cĈĦ cháşż quáş£n l½ táğ· láğ‡ bit\n" #: oggenc/oggenc.c:716 #, 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:719 #, 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:726 #, 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:732 #, 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:742 #, 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:756 #, 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:776 #, 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:787 #, 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:824 #, 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:832 #, 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:845 #, 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:857 #, 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:865 #, 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:871 #, 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:880 #, 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:889 #, 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:897 #, 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:909 #, c-format msgid "oggenc from %s %s\n" msgstr "oggenc táğĞ %s %s\n" #: oggenc/oggenc.c:916 #, 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:921 oggenc/oggenc.c:925 #, 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:932 #, 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:937 #, 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:948 #, 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:953 #, 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:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, 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:997 vorbiscomment/vcomment.c:361 #, 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:1014 vorbiscomment/vcomment.c:369 #, 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:1033 #, 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:212 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:220 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:266 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:342 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:356 #, 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" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:389 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:396 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:400 #, c-format 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" #: ogginfo/ogginfo2.c:403 #, c-format msgid "Version: %d.%d.%d\n" msgstr "PhiŞn báş£n: %d.%d.%d\n" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "Nh  sáş£n xuáşt: %s\n" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "Ráğ™ng: %d\n" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "Cao : %d\n" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "To n áş£nh: %d — %d, xİn hiáğ‡u (%d, %d)\n" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "Hiáğ‡u/cáğĦ khung kh´ng háğ£p láğ‡: đáğ™ ráğ™ng kh´ng đşng\n" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "Hiáğ‡u/cáğĦ khung kh´ng háğ£p láğ‡: đáğ™ cao kh´ng đşng\n" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "Táğ· láğ‡ khung sáğ‘ kh´ng thĴ kh´ng háğ£p láğ‡\n" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "Táğ· láğ‡ khung %d/%d (%.02f khung/gi˘y)\n" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "ChĈ°a xĦc đáğ‹nh táğ· láğ‡ hĴnh tháğƒ\n" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "Táğ· láğ‡ hĴnh tháğƒ điáğƒm áş£nh %d:%d (%f:1)\n" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "HĴnh tháğƒ khung 4:3\n" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "HĴnh tháğƒ khung 16:9\n" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "HĴnh tháğƒ khung %f:1\n" #: ogginfo/ogginfo2.c:437 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" #: ogginfo/ogginfo2.c:439 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" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "ChĈ°a xĦc đáğ‹nh miáğn m u\n" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "Đáğ‹nh dáşĦng điáğƒm áş£nh 4:2:0\n" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "Đáğ‹nh dáşĦng điáğƒm áş£nh 4:2:2\n" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "Đáğ‹nh dáşĦng điáğƒm áş£nh 4:4:4\n" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "Đáğ‹nh dáşĦng điáğƒm áş£nh kh´ng háğ£p láğ‡\n" #: ogginfo/ogginfo2.c:452 #, c-format msgid "Target bitrate: %d kbps\n" msgstr "Táğ· láğ‡ bit đ­ch: %d kbps\n" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "Thiáşżt láş­p cháşt lĈ°áğ£ng danh nghÄİa (0-63): %d\n" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "Pháş§n ghi chş ngĈ°áği dıng theo đ˘y...\n" #: ogginfo/ogginfo2.c:477 #, fuzzy msgid "WARNING: Expected frame %" msgstr "Cáş£nh bĦo : mong đáğ£i khung %" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 #, fuzzy msgid "WARNING: granulepos in stream %d decreases from %" msgstr "Cáş£nh bĦo : granulepos trong luáğ“ng %d giáş£m táğĞ %" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" "Luáğ“ng Theora %d:\n" "\tTáğ•ng chiáğu d i dáğŻ liáğ‡u : %" #: ogginfo/ogginfo2.c:557 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:565 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:569 #, c-format 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" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "PhiŞn báş£n %d\n" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "Nh  sáş£n xuáşt: %s (%s)\n" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "KŞnh: %d\n" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" "Táğ· láğ‡: %ld\n" "\n" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "Táğ· láğ‡ bit kh´ng đĦng káğƒ: %f kb/g\n" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "ChĈ°a láş­p táğ· láğ‡ bit kh´ng đĦng káğƒ\n" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "Táğ· láğ‡ bit trŞn: %f kb/s\n" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "ChĈ°a láş­p táğ· láğ‡ bit trŞn\n" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "Táğ· láğ‡ bit dĈ°áğ›i: %f kb/s\n" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "ChĈ°a ghi rµ táğ· láğ‡ bit dĈ°áğ›i\n" #: ogginfo/ogginfo2.c:630 #, fuzzy msgid "Negative or zero granulepos (%" msgstr "Táğ· láğ‡ granulepos sáğ‘ kh´ng thĴ kh´ng háğ£p láğ‡\n" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" "Luáğ“ng Vorbis %d:\n" "\tTáğ•ng chiáğu d i dáğŻ liáğ‡u : %" #: ogginfo/ogginfo2.c:692 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:703 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:734 #, fuzzy, c-format 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" #: ogginfo/ogginfo2.c:738 #, c-format 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" #: ogginfo/ogginfo2.c:741 #, c-format msgid "Version: %d.%d\n" msgstr "PhiŞn báş£n: %d.%d\n" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "Ng´n ngáğŻ : %s\n" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "ChĈ°a đặt ng´n ngáğŻ\n" #: ogginfo/ogginfo2.c:753 #, c-format msgid "Category: %s\n" msgstr "Ph˘n loáşĦi: %s\n" #: ogginfo/ogginfo2.c:756 msgid "No category set\n" msgstr "ChĈ°a đặt ph˘n loáşĦi\n" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "utf-8" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "Báğ™ k½ táğħ : %s\n" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "Kh´ng rµ báğ™ k½ táğħ\n" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "trĦi sang pháş£i, trŞn xuáğ‘ng dĈ°áğ›i" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "pháş£i sang trĦi, dĈ°áğ›i lŞn trŞn" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "trŞn xuáğ‘ng dĈ°áğ›i, pháş£i sang trĦi" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "trŞn xuáğ‘ng dĈ°áğ›i, trĦi sang pháş£i" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "HĈ°áğ›ng văn báş£n: %s\n" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "Kh´ng rµ hĈ°áğ›ng văn báş£n\n" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "Táğ· láğ‡ granulepos sáğ‘ kh´ng thĴ kh´ng háğ£p láğ‡\n" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "Táğ· láğ‡ granulepos %d/%d (%.02f khung/gi˘y)\n" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "\n" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" "Luáğ“ng Kate %d:\n" "\tTáğ•ng chiáğu d i dáğŻ liáğ‡u : %" #: ogginfo/ogginfo2.c:893 #, 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:1047 #, 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:1075 #, 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:1089 #, 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:1107 #, fuzzy msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "Cáş£nh bĦo : gáş·p láğ— trong dáğŻ liáğ‡u (%d byte) áğŸ hiáğ‡u xáşp xáğ‰ %" #: ogginfo/ogginfo2.c:1134 #, 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:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Đang xáğ­ l½ táş­p tin ÂĞ %s Âğ....\n" "\n" #: ogginfo/ogginfo2.c:1148 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:1156 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:1159 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:1163 msgid "Error unknown." msgstr "Gáş·p láğ—i kh´ng rµ." #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, 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:1181 #, 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:1185 #, 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:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "Luáğ“ng háğ£p l½ %d đ£ káşżt thşc\n" #: ogginfo/ogginfo2.c:1213 #, 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:1224 #, c-format msgid "ogginfo from %s %s\n" msgstr "ogginfo táğĞ %s %s\n" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, 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:1251 #, 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:1285 #, 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:144 #, 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:164 #, 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:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Kh´ng tháğƒ máğŸ %s đáğƒ ghi\n" #: vcut/vcut.c:264 #, 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:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Kh´ng tháğƒ máğŸ %s đáğƒ đáğc\n" #: vcut/vcut.c:292 vcut/vcut.c:296 #, 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:301 #, 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:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Đang xáğ­ l½: cắt táşĦi %lld máşĞu\n" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "Viáğ‡c xáğ­ l½ báğ‹ láğ—i\n" #: vcut/vcut.c:355 #, fuzzy, c-format msgid "WARNING: unexpected granulepos " msgstr "Cáş£nh bĦo : mong đáğ£i khung %" #: vcut/vcut.c:406 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Kh´ng tĴm tháşy kh³a" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, 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:519 #, 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:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, 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:559 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Pháş§n đầu pháğ báğ‹ háğng\n" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "Láğ—i luáğ“ng bit, váşĞn tiáşżp táğc\n" #: vcut/vcut.c:575 #, 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:626 #, 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:630 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Láğ—i luáğ“ng bit, váşĞn tiáşżp táğc\n" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, 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:156 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:180 vorbiscomment/vcedit.c:551 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:558 msgid "Error reading initial header packet." msgstr "Gáş·p láğ—i khi đáğc g³i tin pháş§n đầu ban đầu." #: vorbiscomment/vcedit.c:238 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:506 msgid "Input truncated or empty." msgstr "DáğŻ liáğ‡u nháş­p báğ‹ cáğt hay ráğ—ng." #: vorbiscomment/vcedit.c:508 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:566 #, 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:579 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:595 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:639 msgid "Corrupt secondary header." msgstr "Pháş§n đầu pháğ báğ‹ háğng." #: vorbiscomment/vcedit.c:660 #, 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:835 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:875 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:195 vorbiscomment/vcomment.c:221 #, 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:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Ghi chş sai: ÂĞ %s Âğ\n" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "ghi chş sai: ÂĞ %s Âğ\n" #: vorbiscomment/vcomment.c:263 #, 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:280 #, c-format msgid "no action specified\n" msgstr "ChĈ°a ghi rµ h nh đáğ™ng n o\n" #: vorbiscomment/vcomment.c:384 #, 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:526 #, 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:529 #, 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:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "Tıy cháğn liáğ‡t kŞ\n" #: vorbiscomment/vcomment.c:539 #, 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:542 #, c-format msgid "Editing options\n" msgstr "Tıy cháğn cháğ‰nh sáğ­a\n" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr " -a, --append Pháğ thŞm cĦc ghi chş\n" #: vorbiscomment/vcomment.c:544 #, 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:546 #, 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:550 #, 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:553 #, 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:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, 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:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, 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:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, 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:741 #, 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:752 #, 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:767 #, 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:784 #, 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:818 #, 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:820 #, 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:830 #, 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 "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.0/po/be.gmo0000644000175000017500000005510011353056542012614 00000000000000Ŝ•ğôûÌ ¸ı×ó 'BTh~•Ż,Éö%,:-g •&ĥŬŭ#,?F,M!zZœ7÷*/-Z<ˆSĊ+QE!—ı*Ñ,ü) ?L`s† Ÿ9İ0 BP Y f&p—/ħ#á.#4Xw•³Ñ Ùċë'(.IW1Ħ1ÓM#Sw[†@â6#RZ>­1ìB a!‚"¤Ç ç*$3XtL&Ú>4@,u,˘%Ï'ġ4&6[’ħÁ,Û-'6 ^l…œ(´;Ŭ; U 0Z 0‹ ĵ * +î !3!M! i!u!ˆ!-˘! !Ü!!;"%@"+f"'’"ş" Â"(Ï"ĝ" ## #""#E#\#!t# –#˘# ³#<À#0ŭ#1.$?`$C $5ä$6%8Q%IŠ%=Ô%6&;I&L…&NÒ&K!'Lm'.ş'?é'7)(&a(ˆ(›( ((ğ(Â(È(Ì(á(ĉ(ì(ò())")q))3›*-Ï*#ŭ*!+1#+&U+)|+!Ĥ+È+ ç+2,.;,Jj,/µ,8ċ,J-Ii-2³-8ĉ-1.1Q.ƒ.‰.ž.ı. À.~Í.DL/ż‘/kQ0L½0a 1el1ĤÒ1;y2µ2853,n3B›3WŜ3!64X4u4$•4$ş42ß4!5h45>5(Ü5?6E6Y6k6‚6P 69ñ6Z+78†7iż7<)8:f8=Ħ89ß8G9a9p9ƒ9K•9Oá9Q1:‰ƒ:] ;€k;¤ì;X‘<)ê<=h=K>€Z>xÛ>RT?}§?G%@Hm@Aĥ@>ĝ@?7A\wAYÔAA.B;pBĴBJ*Ĥc£`Saı_(ğ /5¤;CKE³?[\ 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. === Cannot specify output file without specifying a driver. === 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 Channels: %d 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 Lower bitrate not set Lower bitrate: %f kb/s 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 Nominal bitrate not set Nominal bitrate: %f kb/s Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring Rate: %ld 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" Upper bitrate not set Upper bitrate: %f kb/s User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Vorbis headers parsed for stream %d, information follows... 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2003-10-21 11:45+0300 Last-Translator: Ales Nyakhaychyk Language-Team: Belarusian 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 ş“ц. š°½°ğ°Ñž: %d š°ĵэ½Ñ‚°Ñ€:š°ĵэ½Ñ‚°Ñ€Ñ‹: %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 сş½Ñ‡Ñ‹ğ°ÑÑ °ıĵµ½ÑˆÑ‹ ħітрэıт ½Ñ ²Ñ‹·½°Ñ‡°½Ñ‹ °ıĵµ½ÑˆÑ‹ ħітрэıт: %f şħіт/с Ÿ°ĵÑ‹ğş° °Ñ‚рыĵ°½ÑŒ½Ñ ż°ĵяці ў stats_init() ÑÑž´°ğ°µ р°Ñż°Ñ‡Ñ‹½°½ÑŒ½µ рэĥыĵу: ½µ´°żÑƒÑˆÑ‡°ğь½°µ ·½°Ñ‡Ñ½ÑŒ½µ ħітрэıту. ÑÑž´°ğ°µ р°Ñż°Ñ‡Ñ‹½°½ÑŒ½µ рэĥыĵу: ½µ´°żÑƒÑˆÑ‡°ğь½°µ ·½°Ñ‡Ñ½ÑŒ½µ яş°ÑÑŒÑ†Ñ–. °·²°²Ñ‹ ğя³Ñ–ч½Ñ‹ ż°Ñ‚ş (#%d, ½Ñƒĵ°Ñ€: %08x): тыż %s Ñ ²Ñ‹·½°Ñ‡°½° ў²°Ñ…´½Ñ‹Ñ… ф°ığ°Ñž. "ogginfo -h" ´ğя ´°²µ´şÑ– šğюч° ½Ñĵ°µĵ°³Ñ‡Ñ‹ĵ° °´ÑˆÑƒş°Ñ†ÑŒ ĵ´Ñƒğь, ş°ħ чыт°Ñ†ÑŒ · %s. Ñ ·½ı´·µ½° ·½°Ñ‡Ñ½ÑŒ½µ ´ğя ·°´°´·µ½°ı ż°ÑˆÑ‹Ñ€°½°ı żÑ†Ñ‹Ñ– ş°´°²°½ÑŒ½Ñ–ş° Ÿ°Ñ‡°Ñ‚ş²Ñ‹ ħітрэıт ½Ñ ²Ñ‹·½°Ñ‡°½Ñ‹ Ÿ°Ñ‡°Ñ‚ş²Ñ‹ ħітрэıт: %f şħіт/с ´şÑ€Ñ‹Ñ†ÑŒÑ†Ñ‘ ĵ´Ñƒğµĵ %s: %s ŸÑ€°ı³Ñ€°²°½ÑŒ½µ: %sŸ°ĵÑ‹ğş° °żÑ€°Ñ†ÑžşÑ– żÑ€°Ñ†Ñžş° ф°ığ° "%s"... µ р°Ñż°·½°½°Ñ żÑ†Ñ‹Ñ яş°ÑÑŒÑ†Ñ– "%s", żÑ€°Ñ–³½°Ñ€°²°½°Ñ Ħтуżµ½ÑŒ: %ld ReplayGain (ğьħĵ):ReplayGain (—°żÑ–с):—°żÑ‹Ñ‚ ½°ıĵµ½Ñˆ°³° ці ½°ıħğьш°³° ħітрэıту ż°Ñ‚Ñ€°ħуµ "--managed".  ÑÑÑĵżğі½³ у²´Ñƒ · %d “ц ´° %d “ц. Ÿ°ÑˆÑ‹Ñ€°½Ñ‹ ²Ñ‹ħ°Ñ€ "%s" ş°´°²°ğь½Ñ–ş° ўст°ğя²°½Ñ‹ ў %s. ŸÑ€żÑƒÑş ş°²°ğş° ²Ñ–´Ñƒ "%s", ´°Ñžĥы½Ñ‘ı %d. Ÿ°ÑÑŒżÑÑ…²°Ħыстэĵ½°Ñ ż°ĵÑ‹ğş°¤°Ñ€ĵ°Ñ‚ ф°ığ° %s ½µ ż°´Ñ‚рыĵğі²°µÑ†Ñ†°. §°Ñ: %sÑƒĵ°Ñ€ ·°żÑ–с°:’Ñ–´µ²Ñ´ĵ°Ñ ż°ĵÑ‹ğş°µ²Ñ´ĵы ´°´°Ñ‚ş²Ñ‹ ²Ñ‹ħ°Ñ€ "%s". °ıħğьшы ħітрэıт ½Ñ ²Ñ‹·½°Ñ‡°½Ñ‹ °ıħğьшы ħітрэıт: %f şħіт/с š°ĵэ½Ñ‚°Ñ€Ñ‹ ş°Ñ€Ñ‹ÑÑ‚°ğь½Ñ–ş° ı´ÑƒÑ†ÑŒ ½Ñ–ĥэı...  °Ñż°ÑžÑÑŽ´½Ñ–ş: %s  °Ñż°ÑžÑÑŽ´½Ñ–ş: %s (%s) ’эрсія: %d —°³°ğўşÑ– Vorbis р°·°ħр°½Ñ‹Ñ ў ż°Ñ‚şÑƒ %d, ·ÑŒ²µÑÑ‚şÑ– ½Ñ–ĥэı... £’“: ½µĵ°³Ñ‡Ñ‹ĵ° żÑ€°Ñ‡Ñ‹Ñ‚°Ñ†ÑŒ ż°Ñ€°ĵэт°Ñ€ ż°Ñ€°´şÑƒ ħ°ıт°Ñž "%s" £’“: ½µĵ°³Ñ‡Ñ‹ĵ° żÑ€°Ñ‡Ñ‹Ñ‚°Ñ†ÑŒ ч°ÑÑŒÑ†Ñ–½ÑŽ рэсэĵżğі½³Ñƒ "%s" £’“: żÑ€°Ñ–³½°Ñ€°²°½Ñ‹ ½ÑżÑ€°²Ñ–ğь½Ñ‹ ·°ż°ħµĥ½Ñ‹ ·½°ş '%c' у ф°Ñ€ĵ°Ñ†µ іĵя £’“: ²Ñ‹·½°Ñ‡°½° ·°ĵ°ğ° ·°³°ğўş°Ñž, ´°Ñž½Ñ–ĵ°µÑ†Ñ†° °żÑˆ½Ñ– ·°³°ğ²°ş. £’“: ²Ñ‹·½°Ñ‡°½Ñ‹Ñ ħіты ½° сэĵżğ ½ÑżÑ€°²Ñ–ğь½Ñ‹Ñ, żÑ€Ñ‹½ÑÑ‚° 16. £’“: ²Ñ‹·½°Ñ‡°½°Ñ ½ÑżÑ€°²Ñ–ğь½°Ñ şğьş°ÑÑŒÑ†ÑŒ ş°½°ğ°Ñž, żÑ€Ñ‹½ÑÑ‚° 2. £’“: ²Ñ‹·½°Ñ‡°½°Ñ ½ÑżÑ€°²Ñ–ğь½°Ñ ч°ÑÑŒÑ†Ñ–½Ñ, żÑ€Ñ‹½ÑÑ‚° 44100. £’“: ²Ñ‹·½°Ñ‡°½° şğьşÑ– фіğьтр°Ñž ·°ĵµ½Ñ‹ ф°Ñ€ĵ°Ñ‚у іĵя, уĥыты °żÑˆ½Ñ– £’“: ²Ñ‹·½°Ñ‡°½° şğьşÑ– фіğьтр°Ñž ф°Ñ€ĵ°Ñ‚у іĵя, уĥыты °żÑˆ½Ñ– £’“: ²Ñ‹·½°Ñ‡°½° şğьşÑ– ф°Ñ€ĵ°Ñ‚°Ñž іĵя, уĥыты °żÑˆ½Ñ– £’“: ²Ñ‹·½°Ñ‡°½° şğьşÑ– ²Ñ‹Ñ…´½Ñ‹Ñ… ф°ığ°Ñž, ğµżµı уĥы²°ı -n £’“: ²Ñ‹·½°Ñ‡°½Ñ‹Ñ ħіты ½° сэĵżğ ´ğя ½ÑżÑ€ÑÑ‚ых ´°½Ñ‹Ñ…. ›Ñ–чыĵ у²°Ñ…´ żÑ€ÑÑ‚Ñ‹ĵ. £’“: ²Ñ‹·½°Ñ‡°½°Ñ şğьş°ÑÑŒÑ†ÑŒ ş°½°ğ°Ñž ´ğя ½ÑżÑ€ÑÑ‚ых ´°½Ñ‹Ñ…. ›Ñ–чыĵ у²°Ñ…´ żÑ€ÑÑ‚Ñ‹ĵ. £’“: ²Ñ‹·½°Ñ‡°½Ñ‹ ż°Ñ€°´°ş ħ°ıт°Ñž ´ğя ½ÑżÑ€ÑÑ‚ых ´°½Ñ‹Ñ…. ›Ñ–чыĵ у²°Ñ…´ żÑ€ÑÑ‚Ñ‹ĵ. £’“: ²Ñ‹·½°Ñ‡°½°Ñ ч°ÑÑŒÑ†Ñ–½Ñ ´ğя ½ÑżÑ€ÑÑ‚ых ´°½Ñ‹Ñ…. ›Ñ–чыĵ у²°Ñ…´ żÑ€ÑÑ‚Ñ‹ĵ. £’“: ²Ñ‹·½°Ñ‡°½° ½µ²Ñ´ĵ°Ñ żÑ†Ñ‹Ñ, żÑ€°Ñ–³½°Ñ€°²°½°Ñ-> £’“: ·°żÑ‹Ñ‚°½° ·°²Ñ‹Ñş°Ñ яş°ÑÑŒÑ†ÑŒ, уст°½Ñžğµ½° ў ĵ°şÑÑ‹ĵ°ğь½ÑƒÑŽ. Ÿ°żÑÑ€Ñ´ĥ°½ÑŒ½µ °´ сьżÑ–су %s: ½µĵ°³Ñ‡Ñ‹ĵ° żÑ€°Ñ‡Ñ‹Ñ‚°Ñ†ÑŒ тэчşÑƒ %s. £²°³°: ½µĵ°³Ñ‡Ñ‹ĵ° żÑ€°Ñ‡Ñ‹Ñ‚°Ñ†ÑŒ тэчşÑƒ %s. şµżÑşÑ– ş°ĵэ½Ñ‚°Ñ€: "%s" ğя³Ñ–ч°ÑşÑ–·½°ş°²Ñ‹´°żĵ½°Ñ żÑ€Ñ‹ğ°´° ²Ñ‹²°´Ñƒdoubleс°żÑ€°Ñž½´Ñ‹Ñ†Ñğ°ğіş°²Ñ‹´·µÑ½ÑŒ½µ ½Ñ ²Ñ‹·½°Ñ‡°½° ½Ñ–яşÑ–· %sі½ÑˆÑ‹²Ñ‹ż°´ş²°µ żÑ€°ı³Ñ€°²°½ÑŒ½µÑÑ‚°½´°Ñ€Ñ‚½Ñ‹ ў²´ÑÑ‚°½´°Ñ€Ñ‚½Ñ‹ ²Ñ‹²°´Ñ€°´ş²Ñ‹vorbis-tools-1.4.0/po/cs.gmo0000644000175000017500000013217711353056542012645 00000000000000Ŝ•S´ ÉLp(qš¸ Ôġ$ /1Ni{FFÖB;`7œ1Ô>@E*†?ħğñF­ ‚ô ,w!J¤!&ï!N#ûe#Fa$<¨$7ċ$i%H‡%F%1&>I&?ˆ&lÈ&<5(zr(-í(b)–~*1++G+ds+cĜ,,<-Ëi-5.—R0•ê1É€3JJ5•6jĞ684-8b8|8,–88%á8,9-49 b9&ƒ9Ş9Ê9ê99ù9 :Q:e;,l;!™;Zğ;7<*N<-y<S§<<û<S8=+Œ=Q¸=! >,>4D>*y>,¤>Ñ>ç> ˙> ??3?F?Y? r?A|?9?ĝ?@ &@04@ e@s@‹@1¤@7Ö@A A&$AKA/eA#•A%ıA.ßA#B/2B@bB£BÂBàBŝBC,C 4C@CFCaC'C(§CIC1D:LD1‡DMıD2E:E#KEoE[~E@ÚE6FRRF>F1äFBG YG!zG"œGżG ßG*H$+H+PH|H˜HħHLÀH& I>4I4sI,¨IvĠILJ]J2dJ.—J,ĈJ%óJ'KAKGKPKcKvK,ˆK+µKáK"ŝK !LÈ-L4öL6+MbMM‘M M,şM-çM'N8=NvNŽN:ĴN%çN O O+)OUOfOlO…OœO(´OŬO;ôO;0PlP0qP˘P0³PäPëP*üP+'QSQlQ#†Q]ŞQŸR¨R%½R R5ñRN'SvS’S$˘S ÇSèSüST$T :TFTXTkT$…T-ŞTĜT èTôTU;U%XU~U'“U+ğU'çUVVV 3V@VYV(rV<›V'ĜVLWMW,VW ƒW‘W–W ²WÀW"ŬWXXL/X=|X)şXÁäX!ĤY ÈYÔY ċYòYZZ</Z'lZ2”Z0ÇZ1ĝZ?*[Cj[5[6ä[8\IT\=ž\6Ü\;]LO]Nœ]Kë]L7^.„^?³^7ó^&+_.R_ _Œ_Ÿ_¤_İ_ż_Ĉ_Ì__í_`` `F`f`y`‹`ž`²`¸``í`ŝ` aa$aAa^aMdaQ²aqc(vdŸdżdŜdŝd"e7e9e"Ye|e“e€ŞeC+fMof?½fHŭf0Fg>wgHĥg,˙gw,hż¤h[di“Ài3TjPˆjÙj|÷ktlDm=Ġm?nvSnHÊnCo;WoH“oJÜow'pAŸqƒáq5erj›rt>µt3ôt@(uyiv,v½wÎw˘Ŝyف{ê[}CFŠ€£€1‚,L‚ y‚ š‚7ğ‚)ó‚(ƒ7Fƒ8~ƒ,·ƒ)äƒ!„!0„R„ X„f„y„ƒ€„ †>†-N†‚|†@˙†/@‡2p‡Q£‡;ġ‡o1ˆ4Ħˆoֈ*F‰'q‰B™‰9܉,ŠCŠ]Š xŠ…Š˜ŠħŠĈŠ$àŠ‹W‹Fn‹#µ‹ًï‹/ŝ‹ .Œ<ŒTŒ4pŒ8Œ ŜŒ éŒ1÷Œ#).M$|(Ħ7ʍ$Ž='ŽNeŽ'´Ž ܎ŭŽ > Zflt‹1Џ3ŬT;fQ˘3ô_(‘@ˆ‘ɑ!ߑ’^’Eq’5·’Xí’?F“0†“K·“/”03”4d”1™”3˔6˙”-6•<d•/Ħ•'ѕù•c –&n–B•–8Ĝ–*—|<—ı—Η6Ġ—2 ˜4?˜-t˜/˘˜Ҙ ژċ˜™™8;™9t™#™&ҙ ù™żšDĈšQ ›]›|›Ž›£›IÁ›L œ<Xœ>•œ%Ԝ&úœB!&d‹ œ6§Ŝ÷˙ž9ž%Tžzž>‘ž>žŸ5ŸLŸ8cŸœŸĴŸ/Ÿ@îŸ / P *n z™ ĦĦ%ÜĦ ˘2˘UC˘!™˘ğ˘%Ï˘!ġ˘£.£E£\£w£ˆ£§£½£(Ü£4¤:¤N¤_¤s¤G‡¤)Ϥù¤,5E'{£Ğ´âŭ&ĤD5Ĥ(zĤN£ĤòĤ6ûĤ2§A§E§c§s§+Чĥ§Ô§bï§LR¨7Ÿ¨èר*Àİëİúİ Ş Ş'Ş8ŞDQŞ(–Ş2żŞ7òŞ>*Ğ<iĞVĤĞFŭĞADĴL†ĴOÓĴI#­Bm­I°­mú­fheÏp5Ż5ĤŻTÜŻ>1°(p°:™° Ô°â°ü°ħ"ħ)ħ0ħ6ħ:ħUħnħwħ|ħ;‹ħÇħ×ħĉħöħ² ²-²H²b²t²ˆ²²вDzBͲn³9€Nĥ7;ïw\$$ÇÊ Ş0ÔŬ zİšı2WB"<&´Š1GĵIĜ/5S^[ç@Żĝ§?O=k)–ÑȜp_™ <o‰ôĴEŒˆá-Ë (QGÙ~.NVH!‹÷ŽĈú1×t(>}óY6!;XƒÄ%d*lsí7.4BӘv ‡Rñyf“àÜ6|,&µx¤PÖß:ċ³ mżrR•Ûü˘AM/UĤ²L` P9D›O·#gQ+ Ŝuh'ğ̑ŸÎ˙iè’cJ  Ġ"8H—AIî)CC­5ûÒÀ8¨-ĉâL{ÍMÁ+TöE†ê¸žZF‚eŭò 4ùġ:3éK'ä„ÂK>30]#ħF”aĞqÏ Ħ£É?b=°ëJj@Ú, ĊD2şì%*ŝ½S…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 -a, --append Append comments -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%% by the Xiph.Org Foundation (http://www.xiph.org/) %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) === Cannot specify output file without specifying a driver. === 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 readerAspect ratio undefined Author: %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. Category: %s Changed lowpass frequency from %f kHz to %f kHz Channels: %d Character encoding: %s Colourspace unspecified Colourspace: Rec. ITU-R BT.470-6 System M (NTSC) Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL) 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: %sFrame aspect %f:1 Frame aspect 16:9 Frame aspect 4:3 Frame offset/size invalid: height incorrect Frame offset/size invalid: width incorrect Framerate %d/%d (%.02f fps) Granulepos rate %d/%d (%.02f gps) Height: %d 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: attempt to read unsupported bitdepth %d Invalid zero framerate Invalid zero granulepos rate Kate headers parsed for stream %d, information follows... Kate stream %d: Total data length: %Key not foundLanguage: %s List or edit comments in Ogg Vorbis files. Listing options Live:Logical stream %d ended Lower bitrate not set Lower bitrate: %f kb/s 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 category set No input files specified. "ogginfo -h" for help No keyNo language set No module could be found to read from %s. No value for advanced encoder option found Nominal bitrate not set Nominal bitrate: %f kb/s Nominal quality setting (0-63): %d 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 flagPixel aspect ratio %d:%d (%f:1) Pixel format 4:2:0 Pixel format 4:2:2 Pixel format 4:4:4 Pixel format invalid Playing: %sPlaylist options Processing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring RAW file readerRate: %ld 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 Speex, SuccessSupported options: System errorTarget bitrate: %d kbps Text directionality: %s The file format of %s is not supported. Theora headers parsed for stream %d, information follows... Theora stream %d: Total data length: %This version of libvorbisenc cannot set advanced rate management parameters Time: %sTotal image: %d by %d, crop offset (%d, %d) Track number:TypeUnknown character encoding Unknown errorUnknown text directionality Unrecognised advanced option "%s" Upper bitrate not set Upper bitrate: %f kb/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". User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Version: %d.%d Version: %d.%d.%d Vorbis format: Version %dVorbis headers parsed for stream %d, information follows... Vorbis stream %d: Total data length: %WARNING: 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 Width: %d bad comment: "%s" boolchardefault output devicedoublefloatintleft to right, top to bottomno action specified noneof %sogg123 from %s %sogg123 from %s %s by the Xiph.Org Foundation (http://www.xiph.org/) oggdec from %s %s oggenc from %s %soggenc from %s %s ogginfo from %s %s otherrepeat playlist foreverright to left, top to bottomshuffle playliststandard inputstandard outputstringtop to bottom, left to righttop to bottom, right to leftutf-8vorbiscomment 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2008-10-12 14:31+0200 Last-Translator: Miloslav Trmač Language-Team: Czech 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­ -a, --append PĊ™idat poznĦmky -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%% od nadace Xiph.Org (http://www.xiph.org/) %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) === Nelze určit v½stupn­ soubor bez určen­ ovladače. === 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/AIFCPoměr stran nedefinovĦn Autor: %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. Kategorie: %s Změněna frekvence lowpass z %f kHz na %f kHz KanĦlĊŻ: %d K³dovĦn­ znakĊŻ: %s Prostor barev nedefinovĦn Prostor barev: Dop. ITU-R BT.470-6 Systİm M (NTSC) Prostor barev: Dop. ITU-R BT.470-6 Systİmy B a G (PAL) 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: %sPoměr stran pol­Äka %f:1 Poměr stran pol­Äka 16:9 Poměr stran pol­Äka 4:3 Posun pol­Äka/velikost neplatnĦ: nesprĦvnĦ v½ĊĦka Posun/velikost pol­Äka neplatnĦ: nesprĦvnĦ ĊĦ­Ċ™ka Rychlost pol­Äek %d/%d (%.02f/s) Rychlost granulepos %d/%d (%.02f g/s) V½ĊĦka: %d Nen­-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 NeplatnĦ nulovĦ rychlost pol­Äek NeplatnĦ nulovĦ rychlost granulepos Hlavičky kate zpracovĦny pro proud %d, nĦsleduj­ informace... Proud Kate %d: CelkovĦ dİlka dat: %Kl­Ä nenalezenJazyk: %s Vypsat nebo upravit poznĦmky v souborech Ogg Vorbis. PĊ™ep­nače pro v½pis Ċ½ivě:Logick½ proud %d skončil NiĊĊĦ­ bitrate nenastavena NiĊĊĦ­ bitrate: %f kb/s 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 Kategorie nenastavena NezadĦny vstupn­ soubory. "ogginfo -h" pro nĦpovědu Ċ½Ħdn½ kl­ÄJazyk nenastaven Nebyl nalezen ĊĦdn½ modul pro čten­ z %s. Nenalezena ĊĦdnĦ hodnota pro pokročil½ pĊ™ep­nač kodİru NominĦln­ bitrate nenastavena NominĦln­ bitrate: %f kb/s NominĦln­ nastaven­ kvality (0-63): %d 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 EOSPoměr stran pixelu %d:%d (%f:1) FormĦt pixelĊŻ 4:2:0 FormĦt pixelĊŻ 4:2:2 FormĦt pixelĊŻ 4:4:4 Neplatn½ formĦt pixelĊŻ PĊ™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ĊŻ RAWFrekvence: %ld ReplayGain (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Ħ chybaC­lovĦ bitrate: %d kb/s Směr textu: %s FormĦt souboru %s nen­ podporovĦn. Hlavičky theora zpracovĦny pro proud %d, nĦsleduj­ informace... Proud Theora %d: CelkovĦ dİlka dat: %Tato verze libvorbisenc neum­ nastavit pokročilİ parametry sprĦvy bitrate Čas: %sCelkov½ obrĦzek: %d krĦt %d, posun oĊ™ezu (%d, %d) Č­slo stopy:TypNeznĦmİ k³dovĦn­ znakĊŻ NeznĦmĦ chybaNeznĦm½ směr textu Nerozpoznan½ pokročil½ pĊ™ep­nač "%s" VyĊĦĊĦ­ bitrate nenastavena VyĊĦĊĦ­ bitrate: %f kb/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". NĦsleduje oblast poznĦmek uĊivatele... Dodavatel: %s Dodavatel: %s (%s) Verze: %d Verze: %d.%d Verze: %d.%d.%d FormĦt Vorbis: Verze %dHlavičky vorbis zpracovĦny pro proud %d, nĦsleduj­ informace... Proud Vorbis %d: CelkovĦ dİlka dat: %VAROV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 Ċ ­Ċ™ka: %d ĊĦpatnĦ poznĦmka: "%s" boolcharimplicitn­ v½stupn­ zaĊ™­zen­doublefloatintzleva doprava, shora dolĊŻneurčena ĊĦdnĦ akce ĊĦdn½z %sogg123 z %s %sogg123 z %s %s od nadace Xiph.Org (http://www.xiph.org/) oggdec z %s %s oggenc z %s %soggenc z %s %s ogginfo z %s %s jin½opakovat seznam skladeb navĊdyzprava doleva, shora dolĊŻprom­chat seznam skladebstandardn­ vstupstandardn­ v½stupstringzdola nahoru, zleva dopravazdola nahoru, zprava dolevautf-8vorbiscomment 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.0/po/da.gmo0000644000175000017500000002165511353056542012622 00000000000000Ŝ•d<‰\€Ÿğí  0 G a ,{ ¨ %Ĉ ,ì - G &h  Ż Ï Ĝ !ß Z 7\ *” -ż <í S* +~ QŞ !ü  *6 ,a Ž ¤ ħ Ċ Ĝ ë 9H&Y€#š#â< DP'V(~I§1ñ1#MU£B² ġ!8 XLy&Ĉ>í4,,a%Ž'´Ü4ċ9I'c ‹(™ÂÇ*Îù '!I Q(^‡ •?£ö #2^B(ĦÊĉû0ATfƒ%œÂ!ß%('!P$r—Ż ÇÒ$Úh˙7h! ;Â3ŝg2%šZÀ'C,X8…Ñá!ġ2QEa§)şä+˙$+P!p!’ ´ ÂÎ$Ö#û=,]$ŠBŻ òD˙%D&j ‘²BÒ" A8 7z .² *á + !8!:@! {!œ!Ż!)Í!÷!) "4" 9"'E"m" …")‘"ğ" Ä"%Ï"ġ"ŭ" #@#O#j#{## ”# Ħ#N2_>TX8S7@=O6C;D-"]5V  $< )*Y\4dE QFK9.cW/%U(^ I[0&G`LRJ1,BZ?M H+aA:!P3b'# 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. === Cannot specify output file without specifying a driver. === 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2002-11-09 14:59+0100 Last-Translator: Keld Simonsen Language-Team: Danish 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. == Kan ikke angive udfil uden at angiv drivrutine. === 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.0/po/en_GB.gmo0000644000175000017500000004177011353056542013210 00000000000000Ŝ•ğôûÌ ¸ı×ó 'BTh~•Ż,Éö%,:-g •&ĥŬŭ#,?F,M!zZœ7÷*/-Z<ˆSĊ+QE!—ı*Ñ,ü) ?L`s† Ÿ9İ0 BP Y f&p—/ħ#á.#4Xw•³Ñ Ùċë'(.IW1Ħ1ÓM#Sw[†@â6#RZ>­1ìB a!‚"¤Ç ç*$3XtL&Ú>4@,u,˘%Ï'ġ4&6[’ħÁ,Û-'6 ^l…œ(´;Ŭ; U 0Z 0‹ ĵ * +î !3!M! i!u!ˆ!-˘! !Ü!!;"%@"+f"'’"ş" Â"(Ï"ĝ" ## #""#E#\#!t# –#˘# ³#<À#0ŭ#1.$?`$C $5ä$6%8Q%IŠ%=Ô%6&;I&L…&NÒ&K!'Lm'.ş'?é'7)(&a(ˆ(›( ((ğ(Â(È(Ì(á(ĉ(ì(ò())")^))ˆ*Ĥ*Â*×*Ù*ö*+#+7+M+d+~+,˜+Ċ+%+, ,-6, d,&…,Ĵ,Ì,ì,ò,û,--,-!I-Zk-7Ĉ-*ŝ--).<W.S”.+è.Q/!f/ˆ/* /,Ë/ĝ/ 00/0B0U0 n09x0²0Ï00à0 11 (1 51&?1f1/€1#°1.Ô1#2'2F2d2‚2 2 ¨2´2ş2'Ġ2(ŭ2I&31p31˘3MÔ3#"4F4[U4@ħ46ò4R)5>|51ğ5Bí5 06!Q6"s6–6 ĥ6*×6$7'7C7L\7&İ7>748,D8,q8%ž8'Ä8ì84ġ86*9a9€99,Ş9-×9': -:;:T:k:(ƒ:;Ĵ:;è:$;0);0Z;‹;*’;+½;é;<< 8<D<W<-q< Ÿ<Ğ<ż<;Ó<%=+5='a=‰= ‘=(ž=Ç= =Ŝ= ="ñ=>+>!C> e>q> ‚><>0Ì>1ŭ>?/?Co?5³?6é?8 @IY@=£@6á@;ALTANĦAKAL*Ĥc£`Saı_(ğ /5¤;CKE³?[\ 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. === Cannot specify output file without specifying a driver. === 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 Channels: %d 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 Lower bitrate not set Lower bitrate: %f kb/s 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 Nominal bitrate not set Nominal bitrate: %f kb/s Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring Rate: %ld 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" Upper bitrate not set Upper bitrate: %f kb/s User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Vorbis headers parsed for stream %d, information follows... 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2004-04-26 10:36-0400 Last-Translator: Gareth Owen Language-Team: English (British) 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. === Cannot specify output file without specifying a driver. === 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 Channels: %d 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 Lower bitrate not set Lower bitrate: %f kb/s 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 Nominal bitrate not set Nominal bitrate: %f kb/s Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring Rate: %ld 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" Upper bitrate not set Upper bitrate: %f kb/s User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Vorbis headers parsed for stream %d, information follows... 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.0/po/eo.gmo0000644000175000017500000013160611353056542012637 00000000000000Ŝ•O” Á (:X t•$ŞÏÑî F/FvB½;7<1t>Ĥ@ċ*&?Qğ‘FM ‚” ,!JD!&!Nĥ"û#F$<H$7…$i½$H'%Fp%1·%>é%?(&lh&<Ġ'z(-(bğ(–*1µ*+ç*d+cx,,Ü,Ë -Ġ-—ò/•Š1É 3Jê456jK6ĥ74Í788,68c8%8,§8-Ô8 9&#9J9j9Š99™9Ĵ9Q³9;, ;!9;Z[;7ĥ;*î;-<SG<<›<SĜ<+,=QX=!Ş=Ì=4ä=*>,D>q>‡> Ÿ>Ĵ>ż>Ó>ĉ>ù> ?A?9^?˜?µ? Ĉ?0Ô? @@+@1D@7v@ @&ğ@â@/ü@#,A%PA.vA#A/ÉA@ùA:BYBwB•B³BB ËB×BŬBĝB'C(>CIgC1ħC:C1DMPD2žDÑD#âDE[E@qE6²ERéE>ËH4 I,?IvlIIôI2ûI..J,]J%ŠJ'°JĜJŜJçJúJ K,K+LKxK"•K ¸KÈÄK4L6ÂLùLM(M7M,QM-~M'ĴM8ÔM N%N:CN%~N ¤N ²N+ÀNìNŭNOO3O(KOtO;‹O;ÇOP0P9P0JP{P‚P*“P+PêPQ#Q]AQŸŸQ?R%TR zR5ˆRNR S)S$9S ^SS“S§SğS ÑSŬSïST$T-AToT T;‹T%ÇTíT'U+*U'VU~U†UŽU ˘UŻUÈU(áU< V'GVLoVĵV,ĊVòV÷V W!W">WaWxWLW=ŬW)XÁEX!Y )Y5Y FYSYcYvY<Y'ÍY2ġY0(Z1YZ?‹ZCËZ5[6E[8|[Iµ[=˙[6=\;t\L°\Nŭ\KL]L˜].ċ]?^7T^&Œ^.³^ â^í^__ _ _'_-_1_N_c_h_n_F€_Ç_Ú_ì_˙_``1`N`_`n`~`…`˘`ż`MĊ`Qaveb+Ücd$d @dad!vd˜d šd&ğdâdödC emPeFe@f<Ff9ƒf@½fBŝf0Ag?rgĈ²gOyh˘Éh4liRĦi=ôi[2k'ŽkJĥl>m>@mqmKñmQ=n4n@ÄnFo†LoAÓpxq4Žqyq=s8s)tPFtm—u.và4vJwĈ`y×'{ñ˙|Qñ~C€X€ŝ5‚I‚g‚,‚‚'Ż‚&ׂ,ŝ‚)+ƒ*Uƒ'€ƒ¨ƒǃäƒ ôƒ˙ƒ„u„”…Dœ…$á…\†;c†*Ÿ†=ʆP‡8Y‡o’‡4ˆW7ˆˆ݈@ˈ6 ‰6C‰z‰–‰ ²‰À‰Ĝ‰í‰Š"Š<ŠKKŠH—ŠàŠŭŠ‹5#‹ Y‹f‹w‹0‹6À‹ ÷‹4Œ9Œ;SŒ+Œ)ğŒ8ċŒ%5DKz'Ĉ#î%Ž(8ŽaŽ qŽ ~ŽˆŽ#Ž'´Ž3܎3LD5‘BǏ: QEF—Ŝ+ñ‘c-‘E‘‘AבY’Gs’?ğ’Uû’-Q“.“1“,à“, ”1:”)l”3–”,ʔ#÷”•Y+•%…•=Ğ•4é•0–|O–̖–Cê–?.—6n—1—-ח˜ ˜˜0˜F˜6[˜8’˜ ˘&ì˜ ™Ċ™?ċ™?%šeš„š›š&Şš5њ<›9D›9~›¸›#Ġ›Gù›%Aœgœ {œ6‡œœ Ϝٜ)ġœ,=jG|Eĝ ž8žHž?hž¨ž·ž0Ԟ=Ÿ)CŸmŸ'‹Ÿp³Ÿĥ$ Û %ö  Ħ1*Ħf\ĦĦáĦ8Ħ)˘I˘^˘s˘ˆ˘ Ħ˘Ż˘˘!Ŭ˘(˙˘:(£c£ y£F‡£%Σô£,¤4>¤0s¤¤¤Ĵ¤´¤Ȥܤ÷¤)I8*‚]­ Ĥ0ĤEĤJĤ`ĤoĤ ‹Ĥ%ĴĤÒĤJîĤ=9§*w§Ĝ˘§ {¨ œ¨ި ½¨ɨĜ¨ê¨Iİ'Oİ8wİ0°İ1áİLŞL`ŞI­ŞE÷ŞI=Ğe‡ĞTíĞNBĴL‘ĴkŜĴhJ­d³­h;I½7Ż(?Ż>hŻ §ŻµŻÌŻÒŻĜŻŻ° °$°7°Q°W°]°Em°³°İÔ°ċ°÷°ü°$ħ;ħPħ_ħnħ$tħ$™ħħLÄħt²Ò+ž#Ê)ÇÚŜ-òó0µ|@5L\k½RÛmA,WeUù3³’i?.Š1 ™&32?:J·x÷sÖí0´;.„ŻKö—'Gżñ †{OS ‰!r 4…ƒb@7ΰœZşħyu'×VHBÀılN`­% §jŬM[‹;8ĝ>ϕßŝĈ~ĞÜüIgä =pC1/_ ÌÈ#Âq“–ÁĤ& FPéYo˘D2úJA6d)²‘ÉĜ5/¤Œ*<8ÄìĥôcQë( ŭ fċ^€ĦvC*%İ7F:=Tˆ9ğԟt4I9àÙçX ĴLNEKêè6<a+Ë,”á-ͨ˜¸"‚EBÑïŞĊ"h$$}ĵĉÓ]DOn ˙> Mw‡Hâ(ĠzûGġ£!Ž› -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 -a, --append Append comments -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%% by the Xiph.Org Foundation (http://www.xiph.org/) %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) === Cannot specify output file without specifying a driver. === 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 readerAspect ratio undefined Author: %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. Category: %s Changed lowpass frequency from %f kHz to %f kHz Channels: %d Character encoding: %s Colourspace unspecified Colourspace: Rec. ITU-R BT.470-6 System M (NTSC) Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL) 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: %sFrame aspect %f:1 Frame aspect 16:9 Frame aspect 4:3 Frame offset/size invalid: height incorrect Frame offset/size invalid: width incorrect Framerate %d/%d (%.02f fps) Granulepos rate %d/%d (%.02f gps) Height: %d 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: attempt to read unsupported bitdepth %d Invalid zero framerate Invalid zero granulepos rate Kate headers parsed for stream %d, information follows... Kate stream %d: Total data length: %Key not foundLanguage: %s List or edit comments in Ogg Vorbis files. Listing options Live:Logical stream %d ended Lower bitrate not set Lower bitrate: %f kb/s 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 category set No input files specified. "ogginfo -h" for help No keyNo language set No module could be found to read from %s. No value for advanced encoder option found Nominal bitrate not set Nominal bitrate: %f kb/s Nominal quality setting (0-63): %d 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 flagPixel aspect ratio %d:%d (%f:1) Pixel format 4:2:0 Pixel format 4:2:2 Pixel format 4:4:4 Pixel format invalid Playing: %sPlaylist options Processing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring RAW file readerRate: %ld 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 errorTarget bitrate: %d kbps Text directionality: %s The file format of %s is not supported. Theora headers parsed for stream %d, information follows... Theora stream %d: Total data length: %This version of libvorbisenc cannot set advanced rate management parameters Time: %sTotal image: %d by %d, crop offset (%d, %d) TypeUnknown character encoding Unknown errorUnknown text directionality Unrecognised advanced option "%s" Upper bitrate not set Upper bitrate: %f kb/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". User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Version: %d.%d Version: %d.%d.%d Vorbis format: Version %dVorbis headers parsed for stream %d, information follows... Vorbis stream %d: Total data length: %WARNING: 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 Width: %d bad comment: "%s" boolchardefault output devicedoublefloatintleft to right, top to bottomno action specified noneof %sogg123 from %s %sogg123 from %s %s by the Xiph.Org Foundation (http://www.xiph.org/) oggdec from %s %s oggenc from %s %soggenc from %s %s ogginfo from %s %s otherrepeat playlist foreverright to left, top to bottomshuffle playliststandard inputstandard outputstringtop to bottom, left to righttop to bottom, right to leftutf-8vorbiscomment 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2008-09-21 16:26-0300 Last-Translator: Felipe Castro Language-Team: Esperanto 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 -a, --append Postaldonas komentojn -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%% farite de Xiph.Org Fondaĵo (http://www.xiph.org/) %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 eblas indiki eligan dosieron sen indiki pelilon. === 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/AIFCNedifinita kadra proporcio AĊ­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. Kategorio: %s La malaltpasa frekvenco Ċanĝis de %f kHz al %f kHz Kanaloj: %d Sign-enkodo: %s Nespecifita kolorspaco Kolorspaco: Rec. ITU-R BT.470-6 System M (NTSC) Kolorspaco: Rec. ITU-R BT.470-6 Systems B and G (PAL) 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: %sKadra proporcio %f:1 Kadra proporcio 16:9 Kadra proporcio 4:3 Malvalida deĊovo/grandeco de kadro: malĝusta alteco Malvalida deĊovo/grandeco de kadro: malĝusta larĝeco Kadro-rapido %d/%d (%.02f pkps) 'Granulepos'-rapido %d/%d (%.02f gps) Alteco: %d Se 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 Malvalida nula kadro-rapido Malvalida nula 'granulepos'-rapido 'Kate'-kapoj estis disanalizitaj por la fluo %d, jen pli da informo... Fluo Kate %d: Entuta datumlongeco: %Ċœlosilo ne trovitaLingvo: %s Listigi aĊ­ redakti komentojn en dosieroj Ogg Vorbis. Listigaj opcioj Samtempe:La logika fluo %d finiĝis La malsupera bitrapido ne estas difinita Malsupera bitrapido: %f kb/s 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 kategorio estis difinita Neniu enig-dosiero estis specifica. Uzu "ogginfo -h" por helpo Neniu ĊlosiloNeniu lingvo estis difinita Neniu modulo povus esti trovita por legi el %s. Neniu valoro por la opcio de alnivela enkodilo estis trovita La meznombra bitrapido ne estas difinita Meznombra bitrapido: %f kb/s Meznombra kvalito alĝustigo (0-63: %d 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)Bildera proporcio %d:%d (%f:1) Bildero-formo 4:2:0 Bildero-formo 4:2:2 Bildero-formo 4:4:4 Malvalida bildero-formo 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 RAWRapido: %ld Peti 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 sistemoCelata bitrapido: %d kbps Direkto de teksto: %s La dosierformo de %s ne estas subtenata. 'Theora'-kapoj estis malkomponitaj por la fluo %d, jen pli da informo... 'Theora'-fluo %d: Totala datum-longeco: %Tiu ĉi versio de 'libvorbisenc' ne povas difini alnivelajn rapidec-administrajn parametrojn Horo: %sTuta bildo: %d je %d, marĝena deĊovo (%d, %d) TipoNekonata sign-enkodo Nekonata eraroNekonata direkto de teksto Nerekonita altnivela opcio "%s" La supera bitrapido ne esta difinita Supera bitrapido: %f kb/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". Jen sekcio de uzant-komentoj... Vendanto: %s Vendanto: %s (%s) Versio: %d Versio: %d.%d Versio: %d.%d.%d Formo de Vorbis: Versio %d'Vorbis'-kapoj estis malkomponitaj por la fluo %d, jen pli da informo... Fluo Vorbis %d: Entuta datumlongeco: %AVERTO: 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 Larĝeco: %d malbona komento: "%s" buleosignoimplicita eliga aparatoduobla precizecoglitkomaentjeromaldekstre dekstren, supre malsuprenneniu ago estis indikita neniude %sogg123 el %s %sogg123 el %s %s farite de Xiph.Org Fondaĵo (http://www.xiph.org/) oggdec el %s %s oggenc el %s %soggenc el %s %s ogginfo el %s %s aliaripeti muzikliston ĉiamedekstre maldekstren, supre malsuprenhazard-orda ludlistoordinara enigoordinara eligoĉenosupre malsupren, maldekstre dekstrensupre malsupren, dekstre maldekstrenutf-8vorbiscomment 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.0/po/es.gmo0000644000175000017500000004557011353056542012647 00000000000000Ŝ•ğôûÌ ¸ı×ó 'BTh~•Ż,Éö%,:-g •&ĥŬŭ#,?F,M!zZœ7÷*/-Z<ˆSĊ+QE!—ı*Ñ,ü) ?L`s† Ÿ9İ0 BP Y f&p—/ħ#á.#4Xw•³Ñ Ùċë'(.IW1Ħ1ÓM#Sw[†@â6#RZ>­1ìB a!‚"¤Ç ç*$3XtL&Ú>4@,u,˘%Ï'ġ4&6[’ħÁ,Û-'6 ^l…œ(´;Ŭ; U 0Z 0‹ ĵ * +î !3!M! i!u!ˆ!-˘! !Ü!!;"%@"+f"'’"ş" Â"(Ï"ĝ" ## #""#E#\#!t# –#˘# ³#<À#0ŭ#1.$?`$C $5ä$6%8Q%IŠ%=Ô%6&;I&L…&NÒ&K!'Lm'.ş'?é'7)(&a(ˆ(›( ((ğ(Â(È(Ì(á(ĉ(ì(ò())")r)) œ*½*Ŭ*ò*%ô*++F+b++™+²+Ë+0ĉ+,)6,0`,1‘,!,)ċ, - 0-Q- f-q-…- Œ-L–->-€".L£.9.;*/Mf/{´/B00rs0&ĉ0! 1?/1?o1Ż1 Ì1Ĝ1"ï12&/2V2]f2'Ä2ì243 63 C3O3 _3,i3–3D²3&÷3;4'Z4 ‚4 £4"Ä4*ç45 !5-5&453[525TÂ5F6C^6g˘64 7?7rR7FĊ79 8YF8N 8Bï8P292ƒ93ĥ93ê9/:.N:6}:2´:&ç:&;N5;'„;EĴ;;ò;4.<>c<.˘<4Ñ< =E=LX=&=!Ì=î=>>GG>?>Ï>>5˙>.5?/d?H”?CŬ?!@8(@Ma@Ż@,Ä@Eñ@%7A]A|A›A­AÄA/áAB!.B!PB>rB'ħB5ÙB/C ?CJC-\C ŠC•C¤CİC#ğC5ßCD/3DcDuD ŒDI™D3D4EILEN–E7ċE<FFZFVĦFIĝF?BG?‚GiÂGs,H{ HpI3IIÁIG J(SJ|J™J˘J!ĞJÍJ ŬJëJ!òJKK"K('KPKaKqKg M8ĥ.­<^}{|'Zh]s‰9=2§´wDX„™˘iŞ:˜‡·¸&ƒN~•Żn f”‘Wk¨ŸŽ“vYep€I‚,6RoF†+)@Ħt²m‹›—xB–İ#ˆ1Šdu…ĞJV!POz 0% q$’ly-7Lµ°œžr3T"4šŒj HGUQħĴAbş >*Ĥc£`Saı_(ğ /5¤;CKE³?[\ 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. === Cannot specify output file without specifying a driver. === 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 Channels: %d 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 Lower bitrate not set Lower bitrate: %f kb/s 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 Nominal bitrate not set Nominal bitrate: %f kb/s Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring Rate: %ld 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" Upper bitrate not set Upper bitrate: %f kb/s User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Vorbis headers parsed for stream %d, information follows... 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2003-01-03 22:48+0100 Last-Translator: Enric Martínez Language-Team: Spanish 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 puede especificar un fichero de salida sin indicar un controlador. === 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 Canales: %d 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 Tasa de transferencia de bits mínima no especificada Tasa de transferencia de bits mínima: %f kb/s 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 Tasa de bits nominal no especificada Tasa de bits nominal: %f kb/s Abriendo con el módulo %s: %s Reproduciendo: %sProcesamiento fallido Procesando fichero "%s"... Opción de calidad "%s" no reconocida, ignorada Tasa de transferencia: %ld 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 Tasa de transferencia de bits máxima no especificada Tasa de bits máxima: %f kb/s Sigue la sección de comentarios del usuario... Distribuidor: %s Distribuidor: %s (%s) Versión: %d Cabeceras vorbis analizadas para flujo %d, información a continuación... 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.0/po/fr.gmo0000644000175000017500000004537111353056542012646 00000000000000Ŝ•ğôûÌ ¸ı×ó 'BTh~•Ż,Éö%,:-g •&ĥŬŭ#,?F,M!zZœ7÷*/-Z<ˆSĊ+QE!—ı*Ñ,ü) ?L`s† Ÿ9İ0 BP Y f&p—/ħ#á.#4Xw•³Ñ Ùċë'(.IW1Ħ1ÓM#Sw[†@â6#RZ>­1ìB a!‚"¤Ç ç*$3XtL&Ú>4@,u,˘%Ï'ġ4&6[’ħÁ,Û-'6 ^l…œ(´;Ŭ; U 0Z 0‹ ĵ * +î !3!M! i!u!ˆ!-˘! !Ü!!;"%@"+f"'’"ş" Â"(Ï"ĝ" ## #""#E#\#!t# –#˘# ³#<À#0ŭ#1.$?`$C $5ä$6%8Q%IŠ%=Ô%6&;I&L…&NÒ&K!'Lm'.ş'?é'7)(&a(ˆ(›( ((ğ(Â(È(Ì(á(ĉ(ì(ò())")i))“**Ë*à*%â*&+/+E+^+w+‘+­+.É+!ĝ++,,F,/s,$£,.È,÷,-5- ;-F-[-a-8i-:˘-rŬ-HP..™.:È.I/ƒM/;Ñ/h 0%v0 œ03½07ñ0)1 F1R1i1}1(›1Ä1/Ô12!2::2 u2 ‚22 ˘20Ĵ2Ŭ2Dù2)>3Mh3.ĥ3-ċ3$4%84(^4 ‡4 ’4ž4$§4=Ì4> 5_I5Eİ5?ï5o/6/Ÿ6Ï6aß6BA7;„7aÀ7I"85l8W˘8=ú8>89;w97³98ë9:$:5_:2•:%È:Mî:0<;Dm;:²;=í;D+<-p<2ž< Ñ<>Ŝ<==[={=—=F°=E÷=:=>x>ˆ> >>.×>G?DN?“?:—?OÒ? "@-@4M@‚@ @!ı@Û@ê@!˙@+!A MAZAoAA†A.ÈA(÷A6 BWB`B/rB ˘B­BÁBĈBÖBöBC--C [CiC |C@ŠCËCGKDT“DNèDJ7E9‚EVĵEcFSwFHËFXGomGoŬGoMHr½H/0IP`ICħI1ġI'JEJ MJWJsJzJƒJŠJ˘J¨JJ´JÒJâJòJg M8ĥ.­<^}{|'Zh]s‰9=2§´wDX„™˘iŞ:˜‡·¸&ƒN~•Żn f”‘Wk¨ŸŽ“vYep€I‚,6RoF†+)@Ħt²m‹›—xB–İ#ˆ1Šdu…ĞJV!POz 0% q$’ly-7Lµ°œžr3T"4šŒj HGUQħĴAbş >*Ĥc£`Saı_(ğ /5¤;CKE³?[\ 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. === Cannot specify output file without specifying a driver. === 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 Channels: %d 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 Lower bitrate not set Lower bitrate: %f kb/s 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 Nominal bitrate not set Nominal bitrate: %f kb/s Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring Rate: %ld 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" Upper bitrate not set Upper bitrate: %f kb/s User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Vorbis headers parsed for stream %d, information follows... 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2003-03-06 15:15+0100 Last-Translator: Martin Quinson Language-Team: French 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 spécifier quel fichier de sortie utiliser sans pilote. === 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 Canaux : %d 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 Pas de débit minimal indiqué Débit minimal : %f kb/s 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 Pas de débit nominal indiqué Débit nominal : %f kb/s Ouverture avec le module %s : %s Écoute de : %sÉchec du traitement Traitement du fichier Ğ %s ğ... Option de qualité Ğ %s ğ inconnue, ignorée Taux : %ld 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 Pas de débit maximal indiqué Débit maximal : %f kb/s Les commentaires de l'utilisateur suivent... Vendeur : %s Vendeur : %s (%s) Version : %d Entêtes Vorbis du flux %d analysés, les informations suivent... 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.0/po/hr.gmo0000644000175000017500000000475211353056542012646 00000000000000Ŝ•#4/L #,=j%ˆ,-Û &*Qq‘ ˜ı ÒÜí ġ -2 9EMV [ipu{Ż‚2Q'p"˜#ğ'ß(%0$V{› ğ ĊÑç  2 > C K Y f | €  ž ħ µ Ç Ñ Ĝ Ŝ  " !  #%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: 2010-03-26 03:08-0400 PO-Revision-Date: 2002-06-16 02:15-01 Last-Translator: Vlatko Kosturjak Language-Team: Croatian 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.0/po/hu.gmo0000644000175000017500000003350211353056542012644 00000000000000Ŝ•œÁ ! ? [ p  ¨ ş Î ä û  ,/ \ %z ,  -Í û &Ccƒ‰’Ĵ,³!àZ7]*•-À<îS++QĞ!ŭ*7,b ²ĈÙì 9Ifw €&Šħ#Ë.ï#B`~œ ¤°'ĥ(ŜI1Q1ƒMµ#'16Bh Ğ!Ìî */$ZL&Ì>ó42,g,”%Á'ç4Ml|,–-'ñ (';P;ŒÈÍ*Ô˙ '-:'h ˜(Î ×ċ ê?ĝC85|6²8éI"=l6Ş;áLNjLı.?5&uœŻ´ıÏÖÜàġú&6y=· Ġ ï !!!?!P!c!{!“!ħ!1Ñ!#",'"1T"2†"&ı"6à"!#!9#[# a#n#…#Œ#D”#,Ù#t$G{$3$>÷$K6%‚%:&K=&(‰&²&1Ï&='?' U'b'~'’'Ş' Ç'9Ó' (+( F( R((\(…(#Ÿ(H(+ )'8)$`)(…)))Ċ)*Ë)2ö)J)*1t*<Ĥ*f*&J+q+6ˆ+Sż+.,.B,,q,,ž,2Ë,+ŝ,\*-,‡-H´->ŭ-)<.8f.!Ÿ.Á.à.)é./1/"E//h//˜/5È/ŝ/)0J<0J‡0Ò0 Ö0+â01 ,1:1%R1&x1Ÿ1 ¨1&µ1Ü1 ä1ï1ġ162<<2Gy2JÁ2F 3RS3LĤ3Gó3>;4[z4dÖ4a;585GÖ546S6k6s6'|6 ¤6°6Á6Ç6ċ6ë66ô67"7 571/9KukWŒQ]ˆ)V" &J@ 'b$! ;tMwvfDj N=‰4FHŽAc-n‹%_a: ŠT.oP}G3mO8U*LZC€S(e~hd#y„>?|‚E{x0[gB7I,‡r…5ƒi`zY^2 plX\<qsR+6† 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. === Cannot specify output file without specifying a driver. === 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2004-05-07 11:38GMT Last-Translator: Gábor István Language-Team: Hungarian 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 meghatározni a kimeneti fájlt meghajtó meghatározása nélkül. === 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.0/po/nl.gmo0000644000175000017500000020524711353056542012650 00000000000000Ŝ•ĜÜwœx'(y'˘'À' Ü'ŭ'$(7(9(V(q(ƒ($—(Fĵ+F,BJ,;,7É,1->3-@r-*³-?Ŝ-ğ.FÚ.‚!/,¤/JÑ/&0NC1û’1FŽ2<Ġ273iJ3H´3Fŭ31D4>v4?µ4lġ4<b6Ÿ6zğ7-68bd8–Ç91^:+:dĵ:c!<ê…<,p>„>Ë"?î?— B•£CÉ9EJGNHjdHÏI4ĉIJ5J,OJ|J%šJ,ÀJ-íJ K&\1~\2°\'\2 ]>>])}]0§]2Ĝ]- ^9^4P^&…^.Ĵ^Û^ĝ^# _-_[<_@˜_6Ù_R`>c`1˘`BÔ` a!8a"Za}a a*a$éa+b:bVbobL~bËb&ĉb> c4Lc,cvc%d6d =d^d3{d2Żd+âde".e2Qe.„e,³e%àe6f/=f'mf4•fÊffÙfìf˙f,g+>gjg"‡g Şg’ĥgÈIj4k6Gk~kk­kĵk,Ök-l'1l&Yl8€lılÑlïl: m%Em km ym+‡m³mÄm>Êm n"n9n(Qnzn;‘n;Ín: o)DonosoŠo0İoÚo0ëop#p*4p+_p‹p¤p#p]âpŸ@qàq,ġq2"r%Ur {r+‰r5µrNër:sVsesus$s ²sÓsçsûst %t1tCtVt$pt-•tt Ótßtótu u;9u%uu›u'°u+Ĝu'v>,vkv}v…vv ĦvvÇv(àv^ wqhw<Úw'xL?xŒx;•x,Ñx ŝx yy -y;y"Xy{y’yLŞy=÷y)5zÁ_z!!{ C{O{ `{m{}{{<Ş{'ç{9|HI|7’|2Ê|Lŭ|0J}2{}P}K˙}LK~O˜~&è~,0<1m"ŸÂ?Ü>€?[€U›€Oñ€IA0‹WĵC‚5X‚6Ž‚CĊ‚E ƒ.Oƒ8~ƒŒ·ƒDD„I‰„=ӄ6…;H…)„…L…Nû…KJ†L–†?†Ž#‡.²‡Žá‡&pˆ*—ˆFˆ1 ‰;‰_W‰'·‰C߉-#Š-QŠ&Š-ĤŠPԊ?%‹ie‹<ϋ0 Œ(=ŒfŒ7†Œ&Œ ċŒŒ #*04QfkqFƒʍŬïŽŽŽ4ŽQŽbŽqŽŽˆŽŽŽMȎ Q7i‰&ó‘!’"<’"_’‚’ž’½’#ż’ ’““´.“w–ˆ[—Fä—?+˜>k˜.ޘC٘n™0Œ™E½™šPԚÏ%›/ġ›j%œ)œSş žKŸ3hŸ8œŸvĠŸEL E’ 5Ĝ AĦtPĦĴĊĦ9r£ZĴ£€(ˆrħŻ$§-Ô§-¨ü0¨j-Ş˙˜Ş*˜ĴÁĴ˅­vQ™ȰŜb²A´Z_ĥş·Ŭ·ı5Ċıûış'/şWş(wş' ş(Èş"ñş)ğ>ğ^ğ~ğ „ğ‘ğ0ğßğĉğ޽ǽá½ŭ½@$_x„Dŭ0Bż7sż[ĞżFÀnNÀ4½ÀRòÀ"EÁ$hÁ8Á,ĈÁ6óÁ*ÂBÂbÂv‹ Â/ÂîÂ%L5F‚ÉSâH6ÄÄ”ÄĞÄ8şÄ óÄĊĊ22Ċ7eĊ Ċ¨Ċ ĵĊ-ÉĊ÷Ċ1ĈAĈ-aĈ Ĉ8°ĈéĈ# Ç6-ÇOdÇ'´ÇÜÇ#üÇ È.>ÈmÈ…È •È ŸÈĴȳÈ"ÒÈġÈ ÉC2ÉBvÉAıÉTûÉ#PÊ7tÊ-ĴÊ.ÚÊ< ËAFË=ˆËGĈË'Ì6ÌSÌ!rÌC”Ì+ĜÌ(Í+-Í)YÍ,ƒÍ°Í?ÎÍ@Î5OÎZ…ÎUàÎ96Ï<pÏ)­Ï2×Ï> )I0s2¤-×Ñ2Ñ$OÑ6tÑ(ĞÑ ÔÑ5âÑÒZ+ÒH†Ò9ÏÒQ Ó<[Ó4˜ÓGÍÓ(Ô)>Ô'hÔ$Ô%µÔ3ÛÔ$Ġ*4Ġ%_Ġ…Ġ¤Ġ]´Ġ$Ö$7Ö>\Ö4›Ö"֋óÖ×’×'™× Á×9â×6Ĝ5SĜ$‰Ĝ&Ĝ;ĠĜMÙ;_Ù.›Ù5ÊÙ8Ú)9Ú@cÚ¤Ú ­ÚıÚÏÚċÚ/úÚ0*Û [Û&|Û £ÛùŻÛëİŜ6•ßCÌßà.à @àNà-gà.•à-Äà$òà@áXá"uá ˜á8ıá)òáâ 2â2<âoâ ~âFŒâÓâ&òâ ):dBtC·1û/-ä]äbäzä5™äÏä8éä "ċ/ċ+Dċ2pċ$£ċÈċ)çċmĉ˜ĉç+/ç1[ç#ç ħç)żç4éçYèxè’è˘èħè'Çè)ïèé0éGé^é wé„éé°é%Ìé5òé(ê:êJêbê{ê˜êMĥê+ë0ë4Hë-}ë)ĞëDĠëì*ì2ì9ì Oì[ìvì3‰ì„½ì€Bí<í+î^,î‹îK”î5àî ï#ï)ïEïTï%mï&“ï şïWÛïG3.{Ş)Ğñ Ġñàñ ñüñ òò;7ò+sò^ŸòZŝò?YóB™ó[Üó58ô;nôVŞôOġPQġQ˘ġ%ôġ2ö6Mö9„ö0öïöD÷IS÷M÷fë÷WRĝOŞĝ>úĝY9ùL“ùAàùA"úLdúHħú7úúO2û‰‚û^ übküWÎüK&ŭ>rŭ?ħŭiñŭl[ŝhÈŝu1˙L§˙˜ô˙3—Á.Y9ˆTÂ5#Mmq2ßD=W=•*Ó;ŝP:O‹‡ÛBcCĤ/ê"9=%w ŞÄÉÎçîô%ĝ49@FQ˜ŞğÍàç%),Vfw%~%¤ÊP! eA jÁCĥG]’ùŒÄÇÑóšWÊÊeÖÌäEDOĉK8)”ö̐Ĉĥğħk(0ôÛZ›TٍͲĂ •·:Ĝç£^TSÜħm‡*žÓ4>8Öfv?V´ÈuQB­ı‰† ,!GpÀ~QÍ<s41ŽH6ˆ2)-İİŸÔ\…ĠÏaòf}LX Ζ·#  ¤U7³xš…_+ñïlJb¨d'|Žl£YżxBîŠ;Šûɰ„´€†  ‰àĞSMIĴÑ[ŻW7cgKVP.M<L3Ôú"×Fâ%P=ë: q‹¨g9r„żA.Ȱ™˜%_Nġ铟ĴuEyĊ iŞ\›?Ç~¸ / ‡=˜×p§>JĜmĈ“Îa§NwHĞËĝÓváhµ-{˘@(Ĥ;Utı*q^zœR‚Zµ˙],œ—ƒĤŻk³yƒċO[ì½Ċŭ"”n¸2’ ‘orAş˘€e½É/ŝ‘$3zn'0Ú•÷{`dĠXŞYF &oüÒ5`ÀD@Œ¤—ŬŜiíw–RĦ+‹­5ĵˆß#ĵê|è1™tcÏ!ž&ÂjCğÂş9I6hÁ$Ħs}²ÒbË -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 -a, --append Append comments -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%% by the Xiph.Org Foundation (http://www.xiph.org/) %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) === Cannot specify output file without specifying a driver. === 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 readerAspect ratio undefined Author: %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 Can't produce a file starting and ending between sample positions Can't produce a file starting between sample positions Cannot open %s. Cannot read headerCategory: %s Changed lowpass frequency from %f kHz to %f kHz Channels: %d Character encoding: %s Colourspace unspecified Colourspace: Rec. ITU-R BT.470-6 System M (NTSC) Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL) 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: %sFrame aspect %f:1 Frame aspect 16:9 Frame aspect 4:3 Frame offset/size invalid: height incorrect Frame offset/size invalid: width incorrect Framerate %d/%d (%.02f fps) Granulepos rate %d/%d (%.02f gps) Height: %d INPUT 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 zero framerate Invalid zero granulepos rate Invalid/corrupted commentsKate headers parsed for stream %d, information follows... Kate stream %d: Total data length: %Key not foundLanguage: %s List or edit comments in Ogg Vorbis files. Listing options Live:Logical bitstreams with changing parameters are not supported Logical stream %d ended Lower bitrate not set Lower bitrate: %f kb/s 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 NameNegative granulepos (%Negative or zero granulepos (%New logical stream (#%d, serial: %08x): type %s No category set No input files specified. "ogginfo -h" for help No keyNo language set No module could be found to read from %s. No value for advanced encoder option found Nominal bitrate not set Nominal bitrate: %f kb/s Nominal quality setting (0-63): %d 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 flagPixel aspect ratio %d:%d (%f:1) Pixel format 4:2:0 Pixel format 4:2:2 Pixel format 4:4:4 Pixel format invalid Playing: %sPlaylist options Processing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring RAW file readerRate: %ld ReplayGain (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 errorTarget bitrate: %d kbps Text directionality: %s The 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.Theora headers parsed for stream %d, information follows... Theora stream %d: Total data length: %This version of libvorbisenc cannot set advanced rate management parameters Time: %sTo avoid creating an output file, specify "." as its name. Total image: %d by %d, crop offset (%d, %d) Track number:TypeUnknown character encoding Unknown errorUnknown text directionality Unrecognised advanced option "%s" Upper bitrate not set Upper bitrate: %f kb/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". User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Version: %d.%d Version: %d.%d.%d Vorbis format: Version %dVorbis headers parsed for stream %d, information follows... Vorbis stream %d: Total data length: %WARNING - 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: Comment %d in stream %d has invalid format, does not contain '=': "%s" WARNING: Could not decode Kate header packet %d - invalid Kate stream (%d) WARNING: Could not decode Theora header packet - invalid Theora stream (%d) WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream (%d) 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: Expected frame %WARNING: Failure in UTF-8 decoder. This should not be possible WARNING: Hole in data (%d bytes) found at approximate offset %WARNING: Ignoring illegal escape character '%c' in name format WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid sequence "%s": %s WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker wrong WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes 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 comment fieldname in comment %d (stream %d): "%s" 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 stream %d does not have headers correctly framed. Terminal header page contains additional packets or has non-zero granulepos 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: Theora stream %d does not have headers correctly framed. Terminal header page contains additional packets or has non-zero granulepos WARNING: Unknown option specified, ignoring-> WARNING: Vorbis stream %d does not have headers correctly framed. Terminal header page contains additional packets or has non-zero granulepos WARNING: discontinuity in stream (%d) WARNING: failed to add Kate karaoke style WARNING: failed to allocate memory - enhanced LRC tag will be ignored WARNING: granulepos in stream %d decreases from %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: packet %d does not seem to be a Kate header - invalid Kate stream (%d) 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: unexpected granulepos Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. Width: %d bad comment: "%s" boolchardefault output devicedoublefloatintleft to right, top to bottomno action specified noneof %sogg123 from %s %sogg123 from %s %s by the Xiph.Org Foundation (http://www.xiph.org/) oggdec from %s %s oggenc from %s %soggenc from %s %s ogginfo from %s %s otherrepeat playlist foreverright to left, top to bottomshuffle playliststandard inputstandard outputstringtop to bottom, left to righttop to bottom, right to leftutf-8vorbiscomment 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2008-11-13 15:44+0100 Last-Translator: Erwin Poeze Language-Team: Dutch 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 -a, --append commentaren toevoegen -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%% door de Xiph.Org Foundation (http://www.xiph.org/) %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 geen uitvoerbestand opgeven zonder een uitvoerstuurprogramma. === 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-bestandslezerBeeldverhouding ongedefinieerd Auteur: %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 Een bestand dat begint en eindigt tussen sample-posities kan niet worden aangemaaktEen bestand dat begint tussen sample-posities kan niet worden aangemaaktKan %s niet openen. Fout tijdens lezen kopCategorie: %s Laagdoorlaatfrequentie gewijzigd van %f kHz naar %f kHz Kanalen: %d Karaktercodering: %s Kleurruimte niet opgegeven Kleurruimte: Rec. ITU-R BT.470-6 Systeem M (NTSC) Kleurruimte: Rec. ITU-R BT.470-6 Systemen B en G (PAL) 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: %sBeeldverhouding %f:1 Beeldverhouding 16:9 Beeldverhouding 4:3 Beeldmaat of -grootte ongeldig: hoogte onjuist Beeldmaat of -grootte ongeldig: breedte onjuist Beeldsnelheid %d/%d (%.02f fps) Granulepos-snelheid %d/%d (%.02f gps) Hoogte: %d INVOERBESTANDEN: 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 Ongeldige beeldsnelheid nul Ongeldige nul granulepos-snelheid Onjuiste/beschadigde opmerkingenKate-koppen ontleed voor stroom %d, informatie volgt... Kate-stroom %d: Totale gegevenslengte: %Sleutel niet gevondenTaal: %s Toon of bewerk commentaar in Ogg-Vorbisbestanden. Uitvoeropties Rechtstreeks:Logische bitstromen met veranderende parameters zijn niet ondersteund Logische stroom %d geĞindigd Ondergrens bitsnelheid niet ingesteld Ondergrens bitsnelheid: %f kb/s 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 NaamNegatieve granulepos (%Negatieve of nul granulepos (%Nieuwe logische stroom (#%d, serienr: %08x): type %s Geen categorie ingesteld Geen invoerbestanden opgegeven. "ogginfo -h" voor hulp. Geen sleutelGeen taal ingesteld kon geen module vinden om van %s te lezen. Geen waarde gevonden voor uitgebreide codeeroptie Nominale bitsnelheid niet ingesteld Nominale bitsnelheid: %f kb/s Nominale kwaliteitsinstelling (0-63): %d 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 gevondenBeeldverhouding in pixels (%d:%d) (%f:1) Pixelverhouding 4:2:0 Pixelverhouding 4:2:2 Pixelverhouding 4:4:4 Pixelverhouding onjuist Afspelen: %sOpties van afspeellijst Verwerken mislukt Verwerken bestand "%s"... Verwerken: knippen bij %lld monsters Kwaliteitsoptie "%s" wordt niet herkend en genegeerd RAW-bestandslezerSnelheid: %ld Herspeelfactor (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: SysteemfoutDoel bitsnelheid: %d kbps Tekstrichting: %s Het 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.Theora-koppen ingelezen voor stroom %d, informatie volgt... Theora-stroom %d: Totale gegevenslengte: %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. Volledige afbeelding: %d bij %d, afsnijmaat (%d, %d) Spoornummer:SoortOnbekende karaktercodering Onbekende foutOnbekende tekstrichting Niet-herkende uitgebreide optie "%s" Bovengrens bitsnelheid niet ingesteld Bovengrens bitsnelheid: %f kb/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". Paragraaf gebruikersopmerkingen volgt... Maker: %s Maker: %s (%s) Versie: %d Versie: %d.%d Versie: %d.%d.%d Vorbisindeling: versie %dVorbiskoppen ingelezen voor stroom %d, informatie volgt... Vorbis-stroom %d: Totale gegevenslengte: %WAARSCHUWING - 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: opmerking %d in stroom %d heeft onjuiste indeling, bevat geen '='; "%s" WAARSCHUWING: kon Kate-koppakket %d niet decoderen - onjuiste Kate-stroom (%d) WAARSCHUWING: kon Theora-koppakket niet decoderen - onjuiste Theora-stroom (%d) WAARSCHUWING: kan Vorbiskoppakket %d niet decoderen - onjuiste Vorbisstroom (%d) 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: verwacht beeld %WAARSCHUWING: fout in UTF-8-decoder. Dit zou onmogelijk moeten zijn WAARSCHUWING: gat in gegevens (%d bytes) gevonden op plaats (ongeveer) % WAARSCHUWING: onjuist ontsnappingsteken '%c' wordt genegeerd in naamindeling WAARSCHUWING: onjuiste UTF-8-codes in opmerking %d (stroom %d): onjuiste opvolging van codes "%s": %s WAARSCHUWING: onjuiste UTF-8-code in opmerking %d (stroom %d): lengtemarkering onjuist WAARSCHUWING: onjuiste UTF-8-code in opmerking %d (stroom %d): te weinig bytes 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 commentaarveldnaam in opmerking %d (stroom %d): "%s" WAARSCHUWING: onjuiste koppagina in stroom %d, bevat meerdere pakketten WAARSCHUWING: onjuiste koppagina, geen pakket gevonden WAARSCHUWING: onjuiste bemonsteringsfrequentie opgegeven, 44100 wordt gekozen. WAARSCHUWING: Kate-stroom %d heeft de koppen niet goede omlijst. Afsluitende koppagina bevat meer pakketten of heeft niet-nul granulepos 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: Theora-stroom %d heeft de koppen niet op de goede manier omlijst. Afsluitende koppagina bevat meer pakketten of heeft niet-nul granulepos WAARSCHUWING: onbekende optie opgegeven, negeren-> WAARSCHUWING: Vorbisstroom %d heeft de koppen niet op de goede manier omlijst. Afsluitende koppagina bevat meer pakketten of heeft niet-nul granulepos WAARSCHUWING: discontinuŻteit in stroom (%d) WAARSCHUWING: toevoegen van Kate-karaokestijl is mislukt WAARSCHUWING: geheugenreservering is mislukt - uitgebreid LRC-label wordt genegeerd WAARSCHUWING: granulepos in stroom %d neemt af van % 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: pakket %d lijkt geen Kate-kop te zijn - onjuiste Kate-stroom (%d) 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: verwachte granuleposWaarschuwing van afspeellijst %s: kan map %s niet lezen. WAARSCHUWING: kon map %s niet lezen. Breedte: %d onjuiste opmerking: "%s" boolcharstandaarduitvoerapparaatdoublefloatintlinks naar rechts, boven naar onderengeen actie opgegeven geenvan %sogg123 uit %s %sogg123 van %s %s door de Xiph.Org Foundation (http://www.xiph.org/) oggdec van %s %s oggenc van %s %soggenc van %s %s ogginfo van %s %s andereafspeellijst oneindig herhalenrechts naar links, boven naar onderenzet afspeellijst in willekeurige volgordestandaardinvoerstandaarduitvoerstringboven naar onderen, links naar rechtsboven naar onderen, rechts naar linksUTF-8vorbiscommentaar 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.0/po/pl.gmo0000644000175000017500000020565211353056542012652 00000000000000Ŝ•×ÔwŒh'(i'’'°' Ì'í'$('()(F(a(s($‡(FĴ+Fó+B:,;},7ı,1ñ,>#-@b-*£-?Î-ğ.FÊ.‚/,”/JÁ/& 0N31û‚1F~2<Ċ273i:3H¤3Fí3144>f4?4lċ4<R66zĞ7-&8bT8–·91N:+€:dĴ:c<êu<,`>„>Ë?Ŝ?—ûA•“CÉ)EJóF>HjTHżI4ÖI J%J,?JlJ%ŠJ,°J-ŬJ K&,KSKsK“K™K˘K$µKÚKQáK3MNMdMtMŠM,‘M!MZàM7;N*sN-žNSÌN< OS]O+ħOQŬO!/PQP4iP*žP,ÉPöP Q $Q1QDQXQ$kQQ£Q ĵQAĈQ9RBRB_R7˘RÚRëR ŝR0 S =SKScS1|S7SĉS ïS üS&T-T/GT#wT%›TÁT.ŬT# U0U/NU@~UżUŜUüUV%8V^VrV‚V ŠV–VœV!·VÙV"÷V?W?ZW5šWGWX(7X'`X(ˆX:ħX?ìX;,YIhY!²YÔYîY Z2'Z&ZZ%Z*§Z&ÒZ'ùZ![1A[:s[1[Mà[?.\1n\2 \'Ó\2û\>.])m]0—]2È]-û])^4@^&u^.œ^Ë^è^#ù^_[,_@ˆ_6É_R`>S`1’`BÄ` a!(a"Jama a*a$Ùa+ŝa*bFb_bLnbğb&Öb>ŭb4şmùmn)n(Anjn;n;½n:ùn)4o^ocozo0™oÊo0Ûo pp*$p+Op{p”p#p]ÒpŸ0qq,ċq2r%Er kr+yr5rNÛr*sFsUs$es ŠsĞsżsÓsçs ŭs tt.t$Ht-mt›t Ğt·tËtßtĝt;u%Musu'ˆu+°u'Üu>vCvUv]vev yv†vŸv(¸v^ávq@w<²w'ïwLxdx;mx,İx Öxäxéx yy"0ySyjyL‚y=Ïy) zÁ7z!ùz {'{ 8{E{U{h{<‚{'ż{9ç{H!|7j|2˘|LĠ|0"}2S}P†}K×}L#~Op~&À~,ç~01E"wš?´>ô?3€Us€OɀI0cW”Cì50‚6f‚C‚Eá‚.'ƒ8VƒŒƒD„Ia„=Ğ„6é„; …)\…L†…NӅK"†Ln†?ğ†Žû†.ЇŽı‡&Hˆ*oˆFšˆ1ሉ_/‰'‰C·‰-û‰-)Š&WŠ-~ŠPĴŠ?ŭŠi=‹<§‹0ä‹(Œ>Œ7^Œ&–Œ ½ŒȌیàŒċŒûŒ )>CIF[˘µǍڍîô Ž)Ž:ŽIŽYŽ`Ž}ŽšŽM Ž îŽQza1ܑ’.’!K’m’%…’Ğ’ ­’#Βò’ “J+“Lv–M–E—<W—A”—9֗G˜GX˜2 ˜BӘĵ™MәŽ!š3°šIäš`.›Sœ"œKžCRžF–ž|ŬžHZŸM£Ÿ?ñŸ<1 In ¸ BI˘YŒ˘~ĉ£,e¤°’¤ĴCĤ9Ĥ4*§~_§hŜ¨Gİ+YĞ‹…ĞÄĴIÖĴ^ ŻÇ°G²GX´ µz¸µ3·7K·ƒ·˘·-ĵ·$ê·#¸-3¸.a¸'¸$¸¸Ŭ¸ĝ¸ıı!ı1Aısı•zığ+ğCğTğlğAsğ4µğ~êğ?iĵ5İĵAßĵT!½Ev½sĵ½:0Zk"Ĉ#éC ż0Qż4‚ż·żÑżêżùż ÀÀ26ÀiÀƒÀ ÀG³ÀCûÀ&?ÁXfÁIżÁ Â#ÂCÂ@R “ Â#·Â:ÛÂ> U`o.BË1Ä>@Ä-ÄK­Ä,ùÄ3&Ċ>ZĊ\™Ċ(öĊ(Ĉ'HĈ4pĈ7ĈŬĈüĈÇ#Ç(Ç0Ç&KÇ"rÇ'•ÇO½ÇJ ÈAXÈ_šÈ-úÈ1(É9ZÉ>”ÉAÓÉKÊBaÊW¤Ê2üÊ#/Ë SË"tËD—Ë7ÜË9Ì8NÌ9‡Ì5ÁÌ÷Ì?ÍFWÍ<žÍcÛÍ[?ÎC›ÎDßÎ-$Ï2RÏ>…Ï)ÄÏ0îÏ2-R€@˜.Ù<Ñ,EÑrÑ'…Ñ­ÑbÂÑC%Ò:iÒ`¤ÒIÓ-OÓJ}Ó(ÈÓ+ñÓ.Ô+LÔ+xÔ6¤Ô0ÛÔ1 Ġ!>Ġ`Ġ€ĠI‘ĠÛĠ4÷Ġ>,Ö4kÖ3 ÖÔÖT×i×+p×,œ×7É×7Ĝ09Ĝ-jĜ0˜ĜOÉĜLÙ>fÙ;ÙGáÙD)Ú?nÚJÚùÚÛ Û"Û9Û6OÛ7†Û)Û.èÛÜ]'Üà…ßAfàJ¨à)óàá:áJá8fá9Ÿá+Ùá+âO1â'â,İâÖâJġâ3@t Š9– Hí"6äYäxä-’äÀäCÏäDċ.Xċ3‡ċğċÁċÖċ:öċ1ĉ<Lĉ ‰ĉ•ĉ+Żĉ5Ûĉ ç2ç)Nç}xçœöç“è1Ĵè7Ŝè*é Aé/Oé<é_ĵé'êDêSê,cêê°êĈêÜêòê ëë!4ëVë)të/žëÎëâëúëì&ì?ì@\ì(ìĈì0áì1í.DíHsíĵíÍíĠíÜíñíîî'2îkZînĈîL5ï5‚ïc¸ïQ%6wżßï& ñ0ñOñbiñ?Ìñ1 òÓ>ò+ó>óMó aómó|óŽóL§ó5ôóC*ôanô=ô.ġ?=ġ.}ġ;ĴġNèġ]7ö^•öaôö.V÷G…÷DÍ÷Eĝ)Xĝ‚ĝ=œĝ@ÚĝEù`aùaÂùU$ú=zú[¸úRû7gû0Ÿû@ûKü:]üI˜ü“âüFvŭK½ŭ> ŝ7HŝF€ŝ4Çŝdüŝ^a˙aÀ˙j"P•Ŝ,t•Ħ)71a\“4%lB6ŻAĉ-(,V!ƒ,PÒI#mEïG5*} ¨EÉ.>Oir w˜Ÿ %°ÖìñöN \t‹£ĵ%Á%ç - D  [ %e %‹ ħ U· % v3 j€ÀBµF\’ùŒÇóÏV~ÉÊdÖÌäDDOĉJ8)“öˏĊĥğ°k(0ôÛZšSٍͲĂ •ĥ9Ĝç£^TSÜħm‡*Ó4>7Ġeu>V´ÂÇuQAĴıˆ… ,!Gpż~PÌ<s41H6‡2)-ݨŸÔ\…ÔÎaòf|KW Ζ·#  £T7²xš„_+ñïlJa¨c'|Žk˘XżwBîŠ:‰ûȰƒœ³€† Ÿ‰àĞRMHĴÑZŻW™cgKUP.L;L3Óú¤"×Eâ%O<ë: p‹§f9r„A.ÈŻ˜—%^Nġé’žĞtExĊ hŞ[›?Ĉ}¸ / †=˜ÖoĤ=I×lĈ“Í`§MwGŞËĝÒvág´-zĦ@(Ĥ;Ut¸*q]y›RYµ˙],œ—ƒj³y‚ċ­N[ì½Äŭ"”n·2‘ oq@ş˘eĵÉ/ŝ½‘$3zm'0Ú”÷{`dĠXİYF &nüÒ5_ÀC?‹Ž¤–ŬŜiív•QĦ+Š­5ğˆß#ĵê{è1™sbÏ!ž&ÂiCşÁı8I6hÁ$ r}ŒħÑbÊ -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 -a, --append Append comments -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%% by the Xiph.Org Foundation (http://www.xiph.org/) %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) === Cannot specify output file without specifying a driver. === 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 readerAspect ratio undefined Author: %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 Can't produce a file starting and ending between sample positions Can't produce a file starting between sample positions Cannot open %s. Cannot read headerCategory: %s Changed lowpass frequency from %f kHz to %f kHz Channels: %d Character encoding: %s Colourspace unspecified Colourspace: Rec. ITU-R BT.470-6 System M (NTSC) Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL) 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: %sFrame aspect %f:1 Frame aspect 16:9 Frame aspect 4:3 Frame offset/size invalid: height incorrect Frame offset/size invalid: width incorrect Framerate %d/%d (%.02f fps) Granulepos rate %d/%d (%.02f gps) Height: %d INPUT 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 zero framerate Invalid zero granulepos rate Invalid/corrupted commentsKate headers parsed for stream %d, information follows... Kate stream %d: Total data length: %Key not foundLanguage: %s List or edit comments in Ogg Vorbis files. Listing options Live:Logical bitstreams with changing parameters are not supported Logical stream %d ended Lower bitrate not set Lower bitrate: %f kb/s 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 NameNegative granulepos (%Negative or zero granulepos (%New logical stream (#%d, serial: %08x): type %s No category set No input files specified. "ogginfo -h" for help No keyNo language set No module could be found to read from %s. No value for advanced encoder option found Nominal bitrate not set Nominal bitrate: %f kb/s Nominal quality setting (0-63): %d 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 flagPixel aspect ratio %d:%d (%f:1) Pixel format 4:2:0 Pixel format 4:2:2 Pixel format 4:4:4 Pixel format invalid Playing: %sPlaylist options Processing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring RAW file readerRate: %ld ReplayGain (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 errorTarget bitrate: %d kbps Text directionality: %s The 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.Theora headers parsed for stream %d, information follows... Theora stream %d: Total data length: %This version of libvorbisenc cannot set advanced rate management parameters Time: %sTo avoid creating an output file, specify "." as its name. Total image: %d by %d, crop offset (%d, %d) Track number:TypeUnknown character encoding Unknown errorUnknown text directionality Unrecognised advanced option "%s" Upper bitrate not set Upper bitrate: %f kb/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". User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Version: %d.%d Version: %d.%d.%d Vorbis format: Version %dVorbis headers parsed for stream %d, information follows... Vorbis stream %d: Total data length: %WARNING - 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: Comment %d in stream %d has invalid format, does not contain '=': "%s" WARNING: Could not decode Kate header packet %d - invalid Kate stream (%d) WARNING: Could not decode Theora header packet - invalid Theora stream (%d) WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream (%d) 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: Expected frame %WARNING: Failure in UTF-8 decoder. This should not be possible WARNING: Hole in data (%d bytes) found at approximate offset %WARNING: Ignoring illegal escape character '%c' in name format WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid sequence "%s": %s WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker wrong WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes 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 comment fieldname in comment %d (stream %d): "%s" 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 stream %d does not have headers correctly framed. Terminal header page contains additional packets or has non-zero granulepos 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: Theora stream %d does not have headers correctly framed. Terminal header page contains additional packets or has non-zero granulepos WARNING: Unknown option specified, ignoring-> WARNING: Vorbis stream %d does not have headers correctly framed. Terminal header page contains additional packets or has non-zero granulepos WARNING: discontinuity in stream (%d) WARNING: failed to add Kate karaoke style WARNING: failed to allocate memory - enhanced LRC tag will be ignored WARNING: granulepos in stream %d decreases from %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: packet %d does not seem to be a Kate header - invalid Kate stream (%d) 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: unexpected granulepos Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. Width: %d bad comment: "%s" boolchardefault output devicedoublefloatintleft to right, top to bottomno action specified noneof %sogg123 from %s %sogg123 from %s %s by the Xiph.Org Foundation (http://www.xiph.org/) oggdec from %s %s oggenc from %s %soggenc from %s %s ogginfo from %s %s otherrepeat playlist foreverright to left, top to bottomshuffle playliststandard inputstandard outputstringtop to bottom, left to righttop to bottom, right to leftutf-8vorbiscomment 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2008-11-12 16:25+0100 Last-Translator: Jakub Bogusz Language-Team: Polish 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 -a, --append DoĊ‚Ä…czenie komentarzy -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%% autorstwa Xiph.Org Foundation (http://www.xiph.org/) %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 podać pliku wyjĊ›ciowego bez okreĊ›lenia sterownika. === 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/AIFCNieokreĊ›lone proporcje Autor: %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 stworzyć pliku zaczynającego się i koĊ„czącego między pozycjami pr³bek Nie moĊĵna stworzyć pliku zaczynającego się między pozycjami pr³bek Nie moĊĵna otworzyć %s. Nie moĊĵna odczytać nagĊ‚³wkaKategoria: %s Zmieniono częstotliwoĊ›Ä‡ dolnoprzepustową z %f kHz na %f kHz KanaĊ‚y: %d Kodowanie znak³w: %s PrzestrzeĊ„ kolor³w nieokreĊ›lona PrzestrzeĊ„ kolor³w: Rec. ITU-R BT.470-6 system M (NTSC) PrzestrzeĊ„ kolor³w: Rec. ITU-R BT.470-6 systemy B i G (PAL) 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: %sProporcje klatki %f:1 Proporcje klatki 16:9 Proporcje klatki 4:3 BĊ‚Ä™dny offset/rozmiar ramki: niepoprawna wysokoĊ›Ä‡ BĊ‚Ä™dny offset/rozmiar ramki: niepoprawna szerokoĊ›Ä‡ CzęstotliwoĊ›Ä‡ ramek %d/%d (%.02f fps) CzęstotliwoĊ›Ä‡ granulepos %d/%d (%.02f gps) WysokoĊ›Ä‡: %d PLIKI 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Ċ‚Ä™dna zerowa częstotliwoĊ›Ä‡ ramek BĊ‚Ä™dna zerowa częstotliwoĊ›Ä‡ granulepos BĊ‚Ä™dne/uszkodzone komentarzePrzeanalizowano nagĊ‚³wki Kate dla strumienia %d, informacje poniĊĵej... StrumieĊ„ Kate %d: CaĊ‚kowita dĊ‚ugoĊ›Ä‡ danych: %Nie znaleziono kluczaJęzyk: %s Wypisanie 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 NiĊĵsze bitrate nie ustawione NiĊĵsze bitrate: %f kb/s 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 NazwaUjemna granulepos (%Ujemna lub zerowa granulepos (%Nowy strumieĊ„ logiczny (#%d, numer seryjny %08x): typ %s Brak ustawionej kategorii Nie podano plik³w wejĊ›ciowych. "ogginfo -h" pokaĊĵe pomoc Brak kluczaBrak ustawionego języka Nie odnaleziono moduĊ‚u do wczytania z %s. Nie odnaleziono wartoĊ›ci zaawansowanej opcji kodera Nominalne bitrate nie ustawione Nominalne bitrate: %f kb/s Nominalne ustawienie jakoĊ›ci (0-63): %d 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 EOSProporcje pikseli %d:%d (%f:1) Format piksela 4:2:0 Format piksela 4:2:2 Format piksela 4:4:4 Format piksela bĊ‚Ä™dny Odtwarzanie: %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 RAWCzęstotliwoĊ›Ä‡: %ld ReplayGain (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 systemowyDocelowe bitrate: %d kbps Kierunek tekstu: %s Format 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.Przeanalizowano nagĊ‚³wki Theora dla strumienia %d, informacje poniĊĵej... StrumieĊ„ Theora %d: CaĊ‚kowita dĊ‚ugoĊ›Ä‡ danych: %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ę. CaĊ‚kowity obraz: %d na %d, offset obcięcia (%d, %d) Numer Ċ›cieĊĵki:TypNieznane kodowanie znak³w Nieznany bĊ‚Ä…dNieznany kierunek tekstu Nierozpoznana opcja zaawansowana "%s" WyĊĵsze bitrate nie ustawione WyĊĵsze bitrate: %f kb/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". Sekcja komentarzy uĊĵytkownika poniĊĵej... Producent: %s Producent: %s (%s) Wersja: %d Wersja: %d.%d Wersja: %d.%d>%d Format Vorbis: wersja %dPrzeanalizowano nagĊ‚³wki Vorbis dla strumienia %d, informacje poniĊĵej... StrumieĊ„ Vorbis %d: CaĊ‚kowita dĊ‚ugoĊ›Ä‡ danych: %UWAGA 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: komentarz %d w strumieniu %d ma bĊ‚Ä™dny format, nie zawiera '=': "%s" UWAGA: nie udaĊ‚o się zdekodować pakietu nagĊ‚³wka Kate %d - bĊ‚Ä™dny strumieĊ„ Kate (%d) UWAGA: nie udaĊ‚o się zdekodować pakietu nagĊ‚³wka Theora - bĊ‚Ä™dny strumieĊ„ Theora (%d) UWAGA: nie udaĊ‚o się zdekodować pakietu nagĊ‚³wka Vorbis %d - bĊ‚Ä™dny strumieĊ„ Vorbis (%d) 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: oczekiwano ramki %UWAGA: usterka dekodera UTF-8. To nie powinno być moĊĵliwe. UWAGA: dziura w danych (%d bajt³w) pod przybliĊĵonym offsetem %UWAGA: zignorowano niedozwolony znak specjalny '%c' w formacie nazwy UWAGA: niedozwolona sekwencja UTF-8 w komentarzu %d (strumieĊ„ %d): bĊ‚Ä™dna sekwencja "%s": %s UWAGA: niedozwolona sekwencja UTF-8 w komentarzu %d (strumieĊ„ %d): bĊ‚Ä™dny znacznik dĊ‚ugoĊ›ci UWAGA: niedozwolona sekwencja UTF-8 w komentarzu %d (strumieĊ„ %d): za maĊ‚o bajt³w 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 nazwa pola w komentarzu %d (strumieĊ„ %d): "%s" 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: strumieĊ„ Kate %d nie ma wĊ‚aĊ›ciwych ramek nagĊ‚³wk³w. KoĊ„cowa strona nagĊ‚³wka zawiera dodatkowe pakiety lub ma niezerową granulepos 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: strumieĊ„ Theora %d nie ma wĊ‚aĊ›ciwych ramek nagĊ‚³wk³w. KoĊ„cowa strona nagĊ‚³wka zawiera dodatkowe pakiety lub ma niezerową granulepos UWAGA: podano nieznaną opcję, zignorowano 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 UWAGA: nieciągĊ‚oĊ›Ä‡ w strumieniu (%d) UWAGA: nie udaĊ‚o się dodać stylu karaoke Kate UWAGA: nie udaĊ‚o się przydzielić pamięci - rozszerzony znacznik LRC będzie zignorowany UWAGA: granulepos w strumieniu %d zmniejsza się z %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: pakiet %d nie wygląda na nagĊ‚³wek Kate - bĊ‚Ä™dny strumieĊ„ Kate (%d) 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: nieoczekiwane granulepos Uwaga z listy odtwarzania %s: nie udaĊ‚o się odczytać katalogu %s. Uwaga: nie udaĊ‚o się odczytać katalogu %s. SzerokoĊ›Ä‡: %d BĊ‚Ä™dny komentarz: "%s" logicznyznakdomyĊ›lne urządzenie wyjĊ›ciowedoublefloatcaĊ‚kowityod lewej do prawej, od g³ry do doĊ‚uNie okreĊ›lono akcji brakz %sogg123 z pakietu %s %sogg123 z pakietu %s %s autorstwa Xiph.Org Foundation (http://www.xiph.org/) oggdec z pakietu %s %s oggenc z pakietu %s %soggenc z pakietu %s %s ogginfo z pakietu %s %s innywieczne powtarzanie listy odtwarzaniaod prawej do lewej, od g³ry do doĊ‚uprzemieszanie listy odtwarzaniastandardowego wejĊ›ciastandardowego wyjĊ›ciaĊ‚aĊ„cuchod g³ry do doĊ‚u, od lewej do prawejod g³ry do doĊ‚u, od prawej do lewejutf-8vorbiscomment 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.0/po/ro.gmo0000644000175000017500000004405111353056542012651 00000000000000Ŝ•ğôûÌ ¸ı×ó 'BTh~•Ż,Éö%,:-g •&ĥŬŭ#,?F,M!zZœ7÷*/-Z<ˆSĊ+QE!—ı*Ñ,ü) ?L`s† Ÿ9İ0 BP Y f&p—/ħ#á.#4Xw•³Ñ Ùċë'(.IW1Ħ1ÓM#Sw[†@â6#RZ>­1ìB a!‚"¤Ç ç*$3XtL&Ú>4@,u,˘%Ï'ġ4&6[’ħÁ,Û-'6 ^l…œ(´;Ŭ; U 0Z 0‹ ĵ * +î !3!M! i!u!ˆ!-˘! !Ü!!;"%@"+f"'’"ş" Â"(Ï"ĝ" ## #""#E#\#!t# –#˘# ³#<À#0ŭ#1.$?`$C $5ä$6%8Q%IŠ%=Ô%6&;I&L…&NÒ&K!'Lm'.ş'?é'7)(&a(ˆ(›( ((ğ(Â(È(Ì(á(ĉ(ì(ò())")|))Ĥ*Â*Ŭ*ò*ô*"+6+N+f+}+“+Ż+)Ë+ġ+(,)>,*h,"“,)ĥ,!à, -#- )-4-J-Q-/Y-(‰-^²-=.+O.7{.G³.sû.;o/VĞ/!0$02A05t0Ş0 Ä00ĉ0û0101D@1…1¤13ż1 ó1 ˙1 2 2&$2K2;c2(Ÿ2>È2&3".3'Q3(y3.˘3Ñ3 Ú3 ä3ï3/4784Sp4<Ä4<5W>5"–5ı5_È5A(67j6X˘6Cû65?7Nu74Ä75ù75/8'e8184ż8/ô8($9M9]m9*Ë9?ö956:0l:9:1×:4 ; >;7I;K;)Í;÷; <:#<1^<7< È<Ô<ï< ='#=;K=<‡=Ä=-É=A÷= 9>7E>@}>>×>ñ> ??/?1J? |?ˆ?œ?6°?3ç?+@$G@l@ s@(@ Ş@µ@É@Í@$à@AA-:A hAvA ‰AE—A<ŬAGBLbBLŻB9üBB6CCyC\½CODIjDL´D^Ea`EZÂEaF:FJşF?G.EGtGG’G—GħG¸GGÂGŜGäGëGñGHH%Hg M8ĥ.­<^}{|'Zh]s‰9=2§´wDX„™˘iŞ:˜‡·¸&ƒN~•Żn f”‘Wk¨ŸŽ“vYep€I‚,6RoF†+)@Ħt²m‹›—xB–İ#ˆ1Šdu…ĞJV!POz 0% q$’ly-7Lµ°œžr3T"4šŒj HGUQħĴAbş >*Ĥc£`Saı_(ğ /5¤;CKE³?[\ 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. === Cannot specify output file without specifying a driver. === 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 Channels: %d 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 Lower bitrate not set Lower bitrate: %f kb/s 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 Nominal bitrate not set Nominal bitrate: %f kb/s Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring Rate: %ld 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" Upper bitrate not set Upper bitrate: %f kb/s User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Vorbis headers parsed for stream %d, information follows... 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2003-04-14 06:17+0000 Last-Translator: Eugen Hoanca Language-Team: Romanian 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 ctre %.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 neduntoare --- Valoare prebuffer invalid. Intervalul este 0-100. === Nu se poate specifica fişier de output fr specificare de driver. === Nu s-a putut incrca 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şitSfaturi 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 Canale: %d Comentariu:Comentarii: %sCopyrightDate corupte sau lips, se continu...Header secundar corupt.Nu s-a gsit 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 aduga 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: sugerm 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 mrimea 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 negsitStream logic %d terminat. Bitrate inferior nesetat Bitrate inferior: %fkb/s 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 gsit nici un modul din care sa se citeasc %s. Nu s-a gsit nici o valoare pentru opŝiunea avansat de encoder Bitrate nominal nesetat Bitrate nominal: %f kb/s Deschidere cu modulul %s: %s În rulare: %sProcesare eşuat Procesare fişier "%s"... Opŝiune de calitate "%s" nerecunoscuta, ignorat Rat: %ld ReplayGain (Album):ReplayGain (Pist):Cererea de bitrate minim sau maxim necesit --managed Convertire (resampling) intrare din %d Hz în %d Hz Setri 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 necunoscutOpŝiune avansat nerecunoscut "%s" Bitrate superior nesetat Bitrate superior: %f kb/s Urmeaza secŝiunea comentariilor utilizator.. Vânztor: %s Vânztor: %s (%s) Versiune: %d Headerele vorbis analizate pentru streamul %d, urmeaz informaŝie... 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: Numr biŝi/sample invalid, se presupune 16. AVERTISMENT: Numrare 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, sugerm sa folosiŝi -n AVERTISMENT: Biŝi/sample bruŝi specificaŝi pentru date non-brute. Se presupune intrare brut. AVERTISMENT: Numrare 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.0/po/ru.gmo0000644000175000017500000007171111353056542012662 00000000000000Ŝ•Ŭ3ì ¸ı× ó$)Nk†˜ĴÂÙó, :%X,~-Ğ Ù&ú!AagpƒŠ,‘!Zà7;*s-ž<ÌS +]Q‰!Ûŭ4*J,u˘¸ Ŭñ 0A:9|ĥÓ0ä #1<7n Ĥ&³Ú/ô#$.H#w›şĜö (.'I(qIš1ä:1QMƒ#Ñġ[@`6ĦRĜ>+1jBœ ß! "" E e *† $ħ Ö ò  !L!&g!>Ž!4Í!,"/".@",o"%œ"'Â"ê"ó"#,#+E#q# Ž#4š#6Ï#$%$5$,O$-|$'Ş$8Ò$ % #%1%J%a%(y%;˘%;Ŝ%&0&0P&&*ˆ&+³&ß&ĝ&#']6'”'%İ'NÏ'($:(_(s(‡(›( ħ(½(($ê(-) =);I)%…)Ğ)'À)+è)'*<* D*Q*(j*<“**,Ù*+ +"+<+S+!k+ +™+ Ş+·+Ê+<ä+2!,0T,1…,?·,C÷,5;-6q-8¨-Iá-=+.6i.; .LÜ.N)/Kx/LÄ/.0?@07€0&¸0 ß0ê0ŭ0111$1*1.1C1H1N1T1e1t1„1U‹1.á2036A3x3-”3(Â3<ë3-(4,V4"ƒ4$Ĥ44Ë445P554†5Gğ5P6QT67Ĥ6HŜ65'75]7“7 ™7#Ĥ7Ê7Ñ7tċ7XZ8Ú³8fŽ9Rġ9jH:e³:Ò;^ì;ĵK<B=7K=sƒ=D÷=Q<>#Ž><²>ï>'?)?6F?D}?)Â?‚ì?no@PŜ@(/ASXAĴA>AWŭA[UBħBgÌB94CjnCEÙCqD<‘DJÎD;E;UEG‘EÙEñEF*FSAFU•FŠëF_vGiÖGw@H½¸HNvIĊI¨àIe‰JOïJ›?K{ÛKQWLfİLGMHXMCĦM@ċMB&NZiNOÄN;O3PO$„O”İOP>PwPmQTuQÊQ‰éQ[sRIÏROS iS8vS7ŻSiçSiQT6ğTòTZUt_UTÔU8)V?bVf˘Vg WfqW‹ĜWDdXİX4ÄX@ùX2:YVmYvÄYv;Z²Z_ıZ|[–[I¨[nò[@a\2˘\FĠ\×]"ô].^×F^*_rI_"ĵ_"ß_"`5%`"[`'~`'Ĥ`KÎ`Qala‚a`b;cbkŸbg cCsc%·cŬc*ŭc>(djgdÒdTád6e#=eUaeB·e4úe^/fŽfĤffĠf$ífjgp}g€îgaoh‹Ñh£]i}jmjŽíj™|kŽl}lĦ#m¤Ċmjn¨oĦħocSpŽ·pFqMÔq"r64r kr vr9ƒr½rÌr ár%ìrs$s ,s@9szs!šs ĵsœDÑĴÌ£h H?=$]1;µ0M_[ž‘OŒkF°–Ò´&V5ܐ¸aħvŠ3y§"×@zxb¨~L(rIğĜÈËo ĵpB™ZY’liR \A½ŻN{P‚ı†! ,/ĞXU›7ÄÉ)GftŽÂÊÁˆÓ<4n`š2˜ÇEŸjĈ*q“ż8ÙŬ‹‰·'ĠĦeÚĤCÀ#¤dƒ” ‡•Ş…9΀m u­%³+-}„W.²S—6QcÍ:gKş|^ĥĊİÛsT ÔJw˘>ÏÖ 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. === Cannot specify output file without specifying a driver. === 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 readerAspect ratio undefined Author: %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 Channels: %d Colourspace unspecified Colourspace: Rec. ITU-R BT.470-6 System M (NTSC) Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL) 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: %sFrame aspect 16:9 Frame aspect 4:3 Frame offset/size invalid: height incorrect Frame offset/size invalid: width incorrect Framerate %d/%d (%.02f fps) Height: %d 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 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 Invalid zero framerate Key not foundLogical stream %d ended Lower bitrate not set Lower bitrate: %f kb/s 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 Nominal bitrate not set Nominal bitrate: %f kb/s Nominal quality setting (0-63): %d 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 flagPixel format 4:2:0 Pixel format 4:2:2 Pixel format 4:4:4 Pixel format invalid Playing: %sProcessing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring Rate: %ld 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 errorTarget bitrate: %d kbps The file format of %s is not supported. Theora headers parsed for stream %d, information follows... Time: %sTotal image: %d by %d, crop offset (%d, %d) TypeUnknown errorUnrecognised advanced option "%s" Upper bitrate not set Upper bitrate: %f kb/s User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Version: %d.%d.%d Vorbis format: Version %dVorbis headers parsed for stream %d, information follows... WARNING: 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. Width: %d 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2007-07-26 15:01+0300 Last-Translator: Dmitry D. Stasyuk Language-Team: Russian 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 ş“ц š°½°ğы: %d Ĥ²µÑ‚²µ żÑ€ÑÑ‚Ñ€°½ÑÑ‚² ½µ уş°·°½ Ĥ²µÑ‚²µ żÑ€ÑÑ‚Ñ€°½ÑÑ‚²: Rec. ITU-R BT.470-6 Ħ¸ÑÑ‚µĵ° M (NTSC) Ĥ²µÑ‚²µ żÑ€ÑÑ‚Ñ€°½ÑÑ‚²: Rec. ITU-R BT.470-6 Ħ¸ÑÑ‚µĵы B ¸ G (PAL) šĵĵµ½Ñ‚°Ñ€¸¸: %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Ħт½Ñˆµ½¸µ р°·ĵµÑ€² ş°´Ñ€° 16:9 Ħт½Ñˆµ½¸µ р°·ĵµÑ€² ş°´Ñ€° 4:3 µ´żÑƒÑÑ‚¸ĵµ сĵµÑ‰µ½¸µ/р°·ĵµÑ€ ş°´Ñ€°: ½µżÑ€°²¸ğь½°Ñ ²Ñ‹ÑÑ‚° µ´żÑƒÑÑ‚¸ĵµ сĵµÑ‰µ½¸µ/р°·ĵµÑ€ ş°´Ñ€°: ½µżÑ€°²¸ğь½°Ñ ш¸Ñ€¸½° §°ÑÑ‚Ñ‚° ş°´Ñ€² %d/%d (%.02f ş°´Ñ€/с) ’ыст°: %d  °·ĵµÑ€ ²Ñ…´½³ ħуфµÑ€° ĵµ½ÑŒÑˆµ ĵ¸½¸ĵ°ğь½³ - %dšħ.˜ĵя ²Ñ…´½³ ф°ığ° ½µ ĵĥµÑ‚ с²ż°´°Ñ‚ÑŒ с ¸ĵµ½µĵ ²Ñ‹Ñ…´½³ ф°ığ° ’Ñ…´½Ñ‹µ ´°½½Ñ‹µ ½µ я²ğяются ħ¸Ñ‚²Ñ‹ĵ żÑ‚şĵ Ogg.’Ñ…´½Ñ‹µ ´°½½Ñ‹µ ½µ ² фрĵ°Ñ‚µ ogg. ’Ñ…´½Ñ‹µ ´°½½Ñ‹µ ħрµ·°½Ñ‹ ¸ğ¸ żÑƒÑÑ‚Ñ‹.’½ÑƒÑ‚Ñ€µ½½ÑÑ ш¸ħş° р°·ħр° ż°Ñ€°ĵµÑ‚Ñ€² şĵ°½´½ı стрş¸ ’½ÑƒÑ‚Ñ€µ½½ÑÑ ш¸ħş° р°·ħр° ż°Ñ€°ĵµÑ‚Ñ€² şĵ°½´½ı стрş¸. ’½ÑƒÑ‚Ñ€µ½½ÑÑ ш¸ħş° р°·ħр° ż°Ñ€°ĵµÑ‚Ñ€² şĵ°½´½ı стрş¸ ’½ÑƒÑ‚Ñ€µ½½ÑÑ ш¸ħş°: żżÑ‹Ñ‚ş° żÑ€Ñ‡¸Ñ‚°Ñ‚ÑŒ ½µ ż´´µÑ€ĥ¸²°µĵую р°·Ñ€Ñ´½ÑÑ‚ÑŒ ² %d ħ¸Ñ‚ µ´żÑƒÑÑ‚¸ĵ°Ñ ½Ñƒğµ²°Ñ ч°ÑÑ‚Ñ‚° ş°´Ñ€² šğюч ½µ ½°ı´µ½›³¸Ñ‡µÑş¸ı żÑ‚ş %d ·°²µÑ€ÑˆÑ‘½ œ¸½¸ĵ°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт ½µ уст°½²ğµ½ œ¸½¸ĵ°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт: %f šħ/с žÑˆ¸ħş° ²Ñ‹´µğµ½¸Ñ ż°ĵят¸ żÑ€¸ ²Ñ‹żğ½µ½¸¸ stats_init() Ħħı рµĥ¸ĵ° ¸½¸Ñ†¸°ğ¸·°Ñ†¸¸: ½µşÑ€Ñ€µşÑ‚½Ñ‹µ ż°Ñ€°ĵµÑ‚ры ´ğя ħ¸Ñ‚Ñ€µıт° Ħħı рµĥ¸ĵ° ¸½¸Ñ†¸°ğ¸·°Ñ†¸¸: ½µşÑ€Ñ€µşÑ‚½Ñ‹µ ż°Ñ€°ĵµÑ‚ры ´ğя ş°Ñ‡µÑÑ‚²° ˜ĵя²Ñ‹ı ğ³¸Ñ‡µÑş¸ı żÑ‚ş (#%d, сµÑ€¸ı½Ñ‹ı ½ĵµÑ€: %08x): т¸ż %s µ уş°·°½Ñ‹ ²Ñ…´½Ñ‹µ ф°ığы. ”ğя żğучµ½¸Ñ сżÑ€°²ş¸ ¸Ñżğь·Ñƒıтµ "ogginfo -h" µÑ‚ şğюч°µ ½°ı´µ½Ñ‹ ĵ´Ñƒğ¸ ´ğя чтµ½¸Ñ ¸· ф°ığ° %s. µ ½°ı´µ½ ·½°Ñ‡µ½¸µ ´żğ½¸Ñ‚µğь½³ ż°Ñ€°ĵµÑ‚Ñ€° ş´¸Ñ€²Ñ‰¸ş° ĵ¸½°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт ½µ уст°½²ğµ½ ĵ¸½°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт: %f šħ/с —½°Ñ‡µ½¸µ ½ĵ¸½°ğь½³ ş°Ñ‡µÑÑ‚²° (0-63): %d ŸÑ€¸ĵµÑ‡°½¸µ: ŸÑ‚ş %d ¸ĵµµÑ‚ сµÑ€¸ı½Ñ‹ı ½ĵµÑ€ %d, чт ´żÑƒÑÑ‚¸ĵ, ½ ĵĥµÑ‚ ²Ñ‹·²°Ñ‚ÑŒ żÑ€ħğµĵы ² р°ħтµ ½µşÑ‚рых ¸½ÑÑ‚руĵµ½Ñ‚². §Ñ‚µ½¸µ ф°ığ² Ogg FLACŸÑ‚ş Ogg Vorbis: %d ş°½°ğ, %ld “ц°Ñ€ÑƒÑˆµ½Ñ‹ ³Ñ€°½¸Ñ‡µ½¸Ñ ĵуğьт¸żğµşÑ¸Ñ€²°½¸Ñ Ogg. °ı´µ½ ½²Ñ‹ı żÑ‚ş ´ żğучµ½¸Ñ ĵ°Ñ€şµÑ€² ş½Ñ†° ²ÑµÑ… żÑ€µ´Ñ‹´ÑƒÑ‰¸Ñ… żÑ‚ş²žÑ‚şÑ€Ñ‹Ñ‚¸µ с ĵ´Ñƒğµĵ %s: %s °ı´µ½° стр°½¸Ñ†° ´ğя żÑ‚ş° żÑğµ żğучµ½¸Ñ ĵ°Ñ€şµÑ€° µ³ ş½Ñ†°¤Ñ€ĵ°Ñ‚ ż¸şÑµğя 4:2:0 ¤Ñ€ĵ°Ñ‚ ż¸şÑµğя 4:4:2 ¤Ñ€ĵ°Ñ‚ ż¸şÑµğя 4:4:4 µżÑ€°²¸ğь½Ñ‹ı фрĵ°Ñ‚ ż¸şÑµğя ’сżÑ€¸·²µ´µ½¸µ: %sžħр°ħтş° ½µ у´°ğ°ÑÑŒ žħр°ħтş° ф°ığ° "%s"... žħр°ħтş°: ’ырµ·°½¸µ ² ż·¸Ñ†¸¸ %lld ş°´Ñ€² žżÑ†¸Ñ ş°Ñ‡µÑÑ‚²° "%s" ½µ ż·½°½°, ¸³½Ñ€¸Ñ€ÑƒµÑ‚ся ‘¸Ñ‚Ñ€µıт: %ld ”ğя ·°żÑ€Ñ° ĵ¸½¸ĵ°ğь½³ ¸ğ¸ ĵ°şÑ¸ĵ°ğь½³ ħ¸Ñ‚Ñ€µıт° трµħуµÑ‚ся --managed ˜·ĵµ½µ½¸µ ч°ÑÑ‚ты ²Ñ‹ħрş¸ ²Ñ…´½Ñ‹Ñ… ф°ığ² с %d ´ %d “ц £ĵ½ĥµ½¸µ ²Ñ…´½³ с¸³½°ğ° ½° %f £ÑÑ‚°½²ğµ½Ñ‹ ½µħя·°Ñ‚µğь½Ñ‹µ ĥёстş¸µ ³Ñ€°½¸Ñ‡µ½¸Ñ ş°Ñ‡µÑÑ‚²° £ÑÑ‚°½²ş° ´żğ½¸Ñ‚µğь½³ ż°Ñ€°ĵµÑ‚Ñ€° ş´¸Ñ€²Ñ‰¸ş° "%s" ² %s ŸÑ€żÑƒÑş°µĵ фр°³ĵµ½Ñ‚ т¸ż° "%s", ´ğ¸½° %d £ÑżµÑˆ½µ ·°²µÑ€Ñˆµ½¸µĦ¸ÑÑ‚µĵ½°Ñ ш¸ħş°Ĥµğµ²ı ħ¸Ñ‚Ñ€µıт: %d šħ/с ¤Ñ€ĵ°Ñ‚ ф°ığ° %s ½µ ż´´µÑ€ĥ¸²°µÑ‚ся. —°³ğ²ş¸ theora ħр°ħт°½Ñ‹ ´ğя żÑ‚ş° %d, ´°ğµµ ¸½Ñ„Ñ€ĵ°Ñ†¸Ñ... ’Ñ€µĵя: %sŸğ½µ ¸·ħр°ĥµ½¸µ: %d ½° %d, с´²¸³ ħрµ·ş¸ (%d, %d) ˘¸żµ¸·²µÑÑ‚½°Ñ ш¸ħş°µ р°Ñż·½°²°µĵыı ´żğ½¸Ñ‚µğь½Ñ‹ı ż°Ñ€°ĵµÑ‚Ñ€ "%s" œ°şÑ¸ĵ°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт ½µ уст°½²ğµ½ œ°şÑ¸ĵ°ğь½Ñ‹ı ħ¸Ñ‚Ñ€µıт: %f šħ/с ĦµşÑ†¸Ñ żğь·²°Ñ‚µğьсş¸Ñ… şĵĵµ½Ñ‚°Ñ€¸µ² сğµ´ÑƒµÑ‚ ·°... ŸÑÑ‚°²Ñ‰¸ş: %s ŸÑÑ‚°²Ñ‰¸ş: %s (%s) ’µÑ€Ñ¸Ñ: %d ’µÑ€Ñ¸Ñ: %d.%d.%d ¤Ñ€ĵ°Ñ‚ Vorbis: ’µÑ€Ñ¸Ñ %d—°³ğ²ş¸ vorbis ħр°ħт°½Ñ‹ ´ğя żÑ‚ş° %d, ´°ğµµ ¸½Ñ„Ñ€ĵ°Ñ†¸Ñ... ’˜œ˜•: ĦĵµÑˆµ½¸µ с¸³½°ğ² ²·ĵĥ½ тğьş ¸· стµÑ€µ ² ĵ½ ’˜œ˜•: µ²·ĵĥ½ żÑ€Ñ‡¸Ñ‚°Ñ‚ÑŒ °Ñ€³Ñƒĵµ½Ñ‚ "%s" ² żÑ€Ñ´şµ с𵴲°½¸Ñ ħ°ıт ’˜œ˜•: µ²·ĵĥ½ żÑ€Ñ‡¸Ñ‚°Ñ‚ÑŒ ¸·ĵµ½µ½¸µ ч°ÑÑ‚ты "%s" ’˜œ˜•: µşÑ€Ñ€µşÑ‚½Ñ‹ı уżÑ€°²ğяющ¸ı с¸ĵ²ğ '%c' ² фрĵ°Ñ‚µ ¸ĵµ½¸, ¸³½Ñ€¸Ñ€ÑƒµÑ‚ся ’˜œ˜•: £ş°·°½ ½µ´ÑÑ‚°Ñ‚ч½µ şğ¸Ñ‡µÑÑ‚² ·°³ğ²ş², уст°½²ğµ½Ñ‹ żÑğµ´½¸µ ·½°Ñ‡µ½¸Ñ. ’˜œ˜•: £ş°·°½ ½µşÑ€Ñ€µşÑ‚½µ ·½°Ñ‡µ½¸µ ħ¸Ñ‚/ş°´Ñ€, żÑ€µ´żğ°³°µÑ‚ся 16. ’˜œ˜•: £ş°·°½ ½µ²µÑ€½µ ч¸Ñğ ş°½°ğ², żÑ€µ´żğ°³°µÑ‚ся 2. ’˜œ˜•: £ş°·°½ ½µşÑ€Ñ€µşÑ‚½µ ·½°Ñ‡µ½¸µ ч°ÑÑ‚ты ²Ñ‹ħрş¸, żÑ€µ´żğ°³°µÑ‚ся 44100. ’˜œ˜•: £ş°·°½ ½µÑşğьş ·°ĵµ½ ф¸ğьтр² фрĵ°Ñ‚² ¸ĵµ½¸, ¸Ñżğь·ÑƒµÑ‚ся żÑğµ´½ÑÑ ’˜œ˜•: £ş°·°½ ½µÑşğьş ф¸ğьтр² фрĵ°Ñ‚² ¸ĵµ½¸, ¸Ñżğь·ÑƒµÑ‚ся żÑğµ´½¸ı ’˜œ˜•: £ş°·°½ ½µÑşğьş фрĵ°Ñ‚² ¸ĵµ½¸, ¸Ñżğь·ÑƒµÑ‚ся żÑğµ´½¸ı ’˜œ˜•: £ş°·°½ ½µÑşğьş ²Ñ‹Ñ…´½Ñ‹Ñ… ф°ığ², żÑ€µ´żğ°³°µÑ‚ся ¸Ñżğь·²°½¸µ ż°Ñ€°ĵµÑ‚Ñ€° -n ’˜œ˜•: £ş°·°½ ·½°Ñ‡µ½¸µ сырых ħ¸Ñ‚/ş°´Ñ€ ´ğя ½µ-сырых ´°½½Ñ‹Ñ…. ŸÑ€µ´żğ°³°µÑ‚ся сырı ²²´. ’˜œ˜•: £ş°·°½ ч¸Ñğ сырых ş°½°ğ² ´ğя ½µ-сырых ´°½½Ñ‹Ñ…. ŸÑ€µ´żğ°³°µÑ‚ся сырı ²²´. ’˜œ˜•: £ş°·°½ żÑ€Ñ´ş ħ°ıт сырых ´°½½Ñ‹Ñ… ´ğя ½µ-сырых ´°½½Ñ‹Ñ…. Ÿ´Ñ€°·Ñƒĵµ²°µĵ сырыµ ´°½½Ñ‹µ. ’˜œ˜•: £ş°·°½° сыр°Ñ ч°ÑÑ‚Ñ‚° ²Ñ‹ħрş¸ ´ğя ½µ-сырых ´°½½Ñ‹Ñ…. ŸÑ€µ´żğ°³°µÑ‚ся сырı ²²´. ’˜œ˜•: £ş°·°½ ½µ¸·²µÑÑ‚½Ñ‹ı ż°Ñ€°ĵµÑ‚Ñ€, ¸³½Ñ€¸Ñ€ÑƒµÑ‚ся-> ’˜œ˜•: уст°½²ğµ½ сğ¸Ñˆşĵ ²Ñ‹Ñşµ ş°Ñ‡µÑÑ‚², ³Ñ€°½¸Ñ‡µ½ ´ ĵ°şÑ¸ĵ°ğь½³ ŸÑ€µ´ÑƒżÑ€µĥ´µ½¸µ ¸· сż¸Ñş° ²ÑżÑ€¸·²µ´µ½¸Ñ %s: µ²·ĵĥ½ żÑ€Ñ‡¸Ñ‚°Ñ‚ÑŒ ş°Ñ‚°ğ³ %s. ’½¸ĵ°½¸µ: µ²·ĵĥ½ żÑ€Ñ‡¸Ñ‚°Ñ‚ÑŒ ş°Ñ‚°ğ³ %s. ¨¸Ñ€¸½°: %d ½µżÑ€°²¸ğь½Ñ‹ı şĵĵµ½Ñ‚°Ñ€¸ı: "%s" ħуğµ²Ñ¸ĵ²ğустрıст² ²Ñ‹²´° ż уĵğч°½¸ÑŽ´².тч½.с żğ.тчşıцµğыı´µıст²¸µ ½µ уş°·°½ ½µ уş°·°½¸· %s´Ñ€Ñƒ³ıżµÑ€µĵµÑˆ°Ñ‚ÑŒ сż¸Ñş ²ÑżÑ€¸·²µ´µ½¸ÑÑÑ‚°½´°Ñ€Ñ‚½Ñ‹ı ²²´ÑÑ‚°½´°Ñ€Ñ‚½Ñ‹ı ²Ñ‹²´ÑÑ‚Ñ€ş°vorbis-tools-1.4.0/po/sk.gmo0000644000175000017500000005442711353056542012656 00000000000000Ŝ•Ŭ3ì ¸ı× ó$)Nk†˜ĴÂÙó, :%X,~-Ğ Ù&ú!AagpƒŠ,‘!Zà7;*s-ž<ÌS +]Q‰!Ûŭ4*J,u˘¸ Ŭñ 0A:9|ĥÓ0ä #1<7n Ĥ&³Ú/ô#$.H#w›şĜö (.'I(qIš1ä:1QMƒ#Ñġ[@`6ĦRĜ>+1jBœ ß! "" E e *† $ħ Ö ò  !L!&g!>Ž!4Í!,"/".@",o"%œ"'Â"ê"ó"#,#+E#q# Ž#4š#6Ï#$%$5$,O$-|$'Ş$8Ò$ % #%1%J%a%(y%;˘%;Ŝ%&0&0P&&*ˆ&+³&ß&ĝ&#']6'”'%İ'NÏ'($:(_(s(‡(›( ħ(½(($ê(-) =);I)%…)Ğ)'À)+è)'*<* D*Q*(j*<“**,Ù*+ +"+<+S+!k+ +™+ Ş+·+Ê+<ä+2!,0T,1…,?·,C÷,5;-6q-8¨-Iá-=+.6i.; .LÜ.N)/Kx/LÄ/.0?@07€0&¸0 ß0ê0ŭ0111$1*1.1C1H1N1T1e1t1„1Ŝ‹1j3Š3 İ3Ê3"à34"#4F4]4'v4)ž4 È4 é47 5)B5(l57•58Í5,6)36!]6!6Ħ6 §6µ6È6 Ï6?Ù6/7‰I7@Ó7/82D8@w8u¸87.9if9(9$ù9?:9^:,˜:Ċ:ß: ˙: ;$;9;"S;v;L†;FÓ;#<></T< „< ’<8³<<ì< )=17=#i===$Ë=7=$(>'M> u>–> ĥ> ×>>é>ñ>1?3:?Tn?;?C˙?3C@_w@!×@ù@^ AEiA5ŻAXċA?>B0~BKŻB/ûB0+C1\C1ŽC3ÀC6ôC-+D/YD'‰DħDcÁD5%EB[E8žE*×EFEF4_F-”F/ÂF òFŭFG5"G5XG%ŽG ´GTÁGQHhH‡H™HI·HDI<FIEƒI%ÉIïIJ J>J%YJ>J>JŭJ<K8AKzK/ŠKBşK ŭKL)ÇR<SVCSFšSAáSL#TOpTIÀTB UIMUm—UfVelVpÒV5CWTyW>ÎW2 X @XMXgXlX!qX“XšX X¤X½XĊXÊXÏXêXüXYœDÑĴÌ£h H?=$]1;µ0M_[ž‘OŒkF°–Ò´&V5ܐ¸aħvŠ3y§"×@zxb¨~L(rIğĜÈËo ĵpB™ZY’liR \A½ŻN{P‚ı†! ,/ĞXU›7ÄÉ)GftŽÂÊÁˆÓ<4n`š2˜ÇEŸjĈ*q“ż8ÙŬ‹‰·'ĠĦeÚĤCÀ#¤dƒ” ‡•Ş…9΀m u­%³+-}„W.²S—6QcÍ:gKş|^ĥĊİÛsT ÔJw˘>ÏÖ 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. === Cannot specify output file without specifying a driver. === 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 readerAspect ratio undefined Author: %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 Channels: %d Colourspace unspecified Colourspace: Rec. ITU-R BT.470-6 System M (NTSC) Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL) 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: %sFrame aspect 16:9 Frame aspect 4:3 Frame offset/size invalid: height incorrect Frame offset/size invalid: width incorrect Framerate %d/%d (%.02f fps) Height: %d 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 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 Invalid zero framerate Key not foundLogical stream %d ended Lower bitrate not set Lower bitrate: %f kb/s 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 Nominal bitrate not set Nominal bitrate: %f kb/s Nominal quality setting (0-63): %d 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 flagPixel format 4:2:0 Pixel format 4:2:2 Pixel format 4:4:4 Pixel format invalid Playing: %sProcessing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring Rate: %ld 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 errorTarget bitrate: %d kbps The file format of %s is not supported. Theora headers parsed for stream %d, information follows... Time: %sTotal image: %d by %d, crop offset (%d, %d) TypeUnknown errorUnrecognised advanced option "%s" Upper bitrate not set Upper bitrate: %f kb/s User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Version: %d.%d.%d Vorbis format: Version %dVorbis headers parsed for stream %d, information follows... WARNING: 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. Width: %d 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2008-03-20 20:15+0100 Last-Translator: Peter TuhĦrsky Language-Team: Slovak 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 určiĊ v½stupn½ sşbor bez určenia ovlĦdača. === 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/AIFCPomer strĦn nebol definovan½ Autor: %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 KanĦlĊŻ: %d Nebol zadan½ farebn½ priestor Farebn½ priestor: Rec. ITU-R BT.470-6 Systİm M (NTSC) Farebn½ priestor: Rec. ITU-R BT.470-6 Systİmy B a G (PAL) 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: %sPomer strĦn 16:9 Pomer strĦn 4:3 Neplatn½ posun/veÄkosĊ rĦmca: nesprĦvna v½ĊĦka Neplatn½ posun/veÄkosĊ rĦmca: nesprĦvna ĊĦ­rka R½chlosĊ rĦmcov %d/%d (%.02f fps) V½ĊĦka: %d VeÄ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 NeplatnĦ nulovĦ r½chlosĊ rĦmcov Kĺč sa nenaĊĦielLogick½ proud %d skončil NiĊĊĦ­ bitrate nenastavena NiĊĊĦ­ bitrate: %f kb/s 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 NominĦln­ bitrate nenastavena NominĦln­ bitrate: %f kb/s Č­selnİ nastavenie kvality (0-63): %d 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 EOSFormĦt pixelov 4:2:0 FormĦt pixelov 4:2:2 FormĦt pixelov 4:4:4 Neplatn½ formĦt pixelov PĊ™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 Frekvence: %ld 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Ħ chybaCieÄovĦ bitovĦ r½chlosĊ: %d kb/s FormĦt souboru %s nen­ podporovĦn. Hlavičky theora spracovanİ pre prşd şdajov %d, nasledujş informĦcie... Čas: %sCelkov½ obraz: %d o %d, orezaĊ posun (%d, %d) TypNeznĦma chybaNerozpoznan½ pokročil½ pĊ™ep­nač "%s" VyĊĦĊĦ­ bitrate nenastavena VyĊĦĊĦ­ bitrate: %f kb/s NĦsleduje oblast poznĦmek uĊivatele... Dodavatel: %s Dodavatel: %s (%s) Verze: %d Verzia: %d.%d.%d Vorbis formĦt: Verzia %dHlavičky vorbis zpracovĦny pro proud %d, nĦsleduj­ informace... VAROVANIE: 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. Ċ ­rka: %d ĊĦpatnĦ poznĦmka: "%s" boolcharimplicitnİ v½stupnİ zariadeniedoublefloatintneurčena ĊĦdnĦ akce Ċiadnyz %sin½pomieĊĦaĊ zoznam skladiebstandardn­ vstupstandardn­ v½stupstringvorbis-tools-1.4.0/po/sv.gmo0000644000175000017500000002475711353056542012674 00000000000000Ŝ•q¤—,ˆ ‰ §  Ĝ ġ  " 8 O i ,ƒ ° %Î ,ô -! O &p — · × !à Z 7] *• -À <î S+ + QĞ !ŭ *7,b ²ĈÙì 9I&Z#›#ż= EQ'W(I¨1ò1$MV¤B³ ö!9 Y$zLŸ&ì>4R,‡%´'Ú4 @_o'‰ ħ(żèí*ô ;'Go w(„­ĥ ğ?É "-<Vj*Á,ìW/q&Ħ/È.ĝ,'1T†™ŻµĈĠ`ċ(Fo‹ĤÀĜéû )%Ci$†%Ğ'Ñ ù&AZs#|l 6 (D?m0­dŜ$C]h&Ĉí)8,eyŠ!ĦŬúG R *f ‘ 1Ğ "Ŭ !!#"! F! g! u!!#‡!#Ğ!:Ï!* "#5"GY" Ħ"B")ñ"*##F##j#$Ž#A³# ġ#;$1R$1„$-ĥ$-ä$%5%P%p%‚%,%Ê%%ß%& &)&A& Z&&e&Œ& •&Ÿ&&Ĉ& Ê&=Ô& ' '+@'dl',Ñ'*ŝ'X)(.‚("ħ(1Ô(0)17)+i)•)Ż)ż)Ċ) ×) )g/k]%BqV& c"8d(H,`;.1le)\?C<P9TJp 5fN 26!XhRK'U[$L0IWEGAO^mYM F_+ iD=bQZ4jn3*@:So#7a>- 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. === Cannot specify output file without specifying a driver. === 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 WAV file readerWarning: AIFF-C header truncated. Warning: Corrupted SSND chunk in AIFF header Warning: INVALID format chunk in wav header. Trying to read anyway (may not work)... Warning: No SSND chunk found in AIFF file Warning: No common chunk found in AIFF file Warning: OggEnc does not support this type of AIFF/AIFC file Must be 8 or 16 bit PCM. Warning: Truncated common chunk in AIFF header Warning: Unexpected EOF in AIFF chunk Warning: Unexpected EOF in reading AIFF header Warning: Unexpected EOF in reading WAV header Warning: Unexpected EOF reading AIFF header Warning: Unrecognised format chunk in WAV header 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2002-02-20 14:59+0100 Last-Translator: Mikael Hedin Language-Team: Swedish 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. == Kan inte ange utfil utan att ange drivrutin. === 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 WAV-filläsareVarning: AIFF-C-huvud stympat. Varning: Felaktigt SSND-block i AIFF-huvud Varning: OGILTIGT format pċ block i wav-huvud. Försöker läsa i alla fall (kanske inte fungerar)... Varning: Hittar inget SSND-block i AIFF-fil Varning: Ingen gemensamt block i AIFF-fil Varning: OggEnc stödjer inte denna typ AIFF/AIFC-fil. Mċste vara 8 eller 16 bitars PCM. Varning: Stympat gemensamt block i AIFF-huvud Varning: Oväntad EOF i AIFF-block Varning: Oväntad EOF under läsning av AIFF-huvud Varning: Oväntad EOF under läsning av WAV-huvud Varinig: Oväntad EOF under läsning av AIFF-huvud Varning: okänt format pċ block i Wav-huvud felaktig kommentar: "%s" förvald utenhetav %sblanda spellistanstandard instandard utvorbis-tools-1.4.0/po/uk.gmo0000644000175000017500000007256111353056542012657 00000000000000Ŝ•43L7 St$‰°Íèú$;U,oœ%ş,à-  ;&\ƒ£ÉÒċì,ó! ZB7*Ġ-<.Sk+żQë!=_4w*Ĵ,× 2?Sfy ’Aœ9Ŝ50F w…1ž7  &(O/i#™.½#ì/Mk‰ ‘£'(ĉI1Y:‹1ĈMĝ#Fj[y@Ġ6RM> 1ßB T !u "— ş Ú *û $&!K!g!€!L!&Ü!>"4B",w"¤".µ",ä"%#'7#_#h#{#,#+ş#ĉ# $4$6D${$š$Ş$,Ä$-ñ$'%8G%€% ˜%Ĥ%ż%Ö%(î%;&;S&&0”&0Ċ&ö&*ŭ&+('T'm'#‡']Ğ' (%(ND(“($Ż(Ô(è(ü() &)2)E)$_)-„) ²))Ò);ĉ)%"*H*']*+…*'ħ*Ù* á*î*(+<0+m+,v+ £+ħ+ ĥ+"Ä+ç+ŝ+!, 8,D, U,b,u,<,2Ì,0˙,10-?b-C˘-5ĉ-6.8S.IŒ.=Ö.6/;K/L‡/NÔ/K#0Lo0.ĵ0?ë07+1&c1 Š1•1¨1­1²1È1Ï1Ġ1Ù1î1ó1ù1˙122/2‚626ı3237#4"[42~4ħ41³48ċ4)5(H5"q5$”54ı54î5\#65€6Qĥ6\7]e787Rü77O87‡8ż8 Û8#è8 9 9r 9N“9Ĝâ9_ğ:W;ns;kâ;ÏN<J=żi=@)>)j>t”>B ?ZL?%§?BÍ?@%!@&G@0n@DŸ@'ä@w A„„AL B+VBN‚BÑB:BECKdC°CÂCÙC]÷C=UDf“DFúDhAE?ŞEFêE@1FHrFLğF GGG.2GXaGVşGH`‘H…òH†xIĵ˙IYĵJK˜-KgĈKE.L‰tL~ŝLT}MˆÒMR[NSNROOUOKOeñOEWP?P5ŬP QŸ4QUÔQu*Rk RJ S WSƒxS_üSS\T[°T U:U9TU[ŽU[êU6FV}VXVrèV@[W2œW;ÏWQ Xn]XmÌXz:YBµYĝY4ZOLZCœZWàZ”8[vÍ[ D\[O\€Ğ\,]KB]jŽ]Où]CI^-^Ìğ^$ˆ_0­_Ŝ_1n`< `Ŭ`ü`a/:aja#…a#İaGÍaUb!kb3b5Áb•÷bNc7Üc`dxudMîd!ˆ:ÔƒŻp´ x²  &ı,„.€Ş‡Z/¸VšÄ7TfÓ;jNşaĵËávW£ĴMz§AĠÜ 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. === Cannot specify output file without specifying a driver. === 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 readerAspect ratio undefined Author: %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 Channels: %d Colourspace unspecified Colourspace: Rec. ITU-R BT.470-6 System M (NTSC) Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL) 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: %sFrame aspect 16:9 Frame aspect 4:3 Frame offset/size invalid: height incorrect Frame offset/size invalid: width incorrect Framerate %d/%d (%.02f fps) Height: %d 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 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 Invalid zero framerate Key not foundLogical stream %d ended Lower bitrate not set Lower bitrate: %f kb/s 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 Nominal bitrate not set Nominal bitrate: %f kb/s Nominal quality setting (0-63): %d 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 flagPixel format 4:2:0 Pixel format 4:2:2 Pixel format 4:4:4 Pixel format invalid Playing: %sProcessing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring Rate: %ld 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 errorTarget bitrate: %d kbps The file format of %s is not supported. Theora headers parsed for stream %d, information follows... Time: %sTotal image: %d by %d, crop offset (%d, %d) Track number:TypeUnknown errorUnrecognised advanced option "%s" Upper bitrate not set Upper bitrate: %f kb/s User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Version: %d.%d.%d Vorbis format: Version %dVorbis headers parsed for stream %d, information follows... WARNING: 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. Width: %d 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2007-08-17 16:32+0200 Last-Translator: Maxim V. Dziumanenko Language-Team: Ukrainian 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 ş“ц š°½°ğ¸: %d ŸÑ€ÑÑ‚Ñ–Ñ€ şğьрі² ½µ ²¸·½°Ñ‡µ½¸ı ŸÑ€ÑÑ‚Ñ–Ñ€ şğьрі²: Rec. ITU-R BT.470-6 System M (NTSC) ŸÑ€ÑÑ‚Ñ–Ñ€ şğьрі²: Rec. ITU-R BT.470-6 Systems B and G (PAL) šĵµ½Ñ‚°Ñ€:šĵµ½Ñ‚°Ñ€Ñ–: %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ĦżÑ–²²Ñ–´½Ñˆµ½½Ñ стрі½ ş°´Ñ€Ñƒ 16:9 ĦżÑ–²²Ñ–´½Ñˆµ½½Ñ стрі½ ş°´Ñ€Ñƒ 4:3 µşÑ€µşÑ‚½¸ı ·ÑÑƒ²/р·ĵір ş°´Ñ€Ñƒ: ½µşÑ€µşÑ‚½° ²¸ÑÑ‚° µşÑ€µşÑ‚½¸ı ·ÑÑƒ²/р·ĵір ş°´Ñ€Ñƒ: ½µşÑ€µşÑ‚½° ш¸Ñ€¸½° §°ÑÑ‚Ñ‚° ş°´Ñ€Ñ–² %d/%d (%.02f ş°´Ñ€/с) ’¸ÑÑ‚°: %d  ·ĵір ²Ñ…Ñ–´½³ ħуфµÑ€° ĵµ½Ñˆµ ĵі½Ñ–ĵ°ğь½³ - %dş‘.°·²° ²Ñ…Ñ–´½³ ф°ığу ½µ ĵĥµ сżÑ–²ż°´°Ñ‚¸ · ½°·²ÑŽ ф°ığу ²¸²´Ñƒ ’Ñ…Ñ–´½Ñ– ´°½Ñ– ½µ є ħіт²¸ĵ żÑ‚şĵ Ogg.’Ñ…Ñ–´½Ñ– ´°½Ñ– ½µ у фрĵ°Ñ‚Ñ– ogg. ’Ñ…Ñ–´½Ñ– ´°½Ñ– ħрі·°½Ñ– ч¸ żÑ€ĥ½Ñ–.’½ÑƒÑ‚ріш½Ñ żĵ¸ğş° °½°ğі·Ñƒ şĵ°½´½³ ря´ş° ’½ÑƒÑ‚ріш½Ñ żĵ¸ğş° żÑ€¸ °½°ğі·Ñ– ż°Ñ€°ĵµÑ‚рі² şĵ°½´½³ ря´ş°. ’½ÑƒÑ‚ріш½Ñ żĵ¸ğş° żÑ€¸ °½°ğі·Ñ– ż°Ñ€°ĵµÑ‚рі² şĵ°½´½³ ря´ş° ’½ÑƒÑ‚ріш½Ñ żĵ¸ğş°: сżÑ€ħ° żÑ€Ñ‡¸Ñ‚°Ñ‚¸ ½µżÑ–´Ñ‚Ñ€¸ĵу²°½Ñƒ р·Ñ€Ñ´½Ñ–сть %d µşÑ€µşÑ‚½¸ı ½Ñƒğь²° ч°ÑÑ‚Ñ‚° ş°´Ñ€Ñ–² šğюч ½µ ·½°ı´µ½›³Ñ–ч½¸ı żÑ‚Ñ–ş %d ·°²µÑ€Ñˆ¸²ÑÑ œÑ–½Ñ–ĵ°ğь½° щіğь½Ñ–сть ħіті² ½µ ²ÑÑ‚°½²ğµ½° œÑ–½Ñ–ĵ°ğь½° щіğь½Ñ–сть ħіті²: %f şħіт/с Ÿĵ¸ğş° р·ż´Ñ–ğу ż°ĵ'яті żÑ€¸ ²¸ş½°½½Ñ– stats_init() Ÿĵ¸ğş° рµĥ¸ĵу і½Ñ–Ñ†Ñ–°ğі·°Ñ†Ñ–Ñ—: ½µżÑ€°²¸ğь½Ñ– ż°Ñ€°ĵµÑ‚Ñ€¸ ´ğя щіğь½ÑÑ‚Ñ– żÑ‚şÑƒ ħіті² Ÿĵ¸ğş° рµĥ¸ĵу і½Ñ–Ñ†Ñ–°ğі·°Ñ†Ñ–Ñ—: ½µżÑ€°²¸ğь½Ñ– ż°Ñ€°ĵµÑ‚Ñ€¸ ´ğя яşÑÑ‚Ñ– °·²°²¸ı ğ³Ñ–ч½¸ı żÑ‚Ñ–ş (#%d, сµÑ€Ñ–ı½¸ı ½ĵµÑ€: %08x): т¸ż %s µ ²ş°·°½Ñ– ²Ñ…Ñ–´½Ñ– ф°ığ¸. ”ğя тр¸ĵ°½½Ñ ´²Ñ–´ş¸ ²¸şÑ€¸ÑÑ‚²Ñƒıтµ "ogginfo -h" µĵ°Ñ” şğюч°µ ·½°ı´µ½Ñ– ĵ´Ñƒğі ´ğя ч¸Ñ‚°½½Ñ ф°ığу · %s. µ ·½°ı´µ½ ·½°Ñ‡µ½½Ñ ´´°Ñ‚ş²³ ż°Ñ€°ĵµÑ‚Ñ€° ş´Ñƒ²°ğь½¸ş° ĵі½°ğь½° щіğь½Ñ–сть ħіті² ½µ ²ÑÑ‚°½²ğµ½° ĵі½°ğь½° щіğь½Ñ–сть ħіті²: %f şħіт/с ĵі½°ğь½° яşÑ–сть (0-63): %d ŸÑ€¸ĵітş°: żÑ‚Ñ–ş %d ĵ°Ñ” сµÑ€Ñ–ı½¸ı ½ĵµÑ€ %d, щ żÑ€¸żÑƒÑş°Ñ”ться, °ğµ ĵĥµ сżÑ€¸Ñ‡¸½¸Ñ‚¸ żÑ€ħğµĵ¸ · ´µÑş¸ĵ¸ і½ÑÑ‚руĵµ½Ñ‚°ĵ¸. §¸Ñ‚°½½Ñ ф°ığі² Ogg FLACŸÑ‚Ñ–ş Ogg Vorbis: %d ş°½°ğ¸, %ld “цŸÑ€ÑƒÑˆµ½ ħĵµĥµ½½Ñ ĵіşÑˆÑƒ²°½½Ñ Ogg, ½²¸ı żÑ‚Ñ–ş żµÑ€µ´ EOS усіх żżµÑ€µ´½Ñ–Ñ… şÑ‚şÑ–²’Ñ–´şÑ€¸²°Ñ”ться %s ĵ´Ñƒğµĵ: %s Ħтрі½ş° ½µ іс½ÑƒÑ” żÑ–сğя ·½°ş¸ EOS¤Ñ€ĵ°Ñ‚ тчş 4:2:0 ¤Ñ€ĵ°Ñ‚ тчş 4:2:2 ¤Ñ€ĵ°Ñ‚ тчş 4:4:4 µşÑ€µşÑ‚½¸ı фрĵ°Ñ‚ тчş ’Ñ–´Ñ‚²Ñ€µ½½Ñ: %sžħрħş° ½µ ²´°ğ°ÑÑŒ žħрħş° ф°ığу "%s"... žħрħş°: ’¸Ñ€Ñ–·°½½Ñ у ż·¸Ñ†Ñ–Ñ— %lld сµşÑƒ½´ Ÿ°Ñ€°ĵµÑ‚Ñ€ яşÑÑ‚Ñ– "%s" ½µ р·żÑ–·½°½, і³½Ñ€ÑƒÑ”ться ”¸ÑşÑ€µÑ‚¸·°Ñ†Ñ–я: %ld  Ñ–²µ½ÑŒ ²Ñ–´Ñ‚²Ñ€µ½½Ñ (°ğьħĵ): Ñ–²µ½ÑŒ ²Ñ–´Ñ‚²Ñ€µ½½Ñ (´Ñ€Ñ–ĥş°):”ğя ·°ż¸Ñ‚у ĵі½Ñ–ĵ°ğь½Ñ— ч¸ ĵ°şÑ¸ĵ°ğь½Ñ— щіğь½ÑÑ‚Ñ– żÑ‚şÑƒ ħіті² ²¸ĵ°³°Ñ”ться --managed —ĵі½° ч°ÑÑ‚Ñ‚¸ ²Ñ…Ñ–´½¸Ñ… ф°ığі² · %d “ц ´ %d “ц —ĵі½ÑŽÑ”ться ĵ°ÑÑˆÑ‚°ħ ²²´Ñƒ ½° %f ’ст°½²¸Ñ‚¸ ½µħ²'я·ş²Ñ– ħĵµĥµ½½Ñ ĥрстşÑ— яşÑÑ‚Ñ– ’ст°½²ğµ½½Ñ ´´°Ñ‚ş²³ ż°Ñ€°ĵµÑ‚Ñ€° ş´Ñƒ²°ğь½¸ş° "%s" у ·½°Ñ‡µ½½Ñ %s ŸÑ€żÑƒÑş°Ñ”ться фр°³ĵµ½Ñ‚ т¸żÑƒ "%s", ´²ĥ¸½° %d £ÑżÑ–ш½ ·°²µÑ€Ñˆµ½Ħ¸ÑÑ‚µĵ½° żĵ¸ğş°Ĥіğь²° щіğь½Ñ–сть ħіті²: %d şħіт/с ¤Ñ€ĵ°Ñ‚ ф°ığу %s ½µ żÑ–´Ñ‚Ñ€¸ĵується. žħрħğµ½Ñ– ·°³ğ²ş¸ theora ´ğя żÑ‚şÑƒ %d, ´°ğі ı´µ і½Ñ„Ñ€ĵ°Ñ†Ñ–я... §°Ñ: %sŸ²½µ ·ħр°ĥµ½½Ñ: %d ½° %d, ·ÑÑƒ² ş°´Ñ€Ñƒ²°½½Ñ (%d, %d) ĵµÑ€ ´Ñ€Ñ–ĥş¸:˘¸żµ²Ñ–´ĵ° żĵ¸ğş°µÑ€·żÑ–·½°½¸ı ´´°Ñ‚ş²¸ı ż°Ñ€°ĵµÑ‚Ñ€ "%s" œ°şÑ¸ĵ°ğь½° щіğь½Ñ–сть ħіті² ½µ ²ÑÑ‚°½²ğµ½° œ°şÑ¸ĵ°ğь½° щіğь½Ñ–сть ħіті²: %f şħіт/с ”°ğі сğі´ÑƒÑ” сµşÑ†Ñ–я şĵµ½Ñ‚°Ñ€Ñ–² şÑ€¸ÑÑ‚у²°Ñ‡°... ŸÑÑ‚°Ñ‡°ğь½¸ş: %s ŸÑÑ‚°Ñ‡°ğь½¸ş: %s (%s) ’µÑ€ÑÑ–я: %d ’µÑ€ÑÑ–я: %d.%d.%d ¤Ñ€ĵ°Ñ‚ Vorbis: ’µÑ€ÑÑ–я %džħрħğµ½Ñ– ·°³ğ²ş¸ vorbis ´ğя żÑ‚şÑƒ %d, ´°ğі ı´µ і½Ñ„Ñ€ĵ°Ñ†Ñ–я... Ÿžœ˜›š: —ĵішу²°½½Ñ с¸³½°ğі² ĵĥ𸲵 ğ¸Ñˆµ ·Ñ– стµÑ€µ у ĵ½ ŸžŸ• •”–•Ż: ½µ ²´°Ñ”ться żÑ€Ñ‡¸Ñ‚°Ñ‚¸ °Ñ€³Ñƒĵµ½Ñ‚ żÑ€Ñ´şÑƒ сğі´Ñƒ²°½½Ñ ħ°ıт "%s" ŸžŸ• •”–•Ż: ½µ ²´°Ñ”ться żÑ€Ñ‡¸Ñ‚°Ñ‚¸ ·ĵі½Ñƒ ч°ÑÑ‚Ñ‚¸ "%s" ŸžŸ• •”–•Ż: żÑ€Ñ–³½Ñ€²°½¸ı ½µşÑ€µşÑ‚½¸ı şµÑ€ÑƒÑŽÑ‡¸ı с¸ĵ²ğ '%c' у фрĵ°Ñ‚Ñ– ½°·²¸ ŸžŸ• •”–•Ż: ²ş°·°½° ½µ´ÑÑ‚°Ñ‚½Ñ şÑ–ğьşÑ–сть ·°³ğ²şÑ–², ²ÑÑ‚°½²ğµ½Ñ– ст°½½Ñ– ·½°Ñ‡µ½½Ñ. ŸžŸ• •”–•Ż: ²ş°·°½ ½µşÑ€µşÑ‚½µ ·½°Ñ‡µ½½Ñ ħіт/сµĵżğ, ²²°ĥ°Ñ”ться 16. ŸžŸ• •”–•Ż: ²ş°·°½° ½µżÑ€°²¸ğь½° şÑ–ğьşÑ–сть ş°½°ğі², ²²°ĥ°Ñ”ться 2. ŸžŸ• •”–•Ż: ²ş°·°½° ½µżÑ€°²¸ğь½° ч°ÑÑ‚Ñ‚° ´¸ÑşÑ€µÑ‚¸·°Ñ†Ñ–Ñ—, ²²°ĥ°Ñ”ться 44100. ŸžŸ• •”–•Ż: ’ş°·°½ ´µşÑ–ğьş° ·°ĵі½ фіğьтрі² фрĵ°Ñ‚Ñ–² ½°·², ²¸şÑ€¸ÑÑ‚²ÑƒÑ”ться ст°½½Ñ–ı ŸžŸ• •”–•Ż: ’ş°·°½ ´µşÑ–ğьş° фіğьтрі² фрĵ°Ñ‚Ñ–² ½°·², ²¸şÑ€¸ÑÑ‚²ÑƒÑ”ться ст°½½Ñ–ı ŸžŸ• •”–•Ż: ’ş°·°½ ´µşÑ–ğьş° фрĵ°Ñ‚Ñ–² ½°·², ²¸şÑ€¸ÑÑ‚²ÑƒÑ”ться ст°½½Ñ–ı ŸžŸ• •”–•Ż: ’ş°·°½ ´µşÑ–ğьş° ф°ığі² ²¸²´Ñƒ, рµşĵµ½´ÑƒÑ”ться ²¸şÑ€¸ÑÑ‚²Ñƒ²°Ñ‚¸ -n ŸžŸ• •”–•Ż: ²ş°·°½ ·½°Ñ‡µ½½Ñ с¸Ñ€¸Ñ… ħіт/сµĵżğ ´ğя ½µ с¸Ñ€¸Ñ… ´°½¸Ñ…. ’²°ĥ°Ñ”ться, щ ´°½Ñ– ½° ²²´Ñ– с¸Ñ€Ñ–. ŸžŸ• •”–•Ż: ²ş°·°½° şÑ–ğьşÑ–сть с¸Ñ€¸Ñ… ş°½°ğі² ´ğя ½µ с¸Ñ€¸Ñ… ´°½¸Ñ…. ’²°ĥ°Ñ”ться, щ ´°½Ñ– ½° ²²´Ñ– с¸Ñ€Ñ–. ŸžŸ• •”–•Ż: ²ş°·°½ żÑ€Ñ´ş с¸Ñ€¸Ñ… ħ°ıт ´ğя ½µ с¸Ñ€¸Ñ… ´°½¸Ñ…. ’²°ĥ°Ñ”ться, щ ´°½Ñ– с¸Ñ€Ñ–. ŸžŸ• •”–•Ż: ²ş°·°½° с¸Ñ€° ч°ÑÑ‚Ñ‚° ²¸ħірş¸ ´°½¸Ñ… ´ğя ½µ с¸Ñ€¸Ñ… ´°½¸Ñ…. ’²°ĥ°Ñ”ться, щ ´°½Ñ– ½° ²²´Ñ– с¸Ñ€Ñ–. ŸžŸ• •”–•Ż: ²ş°·°½ ½µ²Ñ–´ĵ¸ı ż°Ñ€°ĵµÑ‚Ñ€, і³½Ñ€ÑƒÑ”ться-> ŸžŸ• •”–•Ż: ²ÑÑ‚°½²ğµ½ ·°½°´Ñ‚ ²¸ÑşÑƒ яşÑ–сть, ħĵµĥµ½ ´ ĵ°şÑ¸ĵ°ğь½Ñ— ŸżµÑ€µ´ĥµ½½Ñ ·Ñ– сż¸ÑşÑƒ ²Ñ–´Ñ‚²Ñ€µ½½Ñ %s: ½µ ²´°Ñ”ться żÑ€Ñ‡¸Ñ‚°Ñ‚¸ ş°Ñ‚°ğ³ %s. ŸżµÑ€µ´ĥµ½½Ñ: ½µ ²´°Ñ”ться żÑ€Ñ‡¸Ñ‚°Ñ‚¸ ş°Ñ‚°ğ³ %s. ¨¸Ñ€¸½°: %d ½µżÑ€°²¸ğь½¸ı şĵµ½Ñ‚°Ñ€: "%s" boolcharт¸ż²¸ı żÑ€¸ÑÑ‚ріı ²¸²´Ñƒdoublefloatint½µ ²ş°·°½° ´Ñ–я none· %sі½Ñˆ¸ıżµÑ€µĵіш°Ñ‚¸ сż¸Ñş żÑ€³Ñ€°²°½½ÑÑÑ‚°½´°Ñ€Ñ‚½¸ı ²²Ñ–´ÑÑ‚°½´°Ñ€Ñ‚½¸ı ²¸²Ñ–´stringvorbis-tools-1.4.0/po/vi.gmo0000644000175000017500000014163211353056542012652 00000000000000Ŝ•O” Á (:X t•$ŞÏÑî F/FvB½;7<1t>Ĥ@ċ*&?Qğ‘FM ‚” ,!JD!&!Nĥ"û#F$<H$7…$i½$H'%Fp%1·%>é%?(&lh&<Ġ'z(-(bğ(–*1µ*+ç*d+cx,,Ü,Ë -Ġ-—ò/•Š1É 3Jê456jK6ĥ74Í788,68c8%8,§8-Ô8 9&#9J9j9Š99™9Ĵ9Q³9;, ;!9;Z[;7ĥ;*î;-<SG<<›<SĜ<+,=QX=!Ş=Ì=4ä=*>,D>q>‡> Ÿ>Ĵ>ż>Ó>ĉ>ù> ?A?9^?˜?µ? Ĉ?0Ô? @@+@1D@7v@ @&ğ@â@/ü@#,A%PA.vA#A/ÉA@ùA:BYBwB•B³BB ËB×BŬBĝB'C(>CIgC1ħC:C1DMPD2žDÑD#âDE[E@qE6²ERéE>ËH4 I,?IvlIIôI2ûI..J,]J%ŠJ'°JĜJŜJçJúJ K,K+LKxK"•K ¸KÈÄK4L6ÂLùLM(M7M,QM-~M'ĴM8ÔM N%N:CN%~N ¤N ²N+ÀNìNŭNOO3O(KOtO;‹O;ÇOP0P9P0JP{P‚P*“P+PêPQ#Q]AQŸŸQ?R%TR zR5ˆRNR S)S$9S ^SS“S§SğS ÑSŬSïST$T-AToT T;‹T%ÇTíT'U+*U'VU~U†UŽU ˘UŻUÈU(áU< V'GVLoVĵV,ĊVòV÷V W!W">WaWxWLW=ŬW)XÁEX!Y )Y5Y FYSYcYvY<Y'ÍY2ġY0(Z1YZ?‹ZCËZ5[6E[8|[Iµ[=˙[6=\;t\L°\Nŭ\KL]L˜].ċ]?^7T^&Œ^.³^ â^í^__ _ _'_-_1_N_c_h_n_F€_Ç_Ú_ì_˙_``1`N`_`n`~`…`˘`ż`MĊ`Qa´eb5d#Pd#td0˜dÉd%d e% e)1e[esef‘etĝe_mfBÍfDg;UgJ‘g\Üg49h\nhìËhk¸i›$j8Àj£ùj-keËl*1mK\n@¨nAéns+oWŸoE÷o;=pPypSÊpƒqJ˘r‡ír:usC°sôtL…u@Òuİvb½w6 xòWxtJyßż{)Ÿ}ÉOá1ƒĤNƒġ„4…-G….u…8¤…&Ŭ…2†87†9p†)ކ5Ԇ, ‡,7‡d‡z‡އĴ‡Ŭµ‡ “‰M ‰8'ŠeĊ?*‹Gj‹d²‹WŒ‘oŒ\r^4э.ŽU5Ž:‹Ž9ĈŽ) J[m …Ĥ'ĉlġPb&³ڐñB‘ F‘Q‘e‘2…‘8¸‘ ñ‘?˙‘ ?’=`’+ž’5ʒJ“+K“Sw“S˓4”"T”w”0—”Ȕ à”î” ÷”?•HB•7‹•7•bû•V^–Qµ–P—uX—dΗ3˜/N˜~˜q˜T™IV™f ™Rš1ZšLŒš3ٚ2 ›3@›0t›0›@֛9œ?Qœ+‘œ.½œìœ\2a‹”c žE„ž~ʞIŸdŸ6kŸK˘Ÿ2îŸ4! 6V    ˜ Ĥ  Ö =í @+Ħ*lĦ/—Ħ ÇĦÑĦVà˘I7£;£9½£÷£)¤@<¤A}¤:ż¤Mú¤3H8|Zµ5ĤFĤ_ĤLqĤĤÖĤ&ßĤ$§+§VK§˘§^µ§`¨u¨=z¨¸¨`Ó¨4İEİ4_İA”İ-Öİ*Ş5/Ş{eŞË᪭Ğ$ÌĞ ñĞE˙Ğ{EĴ"ÁĴäĴ@ĝĴ19­#k­#­#³­/×­5'Q'yDĦĉŻxŻ7ŠŻ%ÂŻ;èŻ>$°?c°£° а"¸°Û°î° ħ=&ħXdħ7½ħfġħ\²,l²™² ²ş²˲4ë² ³A³o_³Vϳ:&´a´-|µ޵ÁµŬµîµĥ&ĥSBĥ7–ĥSÎĥL"·Ho·f¸·W¸Fw¸M¸U ıybıfÜı[CşeŸş‰ğ‘ğ!ĵ•Çĵ;]½b™½Iü½1FWx Ü ô˙!ż*ż0ż6ż(:ż!cż …żż™żFĞżòżÀÀ*À>À&DÀ%kÀ‘À£ÀżÀÛÀ(À( Á5ÁM;Á‰ÁÒ+ž#Ê)ÇÚŜ-òó0µ|@5L\k½RÛmA,WeUù3³’i?.Š1 ™&32?:J·x÷sÖí0´;.„ŻKö—'Gżñ †{OS ‰!r 4…ƒb@7ΰœZşħyu'×VHBÀılN`­% §jŬM[‹;8ĝ>ϕßŝĈ~ĞÜüIgä =pC1/_ ÌÈ#Âq“–ÁĤ& FPéYo˘D2úJA6d)²‘ÉĜ5/¤Œ*<8ÄìĥôcQë( ŭ fċ^€ĦvC*%İ7F:=Tˆ9ğԟt4I9àÙçX ĴLNEKêè6<a+Ë,”á-ͨ˜¸"‚EBÑïŞĊ"h$$}ĵĉÓ]DOn ˙> Mw‡Hâ(ĠzûGġ£!Ž› -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 -a, --append Append comments -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%% by the Xiph.Org Foundation (http://www.xiph.org/) %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) === Cannot specify output file without specifying a driver. === 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 readerAspect ratio undefined Author: %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. Category: %s Changed lowpass frequency from %f kHz to %f kHz Channels: %d Character encoding: %s Colourspace unspecified Colourspace: Rec. ITU-R BT.470-6 System M (NTSC) Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL) 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: %sFrame aspect %f:1 Frame aspect 16:9 Frame aspect 4:3 Frame offset/size invalid: height incorrect Frame offset/size invalid: width incorrect Framerate %d/%d (%.02f fps) Granulepos rate %d/%d (%.02f gps) Height: %d 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: attempt to read unsupported bitdepth %d Invalid zero framerate Invalid zero granulepos rate Kate headers parsed for stream %d, information follows... Kate stream %d: Total data length: %Key not foundLanguage: %s List or edit comments in Ogg Vorbis files. Listing options Live:Logical stream %d ended Lower bitrate not set Lower bitrate: %f kb/s 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 category set No input files specified. "ogginfo -h" for help No keyNo language set No module could be found to read from %s. No value for advanced encoder option found Nominal bitrate not set Nominal bitrate: %f kb/s Nominal quality setting (0-63): %d 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 flagPixel aspect ratio %d:%d (%f:1) Pixel format 4:2:0 Pixel format 4:2:2 Pixel format 4:4:4 Pixel format invalid Playing: %sPlaylist options Processing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring RAW file readerRate: %ld 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 errorTarget bitrate: %d kbps Text directionality: %s The file format of %s is not supported. Theora headers parsed for stream %d, information follows... Theora stream %d: Total data length: %This version of libvorbisenc cannot set advanced rate management parameters Time: %sTotal image: %d by %d, crop offset (%d, %d) TypeUnknown character encoding Unknown errorUnknown text directionality Unrecognised advanced option "%s" Upper bitrate not set Upper bitrate: %f kb/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". User comments section follows... Vendor: %s Vendor: %s (%s) Version: %d Version: %d.%d Version: %d.%d.%d Vorbis format: Version %dVorbis headers parsed for stream %d, information follows... Vorbis stream %d: Total data length: %WARNING: 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 Width: %d bad comment: "%s" boolchardefault output devicedoublefloatintleft to right, top to bottomno action specified noneof %sogg123 from %s %sogg123 from %s %s by the Xiph.Org Foundation (http://www.xiph.org/) oggdec from %s %s oggenc from %s %soggenc from %s %s ogginfo from %s %s otherrepeat playlist foreverright to left, top to bottomshuffle playliststandard inputstandard outputstringtop to bottom, left to righttop to bottom, right to leftutf-8vorbiscomment 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: 2010-03-26 03:08-0400 PO-Revision-Date: 2008-09-22 18:57+0930 Last-Translator: Clytie Siddall Language-Team: Vietnamese 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 -a, --append Pháğ thŞm cĦc ghi chş -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%% cáğ§a Táğ• cháğİc Xiph.Org (http://www.xiph.org/) %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áğƒ ghi rµ táş­p tin xuáşt khi chĈ°a ghi rµ trĴnh điáğu khiáğƒ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/AIFCChĈ°a xĦc đáğ‹nh táğ· láğ‡ hĴnh tháğƒ TĦ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. Ph˘n loáşĦi: %s Máğ›i thay đáğ•i táş§n sáğ‘ qua tháşp táğĞ %f kHz th nh %f kHz KŞnh: %d Báğ™ k½ táğħ : %s ChĈ°a xĦc đáğ‹nh miáğn m u Miáğn m u : Rec. ITU-R BT.470-6 System M (NTSC) Miáğn m u : Rec. ITU-R BT.470-6 Systems B v  G (PAL) 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: %sHĴnh tháğƒ khung %f:1 HĴnh tháğƒ khung 16:9 HĴnh tháğƒ khung 4:3 Hiáğ‡u/cáğĦ khung kh´ng háğ£p láğ‡: đáğ™ cao kh´ng đşng Hiáğ‡u/cáğĦ khung kh´ng háğ£p láğ‡: đáğ™ ráğ™ng kh´ng đşng Táğ· láğ‡ khung %d/%d (%.02f khung/gi˘y) Táğ· láğ‡ granulepos %d/%d (%.02f khung/gi˘y) Cao : %d 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. 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 Táğ· láğ‡ khung sáğ‘ kh´ng thĴ kh´ng háğ£p láğ‡ Táğ· láğ‡ granulepos sáğ‘ kh´ng thĴ kh´ng háğ£p láğ‡ Pháş§n đầu Kate đ£ đĈ°áğ£c ph˘n t­ch cho luáğ“ng %d, c³ th´ng tin theo đ˘y... Luáğ“ng Kate %d: Táğ•ng chiáğu d i dáğŻ liáğ‡u : %Kh´ng tĴm tháşy kh³aNg´n ngáğŻ : %s Liáğ‡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 ChĈ°a ghi rµ táğ· láğ‡ bit dĈ°áğ›i Táğ· láğ‡ bit dĈ°áğ›i: %f kb/s 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 đặt ph˘n loáşĦi 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³aChĈ°a đặt ng´n ngáğŻ Kh´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 ChĈ°a láş­p táğ· láğ‡ bit kh´ng đĦng káğƒ Táğ· láğ‡ bit kh´ng đĦng káğƒ: %f kb/g Thiáşżt láş­p cháşt lĈ°áğ£ng danh nghÄİa (0-63): %d 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)Táğ· láğ‡ hĴnh tháğƒ điáğƒm áş£nh %d:%d (%f:1) Đáğ‹nh dáşĦng điáğƒm áş£nh 4:2:0 Đáğ‹nh dáşĦng điáğƒm áş£nh 4:2:2 Đáğ‹nh dáşĦng điáğƒm áş£nh 4:4:4 Đáğ‹nh dáşĦng điáğƒm áş£nh kh´ng háğ£p láğ‡ Đ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 RAWTáğ· láğ‡: %ld 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½) Đ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áğ‘ngTáğ· láğ‡ bit đ­ch: %d kbps HĈ°áğ›ng văn báş£n: %s Khu´n dáşĦng táş­p tin cáğ§a %s kh´ng đĈ°áğ£c háğ— tráğ£. Pháş§n đầu theora đ£ đĈ°áğ£c ph˘n tĦch cho luáğ“ng %d, th´ng tin theo đ˘y... Luáğ“ng Theora %d: Táğ•ng chiáğu d i dáğŻ liáğ‡u : %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: %sTo n áş£nh: %d — %d, xİn hiáğ‡u (%d, %d) KiáğƒuKh´ng rµ báğ™ k½ táğħ Gáş·p láğ—i láşĦKh´ng rµ hĈ°áğ›ng văn báş£n Kh´ng cháşp nháş­n tıy cháğn cáşp cao ÂĞ %s Âğ ChĈ°a láş­p táğ· láğ‡ bit trŞn Táğ· láğ‡ bit trŞn: %f kb/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 Âğ. Pháş§n ghi chş ngĈ°áği dıng theo đ˘y... Nh  sáş£n xuáşt: %s Nh  sáş£n xuáşt: %s (%s) PhiŞn báş£n %d PhiŞn báş£n: %d.%d PhiŞn báş£n: %d.%d.%d Đáğ‹nh dáşĦng Vorbis: phiŞn báş£n %dPháş§n đầu vorbis đĈ°áğ£c ph˘n tĦch cho luáğ“ng %d, th´ng tin theo đ˘y... Luáğ“ng Vorbis %d: Táğ•ng chiáğu d i dáğŻ liáğ‡u : %CẢ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 Ráğ™ng: %d ghi chş sai: ÂĞ %s Âğ luáş­n l½k½ táğħthiáşżt báğ‹ xuáşt máş·c đáğ‹nhđ´ináğ•ingytrĦi sang pháş£i, trŞn xuáğ‘ng dĈ°áğ›iChĈ°a ghi rµ h nh đáğ™ng n o kh´ng c³trŞn %sogg123 táğĞ %s %sogg123 táğĞ %s %s cáğ§a Táğ• cháğİc Xiph.Org (http://www.xiph.org/) oggdec táğĞ %s %s oggenc táğĞ %s %soggenc táğĞ %s %s ogginfo táğĞ %s %s khĦcláş·p láşĦi v´ háşĦn danh máğc phĦtpháş£i sang trĦi, dĈ°áğ›i lŞn trŞntráğ™n b i phĦtthiáşżt báğ‹ nháş­p chuáşİnthiáşżt báğ‹ xuáşt chuáşİnchuáğ—itrŞn xuáğ‘ng dĈ°áğ›i, trĦi sang pháş£itrŞn xuáğ‘ng dĈ°áğ›i, pháş£i sang trĦiutf-8vorbiscomment 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.0/po/vorbis-tools.pot0000644000175000017500000016470311353056535014724 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Xiph.Org Foundation # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.4.0\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2010-03-26 03:08-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:117 #, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "" #: ogg123/buffer.c:364 #, 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:648 oggenc/oggenc.c:653 #: oggenc/oggenc.c:658 oggenc/oggenc.c:663 oggenc/oggenc.c:668 #: oggenc/oggenc.c:673 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:83 msgid "Internal error parsing command line options.\n" msgstr "" #: ogg123/cmdline_options.c:90 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "" #: ogg123/cmdline_options.c:102 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" #: ogg123/cmdline_options.c:109 #, c-format msgid "Available options:\n" msgstr "" #: ogg123/cmdline_options.c:118 #, c-format msgid "=== No such device %s.\n" msgstr "" #: ogg123/cmdline_options.c:138 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "" #: ogg123/cmdline_options.c:143 msgid "=== Cannot specify output file without specifying a driver.\n" msgstr "" #: ogg123/cmdline_options.c:162 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "" #: ogg123/cmdline_options.c:177 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "" #: ogg123/cmdline_options.c:201 #, c-format msgid "ogg123 from %s %s" msgstr "" #: ogg123/cmdline_options.c:208 msgid "--- Cannot play every 0th chunk!\n" msgstr "" #: ogg123/cmdline_options.c:216 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" #: ogg123/cmdline_options.c:232 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "" #: ogg123/cmdline_options.c:248 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:261 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "" #: ogg123/cmdline_options.c:271 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" #: ogg123/cmdline_options.c:306 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: ogg123/cmdline_options.c:309 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:312 #, c-format msgid "Available codecs: " msgstr "" #: ogg123/cmdline_options.c:315 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:319 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:322 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:324 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:327 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:336 #, c-format msgid "File:" msgstr "" #: ogg123/cmdline_options.c:345 #, 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:348 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:349 #, 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:355 #, c-format msgid "Playlist options\n" msgstr "" #: ogg123/cmdline_options.c:356 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:357 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:358 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:359 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:360 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid "Input options\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:368 #, c-format msgid "Decode options\n" msgstr "" #: ogg123/cmdline_options.c:369 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:372 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:375 vorbiscomment/vcomment.c:549 #, c-format msgid "Miscellaneous options\n" msgstr "" #: ogg123/cmdline_options.c:376 #, 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:381 vorbiscomment/vcomment.c:557 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:383 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:384 #, 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:151 #: ogg123/vorbis_comments.c:64 ogg123/vorbis_comments.c:79 #: ogg123/vorbis_comments.c:97 #, c-format msgid "ERROR: Out of memory.\n" msgstr "" #: ogg123/format.c:82 #, 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:81 msgid "default output device" msgstr "" #: ogg123/ogg123.c:83 msgid "shuffle playlist" msgstr "" #: ogg123/ogg123.c:85 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:231 #, c-format msgid "Could not skip to %f in audio stream." msgstr "" #: ogg123/ogg123.c:376 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" #: ogg123/ogg123.c:377 #, c-format msgid "Author: %s" msgstr "" #: ogg123/ogg123.c:378 #, c-format msgid "Comments: %s" msgstr "" #: ogg123/ogg123.c:422 #, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "" #: ogg123/ogg123.c:458 msgid "Error: Could not create audio buffer.\n" msgstr "" #: ogg123/ogg123.c:561 #, c-format msgid "No module could be found to read from %s.\n" msgstr "" #: ogg123/ogg123.c:566 #, c-format msgid "Cannot open %s.\n" msgstr "" #: ogg123/ogg123.c:572 #, c-format msgid "The file format of %s is not supported.\n" msgstr "" #: ogg123/ogg123.c:582 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" #: ogg123/ogg123.c:601 #, c-format msgid "Playing: %s" msgstr "" #: ogg123/ogg123.c:612 #, c-format msgid "Could not skip %f seconds of audio." msgstr "" #: ogg123/ogg123.c:667 msgid "ERROR: Decoding failure.\n" msgstr "" #: ogg123/ogg123.c:710 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:748 msgid "Done." msgstr "" #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "" #: ogg123/oggvorbis_format.c:214 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:413 #, 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:363 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:369 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "" #: ogg123/speex_format.c:375 #, c-format msgid "Speex version: %s" msgstr "" #: ogg123/speex_format.c:391 ogg123/speex_format.c:402 #: ogg123/speex_format.c:421 ogg123/speex_format.c:431 #: ogg123/speex_format.c:438 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:475 msgid "Cannot read header" msgstr "" #: ogg123/speex_format.c:480 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:489 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:493 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:60 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "" #: ogg123/status.c:65 #, c-format msgid "%sPaused" msgstr "" #: ogg123/status.c:69 #, c-format msgid "%sEOS" msgstr "" #: ogg123/status.c:204 ogg123/status.c:222 ogg123/status.c:236 #: ogg123/status.c:250 ogg123/status.c:282 ogg123/status.c:301 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "" #: ogg123/status.c:211 #, c-format msgid "File: %s" msgstr "" #: ogg123/status.c:217 #, c-format msgid "Time: %s" msgstr "" #: ogg123/status.c:245 #, c-format msgid "of %s" msgstr "" #: ogg123/status.c:265 #, c-format msgid "Avg bitrate: %5.1f" msgstr "" #: ogg123/status.c:271 #, c-format msgid " Input Buffer %5.1f%%" msgstr "" #: ogg123/status.c:290 #, 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:39 msgid "Track number:" msgstr "" #: ogg123/vorbis_comments.c:40 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:41 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:45 ogg123/vorbis_comments.c:46 msgid "Comment:" msgstr "" #: oggdec/oggdec.c:50 #, c-format msgid "oggdec from %s %s\n" msgstr "" #: oggdec/oggdec.c:56 oggenc/oggenc.c:464 ogginfo/ogginfo2.c:1229 #, c-format msgid "" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: oggdec/oggdec.c:57 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" #: oggdec/oggdec.c:58 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:63 #, 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:65 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:68 #, 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:114 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:155 oggdec/oggdec.c:174 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:195 #, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "" #: oggdec/oggdec.c:217 #, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "" #: oggdec/oggdec.c:266 #, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "" #: oggdec/oggdec.c:292 #, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" #: oggdec/oggdec.c:293 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:294 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:308 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:315 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:330 #, c-format msgid "Error writing to file: %s\n" msgstr "" #: oggdec/oggdec.c:371 #, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" #: oggdec/oggdec.c:376 #, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" #: oggenc/audio.c:46 msgid "WAV file reader" msgstr "" #: oggenc/audio.c:47 msgid "AIFF/AIFC file reader" msgstr "" #: oggenc/audio.c:49 msgid "FLAC file reader" msgstr "" #: oggenc/audio.c:50 msgid "Ogg FLAC file reader" msgstr "" #: oggenc/audio.c:128 oggenc/audio.c:447 #, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "" #: oggenc/audio.c:139 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "" #: oggenc/audio.c:165 #, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "" #: oggenc/audio.c:262 #, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "" #: oggenc/audio.c:268 #, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "" #: oggenc/audio.c:276 #, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "" #: oggenc/audio.c:291 #, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "" #: oggenc/audio.c:305 #, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "" #: oggenc/audio.c:312 #, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "" #: oggenc/audio.c:318 #, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "" #: oggenc/audio.c:324 #, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "" #: oggenc/audio.c:370 #, 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:427 #, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "" #: oggenc/audio.c:440 #, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" #: oggenc/audio.c:519 #, 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:528 #, 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:588 #, 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:664 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:670 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:772 #, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" #: oggenc/audio.c:790 #, 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:68 #, 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:117 #, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" #: oggenc/oggenc.c:132 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "" #: oggenc/oggenc.c:139 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" #: oggenc/oggenc.c:203 #, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" #: oggenc/oggenc.c:227 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "" #: oggenc/oggenc.c:243 msgid "RAW file reader" msgstr "" #: oggenc/oggenc.c:260 #, c-format msgid "Opening with %s module: %s\n" msgstr "" #: oggenc/oggenc.c:269 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "" #: oggenc/oggenc.c:328 #, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "" #: oggenc/oggenc.c:335 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" #: oggenc/oggenc.c:342 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "" #: oggenc/oggenc.c:353 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "" #: oggenc/oggenc.c:399 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "" #: oggenc/oggenc.c:406 #, c-format msgid "Downmixing stereo to mono\n" msgstr "" #: oggenc/oggenc.c:409 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" #: oggenc/oggenc.c:417 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:463 #, c-format msgid "oggenc from %s %s" msgstr "" #: oggenc/oggenc.c:465 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:466 #, 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:472 #, 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:479 #, 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:486 #, 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:492 #, 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:500 #, 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:507 #, 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:513 #, 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:520 #, 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:526 #, 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:533 #, 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:542 #, 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:550 #, 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:556 #, 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:559 #, 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:572 #, 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:678 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" #: oggenc/oggenc.c:707 oggenc/oggenc.c:838 oggenc/oggenc.c:851 #, c-format msgid "Enabling bitrate management engine\n" msgstr "" #: oggenc/oggenc.c:716 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" #: oggenc/oggenc.c:726 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" #: oggenc/oggenc.c:732 #, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" #: oggenc/oggenc.c:742 #, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "" #: oggenc/oggenc.c:756 #, c-format msgid "No value for advanced encoder option found\n" msgstr "" #: oggenc/oggenc.c:776 #, c-format msgid "Internal error parsing command line options\n" msgstr "" #: oggenc/oggenc.c:787 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" #: oggenc/oggenc.c:824 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:832 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:845 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:857 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "" #: oggenc/oggenc.c:865 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" #: oggenc/oggenc.c:871 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" #: oggenc/oggenc.c:880 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" #: oggenc/oggenc.c:889 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" #: oggenc/oggenc.c:897 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" #: oggenc/oggenc.c:909 #, c-format msgid "oggenc from %s %s\n" msgstr "" #: oggenc/oggenc.c:916 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:921 oggenc/oggenc.c:925 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" #: oggenc/oggenc.c:932 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" #: oggenc/oggenc.c:937 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "" #: oggenc/oggenc.c:948 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:953 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" #: oggenc/oggenc.c:965 oggenc/oggenc.c:977 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:973 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:981 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "" #: oggenc/oggenc.c:997 vorbiscomment/vcomment.c:361 #, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1014 vorbiscomment/vcomment.c:369 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1033 #, 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:212 #, c-format msgid "" "WARNING: Comment %d in stream %d has invalid format, does not contain '=': " "\"%s\"\n" msgstr "" #: ogginfo/ogginfo2.c:220 #, c-format msgid "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" msgstr "" #: ogginfo/ogginfo2.c:251 ogginfo/ogginfo2.c:259 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " "wrong\n" msgstr "" #: ogginfo/ogginfo2.c:266 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" msgstr "" #: ogginfo/ogginfo2.c:342 #, c-format msgid "" "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid sequence " "\"%s\": %s\n" msgstr "" #: ogginfo/ogginfo2.c:356 msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" msgstr "" #: ogginfo/ogginfo2.c:381 ogginfo/ogginfo2.c:548 ogginfo/ogginfo2.c:681 #, c-format msgid "WARNING: discontinuity in stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:389 #, c-format msgid "" "WARNING: Could not decode Theora header packet - invalid Theora stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:396 #, c-format msgid "" "WARNING: Theora stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:400 #, c-format msgid "Theora headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:403 #, c-format msgid "Version: %d.%d.%d\n" msgstr "" #: ogginfo/ogginfo2.c:405 ogginfo/ogginfo2.c:583 ogginfo/ogginfo2.c:743 #, c-format msgid "Vendor: %s\n" msgstr "" #: ogginfo/ogginfo2.c:406 #, c-format msgid "Width: %d\n" msgstr "" #: ogginfo/ogginfo2.c:407 #, c-format msgid "Height: %d\n" msgstr "" #: ogginfo/ogginfo2.c:408 #, c-format msgid "Total image: %d by %d, crop offset (%d, %d)\n" msgstr "" #: ogginfo/ogginfo2.c:411 msgid "Frame offset/size invalid: width incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:413 msgid "Frame offset/size invalid: height incorrect\n" msgstr "" #: ogginfo/ogginfo2.c:416 msgid "Invalid zero framerate\n" msgstr "" #: ogginfo/ogginfo2.c:418 #, c-format msgid "Framerate %d/%d (%.02f fps)\n" msgstr "" #: ogginfo/ogginfo2.c:422 msgid "Aspect ratio undefined\n" msgstr "" #: ogginfo/ogginfo2.c:427 #, c-format msgid "Pixel aspect ratio %d:%d (%f:1)\n" msgstr "" #: ogginfo/ogginfo2.c:429 msgid "Frame aspect 4:3\n" msgstr "" #: ogginfo/ogginfo2.c:431 msgid "Frame aspect 16:9\n" msgstr "" #: ogginfo/ogginfo2.c:433 #, c-format msgid "Frame aspect %f:1\n" msgstr "" #: ogginfo/ogginfo2.c:437 msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" msgstr "" #: ogginfo/ogginfo2.c:439 msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" msgstr "" #: ogginfo/ogginfo2.c:441 msgid "Colourspace unspecified\n" msgstr "" #: ogginfo/ogginfo2.c:444 msgid "Pixel format 4:2:0\n" msgstr "" #: ogginfo/ogginfo2.c:446 msgid "Pixel format 4:2:2\n" msgstr "" #: ogginfo/ogginfo2.c:448 msgid "Pixel format 4:4:4\n" msgstr "" #: ogginfo/ogginfo2.c:450 msgid "Pixel format invalid\n" msgstr "" #: ogginfo/ogginfo2.c:452 #, c-format msgid "Target bitrate: %d kbps\n" msgstr "" #: ogginfo/ogginfo2.c:453 #, c-format msgid "Nominal quality setting (0-63): %d\n" msgstr "" #: ogginfo/ogginfo2.c:456 ogginfo/ogginfo2.c:606 ogginfo/ogginfo2.c:802 msgid "User comments section follows...\n" msgstr "" #: ogginfo/ogginfo2.c:477 msgid "WARNING: Expected frame %" msgstr "" #: ogginfo/ogginfo2.c:493 ogginfo/ogginfo2.c:621 ogginfo/ogginfo2.c:819 msgid "WARNING: granulepos in stream %d decreases from %" msgstr "" #: ogginfo/ogginfo2.c:520 msgid "" "Theora stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:557 #, c-format msgid "" "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:565 #, c-format msgid "" "WARNING: Vorbis stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:569 #, c-format msgid "Vorbis headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:572 #, c-format msgid "Version: %d\n" msgstr "" #: ogginfo/ogginfo2.c:576 #, c-format msgid "Vendor: %s (%s)\n" msgstr "" #: ogginfo/ogginfo2.c:584 #, c-format msgid "Channels: %d\n" msgstr "" #: ogginfo/ogginfo2.c:585 #, c-format msgid "" "Rate: %ld\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:588 #, c-format msgid "Nominal bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:591 msgid "Nominal bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:594 #, c-format msgid "Upper bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:597 msgid "Upper bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:600 #, c-format msgid "Lower bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:603 msgid "Lower bitrate not set\n" msgstr "" #: ogginfo/ogginfo2.c:630 msgid "Negative or zero granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:651 msgid "" "Vorbis stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:692 #, c-format msgid "" "WARNING: Could not decode Kate header packet %d - invalid Kate stream (%d)\n" msgstr "" #: ogginfo/ogginfo2.c:703 #, c-format msgid "" "WARNING: packet %d does not seem to be a Kate header - invalid Kate stream (%" "d)\n" msgstr "" #: ogginfo/ogginfo2.c:734 #, c-format msgid "" "WARNING: Kate stream %d does not have headers correctly framed. Terminal " "header page contains additional packets or has non-zero granulepos\n" msgstr "" #: ogginfo/ogginfo2.c:738 #, c-format msgid "Kate headers parsed for stream %d, information follows...\n" msgstr "" #: ogginfo/ogginfo2.c:741 #, c-format msgid "Version: %d.%d\n" msgstr "" #: ogginfo/ogginfo2.c:747 #, c-format msgid "Language: %s\n" msgstr "" #: ogginfo/ogginfo2.c:750 msgid "No language set\n" msgstr "" #: ogginfo/ogginfo2.c:753 #, c-format msgid "Category: %s\n" msgstr "" #: ogginfo/ogginfo2.c:756 msgid "No category set\n" msgstr "" #: ogginfo/ogginfo2.c:761 msgid "utf-8" msgstr "" #: ogginfo/ogginfo2.c:765 #, c-format msgid "Character encoding: %s\n" msgstr "" #: ogginfo/ogginfo2.c:768 msgid "Unknown character encoding\n" msgstr "" #: ogginfo/ogginfo2.c:773 msgid "left to right, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:774 msgid "right to left, top to bottom" msgstr "" #: ogginfo/ogginfo2.c:775 msgid "top to bottom, right to left" msgstr "" #: ogginfo/ogginfo2.c:776 msgid "top to bottom, left to right" msgstr "" #: ogginfo/ogginfo2.c:780 #, c-format msgid "Text directionality: %s\n" msgstr "" #: ogginfo/ogginfo2.c:783 msgid "Unknown text directionality\n" msgstr "" #: ogginfo/ogginfo2.c:795 msgid "Invalid zero granulepos rate\n" msgstr "" #: ogginfo/ogginfo2.c:797 #, c-format msgid "Granulepos rate %d/%d (%.02f gps)\n" msgstr "" #: ogginfo/ogginfo2.c:810 msgid "\n" msgstr "" #: ogginfo/ogginfo2.c:828 msgid "Negative granulepos (%" msgstr "" #: ogginfo/ogginfo2.c:853 msgid "" "Kate stream %d:\n" "\tTotal data length: %" msgstr "" #: ogginfo/ogginfo2.c:893 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1047 msgid "WARNING: Invalid header page, no packet found\n" msgstr "" #: ogginfo/ogginfo2.c:1075 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" #: ogginfo/ogginfo2.c:1089 #, 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:1107 msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" msgstr "" #: ogginfo/ogginfo2.c:1134 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "" #: ogginfo/ogginfo2.c:1139 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:1148 msgid "Could not find a processor for stream, bailing\n" msgstr "" #: ogginfo/ogginfo2.c:1156 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:1159 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:1163 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:1166 #, 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:1178 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "" #: ogginfo/ogginfo2.c:1181 #, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1185 #, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:1190 #, 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:1205 #, c-format msgid "Logical stream %d ended\n" msgstr "" #: ogginfo/ogginfo2.c:1213 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:1224 #, c-format msgid "ogginfo from %s %s\n" msgstr "" #: ogginfo/ogginfo2.c:1230 #, 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:1239 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:1251 #, 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:1285 #, 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:144 #, c-format msgid "Couldn't flush output stream\n" msgstr "" #: vcut/vcut.c:164 #, c-format msgid "Couldn't close output file\n" msgstr "" #: vcut/vcut.c:225 #, c-format msgid "Couldn't open %s for writing\n" msgstr "" #: vcut/vcut.c:264 #, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" #: vcut/vcut.c:266 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:277 #, c-format msgid "Couldn't open %s for reading\n" msgstr "" #: vcut/vcut.c:292 vcut/vcut.c:296 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "" #: vcut/vcut.c:301 #, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "" #: vcut/vcut.c:303 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "" #: vcut/vcut.c:314 #, c-format msgid "Processing failed\n" msgstr "" #: vcut/vcut.c:355 #, c-format msgid "WARNING: unexpected granulepos " msgstr "" #: vcut/vcut.c:406 #, c-format msgid "Cutpoint not found\n" msgstr "" #: vcut/vcut.c:412 #, c-format msgid "Can't produce a file starting and ending between sample positions " msgstr "" #: vcut/vcut.c:456 #, c-format msgid "Can't produce a file starting between sample positions " msgstr "" #: vcut/vcut.c:460 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:498 #, c-format msgid "Couldn't write packet to output file\n" msgstr "" #: vcut/vcut.c:519 #, c-format msgid "BOS not set on first page of stream\n" msgstr "" #: vcut/vcut.c:534 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:545 #, c-format msgid "Internal stream parsing error\n" msgstr "" #: vcut/vcut.c:559 #, c-format msgid "Header packet corrupt\n" msgstr "" #: vcut/vcut.c:565 #, c-format msgid "Bitstream error, continuing\n" msgstr "" #: vcut/vcut.c:575 #, c-format msgid "Error in header: not vorbis?\n" msgstr "" #: vcut/vcut.c:626 #, c-format msgid "Input not ogg.\n" msgstr "" #: vcut/vcut.c:630 #, c-format msgid "Page error, continuing\n" msgstr "" #: vcut/vcut.c:640 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:644 #, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:156 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:180 vorbiscomment/vcedit.c:551 msgid "Error reading first page of Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:558 msgid "Error reading initial header packet." msgstr "" #: vorbiscomment/vcedit.c:238 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:506 msgid "Input truncated or empty." msgstr "" #: vorbiscomment/vcedit.c:508 msgid "Input is not an Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:566 msgid "Ogg bitstream does not contain Vorbis data." msgstr "" #: vorbiscomment/vcedit.c:579 msgid "EOF before recognised stream." msgstr "" #: vorbiscomment/vcedit.c:595 msgid "Ogg bitstream does not contain a supported data-type." msgstr "" #: vorbiscomment/vcedit.c:639 msgid "Corrupt secondary header." msgstr "" #: vorbiscomment/vcedit.c:660 msgid "EOF before end of Vorbis headers." msgstr "" #: vorbiscomment/vcedit.c:835 msgid "Corrupt or missing data, continuing..." msgstr "" #: vorbiscomment/vcedit.c:875 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" #: vorbiscomment/vcomment.c:195 vorbiscomment/vcomment.c:221 #, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "" #: vorbiscomment/vcomment.c:241 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "" #: vorbiscomment/vcomment.c:253 #, c-format msgid "bad comment: \"%s\"\n" msgstr "" #: vorbiscomment/vcomment.c:263 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "" #: vorbiscomment/vcomment.c:280 #, c-format msgid "no action specified\n" msgstr "" #: vorbiscomment/vcomment.c:384 #, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "" #: vorbiscomment/vcomment.c:526 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:529 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:532 #, 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:538 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:539 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:542 #, c-format msgid "Editing options\n" msgstr "" #: vorbiscomment/vcomment.c:543 #, c-format msgid " -a, --append Append comments\n" msgstr "" #: vorbiscomment/vcomment.c:544 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:546 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:550 #, 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:553 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:554 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:558 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:561 #, 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:566 #, 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:573 #, 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:578 #, 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:643 #, c-format msgid "Internal error parsing command options\n" msgstr "" #: vorbiscomment/vcomment.c:662 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:732 #, c-format msgid "Error opening input file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:741 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" #: vorbiscomment/vcomment.c:752 #, c-format msgid "Error opening output file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:767 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:784 #, c-format msgid "Error opening comment file '%s'\n" msgstr "" #: vorbiscomment/vcomment.c:818 #, c-format msgid "Error removing old file %s\n" msgstr "" #: vorbiscomment/vcomment.c:820 #, c-format msgid "Error renaming %s to %s\n" msgstr "" #: vorbiscomment/vcomment.c:830 #, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "" vorbis-tools-1.4.0/po/stamp-po0000644000175000017500000000001211353056542013175 00000000000000timestamp vorbis-tools-1.4.0/po/ChangeLog0000644000175000017500000000264411327470220013273 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.0/README0000644000175000017500000000546511326242572011775 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 http://www.vorbis.com/download.psp 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: http://flac.sourceforge.net Speex is available at: http://www.speex.org/ libkate is available at: http://libkate.googlecode.com/ CONTACT: The Ogg Vorbis homepage is located at 'http://www.vorbis.com'. 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.0/acinclude.m40000644000175000017500000006417111326242572013305 00000000000000# Configure paths for libogg # Jack Moffitt 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 ]) dnl ACX_PTHREAD macro by Steven G. Johnson and dnl Alejandro Forero Cuervo . Found at: dnl http://www.gnu.org/software/ac-archive/Installed_Packages/acx_pthread.html AC_DEFUN([ACX_PTHREAD], [ AC_REQUIRE([AC_CANONICAL_HOST]) acx_pthread_ok=no # First, check if the POSIX threads header, pthread.h, is available. # If it isn't, don't bother looking for the threads libraries. AC_CHECK_HEADER(pthread.h, , acx_pthread_ok=noheader) # 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). # 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 # 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. acx_pthread_flags="pthreads none -Kthread -kthread lthread pthread -pthread -pthreads -mthreads --thread-safe -mt" # 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) # pthread: Linux, etcetera # --thread-safe: KAI C++ 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 -pthread or # -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="-pthread -pthreads pthread -mt $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" ;; *) 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_cancel(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: threads are created detached by default # and the JOINABLE attribute has a nonstandard name (UNDETACHED). AC_MSG_CHECKING([for joinable pthread attribute]) AC_TRY_LINK([#include ], [int attr=PTHREAD_CREATE_JOINABLE;], ok=PTHREAD_CREATE_JOINABLE, ok=unknown) if test x"$ok" = xunknown; then AC_TRY_LINK([#include ], [int attr=PTHREAD_CREATE_UNDETACHED;], ok=PTHREAD_CREATE_UNDETACHED, ok=unknown) fi if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then AC_DEFINE(PTHREAD_CREATE_JOINABLE, $ok, [Define to the necessary symbol if this constant uses a non-standard name on your system.]) fi AC_MSG_RESULT(${ok}) if test x"$ok" = xunknown; then AC_MSG_WARN([we do not know how to create joinable pthreads]) fi AC_MSG_CHECKING([if more special flags are required for pthreads]) flag=no case "${host_cpu}-${host_os}" in *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";; *solaris* | alpha*-osf*) 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 cc_r AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC}) 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 ]) vorbis-tools-1.4.0/configure.ac0000644000175000017500000003176211353056433013401 00000000000000dnl Process this file with autoconf to produce a configure script dnl ------------------------------------------------ dnl Initialization dnl ------------------------------------------------ AC_INIT(oggenc/encode.c) AC_CANONICAL_HOST AC_CANONICAL_TARGET AC_PREREQ(2.53) AM_INIT_AUTOMAKE([vorbis-tools],[1.4.0]) AM_MAINTAINER_MODE AM_CONFIG_HEADER([config.h]) AC_USE_SYSTEM_EXTENSIONS 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") 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_OUTPUT([ 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 debian/Makefile ]) 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.0/aclocal.m40000644000175000017500000154714211353056443012761 00000000000000# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005 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. # 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], []) # 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" ] ) # 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" ] ) # 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.]) ]) # intl.m4 serial 8 (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. 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.]) ]) # 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]) ]) # 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 ]) # 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]) ]) # 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 ]) # 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 ]) # 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 ]) # 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]) ]) # 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 ]) # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ]) # serial 56 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT AC_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 dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. m4_defun([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl _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_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl _LT_PROG_ECHO_BACKSLASH case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # 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. 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' # 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_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 # 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], [[!?.]$], [], [.]) )]) # _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 "X$][$1" | $Xsed -e "$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 "X$" | $Xsed -e "$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' # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Fix-up fallback echo if it was mangled by the above quoting rules. case \$lt_ECHO in *'\\\[$]0 --fallback-echo"')dnl " lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` ;; esac _LT_OUTPUT_LIBTOOL_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]) cat >"$CONFIG_LT" <<_LTEOF #! $SHELL # Generated by $as_me. # Run this file to recreate a libtool stub with the current configuration. lt_cl_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 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) 2008 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. if test "$no_create" != yes; then lt_cl_success=: test "$silent" = yes && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) fi ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # _LT_COPYING _LT_LIBTOOL_TAGS # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) _LT_PROG_XSI_SHELLFNS sed -n '/^# Generated shell functions inserted here/,$p' "$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' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) 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], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS="$save_LDFLAGS" ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[[012]]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES # -------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(whole_archive_flag_spec, $1)='' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=echo _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" m4_if([$1], [CXX], [ if test "$lt_cv_apple_cc_single_mod" != "yes"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX # ----------------------- # 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. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl AC_LINK_IFELSE(AC_LANG_PROGRAM,[ lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' 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 "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], [AC_DIVERT_PUSH(NOTICE)]) $1 AC_DIVERT_POP ])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Add some code to the start of the generated configure script which # will find an echo command which doesn't interpret backslashes. m4_defun([_LT_PROG_ECHO_BACKSLASH], [_LT_SHELL_INIT([ # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$lt_ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac ECHO=${lt_ECHO-echo} if test "X[$]1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X[$]1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then # Yippee, $ECHO works! : else # Restart under the correct shell. exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi if test "X[$]1" = X--fallback-echo; then # used as fallback echo shift cat <<_LT_EOF [$]* _LT_EOF exit 0 fi # 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 if test -z "$lt_ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if { echo_test_string=`eval $cmd`; } 2>/dev/null && { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null then break fi done fi if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then ECHO="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$ECHO" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. ECHO='print -r' elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} else # Try using printf. ECHO='printf %s\n' if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL ECHO="$CONFIG_SHELL [$]0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then ECHO="$CONFIG_SHELL [$]0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "[$]0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} else # Oops. We lost completely, so just stick with echo. ECHO=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. lt_ECHO=$ECHO if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" fi AC_SUBST(lt_ECHO) ]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that does not interpret backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line __oline__ "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" ])# _LT_ENABLE_LOCK # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [AC_CHECK_TOOL(AR, ar, false) test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1]) AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi _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_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test x"[$]$2" = xyes; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8 ; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ = "XX$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line __oline__ "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 void fnord() { int i=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; /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $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:__oline__: \$? = $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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links="nottested" if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", [Define to the sub-directory in which libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existent directories. if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then # 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 -e 's/;/ /g'` else lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[[4-9]]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 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="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. 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 ;; 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 ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[123]]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[[3-9]]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH 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], [shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/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 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([], [sys_lib_dlsearch_path_spec], [2], [Run-time system search path for libraries]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program which can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program which can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; 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]) shared object file - PA-RISC [0-9].[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu) 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*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_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_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi]) if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) 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:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:__oline__: $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:__oline__: 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_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' _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([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi # 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 #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. */ const struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_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_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) ]) # _LT_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)= AC_MSG_CHECKING([for $compiler option to produce PIC]) m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu) 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*) # IBM XL 8.0 on PPC _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*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; 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 else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu) 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' ;; pgcc* | pgf77* | pgf90* | pgf95*) # 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*) # IBM XL C 8.0/Fortran 10.1 on PPC _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)='-Wl,' ;; *Sun\ F*) # 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)='' ;; 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*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # 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]) # # 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_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' case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm 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")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw* | cegcc*) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' ;; linux* | k*bsd*-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 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; linux* | k*bsd*-gnu) _LT_TAGVAR(link_all_deplibs, $1)=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.9.1, 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 modify your PATH *** so that a non-GNU linker is found, and then restart. _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(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/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; 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) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag= 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $compiler_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 $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' 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 $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 ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $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 if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm 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")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi _LT_TAGVAR(link_all_deplibs, $1)=no else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX _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' # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _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 `$ECHO "X$deplibs" | $Xsed -e '\''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(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; freebsd1*) _LT_TAGVAR(ld_shlibs, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${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' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${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. save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" AC_LINK_IFELSE(int foo(void) {}, _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' ) LDFLAGS="$save_LDFLAGS" else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd* | 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*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${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" && $ECHO "X-set_version $verstring" | $Xsed` -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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${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 ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_MSG_CHECKING([whether -lc should be explicitly linked in]) $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_TAGVAR(archive_cmds_need_lc, $1)=no else _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* AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], [[If ld is used when linking, flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting ${shlibpath_var} if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [fix_srcfile_path], [1], [Fix the shell variable $srcfile for the compiler]) _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([], [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 if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report which library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC="$lt_save_CC" ])# _LT_LANG_C_CONFIG # _LT_PROG_CXX # ------------ # Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ # compiler, we have our own version here. m4_defun([_LT_PROG_CXX], [ pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) AC_PROG_CXX if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi popdef([AC_MSG_ERROR]) ])# _LT_PROG_CXX dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([_LT_PROG_CXX], []) # _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], [AC_REQUIRE([_LT_PROG_CXX])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_caught_CXX_error" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_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++"} compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -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 "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX _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' # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared # libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) # _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(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd[[12]]*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' ;; *) if test "$GXX" = yes; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -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) 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; $ECHO "X$list" | $Xsed' _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 | $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 | $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 | $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 | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; *) # Version 6 will 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; $ECHO \"$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=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' ;; xl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$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='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd2*) # C++ shared libraries are fairly broken _LT_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd=echo 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" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -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" && $ECHO "X-set_version $verstring" | $Xsed` -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 "X-set_version $verstring" | $Xsed` -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=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${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 "\-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*) # 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='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(GCC, $1)="$GXX" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test "$_lt_caught_CXX_error" != yes AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_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 # 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 ]) 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 $p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" || test $p = "-R"; then prev=$p continue else prev= fi if test "$pre_test_object_deps_done" = no; then case $p 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 ;; *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)="$p" else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)="$p" else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_PROG_F77 # ------------ # Since AC_PROG_F77 is broken, in that it returns the empty string # if there is no fortran compiler, we have our own version here. m4_defun([_LT_PROG_F77], [ pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) AC_PROG_F77 if test -z "$F77" || test "X$F77" = "Xno"; then _lt_disable_F77=yes fi popdef([AC_MSG_ERROR]) ])# _LT_PROG_F77 dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([_LT_PROG_F77], []) # _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_REQUIRE([_LT_PROG_F77])dnl AC_LANG_PUSH(Fortran 77) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_disable_F77" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC CC=${F77-"f77"} compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$G77" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC="$lt_save_CC" fi # test "$_lt_disable_F77" != yes AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_PROG_FC # ----------- # Since AC_PROG_FC is broken, in that it returns the empty string # if there is no fortran compiler, we have our own version here. m4_defun([_LT_PROG_FC], [ pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) AC_PROG_FC if test -z "$FC" || test "X$FC" = "Xno"; then _lt_disable_FC=yes fi popdef([AC_MSG_ERROR]) ])# _LT_PROG_FC dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([_LT_PROG_FC], []) # _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_REQUIRE([_LT_PROG_FC])dnl AC_LANG_PUSH(Fortran) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_disable_FC" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC CC=${FC-"f95"} compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC="$lt_save_CC" fi # test "$_lt_disable_FC" != yes AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} 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 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" ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC GCC= CC=${RC-"windres"} 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" ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [AC_MSG_CHECKING([whether the shell understands some XSI constructs]) # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes AC_MSG_RESULT([$xsi_shell]) _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) AC_MSG_CHECKING([whether the shell understands "+="]) lt_shell_append=no ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes AC_MSG_RESULT([$lt_shell_append]) _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PROG_XSI_SHELLFNS # --------------------- # Bourne and XSI compatible variants of some useful shell functions. m4_defun([_LT_PROG_XSI_SHELLFNS], [case $xsi_shell in yes) cat << \_LT_EOF >> "$cfgfile" # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac } # func_basename file func_basename () { func_basename_result="${1##*/}" } # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # Implementation must be kept synchronized with func_dirname # and func_basename. For efficiency, we do not delegate to # those functions but instead duplicate the functionality here. func_dirname_and_basename () { case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac func_basename_result="${1##*/}" } # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). func_stripname () { # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary parameter first. func_stripname_result=${3} func_stripname_result=${func_stripname_result#"${1}"} func_stripname_result=${func_stripname_result%"${2}"} } # func_opt_split func_opt_split () { func_opt_split_opt=${1%%=*} func_opt_split_arg=${1#*=} } # func_lo2o object func_lo2o () { case ${1} in *.lo) func_lo2o_result=${1%.lo}.${objext} ;; *) func_lo2o_result=${1} ;; esac } # func_xform libobj-or-source func_xform () { func_xform_result=${1%.*}.lo } # func_arith arithmetic-term... func_arith () { func_arith_result=$(( $[*] )) } # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=${#1} } _LT_EOF ;; *) # Bourne compatible functions. cat << \_LT_EOF >> "$cfgfile" # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { # Extract subdirectory from the argument. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi } # func_basename file func_basename () { func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` } dnl func_dirname_and_basename dnl A portable version of this function is already defined in general.m4sh dnl so there is no need for it here. # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # func_strip_suffix prefix name func_stripname () { case ${2} in .*) func_stripname_result=`$ECHO "X${3}" \ | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "X${3}" \ | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; esac } # sed scripts: my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' my_sed_long_arg='1s/^-[[^=]]*=//' # func_opt_split func_opt_split () { func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` } # func_lo2o object func_lo2o () { func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` } # func_xform libobj-or-source func_xform () { func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` } # func_arith arithmetic-term... func_arith () { func_arith_result=`expr "$[@]"` } # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len` } _LT_EOF esac case $lt_shell_append in yes) cat << \_LT_EOF >> "$cfgfile" # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "$[1]+=\$[2]" } _LT_EOF ;; *) cat << \_LT_EOF >> "$cfgfile" # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "$[1]=\$$[1]\$[2]" } _LT_EOF ;; esac ]) # 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. # 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));]]) ]) # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 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_SET_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], [0], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [0], [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_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the `pic-only' and `no-pic' # LT_INIT options. # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [pic_mode="$withval"], [pic_mode=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) 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])]) # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59 which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) # ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004 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. # Generated from ltversion.in. # serial 3012 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.2.6]) m4_define([LT_PACKAGE_REVISION], [1.3012]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6' macro_revision='1.3012' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007 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 4 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_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) 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])]) # 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) ]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright Âİ 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then if test -n "$$1"; then pkg_cv_[]$1="$$1" else PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) fi else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` else $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [AC_MSG_RESULT([no]) $4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # 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" < #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 ]) # 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 ]) # 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])]) ]) # 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 ]) # 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 ]) # 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.]) ]) # 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 ]) # 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 ]) # 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) ]) # Copyright (C) 2002, 2003, 2005 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. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # 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. # serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) 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, 2000, 2001, 2002, 2003, 2004, 2005 # 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. # serial 8 # 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", "GCJ", or "OBJC". # 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 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$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'. 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 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 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} 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, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # 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. #serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; 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. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /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"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //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' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # 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. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # 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. # serial 12 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])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 # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 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], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])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) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # 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_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 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 install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 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. # serial 2 # 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, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # 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. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 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. # serial 3 # 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 done .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 # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi 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, 1999, 2000, 2001, 2003, 2005 # 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. # serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005 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 whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 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. # serial 3 # _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], [AC_FOREACH([_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])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # 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. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # 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 ( 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 rm -f conftest.file 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 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)]) # Copyright (C) 2001, 2003, 2005 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="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 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. # serial 2 # _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. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([acinclude.m4]) vorbis-tools-1.4.0/Makefile.am0000644000175000017500000000071711326242572013144 00000000000000## Process this file with automake to produce Makefile.in AUTOMAKE_OPTIONS = foreign dist-zip SUBDIRS = po intl include share debian win32 @OPT_SUBDIRS@ DIST_SUBDIRS = po intl include share debian win32 ogg123 oggenc oggdec ogginfo \ vcut vorbiscomment m4 EXTRA_DIST = config.rpath README AUTHORS COPYING CHANGES vorbis-tools.spec config.h mkinstalldirs debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" ACLOCAL_AMFLAGS = -I m4 vorbis-tools-1.4.0/Makefile.in0000644000175000017500000005353211353056447013164 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure $(top_srcdir)/intl/Makefile.in AUTHORS \ COPYING config.guess config.rpath config.sub depcomp \ install-sh ltmain.sh missing mkinstalldirs subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = intl/Makefile SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ AUTOMAKE_OPTIONS = foreign dist-zip SUBDIRS = po intl include share debian win32 @OPT_SUBDIRS@ DIST_SUBDIRS = po intl include share debian win32 ogg123 oggenc oggdec ogginfo \ vcut vorbiscomment m4 EXTRA_DIST = config.rpath README AUTHORS COPYING CHANGES vorbis-tools.spec config.h mkinstalldirs ACLOCAL_AMFLAGS = -I m4 all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(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 '; \ cd $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 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 uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; 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; \ (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" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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 || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/intl $(distdir)/po @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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 \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -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 $(SHELL) $(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__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__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) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ --with-included-gettext \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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 info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-libtool clean-recursive \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-hdr distclean-libtool \ distclean-recursive distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-info-am 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.0/config.h.in0000644000175000017500000003164011353056462013133 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* 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 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 in which 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 version of this package. */ #undef PACKAGE_VERSION /* Define if exists and defines unusable PRI* macros. */ #undef PRI_MACROS_BROKEN /* Define to the 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 /* Define if the Win32 multithreading API can be used. */ #undef USE_WIN32_THREADS /* Version number of package */ #undef VERSION /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ #undef WORDS_BIGENDIAN /* Define to 1 if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* 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 /* Enable extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* 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.0/configure0000755000175000017500000301352611353056450013022 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006 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=: # 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 # PATH needs CR # 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 # 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 # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false 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.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. 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 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. 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 # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF 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 : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF 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 : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell autoconf@gnu.org about your system, echo including any error possibly output before this echo message } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. 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" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # 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 } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi 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 fi echo >conf$$.file 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 -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' 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=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # 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'" # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$lt_ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac ECHO=${lt_ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then # Yippee, $ECHO works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <<_LT_EOF $* _LT_EOF exit 0 fi # 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 if test -z "$lt_ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if { echo_test_string=`eval $cmd`; } 2>/dev/null && { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null then break fi done fi if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then ECHO="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$ECHO" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. ECHO='print -r' elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} else # Try using printf. ECHO='printf %s\n' if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL ECHO="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then ECHO="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} else # Oops. We lost completely, so just stick with echo. ECHO=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. lt_ECHO=$ECHO if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, 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= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= 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_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir localstatedir includedir oldincludedir docdir infodir htmldir dvidir pdfdir psdir libdir localedir mandir DEFS ECHO_C ECHO_N ECHO_T LIBS build_alias host_alias target_alias build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP GREP EGREP LIBTOOL SED FGREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP AR RANLIB lt_ECHO DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 USE_NLS GETTEXT_MACRO_VERSION MSGFMT GMSGFMT MSGFMT_015 GMSGFMT_015 XGETTEXT XGETTEXT_015 MSGMERGE XGETTEXT_EXTRA_OPTIONS GLIBC2 CFLAG_VISIBILITY HAVE_VISIBILITY ALLOCA PRI_MACROS_BROKEN LIBPTH LTLIBPTH LIBPTH_PREFIX LIBTHREAD LTLIBTHREAD LIBMULTITHREAD LTLIBMULTITHREAD LIBICONV INTLBISON GLIBC21 INTL_MACOSX_LIBS HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF WOE32DLL WOE32 WINDRES LTLIBC BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB HAVE_PKG_CONFIG PKG_CONFIG OGG_CFLAGS OGG_LIBS VORBIS_CFLAGS VORBIS_LIBS VORBISENC_LIBS VORBISFILE_LIBS HAVE_OV_READ_FILTER_TRUE HAVE_OV_READ_FILTER_FALSE CURL_CFLAGS CURL_LIBS AO_CFLAGS AO_LIBS PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS HAVE_LIBFLAC_TRUE HAVE_LIBFLAC_FALSE FLAC_LIBS HAVE_LIBSPEEX_TRUE HAVE_LIBSPEEX_FALSE SPEEX_LIBS KATE_CFLAGS KATE_LIBS HAVE_KATE_TRUE HAVE_KATE_FALSE MANDIR OPT_SUBDIRS DEBUG PROFILE SOCKET_LIBS SHARE_CFLAGS SHARE_LIBS I18N_CFLAGS I18N_LIBS LIBOBJS LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG OGG_CFLAGS OGG_LIBS VORBIS_CFLAGS VORBIS_LIBS CURL_CFLAGS CURL_LIBS AO_CFLAGS AO_LIBS KATE_CFLAGS KATE_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE}' 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=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_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=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_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=\$ac_optarg ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=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 ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 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'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute directory names. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } 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 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 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 .` || { echo "$as_me: error: Working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # 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 -- "$0" || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X"$0" | 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 .." { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } 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 this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --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 try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] --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 C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility OGG_CFLAGS C compiler flags for OGG, overriding pkg-config OGG_LIBS linker flags for OGG, overriding pkg-config VORBIS_CFLAGS C compiler flags for VORBIS, overriding pkg-config VORBIS_LIBS linker flags for VORBIS, overriding pkg-config CURL_CFLAGS C compiler flags for CURL, overriding pkg-config CURL_LIBS linker flags for CURL, overriding pkg-config AO_CFLAGS C compiler flags for AO, overriding pkg-config AO_LIBS linker flags for AO, overriding pkg-config KATE_CFLAGS C compiler flags for KATE, overriding pkg-config KATE_LIBS linker flags for KATE, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _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" || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`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 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 configure generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 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 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 $as_me, which was generated by GNU Autoconf 2.61. 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=. 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=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$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 ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export 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 cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX 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_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_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 cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" 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'; { (exit 1); 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 # 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 # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -n "$CONFIG_SITE"; then set x "$CONFIG_SITE" elif test "x$prefix" != xNONE; then set x "$prefix/share/config.site" "$prefix/etc/config.site" else set x "$ac_default_prefix/share/config.site" \ "$ac_default_prefix/etc/config.site" fi shift for ac_site_file do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" 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. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi gt_needs="$gt_needs " # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 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 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`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. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } 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_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 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } 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 || { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 echo "$as_me: error: invalid value of canonical build" >&2;} { (exit 1); exit 1; }; };; 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 { echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 echo "$as_me: error: invalid value of canonical host" >&2;} { (exit 1); exit 1; }; };; 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 { echo "$as_me:$LINENO: checking target system type" >&5 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } if test "${ac_cv_target+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "x$target_alias" = x; then ac_cv_target=$ac_cv_host else ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 echo "${ECHO_T}$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 echo "$as_me: error: invalid value of canonical target" >&2;} { (exit 1); exit 1; }; };; esac target=$ac_cv_target ac_save_IFS=$IFS; IFS='-' set x $ac_cv_target shift target_cpu=$1 target_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: target_os=$* IFS=$ac_save_IFS case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- am__api_version="1.9" # 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. { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$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 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done IFS=$as_save_IFS 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 { echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$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' { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } # Just in case sleep 1 echo timestamp > conftest.file # 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 ( 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 rm -f conftest.file 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". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } 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 $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm -f conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$AWK" && break done { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } SET_MAKE= else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } 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.0 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"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&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=no fi { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$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 ac_config_headers="$ac_config_headers config.h" cat >>confdefs.h <<\_ACEOF #define _GNU_SOURCE 1 _ACEOF DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi { echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_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='\' 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO: checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out 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. { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # # List of possible output files, starting from the most likely. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) # only as a last resort. b.out is created by i960 compilers. ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' # # The IRIX 6 linker writes into existing files which may not be # executable, retaining their permissions. Remove them first so a # subsequent execution test works. ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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 | *.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 { echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6; } if test -z "$ac_file"; then echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6; } { echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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 | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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 ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* 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" 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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) { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; xno) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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'. 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 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 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} 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 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f 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 { echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } 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 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Extract the first word of "grep ggrep" to use in msg output if test -z "$GREP"; then set dummy grep ggrep; ac_prog_name=$2 if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else 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" { test -f "$ac_path_GREP" && $as_test_x "$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 echo $ECHO_N "0123456789$ECHO_C" >"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" "$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 ac_count=`expr $ac_count + 1` 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 fi GREP="$ac_cv_path_GREP" if test -z "$GREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else # Extract the first word of "egrep" to use in msg output if test -z "$EGREP"; then set dummy egrep; ac_prog_name=$2 if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else 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" { test -f "$ac_path_EGREP" && $as_test_x "$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 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" 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 ac_count=`expr $ac_count + 1` 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 fi EGREP="$ac_cv_path_EGREP" if test -z "$EGREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { echo "$as_me:$LINENO: checking for AIX" >&5 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef _AIX yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } cat >>confdefs.h <<\_ACEOF #define _ALL_SOURCE 1 _ACEOF else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi rm -f conftest* { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF 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=`echo "ac_cv_header_$ac_header" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test "${ac_cv_header_minix_config_h+set}" = set; then { echo "$as_me:$LINENO: checking for minix/config.h" >&5 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } if test "${ac_cv_header_minix_config_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking minix/config.h usability" >&5 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking minix/config.h presence" >&5 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for minix/config.h" >&5 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } if test "${ac_cv_header_minix_config_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_minix_config_h=$ac_header_preproc fi { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } fi if test $ac_cv_header_minix_config_h = yes; then MINIX=yes else MINIX= fi if test "$MINIX" = yes; then cat >>confdefs.h <<\_ACEOF #define _POSIX_SOURCE 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define _POSIX_1_SOURCE 2 _ACEOF cat >>confdefs.h <<\_ACEOF #define _MINIX 1 _ACEOF fi { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; } if test "${ac_cv_safe_to_define___extensions__+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_safe_to_define___extensions__=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_safe_to_define___extensions__=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && cat >>confdefs.h <<\_ACEOF #define __EXTENSIONS__ 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define _POSIX_PTHREAD_SEMANTICS 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define _TANDEM_SOURCE 1 _ACEOF 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO: checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* 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" 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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) { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; xno) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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'. 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 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 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} 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 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$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 *\ * | *\ *) { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.2.6' macro_revision='1.3012' ltmain="$ac_aux_dir/ltmain.sh" { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } if test "${ac_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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" | sed 99q >conftest.sed $as_unset ac_script || ac_script= # Extract the first word of "sed gsed" to use in msg output if test -z "$SED"; then set dummy sed gsed; ac_prog_name=$2 if test "${ac_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else 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" { test -f "$ac_path_SED" && $as_test_x "$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 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" 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 ac_count=`expr $ac_count + 1` 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 fi SED="$ac_cv_path_SED" if test -z "$SED"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_SED=$SED fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 echo "${ECHO_T}$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { echo "$as_me:$LINENO: checking for fgrep" >&5 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; } if test "${ac_cv_path_FGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else # Extract the first word of "fgrep" to use in msg output if test -z "$FGREP"; then set dummy fgrep; ac_prog_name=$2 if test "${ac_cv_path_FGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else 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" { test -f "$ac_path_FGREP" && $as_test_x "$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 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" 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 ac_count=`expr $ac_count + 1` 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 fi FGREP="$ac_cv_path_FGREP" if test -z "$FGREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_FGREP=$FGREP fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } else { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 echo "${ECHO_T}$LD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; } if test "${lt_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi fi { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 echo "${ECHO_T}$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$ac_tool_prefix"; then for ac_prog in "dumpbin -symbols" "link -dump -symbols" 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_DUMPBIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5 echo "${ECHO_T}$DUMPBIN" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in "dumpbin -symbols" "link -dump -symbols" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" fi fi test -z "$NM" && NM=nm { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; } if test "${lt_cv_nm_interface+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:5978: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:5981: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:5984: 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 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 echo "${ECHO_T}$lt_cv_nm_interface" >&6; } { echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } if test "${lt_cv_sys_max_cmd_len+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8 ; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ = "XX$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } else { echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; } # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes { echo "$as_me:$LINENO: result: $xsi_shell" >&5 echo "${ECHO_T}$xsi_shell" >&6; } { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes { echo "$as_me:$LINENO: result: $lt_shell_append" >&5 echo "${ECHO_T}$lt_shell_append" >&6; } if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_reload_flag='-r' fi { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$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 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_OBJDUMP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5 echo "${ECHO_T}$OBJDUMP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OBJDUMP="objdump" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. 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 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; 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]) shared object file - PA-RISC [0-9].[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu) 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*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac fi { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } 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}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="${ac_tool_prefix}ar" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AR="ar" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi else AR="$ac_cv_prog_AR" fi test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi # 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. { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi # 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:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$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=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && 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 #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. */ const struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { echo "$as_me:$LINENO: result: failed" >&5 echo "${ECHO_T}failed" >&6; } else { echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6; } fi # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line 7205 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_DSYMUTIL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 echo "${ECHO_T}$DSYMUTIL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_NMEDIT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $NMEDIT" >&5 echo "${ECHO_T}$NMEDIT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_NMEDIT="nmedit" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_LIPO+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $LIPO" >&5 echo "${ECHO_T}$LIPO" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_LIPO="lipo" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 echo "${ECHO_T}$ac_ct_LIPO" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_OTOOL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $OTOOL" >&5 echo "${ECHO_T}$OTOOL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL="otool" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 echo "${ECHO_T}$ac_ct_OTOOL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_OTOOL64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $OTOOL64" >&5 echo "${ECHO_T}$OTOOL64" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL64="otool64" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } if test "${lt_cv_apple_cc_single_mod+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&5 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } if test "${lt_cv_ld_exported_symbols_list+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_cv_ld_exported_symbols_list=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[012]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac for ac_header in dlfcn.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 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; pic_mode="$withval" else pic_mode=default fi test -z "$pic_mode" && pic_mode=default # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi { echo "$as_me:$LINENO: checking for objdir" >&5 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } if test "${lt_cv_objdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 echo "${ECHO_T}$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # 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. 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' # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { echo "$as_me:$LINENO: checking for file" >&5 echo $ECHO_N "checking for file... $ECHO_C" >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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* if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:8578: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:8582: \$? = $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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/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 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; 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 else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu) 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' ;; pgcc* | pgf77* | pgf90* | pgf95*) # 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*) # IBM XL C 8.0/Fortran 10.1 on PPC lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Sun\ F*) # 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='' ;; 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*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_pic_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:8917: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:8921: \$? = $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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/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 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_static_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 "X$_lt_linker_boilerplate" | $Xsed -e '/^$/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 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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:9022: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:9026: \$? = $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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/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 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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:9077: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:9081: \$? = $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 "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/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 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 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 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; linux* | k*bsd*-gnu) link_all_deplibs=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.9.1, 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 modify your PATH *** so that a non-GNU linker is found, and then restart. _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' 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/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; 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) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag= 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; 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; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir' archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $compiler_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 $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' 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 $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 ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $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 if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm 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")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi link_all_deplibs=no else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi export_dynamic_flag_spec='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' 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 "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' 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 "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; 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' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. 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 `$ECHO "X$deplibs" | $Xsed -e '\''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' fix_srcfile_path='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes=yes ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported whole_archive_flag_spec='' link_all_deplibs=yes allow_undefined_flag="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=echo archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared -fPIC ${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' ;; *) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${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. save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" cat >conftest.$ac_ext <<_ACEOF int foo(void) {} _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; netbsd* | 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*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${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" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${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" && $ECHO "X-set_version $verstring" | $Xsed` -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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared ${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 ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='${wl}-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='${wl}-z,text' allow_undefined_flag='${wl}-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='${wl}-Blargedynsym' ;; esac fi fi { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 echo "${ECHO_T}$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 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:$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=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc=no else archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 echo "${ECHO_T}$archive_cmds_need_lc" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then # 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 -e 's/;/ /g'` else lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[4-9]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 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="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. 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 ;; 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 ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then shlibpath_overrides_runpath=yes fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/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 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existent directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action" >&5 echo "${ECHO_T}$hardcode_action" >&6; } if test "$hardcode_action" = relink || test "$inherit_rpath" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } if test $ac_cv_lib_dl_dlopen = yes; 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 ;; *) { echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* 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 (); /* 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_shl_load || defined __stub___shl_load choke me #endif int main () { return shl_load (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else { echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* 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 (); /* 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_dlopen || defined __stub___dlopen choke me #endif int main () { return dlopen (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line 11849 "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 void fnord() { int i=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; /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && 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 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line 11945 "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 void fnord() { int i=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; /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && 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 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$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= { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&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" { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}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" { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi ;; *) { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } ;; esac fi # Report which library types will actually be built { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$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" { echo "$as_me:$LINENO: checking whether NLS is requested" >&5 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $USE_NLS" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_GMSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 echo "${ECHO_T}$GMSGFMT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_MSGMERGE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 echo "${ECHO_T}$MSGMERGE" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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" { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2 or newer" >&5 echo $ECHO_N "checking whether we are using the GNU C Library 2 or newer... $ECHO_C" >&6; } if test "${ac_cv_gnu_library_2+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 { echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&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 { echo "$as_me:$LINENO: checking for simple visibility declarations" >&5 echo $ECHO_N "checking for simple visibility declarations... $ECHO_C" >&6; } if test "${gl_cv_cc_visibility+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then gl_cv_cc_visibility=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gl_cv_cc_visibility=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$gl_save_CFLAGS" fi { echo "$as_me:$LINENO: result: $gl_cv_cc_visibility" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for inline" >&5 echo $ECHO_N "checking for inline... $ECHO_C" >&6; } if test "${ac_cv_c_inline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_c_inline=$ac_kw else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default typedef size_t ac__type_new_; int main () { if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_type_size_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_size_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } if test $ac_cv_type_size_t = yes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi { echo "$as_me:$LINENO: checking for stdint.h" >&5 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } if test "${gl_cv_header_stdint_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then gl_cv_header_stdint_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gl_cv_header_stdint_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5 echo "${ECHO_T}$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! { echo "$as_me:$LINENO: checking for working alloca.h" >&5 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } if test "${ac_cv_working_alloca_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { char *p = (char *) alloca (2 * sizeof (int)); if (p) return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_working_alloca_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_working_alloca_h=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } if test $ac_cv_working_alloca_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA_H 1 _ACEOF fi { echo "$as_me:$LINENO: checking for alloca" >&5 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } if test "${ac_cv_func_alloca_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 */ char *alloca (); # endif # endif # endif # endif #endif int main () { char *p = (char *) alloca (1); if (p) return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_alloca_works=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_alloca_works=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } if test $ac_cv_func_alloca_works = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA 1 _ACEOF 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 cat >>confdefs.h <<\_ACEOF #define C_ALLOCA 1 _ACEOF { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } if test "${ac_cv_os_cray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 echo "${ECHO_T}$ac_cv_os_cray" >&6; } if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* 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_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define CRAY_STACKSEG_END $ac_func _ACEOF break fi done fi { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } if test "${ac_cv_c_stack_direction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int find_stack_direction () { static char *addr = 0; auto char dummy; if (addr == 0) { addr = &dummy; return find_stack_direction (); } else return (&dummy > addr) ? 1 : -1; } int main () { return find_stack_direction () < 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_stack_direction=1 else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_c_stack_direction=-1 fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } cat >>confdefs.h <<_ACEOF #define STACK_DIRECTION $ac_cv_c_stack_direction _ACEOF fi for ac_header in stdlib.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in getpagesize do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* 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_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done { echo "$as_me:$LINENO: checking for working mmap" >&5 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; } if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_mmap_fixed_mapped=no else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 /* Assume that all systems that can run configure have sys/param.h. */ # ifndef HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif # 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; int i, pagesize; int fd; 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 1; if (write (fd, data, pagesize) != pagesize) return 1; close (fd); /* 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 1; data2 = (char *) malloc (2 * pagesize); if (!data2) return 1; data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) return 1; for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) return 1; /* 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 1; if (read (fd, data3, pagesize) != pagesize) return 1; for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) return 1; close (fd); return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mmap_fixed_mapped=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) 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.$ac_ext fi fi { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; } if test $ac_cv_func_mmap_fixed_mapped = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_MMAP 1 _ACEOF fi rm -f conftest.mmap { echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6; } if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_int_divbyzero_sigfpe=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) gt_cv_int_divbyzero_sigfpe=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for inttypes.h" >&5 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; } if test "${gl_cv_header_inttypes_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then gl_cv_header_inttypes_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gl_cv_header_inttypes_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for unsigned long long int" >&5 echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6; } if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_type_unsigned_long_long_int=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_unsigned_long_long_int=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5 echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6; } if test $ac_cv_type_unsigned_long_long_int = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_UNSIGNED_LONG_LONG_INT 1 _ACEOF 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 cat >>confdefs.h <<\_ACEOF #define HAVE_UINTMAX_T 1 _ACEOF fi for ac_header in inttypes.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_inttypes_h = yes; then { echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6; } if test "${gt_cv_inttypes_pri_broken+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #ifdef PRId32 char *p = PRId32; #endif int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then gt_cv_inttypes_pri_broken=no else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_inttypes_pri_broken=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5 echo "${ECHO_T}$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. { echo "$as_me:$LINENO: checking for ld used by GCC" >&5 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&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 { echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } else { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } fi if test "${acl_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $LD" >&5 echo "${ECHO_T}$LD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } if test "${acl_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld { echo "$as_me:$LINENO: checking for shared library run path origin" >&5 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; } if test "${acl_cv_rpath+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking whether imported symbols can be declared weak" >&5 echo $ECHO_N "checking whether imported symbols can be declared weak... $ECHO_C" >&6; } gl_have_weak=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy int main () { xyzzy(); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gl_have_weak=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext { echo "$as_me:$LINENO: result: $gl_have_weak" >&5 echo "${ECHO_T}$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. if test "${ac_cv_header_pthread_h+set}" = set; then { echo "$as_me:$LINENO: checking for pthread.h" >&5 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } if test "${ac_cv_header_pthread_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking pthread.h usability" >&5 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking pthread.h presence" >&5 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for pthread.h" >&5 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } if test "${ac_cv_header_pthread_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_pthread_h=$ac_header_preproc fi { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } fi if test $ac_cv_header_pthread_h = yes; 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { pthread_mutex_lock((pthread_mutex_t*)0); pthread_mutexattr_init((pthread_mutexattr_t*)0); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gl_have_pthread=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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. { echo "$as_me:$LINENO: checking for pthread_kill in -lpthread" >&5 echo $ECHO_N "checking for pthread_kill in -lpthread... $ECHO_C" >&6; } if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_pthread_pthread_kill=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_pthread_pthread_kill=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_kill" >&5 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_kill" >&6; } if test $ac_cv_lib_pthread_pthread_kill = yes; 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*) cat >>confdefs.h <<\_ACEOF #define PTHREAD_IN_USE_DETECTION_HARD 1 _ACEOF esac fi else # Some library is needed. Try libpthread and libc_r. { echo "$as_me:$LINENO: checking for pthread_kill in -lpthread" >&5 echo $ECHO_N "checking for pthread_kill in -lpthread... $ECHO_C" >&6; } if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_pthread_pthread_kill=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_pthread_pthread_kill=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_kill" >&5 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_kill" >&6; } if test $ac_cv_lib_pthread_pthread_kill = yes; then gl_have_pthread=yes LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread fi if test -z "$gl_have_pthread"; then # For FreeBSD 4. { echo "$as_me:$LINENO: checking for pthread_kill in -lc_r" >&5 echo $ECHO_N "checking for pthread_kill in -lc_r... $ECHO_C" >&6; } if test "${ac_cv_lib_c_r_pthread_kill+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lc_r $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_c_r_pthread_kill=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_c_r_pthread_kill=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_kill" >&5 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_kill" >&6; } if test $ac_cv_lib_c_r_pthread_kill = yes; 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 cat >>confdefs.h <<\_ACEOF #define USE_POSIX_THREADS 1 _ACEOF if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if test $gl_have_weak = yes; then cat >>confdefs.h <<\_ACEOF #define USE_POSIX_THREADS_WEAK 1 _ACEOF LIBTHREAD= LTLIBTHREAD= fi fi # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the # pthread_rwlock_* functions. { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; } if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include typedef pthread_rwlock_t ac__type_new_; int main () { if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_type_pthread_rwlock_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_pthread_rwlock_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; } if test $ac_cv_type_pthread_rwlock_t = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_PTHREAD_RWLOCK 1 _ACEOF fi # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >>confdefs.h <<\_ACEOF #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 _ACEOF else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { thr_self(); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gl_have_solaristhread=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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" cat >>confdefs.h <<\_ACEOF #define USE_SOLARIS_THREADS 1 _ACEOF if test $gl_have_weak = yes; then cat >>confdefs.h <<\_ACEOF #define USE_SOLARIS_THREADS_WEAK 1 _ACEOF LIBTHREAD= LTLIBTHREAD= fi fi fi fi if test "$gl_use_threads" = pth; then gl_save_CPPFLAGS="$CPPFLAGS" { echo "$as_me:$LINENO: checking how to link with libpth" >&5 echo $ECHO_N "checking how to link with libpth... $ECHO_C" >&6; } if test "${ac_cv_libpth_libs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $ac_cv_libpth_libs" >&5 echo "${ECHO_T}$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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { pth_self(); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gl_have_pth=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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" cat >>confdefs.h <<\_ACEOF #define USE_PTH_THREADS 1 _ACEOF if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if test $gl_have_weak = yes; then cat >>confdefs.h <<\_ACEOF #define USE_PTH_THREADS_WEAK 1 _ACEOF 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 cat >>confdefs.h <<\_ACEOF #define USE_WIN32_THREADS 1 _ACEOF fi fi fi fi { echo "$as_me:$LINENO: checking for multithread API to use" >&5 echo $ECHO_N "checking for multithread API to use... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $gl_threads_api" >&5 echo "${ECHO_T}$gl_threads_api" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; } int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then cat >>confdefs.h <<\_ACEOF #define HAVE_BUILTIN_EXPECT 1 _ACEOF else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `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=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* 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_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done { echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6; } if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { #ifndef feof_unlocked char *p = (char *) feof_unlocked; #endif ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_feof_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_feof_unlocked=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6; } if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { #ifndef fgets_unlocked char *p = (char *) fgets_unlocked; #endif ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_fgets_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_fgets_unlocked=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for iconv" >&5 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } if test "${am_cv_func_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then am_cv_func_iconv=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS -liconv" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then am_cv_lib_iconv=yes am_cv_func_iconv=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 echo "${ECHO_T}$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ICONV 1 _ACEOF { echo "$as_me:$LINENO: checking for iconv declaration" >&5 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; } if test "${am_cv_proto_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then am_cv_proto_iconv_arg1="" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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/( /(/'` { echo "$as_me:$LINENO: result: ${ac_t:- }$am_cv_proto_iconv" >&5 echo "${ECHO_T}${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 { echo "$as_me:$LINENO: checking for NL_LOCALE_NAME macro" >&5 echo $ECHO_N "checking for NL_LOCALE_NAME macro... $ECHO_C" >&6; } if test "${gt_cv_nl_locale_name+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES)); return !cs; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gt_cv_nl_locale_name=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_nl_locale_name=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_nl_locale_name" >&5 echo "${ECHO_T}$gt_cv_nl_locale_name" >&6; } if test $gt_cv_nl_locale_name = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_NL_LOCALE_NAME 1 _ACEOF 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_INTLBISON+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_INTLBISON="$ac_prog" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $INTLBISON" >&5 echo "${ECHO_T}$INTLBISON" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$INTLBISON" && break done if test -z "$INTLBISON"; then ac_verc_fail=yes else { echo "$as_me:$LINENO: checking version of bison" >&5 echo $ECHO_N "checking version of bison... $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5 echo "${ECHO_T}$ac_prog_version" >&6; } fi if test $ac_verc_fail = yes; then INTLBISON=: fi { echo "$as_me:$LINENO: checking for long long int" >&5 echo $ECHO_N "checking for long long int... $ECHO_C" >&6; } if test "${ac_cv_type_long_long_int+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then if test "$cross_compiling" = yes; then ac_cv_type_long_long_int=yes else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_long_long_int=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) 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.$ac_ext fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_long_long_int=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; } if test $ac_cv_type_long_long_int = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LONG_LONG_INT 1 _ACEOF fi { echo "$as_me:$LINENO: checking for wchar_t" >&5 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; } if test "${gt_cv_c_wchar_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include wchar_t foo = (wchar_t)'\0'; int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then gt_cv_c_wchar_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_c_wchar_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; } if test $gt_cv_c_wchar_t = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WCHAR_T 1 _ACEOF fi { echo "$as_me:$LINENO: checking for wint_t" >&5 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; } if test "${gt_cv_c_wint_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then gt_cv_c_wint_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_c_wint_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5 echo "${ECHO_T}$gt_cv_c_wint_t" >&6; } if test $gt_cv_c_wint_t = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WINT_T 1 _ACEOF fi { echo "$as_me:$LINENO: checking for intmax_t" >&5 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; } if test "${gt_cv_c_intmax_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then gt_cv_c_intmax_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_c_intmax_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; } if test $gt_cv_c_intmax_t = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_INTMAX_T 1 _ACEOF fi { echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; } if test "${gt_cv_func_printf_posix+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_printf_posix=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) gt_cv_func_printf_posix=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi { echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; } case $gt_cv_func_printf_posix in *yes) cat >>confdefs.h <<\_ACEOF #define HAVE_POSIX_PRINTF 1 _ACEOF ;; esac { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; } if test "${ac_cv_gnu_library_2_1+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 { echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; } GLIBC21="$ac_cv_gnu_library_2_1" for ac_header in stdint.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done { echo "$as_me:$LINENO: checking for SIZE_MAX" >&5 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; } if test "${gl_cv_size_max+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else gl_cv_size_max= cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) size_t_bits_minus_1=$ac_lo;; '') size_t_bits_minus_1= ;; esac else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include static long int longval () { return sizeof (size_t) * CHAR_BIT - 1; } static unsigned long int ulongval () { return sizeof (size_t) * CHAR_BIT - 1; } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if ((sizeof (size_t) * CHAR_BIT - 1) < 0) { long int i = longval (); if (i != (sizeof (size_t) * CHAR_BIT - 1)) return 1; fprintf (f, "%ld\n", i); } else { unsigned long int i = ulongval (); if (i != (sizeof (size_t) * CHAR_BIT - 1)) return 1; fprintf (f, "%lu\n", i); } return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then size_t_bits_minus_1=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) size_t_bits_minus_1= fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.val if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) fits_in_uint=$ac_lo;; '') fits_in_uint= ;; esac else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); } static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if ((sizeof (size_t) <= sizeof (unsigned int)) < 0) { long int i = longval (); if (i != (sizeof (size_t) <= sizeof (unsigned int))) return 1; fprintf (f, "%ld\n", i); } else { unsigned long int i = ulongval (); if (i != (sizeof (size_t) <= sizeof (unsigned int))) return 1; fprintf (f, "%lu\n", i); } return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then fits_in_uint=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) fits_in_uint= fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.val if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then if test $fits_in_uint = 1; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include extern size_t foo; extern unsigned long foo; int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then fits_in_uint=0 else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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 { echo "$as_me:$LINENO: result: $gl_cv_size_max" >&5 echo "${ECHO_T}$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 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; } if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gt_cv_func_CFPreferencesCopyAppValue=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_CFPreferencesCopyAppValue=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_CFPREFERENCESCOPYAPPVALUE 1 _ACEOF fi { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; } if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { CFLocaleCopyCurrent(); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gt_cv_func_CFLocaleCopyCurrent=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_CFLocaleCopyCurrent=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; } if test $gt_cv_func_CFLocaleCopyCurrent = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_CFLOCALECOPYCURRENT 1 _ACEOF 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 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; } if test "${ac_cv_type_ptrdiff_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default typedef ptrdiff_t ac__type_new_; int main () { if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_type_ptrdiff_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_ptrdiff_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; } if test $ac_cv_type_ptrdiff_t = yes; then : else cat >>confdefs.h <<\_ACEOF #define ptrdiff_t long _ACEOF fi for ac_header in stddef.h stdlib.h string.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `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=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* 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_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done { echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; } if test "${ac_cv_have_decl__snprintf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { #ifndef _snprintf char *p = (char *) _snprintf; #endif ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl__snprintf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl__snprintf=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5 echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6; } if test "${ac_cv_have_decl__snwprintf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { #ifndef _snwprintf char *p = (char *) _snwprintf; #endif ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl__snwprintf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl__snwprintf=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; } if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { #ifndef getc_unlocked char *p = (char *) getc_unlocked; #endif ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_getc_unlocked=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_getc_unlocked=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; } if test "${am_cv_langinfo_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { char* cs = nl_langinfo(CODESET); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then am_cv_langinfo_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_langinfo_codeset=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; } if test $am_cv_langinfo_codeset = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LANGINFO_CODESET 1 _ACEOF fi { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; } if test "${gt_cv_val_LC_MESSAGES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gt_cv_val_LC_MESSAGES=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_val_LC_MESSAGES=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_val_LC_MESSAGES" >&5 echo "${ECHO_T}$gt_cv_val_LC_MESSAGES" >&6; } if test $gt_cv_val_LC_MESSAGES = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LC_MESSAGES 1 _ACEOF 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_WINDRES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_WINDRES="${ac_tool_prefix}windres" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $WINDRES" >&5 echo "${ECHO_T}$WINDRES" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_WINDRES="windres" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5 echo "${ECHO_T}$ac_ct_WINDRES" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_WINDRES" = x; then WINDRES="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&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 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; } if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gt_cv_func_CFPreferencesCopyAppValue=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_CFPreferencesCopyAppValue=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_CFPREFERENCESCOPYAPPVALUE 1 _ACEOF fi { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; } if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { CFLocaleCopyCurrent(); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gt_cv_func_CFLocaleCopyCurrent=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_CFLocaleCopyCurrent=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; } if test $gt_cv_func_CFLocaleCopyCurrent = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_CFLOCALECOPYCURRENT 1 _ACEOF 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 { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; } if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$gt_func_gnugettext_libc=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$gt_func_gnugettext_libc=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; } if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$gt_func_gnugettext_libintl=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$gt_func_gnugettext_libintl=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" fi ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$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 cat >>confdefs.h <<\_ACEOF #define ENABLE_NLS 1 _ACEOF else USE_NLS=no fi fi { echo "$as_me:$LINENO: checking whether to use NLS" >&5 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $USE_NLS" >&5 echo "${ECHO_T}$USE_NLS" >&6; } if test "$USE_NLS" = "yes"; then { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $gt_source" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking how to link with libintl" >&5 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $LIBINTL" >&5 echo "${ECHO_T}$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 cat >>confdefs.h <<\_ACEOF #define HAVE_GETTEXT 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define HAVE_DCGETTEXT 1 _ACEOF 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 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } if test "${ac_cv_sys_largefile_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext CC="$CC -n32" 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_sys_largefile_CC=' -n32'; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext break done CC=$ac_save_CC rm -f conftest.$ac_ext fi fi { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } if test "${ac_cv_sys_file_offset_bits+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_sys_file_offset_bits=no; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_sys_file_offset_bits=64; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_file_offset_bits=unknown break done fi { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 echo "${ECHO_T}$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 -f conftest* if test $ac_cv_sys_file_offset_bits = unknown; then { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } if test "${ac_cv_sys_large_files+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_sys_large_files=no; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_sys_large_files=1; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_large_files=unknown break done fi { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 echo "${ECHO_T}$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 -f conftest* fi fi { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } if test "${ac_cv_c_bigendian+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # See if sys/param.h defines the BYTE_ORDER macro. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then # It does; now see whether it defined to BIG_ENDIAN or not. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_c_bigendian=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # It does not; compile a test program. if test "$cross_compiling" = yes; then # try to guess the endianness by grepping values into an object file ac_cv_c_bigendian=unknown cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 }; void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } int main () { _ascii (); _ebcdic (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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 else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_bigendian=no else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in yes) cat >>confdefs.h <<\_ACEOF #define WORDS_BIGENDIAN 1 _ACEOF ;; no) ;; *) { { echo "$as_me:$LINENO: error: unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" >&5 echo "$as_me: error: unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} { (exit 1); exit 1; }; } ;; 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_HAVE_PKG_CONFIG="yes" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $HAVE_PKG_CONFIG" >&5 echo "${ECHO_T}$HAVE_PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$HAVE_PKG_CONFIG" = "xyes" then if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { echo "$as_me:$LINENO: checking for OGG" >&5 echo $ECHO_N "checking for OGG... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$OGG_CFLAGS"; then pkg_cv_OGG_CFLAGS="$OGG_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$OGG_LIBS"; then pkg_cv_OGG_LIBS="$OGG_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5 ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.0"` else OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.0"` fi # Put the nasty error message in config.log where it belongs echo "$OGG_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } HAVE_OGG=no elif test $pkg_failed = untried; then HAVE_OGG=no else OGG_CFLAGS=$pkg_cv_OGG_CFLAGS OGG_LIBS=$pkg_cv_OGG_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } HAVE_OGG=yes 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 { echo "$as_me:$LINENO: checking for Ogg" >&5 echo $ECHO_N "checking for Ogg... $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { system("touch conf.oggtest"); return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) no_ogg=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_ogg" = "xdisabled" ; then { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } { { echo "$as_me:$LINENO: error: Ogg needed!" >&5 echo "$as_me: error: Ogg needed!" >&2;} { (exit 1); exit 1; }; } elif test "x$no_ogg" = "x" ; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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 "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi OGG_CFLAGS="" OGG_LIBS="" { { echo "$as_me:$LINENO: error: Ogg needed!" >&5 echo "$as_me: error: Ogg needed!" >&2;} { (exit 1); exit 1; }; } fi rm -f conf.oggtest libs_save=$LIBS LIBS="$OGG_LIBS $VORBIS_LIBS" { echo "$as_me:$LINENO: checking for oggpack_writealign" >&5 echo $ECHO_N "checking for oggpack_writealign... $ECHO_C" >&6; } if test "${ac_cv_func_oggpack_writealign+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define oggpack_writealign to an innocuous variant, in case declares oggpack_writealign. For example, HP-UX 11i declares gettimeofday. */ #define oggpack_writealign innocuous_oggpack_writealign /* System header to define __stub macros and hopefully few prototypes, which can conflict with char oggpack_writealign (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef oggpack_writealign /* 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 oggpack_writealign (); /* 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_oggpack_writealign || defined __stub___oggpack_writealign choke me #endif int main () { return oggpack_writealign (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_oggpack_writealign=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_oggpack_writealign=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_oggpack_writealign" >&5 echo "${ECHO_T}$ac_cv_func_oggpack_writealign" >&6; } if test $ac_cv_func_oggpack_writealign = yes; then : else { { echo "$as_me:$LINENO: error: Ogg >= 1.0 required !" >&5 echo "$as_me: error: Ogg >= 1.0 required !" >&2;} { (exit 1); exit 1; }; } fi LIBS=$libs_save fi HAVE_VORBIS=no if test "x$HAVE_PKG_CONFIG" = "xyes" then pkg_failed=no { echo "$as_me:$LINENO: checking for VORBIS" >&5 echo $ECHO_N "checking for VORBIS... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$VORBIS_CFLAGS"; then pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.3.0\"") >&5 ($PKG_CONFIG --exists --print-errors "vorbis >= 1.3.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbis >= 1.3.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$VORBIS_LIBS"; then pkg_cv_VORBIS_LIBS="$VORBIS_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.3.0\"") >&5 ($PKG_CONFIG --exists --print-errors "vorbis >= 1.3.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "vorbis >= 1.3.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then VORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vorbis >= 1.3.0"` else VORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbis >= 1.3.0"` fi # Put the nasty error message in config.log where it belongs echo "$VORBIS_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } HAVE_VORBIS=no elif test $pkg_failed = untried; then HAVE_VORBIS=no else VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS VORBIS_LIBS=$pkg_cv_VORBIS_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } HAVE_VORBIS=yes fi VORBISENC_LIBS="-lvorbisenc" VORBISFILE_LIBS="-lvorbisfile" libs_save=$LIBS LIBS="$OGG_LIBS $VORBIS_LIBS $VORBISFILE_LIBS" { echo "$as_me:$LINENO: checking for ov_read_filter" >&5 echo $ECHO_N "checking for ov_read_filter... $ECHO_C" >&6; } if test "${ac_cv_func_ov_read_filter+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define ov_read_filter to an innocuous variant, in case declares ov_read_filter. For example, HP-UX 11i declares gettimeofday. */ #define ov_read_filter innocuous_ov_read_filter /* System header to define __stub macros and hopefully few prototypes, which can conflict with char ov_read_filter (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef ov_read_filter /* 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 ov_read_filter (); /* 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_ov_read_filter || defined __stub___ov_read_filter choke me #endif int main () { return ov_read_filter (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_ov_read_filter=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_ov_read_filter=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_ov_read_filter" >&5 echo "${ECHO_T}$ac_cv_func_ov_read_filter" >&6; } if test $ac_cv_func_ov_read_filter = yes; 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 cat >>confdefs.h <<\_ACEOF #define HAVE_OV_READ_FILTER 1 _ACEOF 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="" { echo "$as_me:$LINENO: checking for library containing cos" >&5 echo $ECHO_N "checking for library containing cos... $ECHO_C" >&6; } if test "${ac_cv_search_cos+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_search_cos=$ac_res else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext if test "${ac_cv_search_cos+set}" = set; then break fi done if test "${ac_cv_search_cos+set}" = set; then : else ac_cv_search_cos=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_search_cos" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: WARNING: cos() not found in math library, vorbis installation may not work" >&5 echo "$as_me: WARNING: cos() not found in math library, vorbis installation may not work" >&2;} fi LIBS="$xiph_saved_LIBS" { echo "$as_me:$LINENO: checking for Vorbis" >&5 echo $ECHO_N "checking for Vorbis... $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { system("touch conf.vorbistest"); return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) no_vorbis=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_vorbis" = "xdisabled" ; then { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } { { echo "$as_me:$LINENO: error: Vorbis needed!" >&5 echo "$as_me: error: Vorbis needed!" >&2;} { (exit 1); exit 1; }; } elif test "x$no_vorbis" = "x" ; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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 "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi VORBIS_CFLAGS="" VORBIS_LIBS="" VORBISFILE_LIBS="" VORBISENC_LIBS="" { { echo "$as_me:$LINENO: error: Vorbis needed!" >&5 echo "$as_me: error: Vorbis needed!" >&2;} { (exit 1); exit 1; }; } fi rm -f conf.vorbistest { echo "$as_me:$LINENO: checking whether OV_ECTL_COUPLING_SET is declared" >&5 echo $ECHO_N "checking whether OV_ECTL_COUPLING_SET is declared... $ECHO_C" >&6; } if test "${ac_cv_have_decl_OV_ECTL_COUPLING_SET+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { #ifndef OV_ECTL_COUPLING_SET (void) OV_ECTL_COUPLING_SET; #endif ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_OV_ECTL_COUPLING_SET=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_OV_ECTL_COUPLING_SET=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_have_decl_OV_ECTL_COUPLING_SET" >&5 echo "${ECHO_T}$ac_cv_have_decl_OV_ECTL_COUPLING_SET" >&6; } if test "x$ac_cv_have_decl_OV_ECTL_COUPLING_SET" = "xno" then { { echo "$as_me:$LINENO: error: Vorbis >= 1.3.0 required !" >&5 echo "$as_me: error: Vorbis >= 1.3.0 required !" >&2;} { (exit 1); exit 1; }; } 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 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= { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } if test "${ac_cv_lib_socket_socket+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_socket_socket=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_socket_socket=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } if test $ac_cv_lib_socket_socket = yes; then SOCKET_LIBS="-lsocket" fi { echo "$as_me:$LINENO: checking for socket in -lnetwork" >&5 echo $ECHO_N "checking for socket in -lnetwork... $ECHO_C" >&6; } if test "${ac_cv_lib_network_socket+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnetwork $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_network_socket=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_network_socket=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_network_socket" >&5 echo "${ECHO_T}$ac_cv_lib_network_socket" >&6; } if test $ac_cv_lib_network_socket = yes; then SOCKET_LIBS="-lnetwork" fi { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_nsl_gethostbyname=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_nsl_gethostbyname=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } if test $ac_cv_lib_nsl_gethostbyname = yes; then SOCKET_LIBS="-lnsl $SOCKET_LIBS" fi if test "x$HAVE_PKG_CONFIG" = "xyes"; then pkg_failed=no { echo "$as_me:$LINENO: checking for CURL" >&5 echo $ECHO_N "checking for CURL... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$CURL_CFLAGS"; then pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$CURL_LIBS"; then pkg_cv_CURL_LIBS="$CURL_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"` else CURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"` fi # Put the nasty error message in config.log where it belongs echo "$CURL_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } HAVE_CURL=no elif test $pkg_failed = untried; then HAVE_CURL=no else CURL_CFLAGS=$pkg_cv_CURL_CFLAGS CURL_LIBS=$pkg_cv_CURL_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } HAVE_CURL=yes 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 { echo "$as_me:$LINENO: checking for libcurl" >&5 echo $ECHO_N "checking for libcurl... $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { system("touch conf.curltest"); return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) no_curl=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_curl" = "x" ; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } cat >>confdefs.h <<\_ACEOF #define HAVE_CURL 1 _ACEOF HAVE_CURL=yes else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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 "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi CURL_CFLAGS="" CURL_LIBS="" HAVE_CURL=no; { echo "$as_me:$LINENO: WARNING: libcurl missing" >&5 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 { echo "$as_me:$LINENO: checking for libcurl" >&5 echo $ECHO_N "checking for libcurl... $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { system("touch conf.curltest"); return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) no_curl=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_curl" = "x" ; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } cat >>confdefs.h <<\_ACEOF #define HAVE_CURL 1 _ACEOF HAVE_CURL=yes else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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 "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi CURL_CFLAGS="" CURL_LIBS="" HAVE_CURL=no; { echo "$as_me:$LINENO: WARNING: libcurl missing" >&5 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 cat >>confdefs.h <<\_ACEOF #define HAVE_CURL 1 _ACEOF fi if test "x$build_ogg123" = xyes; then { echo "$as_me:$LINENO: result: checking for ogg123 requirements" >&5 echo "${ECHO_T}checking for ogg123 requirements" >&6; } pkg_failed=no { echo "$as_me:$LINENO: checking for AO" >&5 echo $ECHO_N "checking for AO... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$AO_CFLAGS"; then pkg_cv_AO_CFLAGS="$AO_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ao >= 1.0.0\"") >&5 ($PKG_CONFIG --exists --print-errors "ao >= 1.0.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_AO_CFLAGS=`$PKG_CONFIG --cflags "ao >= 1.0.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$AO_LIBS"; then pkg_cv_AO_LIBS="$AO_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ao >= 1.0.0\"") >&5 ($PKG_CONFIG --exists --print-errors "ao >= 1.0.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_AO_LIBS=`$PKG_CONFIG --libs "ao >= 1.0.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then AO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ao >= 1.0.0"` else AO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ao >= 1.0.0"` fi # Put the nasty error message in config.log where it belongs echo "$AO_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } build_ogg123=no; { echo "$as_me:$LINENO: WARNING: libao too old; >= 1.0.0 required" >&5 echo "$as_me: WARNING: libao too old; >= 1.0.0 required" >&2;} elif test $pkg_failed = untried; then build_ogg123=no; { echo "$as_me:$LINENO: WARNING: libao too old; >= 1.0.0 required" >&5 echo "$as_me: WARNING: libao too old; >= 1.0.0 required" >&2;} else AO_CFLAGS=$pkg_cv_AO_CFLAGS AO_LIBS=$pkg_cv_AO_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi acx_pthread_ok=no # First, check if the POSIX threads header, pthread.h, is available. # If it isn't, don't bother looking for the threads libraries. if test "${ac_cv_header_pthread_h+set}" = set; then { echo "$as_me:$LINENO: checking for pthread.h" >&5 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } if test "${ac_cv_header_pthread_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking pthread.h usability" >&5 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking pthread.h presence" >&5 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for pthread.h" >&5 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } if test "${ac_cv_header_pthread_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_pthread_h=$ac_header_preproc fi { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } fi if test $ac_cv_header_pthread_h = yes; then : else acx_pthread_ok=noheader 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). # 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" { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then acx_pthread_ok=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5 echo "${ECHO_T}$acx_pthread_ok" >&6; } if test x"$acx_pthread_ok" = xno; then PTHREAD_LIBS="" PTHREAD_CFLAGS="" fi LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" fi # 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. acx_pthread_flags="pthreads none -Kthread -kthread lthread pthread -pthread -pthreads -mthreads --thread-safe -mt" # 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) # pthread: Linux, etcetera # --thread-safe: KAI C++ 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 -pthread or # -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="-pthread -pthreads pthread -mt $acx_pthread_flags" ;; esac if test x"$acx_pthread_ok" = xno; then for flag in $acx_pthread_flags; do case $flag in none) { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; } ;; -*) { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; } PTHREAD_CFLAGS="$flag" ;; *) { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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_cancel(0); pthread_cleanup_pop(0); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then acx_pthread_ok=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5 echo "${ECHO_T}$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: threads are created detached by default # and the JOINABLE attribute has a nonstandard name (UNDETACHED). { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { int attr=PTHREAD_CREATE_JOINABLE; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ok=PTHREAD_CREATE_JOINABLE else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ok=unknown fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test x"$ok" = xunknown; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { int attr=PTHREAD_CREATE_UNDETACHED; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ok=PTHREAD_CREATE_UNDETACHED else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ok=unknown fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then cat >>confdefs.h <<\_ACEOF #define PTHREAD_CREATE_JOINABLE $ok _ACEOF fi { echo "$as_me:$LINENO: result: ${ok}" >&5 echo "${ECHO_T}${ok}" >&6; } if test x"$ok" = xunknown; then { echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5 echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;} fi { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; } flag=no case "${host_cpu}-${host_os}" in *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";; *solaris* | alpha*-osf*) flag="-D_REENTRANT";; esac { echo "$as_me:$LINENO: result: ${flag}" >&5 echo "${ECHO_T}${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 cc_r # Extract the first word of "cc_r", so it can be a program name with args. set dummy cc_r; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_PTHREAD_CC="cc_r" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}" fi fi PTHREAD_CC=$ac_cv_prog_PTHREAD_CC if test -n "$PTHREAD_CC"; then { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5 echo "${ECHO_T}$PTHREAD_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi else PTHREAD_CC="$CC" fi # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: if test x"$acx_pthread_ok" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_PTHREAD 1 _ACEOF : else acx_pthread_ok=no build_ogg123=no; { echo "$as_me:$LINENO: WARNING: POSIX threads missing" >&5 echo "$as_me: WARNING: POSIX threads missing" >&2;} fi fi FLAC_LIBS="" if test "x$build_flac" = xyes; then { echo "$as_me:$LINENO: checking for log in -lm" >&5 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6; } if test "${ac_cv_lib_m_log+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_m_log=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_m_log=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5 echo "${ECHO_T}$ac_cv_lib_m_log" >&6; } if test $ac_cv_lib_m_log = yes; then FLAC_LIBS="-lm" fi { echo "$as_me:$LINENO: checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC" >&5 echo $ECHO_N "checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC... $ECHO_C" >&6; } if test "${ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lFLAC $FLAC_LIBS $OGG_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream" >&5 echo "${ECHO_T}$ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream" >&6; } if test $ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream = yes; then have_libFLAC=yes else have_libFLAC=no fi if test "x$have_libFLAC" = xyes; then FLAC_LIBS="-lFLAC $FLAC_LIBS $OGG_LIBS" else { echo "$as_me:$LINENO: checking for FLAC__stream_decoder_process_single in -lFLAC" >&5 echo $ECHO_N "checking for FLAC__stream_decoder_process_single in -lFLAC... $ECHO_C" >&6; } if test "${ac_cv_lib_FLAC_FLAC__stream_decoder_process_single+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lFLAC $FLAC_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_FLAC_FLAC__stream_decoder_process_single=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_FLAC_FLAC__stream_decoder_process_single=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_FLAC_FLAC__stream_decoder_process_single" >&5 echo "${ECHO_T}$ac_cv_lib_FLAC_FLAC__stream_decoder_process_single" >&6; } if test $ac_cv_lib_FLAC_FLAC__stream_decoder_process_single = yes; then have_libFLAC=yes; FLAC_LIBS="-lFLAC $FLAC_LIBS" else { echo "$as_me:$LINENO: WARNING: libFLAC missing" >&5 echo "$as_me: WARNING: libFLAC missing" >&2;} have_libFLAC=no fi { echo "$as_me:$LINENO: checking for OggFLAC__stream_decoder_new in -lOggFLAC" >&5 echo $ECHO_N "checking for OggFLAC__stream_decoder_new in -lOggFLAC... $ECHO_C" >&6; } if test "${ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_new+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lOggFLAC $FLAC_LIBS $OGG_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_new=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_new=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_new" >&5 echo "${ECHO_T}$ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_new" >&6; } if test $ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_new = yes; then FLAC_LIBS="-lOggFLAC $FLAC_LIBS $OGG_LIBS" else { echo "$as_me:$LINENO: WARNING: libOggFLAC missing" >&5 echo "$as_me: WARNING: libOggFLAC missing" >&2;} have_libFLAC=no fi fi { echo "$as_me:$LINENO: checking for FLAC/stream_decoder.h" >&5 echo $ECHO_N "checking for FLAC/stream_decoder.h... $ECHO_C" >&6; } if test "${ac_cv_header_FLAC_stream_decoder_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_FLAC_stream_decoder_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_FLAC_stream_decoder_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_header_FLAC_stream_decoder_h" >&5 echo "${ECHO_T}$ac_cv_header_FLAC_stream_decoder_h" >&6; } if test $ac_cv_header_FLAC_stream_decoder_h = yes; then : else { echo "$as_me:$LINENO: WARNING: libFLAC headers missing" >&5 echo "$as_me: WARNING: libFLAC headers missing" >&2;} have_libFLAC=no fi if test "x$have_libFLAC" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBFLAC 1 _ACEOF 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 { echo "$as_me:$LINENO: checking for log in -lm" >&5 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6; } if test "${ac_cv_lib_m_log+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_m_log=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_m_log=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5 echo "${ECHO_T}$ac_cv_lib_m_log" >&6; } if test $ac_cv_lib_m_log = yes; then SPEEX_LIBS="-lm" fi { echo "$as_me:$LINENO: checking for speex_decoder_init in -lspeex" >&5 echo $ECHO_N "checking for speex_decoder_init in -lspeex... $ECHO_C" >&6; } if test "${ac_cv_lib_speex_speex_decoder_init+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lspeex $SPEEX_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_speex_speex_decoder_init=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_speex_speex_decoder_init=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_decoder_init" >&5 echo "${ECHO_T}$ac_cv_lib_speex_speex_decoder_init" >&6; } if test $ac_cv_lib_speex_speex_decoder_init = yes; then have_libspeex=yes; SPEEX_LIBS="-lspeex $SPEEX_LIBS" else { echo "$as_me:$LINENO: WARNING: libspeex missing" >&5 echo "$as_me: WARNING: libspeex missing" >&2;} have_libspeex=no fi { echo "$as_me:$LINENO: checking for speex/speex.h" >&5 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; } if test "${ac_cv_header_speex_speex_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_speex_speex_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_speex_speex_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; } if test $ac_cv_header_speex_speex_h = yes; then : else { echo "$as_me:$LINENO: WARNING: libspeex headers missing" >&5 echo "$as_me: WARNING: libspeex headers missing" >&2;} have_libspeex=no fi if test "x$have_libspeex" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBSPEEX 1 _ACEOF 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_HAVE_PKG_CONFIG="yes" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $HAVE_PKG_CONFIG" >&5 echo "${ECHO_T}$HAVE_PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$HAVE_PKG_CONFIG" = "xyes" then pkg_failed=no { echo "$as_me:$LINENO: checking for KATE" >&5 echo $ECHO_N "checking for KATE... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$KATE_CFLAGS"; then pkg_cv_KATE_CFLAGS="$KATE_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"oggkate\"") >&5 ($PKG_CONFIG --exists --print-errors "oggkate") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_KATE_CFLAGS=`$PKG_CONFIG --cflags "oggkate" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$KATE_LIBS"; then pkg_cv_KATE_LIBS="$KATE_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"oggkate\"") >&5 ($PKG_CONFIG --exists --print-errors "oggkate") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_KATE_LIBS=`$PKG_CONFIG --libs "oggkate" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then KATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "oggkate"` else KATE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "oggkate"` fi # Put the nasty error message in config.log where it belongs echo "$KATE_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } HAVE_KATE=no elif test $pkg_failed = untried; then HAVE_KATE=no else KATE_CFLAGS=$pkg_cv_KATE_CFLAGS KATE_LIBS=$pkg_cv_KATE_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } HAVE_KATE=yes fi fi if test "x$HAVE_KATE" = "xno" then { echo "$as_me:$LINENO: checking for log in -lm" >&5 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6; } if test "${ac_cv_lib_m_log+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_m_log=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_m_log=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5 echo "${ECHO_T}$ac_cv_lib_m_log" >&6; } if test $ac_cv_lib_m_log = yes; then KATE_LIBS="-lm" fi { echo "$as_me:$LINENO: checking for kate_decode_init in -lkate" >&5 echo $ECHO_N "checking for kate_decode_init in -lkate... $ECHO_C" >&6; } if test "${ac_cv_lib_kate_kate_decode_init+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lkate $KATE_LIBS $OGG_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_kate_kate_decode_init=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_kate_kate_decode_init=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_kate_kate_decode_init" >&5 echo "${ECHO_T}$ac_cv_lib_kate_kate_decode_init" >&6; } if test $ac_cv_lib_kate_kate_decode_init = yes; then HAVE_KATE=yes; KATE_LIBS="-lkate $KATE_LIBS $OGG_LIBS" else { echo "$as_me:$LINENO: WARNING: libkate missing" >&5 echo "$as_me: WARNING: libkate missing" >&2;} HAVE_KATE=no fi { echo "$as_me:$LINENO: checking for kate_ogg_decode_headerin in -loggkate" >&5 echo $ECHO_N "checking for kate_ogg_decode_headerin in -loggkate... $ECHO_C" >&6; } if test "${ac_cv_lib_oggkate_kate_ogg_decode_headerin+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-loggkate $KATE_LIBS $OGG_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_oggkate_kate_ogg_decode_headerin=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_oggkate_kate_ogg_decode_headerin=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_oggkate_kate_ogg_decode_headerin" >&5 echo "${ECHO_T}$ac_cv_lib_oggkate_kate_ogg_decode_headerin" >&6; } if test $ac_cv_lib_oggkate_kate_ogg_decode_headerin = yes; then HAVE_KATE=yes; KATE_LIBS="-loggkate $KATE_LIBS $OGG_LIBS" else { echo "$as_me:$LINENO: WARNING: libkate missing" >&5 echo "$as_me: WARNING: libkate missing" >&2;} HAVE_KATE=no fi { echo "$as_me:$LINENO: checking for kate/kate.h" >&5 echo $ECHO_N "checking for kate/kate.h... $ECHO_C" >&6; } if test "${ac_cv_header_kate_kate_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_kate_kate_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_kate_kate_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_header_kate_kate_h" >&5 echo "${ECHO_T}$ac_cv_header_kate_kate_h" >&6; } if test $ac_cv_header_kate_kate_h = yes; then : else { echo "$as_me:$LINENO: WARNING: libkate headers missing" >&5 echo "$as_me: WARNING: libkate headers missing" >&2;} HAVE_KATE=no fi { echo "$as_me:$LINENO: checking for kate/oggkate.h" >&5 echo $ECHO_N "checking for kate/oggkate.h... $ECHO_C" >&6; } if test "${ac_cv_header_kate_oggkate_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_kate_oggkate_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_kate_oggkate_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_header_kate_oggkate_h" >&5 echo "${ECHO_T}$ac_cv_header_kate_oggkate_h" >&6; } if test $ac_cv_header_kate_oggkate_h = yes; then : else { echo "$as_me:$LINENO: WARNING: liboggkate headers missing" >&5 echo "$as_me: WARNING: liboggkate headers missing" >&2;} HAVE_KATE=no fi fi if test "x$HAVE_KATE" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_KATE 1 _ACEOF 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=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `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! { echo "$as_me:$LINENO: checking for working alloca.h" >&5 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } if test "${ac_cv_working_alloca_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { char *p = (char *) alloca (2 * sizeof (int)); if (p) return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_working_alloca_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_working_alloca_h=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } if test $ac_cv_working_alloca_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA_H 1 _ACEOF fi { echo "$as_me:$LINENO: checking for alloca" >&5 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } if test "${ac_cv_func_alloca_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 */ char *alloca (); # endif # endif # endif # endif #endif int main () { char *p = (char *) alloca (1); if (p) return 0; ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_alloca_works=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_alloca_works=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } if test $ac_cv_func_alloca_works = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA 1 _ACEOF 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 cat >>confdefs.h <<\_ACEOF #define C_ALLOCA 1 _ACEOF { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } if test "${ac_cv_os_cray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 echo "${ECHO_T}$ac_cv_os_cray" >&6; } if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* 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_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define CRAY_STACKSEG_END $ac_func _ACEOF break fi done fi { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } if test "${ac_cv_c_stack_direction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int find_stack_direction () { static char *addr = 0; auto char dummy; if (addr == 0) { addr = &dummy; return find_stack_direction (); } else return (&dummy > addr) ? 1 : -1; } int main () { return find_stack_direction () < 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_stack_direction=1 else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_c_stack_direction=-1 fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: checking for iconv" >&5 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } if test "${am_cv_func_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then am_cv_func_iconv=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS -liconv" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then am_cv_lib_iconv=yes am_cv_func_iconv=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 echo "${ECHO_T}$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ICONV 1 _ACEOF { echo "$as_me:$LINENO: checking for iconv declaration" >&5 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; } if test "${am_cv_proto_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then am_cv_proto_iconv_arg1="" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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/( /(/'` { echo "$as_me:$LINENO: result: ${ac_t:- }$am_cv_proto_iconv" >&5 echo "${ECHO_T}${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=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* 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_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; } if test "${am_cv_langinfo_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { char* cs = nl_langinfo(CODESET); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then am_cv_langinfo_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_langinfo_codeset=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; } if test $am_cv_langinfo_codeset = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LANGINFO_CODESET 1 _ACEOF 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 debian/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_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 test "x$cache_file" != "x/dev/null" && { echo "$as_me:$LINENO: updating cache $cache_file" >&5 echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`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. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_OV_READ_FILTER_TRUE}" && test -z "${HAVE_OV_READ_FILTER_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_OV_READ_FILTER\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_OV_READ_FILTER\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_LIBFLAC_TRUE}" && test -z "${HAVE_LIBFLAC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBFLAC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_LIBFLAC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_LIBSPEEX_TRUE}" && test -z "${HAVE_LIBSPEEX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBSPEEX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_LIBSPEEX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_KATE_TRUE}" && test -z "${HAVE_KATE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_KATE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"HAVE_KATE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $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} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## 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=: # 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 # PATH needs CR # 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 # 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 # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false 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.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. 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 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. 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 # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. 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" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # 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 } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi 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 fi echo >conf$$.file 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 -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' 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=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # 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 # 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 $as_me, which was generated by GNU Autoconf 2.61. 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 cat >>$CONFIG_STATUS <<_ACEOF # 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_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet 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_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2006 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' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. 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=$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 ) echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header { echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) 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. -*) { echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$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 if \$ac_cs_recheck; then echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 CONFIG_SHELL=$SHELL export CONFIG_SHELL exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # 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 "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # Quote evaled strings. for var in SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ AR \ AR_FLAGS \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ SHELL \ ECHO \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_wl \ lt_prog_compiler_pic \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ fix_srcfile_path \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ finish_eval \ old_striplib \ striplib; do case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ sys_lib_dlsearch_path_spec; do case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Fix-up fallback echo if it was mangled by the above quoting rules. case \$lt_ECHO in *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` ;; esac ac_aux_dir='$ac_aux_dir' xsi_shell='$xsi_shell' lt_shell_append='$lt_shell_append' # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile' # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "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" ;; "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; 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= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # # Set up the sed scripts for CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "$CONFIG_FILES"; then _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF SHELL!$SHELL$ac_delim PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim PACKAGE_NAME!$PACKAGE_NAME$ac_delim PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim PACKAGE_STRING!$PACKAGE_STRING$ac_delim PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim exec_prefix!$exec_prefix$ac_delim prefix!$prefix$ac_delim program_transform_name!$program_transform_name$ac_delim bindir!$bindir$ac_delim sbindir!$sbindir$ac_delim libexecdir!$libexecdir$ac_delim datarootdir!$datarootdir$ac_delim datadir!$datadir$ac_delim sysconfdir!$sysconfdir$ac_delim sharedstatedir!$sharedstatedir$ac_delim localstatedir!$localstatedir$ac_delim includedir!$includedir$ac_delim oldincludedir!$oldincludedir$ac_delim docdir!$docdir$ac_delim infodir!$infodir$ac_delim htmldir!$htmldir$ac_delim dvidir!$dvidir$ac_delim pdfdir!$pdfdir$ac_delim psdir!$psdir$ac_delim libdir!$libdir$ac_delim localedir!$localedir$ac_delim mandir!$mandir$ac_delim DEFS!$DEFS$ac_delim ECHO_C!$ECHO_C$ac_delim ECHO_N!$ECHO_N$ac_delim ECHO_T!$ECHO_T$ac_delim LIBS!$LIBS$ac_delim build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim build!$build$ac_delim build_cpu!$build_cpu$ac_delim build_vendor!$build_vendor$ac_delim build_os!$build_os$ac_delim host!$host$ac_delim host_cpu!$host_cpu$ac_delim host_vendor!$host_vendor$ac_delim host_os!$host_os$ac_delim target!$target$ac_delim target_cpu!$target_cpu$ac_delim target_vendor!$target_vendor$ac_delim target_os!$target_os$ac_delim INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim INSTALL_DATA!$INSTALL_DATA$ac_delim CYGPATH_W!$CYGPATH_W$ac_delim PACKAGE!$PACKAGE$ac_delim VERSION!$VERSION$ac_delim ACLOCAL!$ACLOCAL$ac_delim AUTOCONF!$AUTOCONF$ac_delim AUTOMAKE!$AUTOMAKE$ac_delim AUTOHEADER!$AUTOHEADER$ac_delim MAKEINFO!$MAKEINFO$ac_delim install_sh!$install_sh$ac_delim STRIP!$STRIP$ac_delim INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim mkdir_p!$mkdir_p$ac_delim AWK!$AWK$ac_delim SET_MAKE!$SET_MAKE$ac_delim am__leading_dot!$am__leading_dot$ac_delim AMTAR!$AMTAR$ac_delim am__tar!$am__tar$ac_delim am__untar!$am__untar$ac_delim MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim MAINT!$MAINT$ac_delim CC!$CC$ac_delim CFLAGS!$CFLAGS$ac_delim LDFLAGS!$LDFLAGS$ac_delim CPPFLAGS!$CPPFLAGS$ac_delim ac_ct_CC!$ac_ct_CC$ac_delim EXEEXT!$EXEEXT$ac_delim OBJEXT!$OBJEXT$ac_delim DEPDIR!$DEPDIR$ac_delim am__include!$am__include$ac_delim am__quote!$am__quote$ac_delim AMDEP_TRUE!$AMDEP_TRUE$ac_delim AMDEP_FALSE!$AMDEP_FALSE$ac_delim AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim CCDEPMODE!$CCDEPMODE$ac_delim am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim CPP!$CPP$ac_delim GREP!$GREP$ac_delim EGREP!$EGREP$ac_delim LIBTOOL!$LIBTOOL$ac_delim SED!$SED$ac_delim FGREP!$FGREP$ac_delim LD!$LD$ac_delim DUMPBIN!$DUMPBIN$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF CEOF$ac_eof _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim NM!$NM$ac_delim LN_S!$LN_S$ac_delim OBJDUMP!$OBJDUMP$ac_delim AR!$AR$ac_delim RANLIB!$RANLIB$ac_delim lt_ECHO!$lt_ECHO$ac_delim DSYMUTIL!$DSYMUTIL$ac_delim NMEDIT!$NMEDIT$ac_delim LIPO!$LIPO$ac_delim OTOOL!$OTOOL$ac_delim OTOOL64!$OTOOL64$ac_delim USE_NLS!$USE_NLS$ac_delim GETTEXT_MACRO_VERSION!$GETTEXT_MACRO_VERSION$ac_delim MSGFMT!$MSGFMT$ac_delim GMSGFMT!$GMSGFMT$ac_delim MSGFMT_015!$MSGFMT_015$ac_delim GMSGFMT_015!$GMSGFMT_015$ac_delim XGETTEXT!$XGETTEXT$ac_delim XGETTEXT_015!$XGETTEXT_015$ac_delim MSGMERGE!$MSGMERGE$ac_delim XGETTEXT_EXTRA_OPTIONS!$XGETTEXT_EXTRA_OPTIONS$ac_delim GLIBC2!$GLIBC2$ac_delim CFLAG_VISIBILITY!$CFLAG_VISIBILITY$ac_delim HAVE_VISIBILITY!$HAVE_VISIBILITY$ac_delim ALLOCA!$ALLOCA$ac_delim PRI_MACROS_BROKEN!$PRI_MACROS_BROKEN$ac_delim LIBPTH!$LIBPTH$ac_delim LTLIBPTH!$LTLIBPTH$ac_delim LIBPTH_PREFIX!$LIBPTH_PREFIX$ac_delim LIBTHREAD!$LIBTHREAD$ac_delim LTLIBTHREAD!$LTLIBTHREAD$ac_delim LIBMULTITHREAD!$LIBMULTITHREAD$ac_delim LTLIBMULTITHREAD!$LTLIBMULTITHREAD$ac_delim LIBICONV!$LIBICONV$ac_delim INTLBISON!$INTLBISON$ac_delim GLIBC21!$GLIBC21$ac_delim INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim HAVE_POSIX_PRINTF!$HAVE_POSIX_PRINTF$ac_delim HAVE_ASPRINTF!$HAVE_ASPRINTF$ac_delim HAVE_SNPRINTF!$HAVE_SNPRINTF$ac_delim HAVE_WPRINTF!$HAVE_WPRINTF$ac_delim WOE32DLL!$WOE32DLL$ac_delim WOE32!$WOE32$ac_delim WINDRES!$WINDRES$ac_delim LTLIBC!$LTLIBC$ac_delim BUILD_INCLUDED_LIBINTL!$BUILD_INCLUDED_LIBINTL$ac_delim USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim CATOBJEXT!$CATOBJEXT$ac_delim DATADIRNAME!$DATADIRNAME$ac_delim INSTOBJEXT!$INSTOBJEXT$ac_delim GENCAT!$GENCAT$ac_delim INTLOBJS!$INTLOBJS$ac_delim INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim INTLLIBS!$INTLLIBS$ac_delim LIBINTL!$LIBINTL$ac_delim LTLIBINTL!$LTLIBINTL$ac_delim POSUB!$POSUB$ac_delim HAVE_PKG_CONFIG!$HAVE_PKG_CONFIG$ac_delim PKG_CONFIG!$PKG_CONFIG$ac_delim OGG_CFLAGS!$OGG_CFLAGS$ac_delim OGG_LIBS!$OGG_LIBS$ac_delim VORBIS_CFLAGS!$VORBIS_CFLAGS$ac_delim VORBIS_LIBS!$VORBIS_LIBS$ac_delim VORBISENC_LIBS!$VORBISENC_LIBS$ac_delim VORBISFILE_LIBS!$VORBISFILE_LIBS$ac_delim HAVE_OV_READ_FILTER_TRUE!$HAVE_OV_READ_FILTER_TRUE$ac_delim HAVE_OV_READ_FILTER_FALSE!$HAVE_OV_READ_FILTER_FALSE$ac_delim CURL_CFLAGS!$CURL_CFLAGS$ac_delim CURL_LIBS!$CURL_LIBS$ac_delim AO_CFLAGS!$AO_CFLAGS$ac_delim AO_LIBS!$AO_LIBS$ac_delim PTHREAD_CC!$PTHREAD_CC$ac_delim PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim HAVE_LIBFLAC_TRUE!$HAVE_LIBFLAC_TRUE$ac_delim HAVE_LIBFLAC_FALSE!$HAVE_LIBFLAC_FALSE$ac_delim FLAC_LIBS!$FLAC_LIBS$ac_delim HAVE_LIBSPEEX_TRUE!$HAVE_LIBSPEEX_TRUE$ac_delim HAVE_LIBSPEEX_FALSE!$HAVE_LIBSPEEX_FALSE$ac_delim SPEEX_LIBS!$SPEEX_LIBS$ac_delim KATE_CFLAGS!$KATE_CFLAGS$ac_delim KATE_LIBS!$KATE_LIBS$ac_delim HAVE_KATE_TRUE!$HAVE_KATE_TRUE$ac_delim HAVE_KATE_FALSE!$HAVE_KATE_FALSE$ac_delim MANDIR!$MANDIR$ac_delim OPT_SUBDIRS!$OPT_SUBDIRS$ac_delim DEBUG!$DEBUG$ac_delim PROFILE!$PROFILE$ac_delim SOCKET_LIBS!$SOCKET_LIBS$ac_delim SHARE_CFLAGS!$SHARE_CFLAGS$ac_delim SHARE_LIBS!$SHARE_LIBS$ac_delim I18N_CFLAGS!$I18N_CFLAGS$ac_delim I18N_LIBS!$I18N_LIBS$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF CEOF$ac_eof _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ 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[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF fi # test -n "$CONFIG_FILES" for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 echo "$as_me: error: Invalid tag $ac_tag." >&2;} { (exit 1); exit 1; }; };; :[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="$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 || { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac ac_file_inputs="$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 "`IFS=: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} fi case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin";; 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 || 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" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`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 || 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" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`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 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # 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= case `sed -n '/datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' $ac_file_inputs` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF 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 sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s&@configure_input@&$configure_input&;t t s&@top_builddir@&$ac_top_builddir_sub&;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 $ac_datarootdir_hack " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed 's/|#_!!_#|//g' >$tmp/out test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 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 "$tmp/stdin" case $ac_file in -) cat "$tmp/out"; rm -f "$tmp/out";; *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; esac ;; :H) # # CONFIG_HEADER # _ACEOF # Transform confdefs.h into a sed script `conftest.defines', that # substitutes the proper values into config.h.in to produce config.h. rm -f conftest.defines conftest.tail # First, append a space to every undef/define line, to ease matching. echo 's/$/ /' >conftest.defines # Then, protect against being on the right side of a sed subst, or in # an unquoted here document, in config.status. If some macros were # called several times there might be several #defines for the same # symbol, which is useless. But do not sort them, since the last # AC_DEFINE must be honored. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where # NAME is the cpp macro being defined, VALUE is the value it is being given. # PARAMS is the parameter list in the macro definition--in most cases, it's # just an empty string. ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' ac_dB='\\)[ (].*,\\1define\\2' ac_dC=' ' ac_dD=' ,' uniq confdefs.h | sed -n ' t rset :rset s/^[ ]*#[ ]*define[ ][ ]*// t ok d :ok s/[\\&,]/\\&/g s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p ' >>conftest.defines # Remove the space that was appended to ease matching. # Then 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. # (The regexp can be short, since the line contains either #define or #undef.) echo 's/ $// s,^[ #]*u.*,/* & */,' >>conftest.defines # Break up conftest.defines: ac_max_sed_lines=50 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" # et cetera. ac_in='$ac_file_inputs' ac_out='"$tmp/out1"' ac_nxt='"$tmp/out2"' while : do # Write a here document: cat >>$CONFIG_STATUS <<_ACEOF # First, check the format of the line: cat >"\$tmp/defines.sed" <<\\CEOF /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def b :def _ACEOF sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail grep . conftest.tail >/dev/null || break rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines conftest.tail echo "ac_result=$ac_in" >>$CONFIG_STATUS cat >>$CONFIG_STATUS <<\_ACEOF if test x"$ac_file" != x-; then echo "/* $configure_input */" >"$tmp/config.h" cat "$ac_result" >>"$tmp/config.h" if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else rm -f $ac_file mv "$tmp/config.h" $ac_file fi else echo "/* $configure_input */" cat "$ac_result" fi rm -f "$tmp/out12" # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`$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 || echo X$ac_file | 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) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; 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. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /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 || 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"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //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' -e 's/\$U/'"$U"'/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 || 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 case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`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 || 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" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; "libtool":C) # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # The names of the tagged configurations supported by this script. available_tags="" # ### BEGIN LIBTOOL CONFIG # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build 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 # 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 # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # 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 # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # 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 # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # The name of the directory that contains temporary libtool files. objdir=$objdir # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that does not interpret backslashes. ECHO=$lt_ECHO # 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 # 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 # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # 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 # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # If ld is used when linking, flag to hardcode \$libdir into a binary # during linking. This must work even if \$libdir does not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary and the resulting library dependency is # "absolute",i.e impossible to change by setting \${shlibpath_var} if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # 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 # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac ltmain="$ac_aux_dir/ltmain.sh" # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) case $xsi_shell in yes) cat << \_LT_EOF >> "$cfgfile" # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac } # func_basename file func_basename () { func_basename_result="${1##*/}" } # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # Implementation must be kept synchronized with func_dirname # and func_basename. For efficiency, we do not delegate to # those functions but instead duplicate the functionality here. func_dirname_and_basename () { case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac func_basename_result="${1##*/}" } # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). func_stripname () { # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary parameter first. func_stripname_result=${3} func_stripname_result=${func_stripname_result#"${1}"} func_stripname_result=${func_stripname_result%"${2}"} } # func_opt_split func_opt_split () { func_opt_split_opt=${1%%=*} func_opt_split_arg=${1#*=} } # func_lo2o object func_lo2o () { case ${1} in *.lo) func_lo2o_result=${1%.lo}.${objext} ;; *) func_lo2o_result=${1} ;; esac } # func_xform libobj-or-source func_xform () { func_xform_result=${1%.*}.lo } # func_arith arithmetic-term... func_arith () { func_arith_result=$(( $* )) } # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=${#1} } _LT_EOF ;; *) # Bourne compatible functions. cat << \_LT_EOF >> "$cfgfile" # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { # Extract subdirectory from the argument. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi } # func_basename file func_basename () { func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` } # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # func_strip_suffix prefix name func_stripname () { case ${2} in .*) func_stripname_result=`$ECHO "X${3}" \ | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "X${3}" \ | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; esac } # sed scripts: my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' my_sed_long_arg='1s/^-[^=]*=//' # func_opt_split func_opt_split () { func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` } # func_lo2o object func_lo2o () { func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` } # func_xform libobj-or-source func_xform () { func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` } # func_arith arithmetic-term... func_arith () { func_arith_result=`expr "$@"` } # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` } _LT_EOF esac case $lt_shell_append in yes) cat << \_LT_EOF >> "$cfgfile" # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "$1+=\$2" } _LT_EOF ;; *) cat << \_LT_EOF >> "$cfgfile" # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "$1=\$$1\$2" } _LT_EOF ;; esac sed -n '/^# Generated shell functions inserted here/,$p' "$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 { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # 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 || { (exit 1); exit 1; } fi if test "x$build_oggenc" = xyes -a "x$have_libFLAC" != xyes; then { echo "$as_me:$LINENO: WARNING: FLAC and/or OggFLAC libraries or headers missing, oggenc will NOT be built with FLAC read support." >&5 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 { echo "$as_me:$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 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 { echo "$as_me:$LINENO: WARNING: FLAC and/or OggFLAC libraries or headers missing, ogg123 will NOT be built with FLAC read support." >&5 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 { echo "$as_me:$LINENO: WARNING: Speex libraries and/or headers missing, ogg123 will NOT be built with Speex read support." >&5 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 { echo "$as_me:$LINENO: WARNING: curl libraries and/or headers missing, ogg123 will NOT be built with http support." >&5 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 { echo "$as_me:$LINENO: WARNING: Kate libraries and/or headers missing, oggenc will NOT be built with Kate lyrics support." >&5 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.0/AUTHORS0000644000175000017500000000064711326242572012162 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.0/COPYING0000644000175000017500000004311010077076277012146 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.0/config.guess0000644000175000017500000012753411326242572013434 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. timestamp='2008-01-23' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # 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 tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; 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 ;; 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:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-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:*:[456]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null 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:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:[3456]*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T | authenticamd) 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 ;; 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-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix 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-gnu else echo ${UNAME_MACHINE}-unknown-linux-gnueabi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu 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 ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${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-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; 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.0*:*) 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 i386. echo i386-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; } ;; 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.0*:*) 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 ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; 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 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: vorbis-tools-1.4.0/config.rpath0000755000175000017500000004364711326242572013431 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=/' <. Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 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-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) 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) os= basic_machine=$1 ;; -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*) 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 \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | score \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-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-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[24]a-* | 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-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-*) ;; # 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 ;; 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 ;; c90) basic_machine=c90-cray os=-unicos ;; 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) 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 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; 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 ;; 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) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; 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 ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tile*) basic_machine=tile-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 ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-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[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. -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* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -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*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -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 ;; # 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 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; 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 ;; -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.0/depcomp0000755000175000017500000003710010476665772012501 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 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 outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac 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" # 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 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. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## 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). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; 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. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "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" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mecanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #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 $1 != '--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:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac 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. -*|$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" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--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, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; 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-end: "$" # End: vorbis-tools-1.4.0/install-sh0000755000175000017500000002202110476665772013124 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -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. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; 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 for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi 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 "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # 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 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $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 "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 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. { if test -f "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit 0 } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: vorbis-tools-1.4.0/ltmain.sh0000755000175000017500000073337411166744130012746 00000000000000# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6 # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, # or obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Usage: $progname [OPTION]... [MODE-ARG]... # # Provide generalized library-building support services. # # --config show all configuration variables # --debug enable verbose shell tracing # -n, --dry-run display commands without modifying any files # --features display basic configuration information and exit # --mode=MODE use operation mode MODE # --preserve-dup-deps don't remove duplicate dependency libraries # --quiet, --silent don't print informational messages # --tag=TAG use configuration variables from tag TAG # -v, --verbose print informational messages (default) # --version print version information # -h, --help print short or 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. # Try `$progname --help --mode=MODE' for a more detailed description of MODE. # # When reporting a bug, please describe a test case to reproduce it and # include the following information: # # host-triplet: $host # shell: $SHELL # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) # $progname: (GNU libtool) 2.2.6 Debian-2.2.6a-4 # automake: $automake_version # autoconf: $autoconf_version # # Report bugs to . PROGRAM=ltmain.sh PACKAGE=libtool VERSION="2.2.6 Debian-2.2.6a-4" TIMESTAMP="" package_revision=1.3012 # 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 # NLS nuisances: We save the old values to restore during execute mode. # Only set LANG and LC_ALL to C if already set. # These must not be set unconditionally because not all systems understand # e.g. LANG=C (notably SCO). lt_user_locale= lt_safe_locale= for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${$lt_var+set}\" = set; then save_$lt_var=\$$lt_var $lt_var=C export $lt_var lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" fi" done $lt_unset CDPATH : ${CP="cp -f"} : ${ECHO="echo"} : ${EGREP="/bin/grep -E"} : ${FGREP="/bin/grep -F"} : ${GREP="/bin/grep"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SED="/bin/sed"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} : ${Xsed="$SED -e 1s/^X//"} # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. exit_status=$EXIT_SUCCESS # Make sure IFS has a sensible default lt_nl=' ' IFS=" $lt_nl" dirname="s,/[^/]*$,," basename="s,^.*/,," # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # Implementation must be kept synchronized with func_dirname # and func_basename. For efficiency, we do not delegate to # those functions but instead duplicate the functionality here. func_dirname_and_basename () { # Extract subdirectory from the argument. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` } # Generated shell functions inserted here. # 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: # In the unlikely event $progname began with a '-', it would play havoc with # func_echo (imagine progname=-n), so we prepend ./ in that case: func_dirname_and_basename "$progpath" progname=$func_basename_result case $progname in -*) progname=./$progname ;; esac # Make sure we have an absolute path for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=$func_dirname_result progdir=`cd "$progdir" && pwd` progpath="$progdir/$progname" ;; *) save_IFS="$IFS" IFS=: for progdir in $PATH; do IFS="$save_IFS" test -x "$progdir/$progname" && break done IFS="$save_IFS" test -n "$progdir" || progdir=`pwd` progpath="$progdir/$progname" ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed="${SED}"' -e 1s/^X//' sed_quote_subst='s/\([`"$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Re-`\' parameter expansions in output of double_quote_subst that were # `\'-ed in input to the same. If an odd number of `\' preceded a '$' # in input to double_quote_subst, that '$' was protected from expansion. # Since each input `\' is now two `\'s, look for any number of runs of # four `\'s followed by two `\'s and then a '$'. `\' that '$'. bs='\\' bs2='\\\\' bs4='\\\\\\\\' dollar='\$' sed_double_backslash="\ s/$bs4/&\\ /g s/^$bs2$dollar/$bs&/ s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g s/\n//g" # Standard options: opt_dry_run=false opt_help=false opt_quiet=false opt_verbose=false opt_warning=: # func_echo arg... # Echo program name prefixed message, along with the current mode # name if it has been set yet. func_echo () { $ECHO "$progname${mode+: }$mode: $*" } # func_verbose arg... # Echo program name prefixed message in verbose mode only. func_verbose () { $opt_verbose && func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_error arg... # Echo program name prefixed message to standard error. func_error () { $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2 } # func_warning arg... # Echo program name prefixed warning message to standard error. func_warning () { $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 # bash bug again: : } # func_fatal_error arg... # Echo program name prefixed message to standard error, and exit. func_fatal_error () { func_error ${1+"$@"} exit $EXIT_FAILURE } # func_fatal_help arg... # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { func_error ${1+"$@"} func_fatal_error "$help" } help="Try \`$progname --help' for more information." ## default # func_grep expression filename # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $GREP "$1" "$2" >/dev/null 2>&1 } # func_mkdir_p directory-path # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { my_directory_path="$1" my_dir_list= if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then # Protect directory names starting with `-' case $my_directory_path in -*) my_directory_path="./$my_directory_path" ;; esac # While some portion of DIR does not yet exist... while test ! -d "$my_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. my_dir_list="$my_directory_path:$my_dir_list" # If the last portion added has no slash in it, the list is done case $my_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` done my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` save_mkdir_p_IFS="$IFS"; IFS=':' for my_dir in $my_dir_list; do IFS="$save_mkdir_p_IFS" # mkdir can fail with a `File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$my_dir" 2>/dev/null || : done IFS="$save_mkdir_p_IFS" # Bail out if we (or some other process) failed to create a directory. test -d "$my_directory_path" || \ func_fatal_error "Failed to create \`$1'" fi } # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$opt_dry_run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $MKDIR "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || \ func_fatal_error "cannot create temporary directory \`$my_tmpdir'" fi $ECHO "X$my_tmpdir" | $Xsed } # func_quote_for_eval arg # Aesthetically quote ARG to be evaled later. # This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT # is double-quoted, suitable for a subsequent eval, whereas # FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters # which are still active within double quotes backslashified. func_quote_for_eval () { case $1 in *[\\\`\"\$]*) func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; *) func_quote_for_eval_unquoted_result="$1" ;; esac case $func_quote_for_eval_unquoted_result in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and and variable # expansion for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" ;; *) func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" esac } # func_quote_for_expand arg # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { case $1 in *[\\\`\"]*) my_arg=`$ECHO "X$1" | $Xsed \ -e "$double_quote_subst" -e "$sed_double_backslash"` ;; *) my_arg="$1" ;; esac case $my_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") my_arg="\"$my_arg\"" ;; esac func_quote_for_expand_result="$my_arg" } # func_show_eval cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$my_cmd" my_status=$? if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_show_eval_locale cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$lt_user_locale $my_cmd" my_status=$? eval "$lt_safe_locale" if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_version # Echo version message to standard output and exit. func_version () { $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { s/^# // s/^# *$// s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ p }' < "$progpath" exit $? } # func_usage # Echo short help message to standard output and exit. func_usage () { $SED -n '/^# Usage:/,/# -h/ { s/^# // s/^# *$// s/\$progname/'$progname'/ p }' < "$progpath" $ECHO $ECHO "run \`$progname --help | more' for full usage" exit $? } # func_help # Echo long help message to standard output and exit. func_help () { $SED -n '/^# Usage:/,/# Report bugs to/ { s/^# // s/^# *$// s*\$progname*'$progname'* s*\$host*'"$host"'* s*\$SHELL*'"$SHELL"'* s*\$LTCC*'"$LTCC"'* s*\$LTCFLAGS*'"$LTCFLAGS"'* s*\$LD*'"$LD"'* s/\$with_gnu_ld/'"$with_gnu_ld"'/ s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ p }' < "$progpath" exit $? } # func_missing_arg argname # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { func_error "missing argument for $1" exit_cmd=exit } exit_cmd=: # Check that we have a working $ECHO. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then # Yippee, $ECHO works! : else # Restart under the correct shell, and then maybe $ECHO will work. exec $SHELL "$progpath" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </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 } # Parse options once, thoroughly. This comes as soon as possible in # the script to make things like `libtool --version' happen quickly. { # 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 # Parse non-mode specific arguments: while test "$#" -gt 0; do opt="$1" shift case $opt in --config) func_config ;; --debug) preserve_args="$preserve_args $opt" func_echo "enabling shell trace mode" opt_debug='set -x' $opt_debug ;; -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break execute_dlfiles="$execute_dlfiles $1" shift ;; --dry-run | -n) opt_dry_run=: ;; --features) func_features ;; --finish) mode="finish" ;; --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break 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 $opt" exit_cmd=exit break ;; esac mode="$1" shift ;; --preserve-dup-deps) opt_duplicate_deps=: ;; --quiet|--silent) preserve_args="$preserve_args $opt" opt_silent=: ;; --verbose| -v) preserve_args="$preserve_args $opt" opt_silent=false ;; --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break preserve_args="$preserve_args $opt $1" func_enable_tag "$1" # tagname is set here shift ;; # Separate optargs to long options: -dlopen=*|--mode=*|--tag=*) func_opt_split "$opt" set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"} shift ;; -\?|-h) func_usage ;; --help) opt_help=: ;; --version) func_version ;; -*) func_fatal_help "unrecognized option \`$opt'" ;; *) nonopt="$opt" break ;; esac done case $host in *cygwin* | *mingw* | *pw32* | *cegcc*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_duplicate_deps ;; esac # Having warned about all mis-specified options, bail out if # anything was wrong. $exit_cmd $EXIT_FAILURE } # 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 } ## ----------- ## ## Main. ## ## ----------- ## $opt_help || { # Sanity checks first: func_check_version_match if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then func_fatal_configuration "not configured to build any kind of library" fi test -z "$mode" && func_fatal_error "error: you must specify a MODE." # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then func_error "unrecognized option \`-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$progname --help --mode=$mode' for more information." } # func_lalib_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null \ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_unsafe_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if `file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case "$lalib_p_line" in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test "$lalib_p" = yes } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { func_lalib_p "$1" } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_ltwrapper_scriptname_result="" if func_ltwrapper_executable_p "$1"; then func_dirname_and_basename "$1" "" "." func_stripname '' '.exe' "$func_basename_result" func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" fi } # func_ltwrapper_p file # True iff FILE is a libtool wrapper script or wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_p () { func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" } # func_execute_cmds commands fail_cmd # Execute tilde-delimited COMMANDS. # If FAIL_CMD is given, eval that upon failure. # FAIL_CMD may read-access the current command in variable CMD! func_execute_cmds () { $opt_debug save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$save_ifs eval cmd=\"$cmd\" func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. func_source () { $opt_debug case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { $opt_debug if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do func_quote_for_eval "$arg" CC_quoted="$CC_quoted $func_quote_for_eval_result" done 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 "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; # 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_quote_for_eval "$arg" CC_quoted="$CC_quoted $func_quote_for_eval_result" done case "$@ " in " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then func_echo "unable to infer tagged configuration" func_fatal_error "specify a tag with \`--tag'" # else # func_verbose "using $tagname tagged configuration" fi ;; esac fi } # func_write_libtool_object output_name pic_name nonpic_name # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. func_write_libtool_object () { write_libobj=${1} if test "$build_libtool_libs" = yes; then write_lobj=\'${2}\' else write_lobj=none fi if test "$build_old_libs" = yes; then write_oldobj=\'${3}\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T <?"'"'"' &()|`$[]' \ && func_warning "libobj name \`$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" objname="$func_basename_result" xdir="$func_dirname_result" lobj=${xdir}$objdir/$objname test -z "$base_compile" && \ func_fatal_help "you must specify a compilation command" # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $ECHO "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi removelist="$removelist $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist removelist="$removelist $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result # Only build a PIC object if we are building libtool libraries. if test "$build_libtool_libs" = yes; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test "$pic_mode" != no; then command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir command="$command -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' if test "$need_locks" = warn && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test "$suppress_opt" = yes; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test "$build_old_libs" = yes; then if test "$pic_mode" != yes; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test "$compiler_c_o" = yes; then command="$command -o $obj" fi # Suppress compiler output if we already did a PIC compilation. command="$command$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' if test "$need_locks" = warn && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test "$need_locks" != no; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test "$mode" = compile && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. case $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 building PIC objects only -prefer-non-pic try to building 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 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 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 -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -shared only do dynamic linking of libtool libraries -shrext SUFFIX override the standard shared library file extension -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface 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 \`$mode'" ;; esac $ECHO $ECHO "Try \`$progname --help' for more information about other modes." exit $? } # Now that we've collected a possible --mode arg, show help if necessary $opt_help && func_mode_help # func_mode_execute arg... func_mode_execute () { $opt_debug # The first argument is the command name. cmd="$nonopt" test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $execute_dlfiles; do test -f "$file" \ || func_fatal_help "\`$file' is not a file" dir= case $file in *.la) # 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 dir="$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 -*) ;; *) # 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_quote_for_eval "$file" args="$args $func_quote_for_eval_result" done if test "X$opt_dry_run" = Xfalse; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" $ECHO "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS fi } test "$mode" = execute && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $opt_debug libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done 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" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. $opt_silent && exit $EXIT_SUCCESS $ECHO "X----------------------------------------------------------------------" | $Xsed $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 "X----------------------------------------------------------------------" | $Xsed exit $EXIT_SUCCESS } test "$mode" = finish && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $opt_debug # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $ECHO "X$nonopt" | $GREP shtool >/dev/null; 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" install_prog="$install_prog$func_quote_for_eval_result" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) case " $install_prog " in *[\\\ /]cp\ *) ;; *) prev=$arg ;; esac ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. func_quote_for_eval "$arg" install_prog="$install_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 -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" else func_fatal_help "you must specify a destination" fi fi # Strip any trailing slash from the destination. func_stripname '' '/' "$dest" dest=$func_stripname_result # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else func_dirname_and_basename "$dest" "" "." destdir="$func_dirname_result" destname="$func_basename_result" # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "\`$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "\`$destdir' must be an absolute directory name" ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # 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 "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi func_dirname "$file" "/" "" dir="$func_dirname_result" dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -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 "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$ECHO "X$relink_command" | $Xsed -e "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_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme="$stripme" case $host_os in cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme="" ;; esac ;; esac if test -n "$tstripme" && test -n "$striplib"; then func_show_eval "$striplib $destdir/$realname" 'exit $?' fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do test "$linkname" != "$realname" \ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" done fi # Do each command in the postinstall commands. lib="$destdir/$realname" func_execute_cmds "$postinstall_cmds" 'exit $?' fi # Install the pseudo-library for information purposes. func_basename "$file" name="$func_basename_result" instname="$dir/$name"i func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) func_lo2o "$destfile" staticdest=$func_lo2o_result ;; *.$objext) staticdest="$destfile" destfile= ;; *) func_fatal_help "cannot copy a libtool object to \`$destfile'" ;; esac # Install the libtool object if requested. test -n "$destfile" && \ func_show_eval "$install_prog $file $destfile" 'exit $?' # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script \`$wrapper'" finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then func_warning "\`$lib' has not been installed in \`$libdir'" finalize=no fi done relink_command= func_source "$wrapper" outputname= if test "$fast_install" = no && test -n "$relink_command"; then $opt_dry_run || { if test "$finalize" = yes; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file="$func_basename_result" outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $opt_silent || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink \`$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file="$outputname" else func_warning "cannot relink \`$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) func_stripname '' '.exe' "$destfile" destfile=$func_stripname_result ;; esac ;; esac func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' $opt_dry_run || if test -n "$outputname"; then ${RM}r "$tmpdir" fi ;; esac done for file in $staticlibs; do func_basename "$file" name="$func_basename_result" # Set up the ranlib parameters. oldlib="$destdir/$name" func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $oldlib" 'exit $?' fi # Do each command in the postinstall commands. func_execute_cmds "$old_postinstall_cmds" 'exit $?' done test -n "$future_libdirs" && \ func_warning "remember to run \`$progname --finish$future_libdirs'" if test -n "$current_libdirs"; then # Maybe just do a dry run. $opt_dry_run && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi } test "$mode" = install && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $opt_debug my_outputname="$1" my_originator="$2" my_pic_p="${3-no}" my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms="${my_outputname}S.c" else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${my_outputname}.nm" func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then func_verbose "generating symbol list for \`$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for progfile in $progfiles; do func_verbose "extracting global C symbols from \`$progfile'" $opt_dry_run || eval "$NM $progfile | $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" $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'" } done $opt_dry_run || { # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $MV "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if $GREP -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else $GREP -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" fi $ECHO >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; " case $host in *cygwin* | *mingw* | *cegcc* ) $ECHO >> "$output_objdir/$my_dlsyms" "\ /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */" lt_dlsym_const= ;; *osf5*) echo >> "$output_objdir/$my_dlsyms" "\ /* This system does not cope well with relocations in const data */" lt_dlsym_const= ;; *) lt_dlsym_const=const ;; esac $ECHO >> "$output_objdir/$my_dlsyms" "\ extern $lt_dlsym_const lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[]; $lt_dlsym_const lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = {\ { \"$my_originator\", (void *) 0 }," case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac $ECHO >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) if test "X$my_pic_p" != Xno; then pic_flag_for_symtable=" $pic_flag" fi ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) symtab_cflags="$symtab_cflags $arg" ;; esac done # Now compile the dynamic symbol file. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' # Clean up the generated files. func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' # Transform the symbol file into the correct name. symfileobj="$output_objdir/${my_outputname}S.$objext" case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` fi ;; *) compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "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 "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. func_win32_libid () { $opt_debug win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | $SED -n -e ' 1,100{ / I /{ s,.*,import, p q } }'` case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $ECHO "$win32_libid_type" } # func_extract_an_archive dir oldlib func_extract_an_archive () { $opt_debug f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?' if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" fi } # func_extract_archives gentop oldlib ... func_extract_archives () { $opt_debug my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib="$func_basename_result" my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir="$my_gentop/$my_xlib_u" func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`basename "$darwin_archive"` darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | $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 | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # func_emit_wrapper_part1 [arg=no] # # Emit the first part of a libtool wrapper script on stdout. # For more information, see the description associated with # func_emit_wrapper(), below. func_emit_wrapper_part1 () { func_emit_wrapper_part1_arg1=no if test -n "$1" ; then func_emit_wrapper_part1_arg1=$1 fi $ECHO "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='${SED} -e 1s/^X//' 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 ECHO=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then # Yippee, \$ECHO works! : else # Restart under the correct shell, and then maybe \$ECHO will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $ECHO "\ # Find the directory that this script lives in. thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e '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 \"X\$file\" | \$Xsed -e '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 \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done " } # end: func_emit_wrapper_part1 # func_emit_wrapper_part2 [arg=no] # # Emit the second part of a libtool wrapper script on stdout. # For more information, see the description associated with # func_emit_wrapper(), below. func_emit_wrapper_part2 () { func_emit_wrapper_part2_arg1=no if test -n "$1" ; then func_emit_wrapper_part2_arg1=$1 fi $ECHO "\ # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_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 \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $ECHO "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $MKDIR \"\$progdir\" else $RM \"\$progdir/\$file\" fi" $ECHO "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $ECHO \"\$relink_command_output\" >&2 $RM \"\$progdir/\$file\" exit 1 fi fi $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $RM \"\$progdir/\$program\"; $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } $RM \"\$progdir/\$file\" fi" else $ECHO "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $ECHO "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $ECHO "\ exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $ECHO "\ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 exit 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\ " } # end: func_emit_wrapper_part2 # func_emit_wrapper [arg=no] # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to # incorporate the script contents within a cygwin/mingw # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. # # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory in which it is stored is # the $objdir directory. This is a cygwin/mingw-specific # behavior. func_emit_wrapper () { func_emit_wrapper_arg1=no if test -n "$1" ; then func_emit_wrapper_arg1=$1 fi # split this up so that func_emit_cwrapperexe_src # can call each part independently. func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" } # func_to_host_path arg # # Convert paths to host format when used with build tools. # Intended for use with "native" mingw (where libtool itself # is running under the msys shell), or in the following cross- # build environments: # $build $host # mingw (msys) mingw [e.g. native] # cygwin mingw # *nix + wine mingw # where wine is equipped with the `winepath' executable. # In the native mingw case, the (msys) shell automatically # converts paths for any non-msys applications it launches, # but that facility isn't available from inside the cwrapper. # Similar accommodations are necessary for $host mingw and # $build cygwin. Calling this function does no harm for other # $host/$build combinations not listed above. # # ARG is the path (on $build) that should be converted to # the proper representation for $host. The result is stored # in $func_to_host_path_result. func_to_host_path () { func_to_host_path_result="$1" if test -n "$1" ; then case $host in *mingw* ) lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' case $build in *mingw* ) # actually, msys # awkward: cmd appends spaces to result lt_sed_strip_trailing_spaces="s/[ ]*\$//" func_to_host_path_tmp1=`( cmd //c echo "$1" |\ $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ $SED -e "$lt_sed_naive_backslashify"` ;; *cygwin* ) func_to_host_path_tmp1=`cygpath -w "$1"` func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ $SED -e "$lt_sed_naive_backslashify"` ;; * ) # Unfortunately, winepath does not exit with a non-zero # error code, so we are forced to check the contents of # stdout. On the other hand, if the command is not # found, the shell will set an exit code of 127 and print # *an error message* to stdout. So we must check for both # error code of zero AND non-empty stdout, which explains # the odd construction: func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ $SED -e "$lt_sed_naive_backslashify"` else # Allow warning below. func_to_host_path_result="" fi ;; esac if test -z "$func_to_host_path_result" ; then func_error "Could not determine host path corresponding to" func_error " '$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_path_result="$1" fi ;; esac fi } # end: func_to_host_path # func_to_host_pathlist arg # # Convert pathlists to host format when used with build tools. # See func_to_host_path(), above. This function supports the # following $build/$host combinations (but does no harm for # combinations not listed here): # $build $host # mingw (msys) mingw [e.g. native] # cygwin mingw # *nix + wine mingw # # 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. # # ARG is a pathlist (on $build) that should be converted to # the proper representation on $host. The result is stored # in $func_to_host_pathlist_result. func_to_host_pathlist () { func_to_host_pathlist_result="$1" if test -n "$1" ; then case $host in *mingw* ) lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # 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_to_host_pathlist_tmp2="$1" # Once set for this call, this variable should not be # reassigned. It is used in tha fallback case. func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ $SED -e 's|^:*||' -e 's|:*$||'` case $build in *mingw* ) # Actually, msys. # Awkward: cmd appends spaces to result. lt_sed_strip_trailing_spaces="s/[ ]*\$//" func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ $SED -e "$lt_sed_naive_backslashify"` ;; *cygwin* ) func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ $SED -e "$lt_sed_naive_backslashify"` ;; * ) # unfortunately, winepath doesn't convert pathlists func_to_host_pathlist_result="" func_to_host_pathlist_oldIFS=$IFS IFS=: for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do IFS=$func_to_host_pathlist_oldIFS if test -n "$func_to_host_pathlist_f" ; then func_to_host_path "$func_to_host_pathlist_f" if test -n "$func_to_host_path_result" ; then if test -z "$func_to_host_pathlist_result" ; then func_to_host_pathlist_result="$func_to_host_path_result" else func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" fi fi fi IFS=: done IFS=$func_to_host_pathlist_oldIFS ;; esac if test -z "$func_to_host_pathlist_result" ; then func_error "Could not determine the host path(s) corresponding to" func_error " '$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This may break if $1 contains DOS-style drive # specifications. The fix is not to complicate the expression # below, but for the user to provide a working wine installation # with winepath so that path translation in the cross-to-mingw # case works properly. lt_replace_pathsep_nix_to_dos="s|:|;|g" func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\ $SED -e "$lt_replace_pathsep_nix_to_dos"` fi # Now, add the leading and trailing path separators back case "$1" in :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result" ;; esac case "$1" in *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" ;; esac ;; esac fi } # end: func_to_host_pathlist # 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 # define setmode _setmode #else # include # include # ifdef __CYGWIN__ # include # define HAVE_SETENV # ifdef __STRICT_ANSI__ char *realpath (const char *, char *); int putenv (char *); int setenv (const char *, const char *, int); # endif # endif #endif #include #include #include #include #include #include #include #include #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 #ifdef _MSC_VER # define S_IXUSR _S_IEXEC # define stat _stat # ifndef _INTPTR_T_DEFINED # define intptr_t int # endif #endif #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 */ #ifdef __CYGWIN__ # define FOPEN_WB "wb" #endif #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #ifndef _O_BINARY # define _O_BINARY 0 #endif #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) #undef LTWRAPPER_DEBUGPRINTF #if defined DEBUGWRAPPER # define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args static void ltwrapper_debugprintf (const char *fmt, ...) { va_list args; va_start (args, fmt); (void) vfprintf (stderr, fmt, args); va_end (args); } #else # define LTWRAPPER_DEBUGPRINTF(args) #endif const char *program_name = NULL; 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_fatal (const char *message, ...); 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_opt_process_env_set (const char *arg); void lt_opt_process_env_prepend (const char *arg); void lt_opt_process_env_append (const char *arg); int lt_split_name_value (const char *arg, char** name, char** value); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); static const char *script_text_part1 = EOF func_emit_wrapper_part1 yes | $SED -e 's/\([\\"]\)/\\\1/g' \ -e 's/^/ "/' -e 's/$/\\n"/' echo ";" cat <"))); for (i = 0; i < newargc; i++) { LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); } EOF case $host_os in mingw*) cat <<"EOF" /* execv doesn't actually work on mingw as expected on unix */ rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); if (rval == -1) { /* failed to start process */ LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno)); return 127; } return rval; EOF ;; *) cat <<"EOF" execv (lt_argv_zero, newargz); return rval; /* =127, but avoids unused variable warning */ EOF ;; esac cat <<"EOF" } void * xmalloc (size_t num) { void *p = (void *) malloc (num); if (!p) lt_fatal ("Memory exhausted"); return p; } char * xstrdup (const char *string) { return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL; } const char * base_name (const char *name) { const char *base; #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ if (isalpha ((unsigned char) name[0]) && name[1] == ':') name += 2; #endif for (base = name; *name; name++) if (IS_DIR_SEPARATOR (*name)) base = name + 1; return base; } int check_executable (const char *path) { struct stat st; LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!")); if ((!path) || (!*path)) return 0; if ((stat (path, &st) >= 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; LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!")); if ((!path) || (!*path)) return 0; if (stat (path, &st) >= 0) { rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); } return rval; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise Does not chase symlinks, even on platforms that support them. */ char * find_executable (const char *wrapper) { int has_slash = 0; const char *p; const char *p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; int tmp_len; char *concat_name; LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!")); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } #if defined (HAVE_DOS_BASED_FILE_SYSTEM) } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char *path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char *q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR (*q)) break; p_len = q - p; p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); 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 ("getcwd failed"); 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) { LTWRAPPER_DEBUGPRINTF (("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 { char *errstr = strerror (errno); lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr); } } XFREE (tmp_pathspec); if (!has_symlinks) { return xstrdup (pathspec); } tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { lt_fatal ("Could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif } char * strendzap (char *str, const char *pat) { size_t len, patlen; assert (str != NULL); assert (pat != NULL); len = strlen (str); patlen = strlen (pat); if (patlen <= len) { str += len - patlen; if (strcmp (str, pat) == 0) *str = '\0'; } return str; } static void lt_error_core (int exit_status, const char *mode, const char *message, va_list ap) { fprintf (stderr, "%s: %s: ", program_name, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, "FATAL", message, ap); va_end (ap); } void lt_setenv (const char *name, const char *value) { LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n", (name ? name : ""), (value ? value : ""))); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ char *str = xstrdup (value); setenv (name, str, 1); #else int len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { int orig_value_len = strlen (orig_value); int add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } int lt_split_name_value (const char *arg, char** name, char** value) { const char *p; int len; if (!arg || !*arg) return 1; p = strchr (arg, (int)'='); if (!p) return 1; *value = xstrdup (++p); len = strlen (arg) - strlen (*value); *name = XMALLOC (char, len); strncpy (*name, arg, len-1); (*name)[len - 1] = '\0'; return 0; } void lt_opt_process_env_set (const char *arg) { char *name = NULL; char *value = NULL; if (lt_split_name_value (arg, &name, &value) != 0) { XFREE (name); XFREE (value); lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); } lt_setenv (name, value); XFREE (name); XFREE (value); } void lt_opt_process_env_prepend (const char *arg) { char *name = NULL; char *value = NULL; char *new_value = NULL; if (lt_split_name_value (arg, &name, &value) != 0) { XFREE (name); XFREE (value); lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); } new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); XFREE (name); XFREE (value); } void lt_opt_process_env_append (const char *arg) { char *name = NULL; char *value = NULL; char *new_value = NULL; if (lt_split_name_value (arg, &name, &value) != 0) { XFREE (name); XFREE (value); lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); } new_value = lt_extend_str (getenv (name), value, 1); lt_setenv (name, new_value); XFREE (new_value); XFREE (name); XFREE (value); } void lt_update_exe_path (const char *name, const char *value) { LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", (name ? name : ""), (value ? value : ""))); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); /* some systems can't cope with a ':'-terminated path #' */ int len = strlen (new_value); while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[len-1] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", (name ? name : ""), (value ? 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 } # end: func_emit_cwrapperexe_src # func_mode_link arg... func_mode_link () { $opt_debug case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # which system we are compiling for in order to pass an extra # flag for every libtool invocation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll which has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args=$nonopt base_compile="$nonopt $@" compile_command=$nonopt finalize_command=$nonopt compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= new_inherited_linker_flags= avoid_version=no dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=no prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module="${wl}-single_module" func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test "$build_libtool_libs" != yes && \ func_fatal_configuration "can not build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$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 "*) ;; *) deplibs="$deplibs $qarg.ltframework" # this is fixed later ;; esac ;; esac prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat "$save_arg"` do # moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file \`$arg' does not exist" fi arg=$save_arg prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; shrext) shrext_cmds="$arg" prev= continue ;; weak) weak_libs="$weak_libs $arg" prev= continue ;; xcclinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$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 ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then func_fatal_error "more than one -exported-symbols argument is not allowed" fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname '-L' '' "$arg" dir=$func_stripname_result if test -z "$dir"; 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 # 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 "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; *) dllsearchpath="$dllsearchpath:$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework deplibs="$deplibs System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot) compiler_flags="$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) compiler_flags="$compiler_flags $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;; esac continue ;; -multi_module) single_module="${wl}-multi_module" continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "\`-no-install' is ignored for $host" func_warning "assuming \`-no-fast-install' instead" fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) func_stripname '-R' '' "$arg" dir=$func_stripname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$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" arg="$arg $wl$func_quote_for_eval_result" compiler_flags="$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" arg="$arg $wl$func_quote_for_eval_result" compiler_flags="$compiler_flags $wl$func_quote_for_eval_result" linker_flags="$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" ;; # -64, -mips[0-9] enable 64-bit mode on the SGI compiler # -r[0-9][0-9]* specifies the processor on the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler # +DA*, +DD* enable 64-bit mode on the HP compiler # -q* pass through compiler args for the IBM compiler # -m*, -t[45]*, -txscale* pass through architecture-specific # compiler args for GCC # -F/path gives path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC # @file GCC response files -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" func_append compile_command " $arg" func_append finalize_command " $arg" compiler_flags="$compiler_flags $arg" continue ;; # Some other compiler flag. -* | +*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; *.$objext) # A standard object. objs="$objs $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then func_append compile_command " $arg" func_append finalize_command " $arg" fi done # argument parsing loop test -n "$prev" && \ func_fatal_help "the \`$prevarg' option requires an argument" if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname="$func_basename_result" libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" func_dirname "$output" "/" "" output_objdir="$func_dirname_result$objdir" # 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_duplicate_deps ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test "$linkmode,$pass" = "lib,link"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs="$tmp_deplibs" fi if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= case $lib in *.la) func_source "$lib" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` case " $weak_libs " in *" $deplib_base "*) ;; *) deplibs="$deplibs $deplib" ;; esac done done libs="$dlprefiles" fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else compiler_flags="$compiler_flags $deplib" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; esac fi fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then func_warning "\`-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test "$linkmode" = lib; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no func_dirname "$lib" "" "." ladir="$func_dirname_result" lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l *.ltframework) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" newlib_search_path="$newlib_search_path $func_stripname_result" ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" newlib_search_path="$newlib_search_path $func_stripname_result" ;; *) func_warning "\`-L' is ignored for archives/objects" ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then func_stripname '-R' '' "$deplib" dir=$func_stripname_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then $ECHO $ECHO "*** Warning: Trying to link with static lib archive $deplib." $ECHO "*** I have the capability to make that library automatically link in when" $ECHO "*** you link to this library. But I can only do this if you have a" $ECHO "*** shared version of the library, which you do not appear to have" $ECHO "*** because the file extensions .$libext of this argument makes me believe" $ECHO "*** that it is just a static archive that I should not use here." else $ECHO $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi ;; esac continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" fi # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "\`$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir="$func_dirname_result" dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e '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 "*) ;; *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";; esac done fi dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then func_fatal_error "cannot find name of link library for \`$lib'" fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_duplicate_deps ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done elif test "$linkmode" != prog && test "$linkmode" != lib; 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= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then func_fatal_error "cannot find name of link library for \`$lib'" fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then func_fatal_error "cannot -dlopen a convenience library: \`$lib'" fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. dlprefiles="$dlprefiles $lib $dependency_libs" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then func_warning "cannot determine absolute directory name of \`$ladir'" func_warning "passing it literally to the linker, although it might fail" abs_ladir="$ladir" fi ;; esac func_basename "$lib" laname="$func_basename_result" # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library \`$lib' was moved." dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" name=$func_stripname_result # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir" && test "$linkmode" = prog; then func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$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" && \ dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" newlib_search_path="$newlib_search_path $func_stripname_result" ;; esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if $opt_duplicate_deps ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { { test "$prefer_static_libs" = no || test "$prefer_static_libs,$installed" = "built,yes"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath:" in *"$absdir:"*) ;; *) temp_rpath="$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 "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc*) # No point in relinking DLLs because paths are not encoded notinst_deplibs="$notinst_deplibs $lib" need_relink=no ;; *) if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi ;; esac # This is a shared library # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule="" for dlpremoduletest in $dlprefiles; do if test "X$dlpremoduletest" = "X$lib"; then dlopenmodule="$dlpremoduletest" break fi done if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then $ECHO if test "$linkmode" = prog; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names shift realname="$1" shift libname=`eval "\\$ECHO \"$libname_spec\""` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw* | *cegcc*) func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" func_basename "$soroot" soname="$func_basename_result" func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from \`$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for \`$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we can not # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null ; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library" ; then $ECHO $ECHO "*** And there doesn't seem to be a static archive available" $ECHO "*** The link will probably fail, sorry" else add="$dir/$old_library" fi elif test -n "$old_library"; then add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && test "$hardcode_minus_L" != yes && test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. $ECHO $ECHO "*** Warning: This system can not link to static lib archive $lib." $ECHO "*** I have the capability to make that library automatically link in when" $ECHO "*** you link to this library. But I can only do this if you have a" $ECHO "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then $ECHO "*** But as you try to build a module library, libtool will still create " $ECHO "*** a static module, that should work as long as the dlopening application" $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then $ECHO $ECHO "*** However, this would only work if libtool was able to extract symbol" $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" $ECHO "*** not find such a program. So, this module is probably useless." $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if $opt_duplicate_deps ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do path= case $deplib in -L*) path="$deplib" ;; *.la) func_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 compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}" path= fi fi ;; *) path="-L$absdir/$objdir" ;; esac else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" test "$absdir" != "$libdir" && \ func_warning "\`$deplib' seems to be moved" path="-L$absdir" fi ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test "$pass" = link; then if test "$linkmode" = "prog"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" fi if test "$linkmode" = prog || test "$linkmode" = lib; then dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "\`-R' is ignored for archives" test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "\`-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "\`-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) func_stripname 'lib' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) test "$module" = no && \ func_fatal_help "libtool library \`$output' must begin with \`lib'" if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" else $ECHO $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi test "$dlself" != no && \ func_warning "\`-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test "$#" -gt 1 && \ func_warning "ignoring multiple \`-rpath's for a libtool library" install_libdir="$1" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "\`-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 shift IFS="$save_ifs" test -n "$7" && \ func_fatal_help "too many parameters to \`-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$1" number_minor="$2" number_revision="$3" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|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" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current" ;; irix | nonstopux) if test "X$lt_irix_increment" = "Xno"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) func_arith $current - $age major=.$func_arith_result versuffix="$major.$age.$revision" ;; osf) func_arith $current - $age major=.$func_arith_result versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; qnx) major=".$current" versuffix=".$current" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; *) func_fatal_configuration "unknown library version type \`$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then func_warning "undefined symbols not allowed in $host shared libraries" build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi func_generate_dlsyms "$libname" "$libname" "yes" libobjs="$libobjs $symfileobj" test "X$libobjs" = "X " && libobjs= if test "$mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi removelist="$removelist $p" ;; *) ;; esac done test -n "$removelist" && \ func_show_eval "${RM}r \$removelist" fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"` # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"` # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "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 temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$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 "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then deplibs="$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` 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 "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$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. newdeplibs="$newdeplibs $a_deplib" ;; esac done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` for a_deplib in $deplibs; do case $a_deplib in -l*) func_stripname -l '' "$a_deplib" name=$func_stripname_result if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) newdeplibs="$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 \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$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. newdeplibs="$newdeplibs $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \ -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"` done fi if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' | $GREP . >/dev/null; then $ECHO if test "X$deplibs_check_method" = "Xnone"; then $ECHO "*** Warning: inter-library dependencies are not supported in this platform." else $ECHO "*** Warning: inter-library dependencies are not known to be supported." fi $ECHO "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; 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 "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then $ECHO $ECHO "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" $ECHO "*** a static module, that should work as long as the dlopening" $ECHO "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then $ECHO $ECHO "*** However, this would only work if libtool was able to extract symbol" $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" $ECHO "*** not find such a program. So, this module is probably useless." $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else $ECHO "*** The inter-library dependencies that have been dropped here will be" $ECHO "*** automatically added whenever a program is linked with this library" $ECHO "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then $ECHO $ECHO "*** Since this library must not contain undefined symbols," $ECHO "*** because either the platform does not support them or" $ECHO "*** it was explicitly requested with -no-undefined," $ECHO "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` deplibs=`$ECHO "X $deplibs" | $Xsed -e '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 "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done deplibs="$new_libs" # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then 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"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$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 "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname="$1" shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do linknames="$linknames $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$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" delfiles="$delfiles $export_symbols" fi orig_export_symbols= case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile if test "x`$SED 1q $export_symbols`" != xEXPORTS; then # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols="$export_symbols" export_symbols= always_export_symbols=yes fi fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" func_len " $cmd" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then func_show_eval "$cmd" 'exit $?' skipped_export=false else # The command line is too long to execute in one step. func_verbose "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' fi if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter delfiles="$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 "*) ;; *) tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec" && test "$compiler_needs_object" = yes && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $convenience libobjs="$libobjs $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output output_la=`$ECHO "X$output" | $Xsed -e "$basename"` # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= last_robj= k=1 if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then output=${output_objdir}/${output_la}.lnkscript func_verbose "creating GNU ld script: $output" $ECHO 'INPUT (' > $output for obj in $save_libobjs do $ECHO "$obj" >> $output done $ECHO ')' >> $output delfiles="$delfiles $output" elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then output=${output_objdir}/${output_la}.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test "$compiler_needs_object" = yes; then firstobj="$1 " shift fi for obj do $ECHO "$obj" >> $output done delfiles="$delfiles $output" output=$firstobj\"$file_list_spec$output\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." output=$output_objdir/$output_la-${k}.$objext eval test_cmds=\"$reload_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 # Loop over the list of objects to be linked. for obj in $save_libobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result if test "X$objlist" = X || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. eval concat_cmds=\"$reload_cmds $objlist $last_robj\" else # All subsequent reloadable object files will link in # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$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~ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" if test -n "$last_robj"; then eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" fi delfiles="$delfiles $output" else output= fi if ${skipped_export-false}; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi fi test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi if ${skipped_export-false}; then if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $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 delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi fi libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $dlprefiles libobjs="$libobjs $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "\`-R' is ignored for objects" test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for objects" test -n "$release" && \ func_warning "\`-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object \`$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec and hope we can get by with # turning comma into space.. wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` else gentop="$output_objdir/${obj}x" generated="$generated $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for programs" test -n "$release" && \ func_warning "\`-release' is ignored for programs" test "$preload" = yes \ && test "$dlopen_support" = unknown \ && test "$dlopen_self" = unknown \ && test "$dlopen_self_static" = unknown && \ func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` ;; esac case $host in *-*-darwin*) # Don't allow lazy linking, it breaks C++ global constructors # But is supposedly fixed on 10.4 or later (yay!). if test "$tagname" = CXX ; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e '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 "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done compile_deplibs="$new_libs" compile_command="$compile_command $compile_deplibs" finalize_command="$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 "*) ;; *) finalize_rpath="$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"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$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;; *) dllsearchpath="$dllsearchpath:$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) dllsearchpath="$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"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" "no" # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=yes case $host in *cygwin* | *mingw* ) if test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; *cegcc) # Disable wrappers for cegcc, we are cross compiling anyway. wrappers_required=no ;; *) if test "$need_relink" = no || test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; esac if test "$wrappers_required" = no; then # Replace the output file specification. compile_command=`$ECHO "X$compile_command" | $Xsed -e '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=$?' # Delete the generated files. if test -f "$output_objdir/${outputname}S.${objext}"; then func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' fi exit $exit_status fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$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 rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$ECHO "X$link_command" | $Xsed -e '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 $?' exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" func_warning "this platform does not like uninstalled shared libraries" func_warning "\`$output' will be relinked during installation" else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$ECHO "X$link_command" | $Xsed -e '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 $?' # 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 "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $ECHO for shipping. if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then case $progpath in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; esac qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. $opt_dry_run || { # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) func_stripname '' '.exe' "$output" output=$func_stripname_result ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe func_stripname '' '.exe' "$outputname" outputname=$func_stripname_result ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result cwrappersource="$output_path/$objdir/lt-$output_name.c" cwrapper="$output_path/$output_name.exe" $RM $cwrappersource $cwrapper trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 func_emit_cwrapperexe_src > $cwrappersource # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } # Now, create the wrapper script for func_source use: func_ltwrapper_scriptname $cwrapper $RM $func_ltwrapper_scriptname_result trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 $opt_dry_run || { # note: this script will not be executed, so do not chmod. if test "x$build" = "x$host" ; then $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result else func_emit_wrapper no > $func_ltwrapper_scriptname_result fi } ;; * ) $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 func_emit_wrapper no > $output chmod +x $output ;; esac } exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save $symfileobj" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" if test "$preload" = yes && test -f "$symfileobj"; then oldobjs="$oldobjs $symfileobj" fi fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $addlibs oldobjs="$oldobjs $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $dlprefiles oldobjs="$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" generated="$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" oldobjs="$oldobjs $gentop/$newobj" ;; *) oldobjs="$oldobjs $obj" ;; esac done fi eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs oldobjs= # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done eval test_cmds=\"$old_archive_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 for obj in $save_oldobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result func_append objlist " $obj" if test "$len" -lt "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= len=$len0 fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" func_verbose "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) func_basename "$deplib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$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" newdlfiles="$newdlfiles $libdir/$name" ;; *) newdlfiles="$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" newdlprefiles="$newdlprefiles $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 newdlfiles="$newdlfiles $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlprefiles="$newdlprefiles $abs" done dlprefiles="$newdlprefiles" fi $RM $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $ECHO > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Linker flags that can not go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $ECHO >> $output "\ relink_command=\"$relink_command\"" fi done } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } { test "$mode" = link || test "$mode" = relink; } && func_mode_link ${1+"$@"} # func_mode_uninstall arg... func_mode_uninstall () { $opt_debug RM="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) RM="$RM $arg"; rmforce=yes ;; -*) RM="$RM $arg" ;; *) files="$files $arg" ;; esac done test -z "$RM" && \ func_fatal_help "you must specify an RM program" rmdirs= origobjdir="$objdir" for file in $files; do func_dirname "$file" "" "." dir="$func_dirname_result" if test "X$dir" = X.; then objdir="$origobjdir" else objdir="$dir/$origobjdir" fi func_basename "$file" name="$func_basename_result" test "$mode" = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test "$mode" = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if { test -L "$file"; } >/dev/null 2>&1 || { test -h "$file"; } >/dev/null 2>&1 || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" case "$mode" in clean) case " $library_names " in # " " in the beginning catches empty $dlname *" $dlname "*) ;; *) rmfiles="$rmfiles $objdir/$dlname" ;; esac test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test "$pic_object" != none; then rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test "$non_pic_object" != none; then rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; *) if test "$mode" = clean ; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe rmfiles="$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 rmfiles="$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 rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi if test "X$noexename" != "X$name" ; then rmfiles="$rmfiles $objdir/lt-${noexename}.c" fi fi fi ;; esac func_show_eval "$RM $rmfiles" 'exit_status=1' done objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then func_show_eval "rmdir $dir >/dev/null 2>&1" fi done exit $exit_status } { test "$mode" = uninstall || test "$mode" = clean; } && func_mode_uninstall ${1+"$@"} test -z "$mode" && { help="$generic_help" func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ func_fatal_help "invalid operation mode \`$mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" exit $EXIT_FAILURE fi exit $exit_status # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: # vi:sw=2 vorbis-tools-1.4.0/missing0000755000175000017500000002540610476665772012531 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] 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 # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: vorbis-tools-1.4.0/mkinstalldirs0000744000175000017500000000653510623354202013711 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2004-02-15.20 # Original author: Noah Friedman # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to or send patches to # . errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... Create each directory DIR (with mode MODE, if specified), including all leading file name components. Report bugs to ." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" exit 0 ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --version) echo "$0 $scriptversion" exit 0 ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and # mkdir -p a/c at the same time, both will detect that a is missing, # one will create a, then the other will try to create a and die with # a "File exists" error. This is a problem when calling mkinstalldirs # from a parallel make. We use --version in the probe to restrict # ourselves to GNU mkdir, which is thread-safe. case $dirmode in '') if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. test -d ./-p && rmdir ./-p test -d ./--version && rmdir ./--version fi ;; *) if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" else # Clean up after NextStep and OpenStep mkdir. for d in ./-m ./-p ./--version "./$dirmode"; do test -d $d && rmdir $d done fi ;; esac for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr="" chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp="$pathcomp/" done done exit $errstatus # 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-end: "$" # End: vorbis-tools-1.4.0/CHANGES0000644000175000017500000000757311353025640012105 00000000000000vorbis-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 fixesvorbis-tools-1.4.0/vorbis-tools.spec0000644000175000017500000000575611326242572014436 00000000000000Name: vorbis-tools Version: 1.3.0 Release: 1 Summary: Several Ogg Vorbis Tools Group: Applications/Multimedia License: GPL URL: http://xiph.org/ Vendor: Xiph.Org Foundation Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-root Requires: libvorbis >= 1.1.1 BuildRequires: libvorbis-devel >= 1.1.1 Requires: flac >= 1.1.2 BuildRequires: flac-devel >= 1.1.2 Requires: speex >= 1.0.2 BuildRequires: speex-devel >= 1.0.2 Requires: libao >= 0.8.4 BuildRequires: libao-devel >= 0.8.4 Requires: curl >= 7.8 BuildRequires: curl-devel >= 7.8 %description vorbis-tools contains oggenc (an encoder) and ogg123 (a playback tool). It also has vorbiscomment (to add comments to Vorbis files), ogginfo (to give all useful information about an Ogg file, including streams in it), oggdec (a simple command line decoder), and vcut (which allows you to cut up Vorbis files). %prep %setup -q -n %{name}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir} make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING %doc README %doc ogg123/ogg123rc-example %{_bindir}/oggenc %{_bindir}/oggdec %{_bindir}/ogg123 %{_bindir}/ogginfo %{_bindir}/vorbiscomment %{_bindir}/vcut %{_datadir}/locale/*/LC_MESSAGES/* %{_mandir}/man1/ogg123.1* %{_mandir}/man1/oggenc.1* %{_mandir}/man1/oggdec.1* %{_mandir}/man1/ogginfo.1* %{_mandir}/man1/vorbiscomment.1* %{_mandir}/man1/vcut.1* %changelog * Tue Aug 31 2008 Ivo Emanuel Goncalves - update for 1.2.1 release - corrected source link * Tue Jan 25 2008 Ivo Emanuel Goncalves - update for 1.2.0 release * Tue Oct 07 2003 Warren Dukes - update for 1.0.1 release * Fri Jul 19 2002 Michael Smith - Added oggdec and oggdec manpage. * Sun Jul 14 2002 Thomas Vander Stichele - updated for 1.0 release - added vcut, vcut man and vorbiscomment man - added LC_MESSAGES - removed libogg and libogg-devel from requires since libvorbis pulls that in * Fri Jul 12 2002 Michael Smith - Version number updates for 1.0 release. * Fri May 23 2002 Thomas Vander Stichele - Added more BuildRequires: for obvious packages * Fri Mar 22 2002 Jack Moffitt - Update curl dependency info (Closes bug #130) * Mon Dec 31 2001 Jack Moffitt - Update for rc3 release. * Sun Oct 07 2001 Jack Moffitt - Updated for configurable prefix * Sun Aug 12 2001 Greg Maxwell - updated for rc2 * Sun Jun 17 2001 Jack Moffitt - updated for rc1 - added ogginfo * Mon Jan 22 2001 Jack Moffitt - updated for prebeta4 builds * Sun Oct 29 2000 Jack Moffitt - initial spec file created vorbis-tools-1.4.0/config.h0000644000175000017500000003266511352345175012537 00000000000000/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* 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. */ #define ENABLE_NLS 1 /* Define to 1 if you have `alloca', as a function or macro. */ #define HAVE_ALLOCA 1 /* Define to 1 if you have and it should be used (not on Ultrix). */ #define HAVE_ALLOCA_H 1 /* Define to 1 if you have the `alphasort' function. */ #define HAVE_ALPHASORT 1 /* Define to 1 if you have the `argz_count' function. */ #define HAVE_ARGZ_COUNT 1 /* Define to 1 if you have the header file. */ #define HAVE_ARGZ_H 1 /* Define to 1 if you have the `argz_next' function. */ #define HAVE_ARGZ_NEXT 1 /* Define to 1 if you have the `argz_stringify' function. */ #define HAVE_ARGZ_STRINGIFY 1 /* Define to 1 if you have the `asprintf' function. */ #define HAVE_ASPRINTF 1 /* Define to 1 if you have the `atexit' function. */ #define HAVE_ATEXIT 1 /* Define to 1 if the compiler understands __builtin_expect. */ #define HAVE_BUILTIN_EXPECT 1 /* 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. */ #define HAVE_CHMOD 1 /* Defined if we have libcurl */ #define HAVE_CURL 1 /* Define if the GNU dcgettext() function is already present or preinstalled. */ #define HAVE_DCGETTEXT 1 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you don't. */ #define HAVE_DECL_FEOF_UNLOCKED 1 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if you don't. */ #define HAVE_DECL_FGETS_UNLOCKED 1 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you don't. */ #define HAVE_DECL_GETC_UNLOCKED 1 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you don't. */ #define HAVE_DECL__SNPRINTF 0 /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you don't. */ #define HAVE_DECL__SNWPRINTF 0 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fwprintf' function. */ #define HAVE_FWPRINTF 1 /* Define to 1 if you have the `getcwd' function. */ #define HAVE_GETCWD 1 /* Define to 1 if you have the `getegid' function. */ #define HAVE_GETEGID 1 /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgid' function. */ #define HAVE_GETGID 1 /* Define to 1 if you have the `getpagesize' function. */ #define HAVE_GETPAGESIZE 1 /* Define if the GNU gettext() function is already present or preinstalled. */ #define HAVE_GETTEXT 1 /* Define to 1 if you have the `getuid' function. */ #define HAVE_GETUID 1 /* Define if you have the iconv() function. */ #define HAVE_ICONV 1 /* Define if you have the 'intmax_t' type in or . */ #define HAVE_INTMAX_T 1 /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define if exists, doesn't clash with , and declares uintmax_t. */ #define HAVE_INTTYPES_H_WITH_UINTMAX 1 /* Defined if we have libkate */ #define HAVE_KATE 1 /* Define if you have and nl_langinfo(CODESET). */ #define HAVE_LANGINFO_CODESET 1 /* Define if your file defines LC_MESSAGES. */ #define HAVE_LC_MESSAGES 1 /* Defined if we have libFLAC */ #define HAVE_LIBFLAC 1 /* Defined if we have libspeex */ #define HAVE_LIBSPEEX 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if the system has the type `long long int'. */ #define HAVE_LONG_LONG_INT 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mempcpy' function. */ #define HAVE_MEMPCPY 1 /* Define to 1 if you have a working `mmap' system call. */ #define HAVE_MMAP 1 /* Define to 1 if you have the `munmap' function. */ #define HAVE_MUNMAP 1 /* Define if you have and it defines the NL_LOCALE_NAME macro if _GNU_SOURCE is defined. */ #define HAVE_NL_LOCALE_NAME 1 /* Define to 1 if you have the `on_exit' function. */ #define HAVE_ON_EXIT 1 /* Defined if we have ov_read_filter() */ #define HAVE_OV_READ_FILTER 1 /* Define if your printf() function supports format strings with positions. */ #define HAVE_POSIX_PRINTF 1 /* Define if you have POSIX threads libraries and header files. */ #define HAVE_PTHREAD 1 /* Define if the defines PTHREAD_MUTEX_RECURSIVE. */ #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 /* Define if the POSIX multithreading library has read/write locks. */ #define HAVE_PTHREAD_RWLOCK 1 /* Define to 1 if you have the `putenv' function. */ #define HAVE_PUTENV 1 /* Define to 1 if you have the `scandir' function. */ #define HAVE_SCANDIR 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `snprintf' function. */ #define HAVE_SNPRINTF 1 /* Define to 1 if you have the `stat' function. */ #define HAVE_STAT 1 /* Define to 1 if you have the header file. */ #define HAVE_STDDEF_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define if exists, doesn't clash with , and declares uintmax_t. */ #define HAVE_STDINT_H_WITH_UINTMAX 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `stpcpy' function. */ #define HAVE_STPCPY 1 /* Define to 1 if you have the `strcasecmp' function. */ #define HAVE_STRCASECMP 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strtoul' function. */ #define HAVE_STRTOUL 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the `tsearch' function. */ #define HAVE_TSEARCH 1 /* Define if you have the 'uintmax_t' type in or . */ #define HAVE_UINTMAX_T 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if the system has the type `unsigned long long int'. */ #define HAVE_UNSIGNED_LONG_LONG_INT 1 /* Define to 1 or 0, depending whether the compiler supports simple visibility declarations. */ #define HAVE_VISIBILITY 1 /* Define if you have the 'wchar_t' type. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define if you have the 'wint_t' type. */ #define HAVE_WINT_T 1 /* Define to 1 if you have the `__fsetlocking' function. */ #define HAVE___FSETLOCKING 1 /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Define if integer division by zero raises signal SIGFPE. */ #define INTDIV0_RAISES_SIGFPE 1 /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #define LT_OBJDIR ".libs/" /* Name of package */ #define PACKAGE "vorbis-tools" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "" /* Define to the full name of this package. */ #define PACKAGE_NAME "" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "" /* Define to the version of this package. */ #define PACKAGE_VERSION "" /* Define if exists and defines unusable PRI* macros. */ /* #undef PRI_MACROS_BROKEN */ /* Define to the 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. */ #define STDC_HEADERS 1 /* Define if the POSIX multithreading library can be used. */ #define USE_POSIX_THREADS 1 /* Define if references to the POSIX multithreading library should be made weak. */ #define USE_POSIX_THREADS_WEAK 1 /* 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 */ /* Define if the Win32 multithreading API can be used. */ /* #undef USE_WIN32_THREADS */ /* Version number of package */ #define VERSION "1.4.0" /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ /* #undef WORDS_BIGENDIAN */ /* Define to 1 if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */ #ifndef _ALL_SOURCE /* # undef _ALL_SOURCE */ #endif /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* 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 */ /* Enable extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* 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.0/include/0000777000175000017500000000000011353056543012613 500000000000000vorbis-tools-1.4.0/include/Makefile.am0000644000175000017500000000013710623354174014564 00000000000000## Process this file with automake to produce Makefile.in EXTRA_DIST = utf8.h getopt.h i18n.h vorbis-tools-1.4.0/include/Makefile.in0000644000175000017500000002567311353056446014613 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = include DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = utf8.h getopt.h i18n.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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu include/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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 distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: 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-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: vorbis-tools-1.4.0/include/utf8.h0000644000175000017500000000172011326237511013562 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.0/include/getopt.h0000644000175000017500000001334510077076265014215 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.0/include/i18n.h0000644000175000017500000000044210077076265013464 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.0/share/0000777000175000017500000000000011353056543012272 500000000000000vorbis-tools-1.4.0/share/Makefile.am0000644000175000017500000000057410623354177014253 00000000000000## Process this file with automake to produce Makefile.in INCLUDES = -I$(top_srcdir)/include noinst_LIBRARIES = libutf8.a libgetopt.a libutf8_a_SOURCES = charset.c charset.h iconvert.c utf8.c libgetopt_a_SOURCES = getopt.c getopt1.c 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.0/share/Makefile.in0000644000175000017500000004005711353056447014264 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = share DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) ARFLAGS = cru libgetopt_a_AR = $(AR) $(ARFLAGS) libgetopt_a_LIBADD = am_libgetopt_a_OBJECTS = getopt.$(OBJEXT) getopt1.$(OBJEXT) libgetopt_a_OBJECTS = $(am_libgetopt_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) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libgetopt_a_SOURCES) $(libutf8_a_SOURCES) DIST_SOURCES = $(libgetopt_a_SOURCES) $(libutf8_a_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ INCLUDES = -I$(top_srcdir)/include noinst_LIBRARIES = libutf8.a libgetopt.a libutf8_a_SOURCES = charset.c charset.h iconvert.c utf8.c libgetopt_a_SOURCES = getopt.c getopt1.c 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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu share/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu share/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libgetopt.a: $(libgetopt_a_OBJECTS) $(libgetopt_a_DEPENDENCIES) -rm -f libgetopt.a $(libgetopt_a_AR) libgetopt.a $(libgetopt_a_OBJECTS) $(libgetopt_a_LIBADD) $(RANLIB) libgetopt.a libutf8.a: $(libutf8_a_OBJECTS) $(libutf8_a_DEPENDENCIES) -rm -f libutf8.a $(libutf8_a_AR) libutf8.a $(libutf8_a_OBJECTS) $(libutf8_a_LIBADD) $(RANLIB) libutf8.a mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @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)/utf8.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here 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)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: 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-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-info-am 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.0/share/getopt.c0000644000175000017500000007246410077076270013672 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.0/share/getopt1.c0000644000175000017500000001070610077076270013742 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.0/share/charset.c0000644000175000017500000002605110623354177014012 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 || !*s1) 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.0/share/charset.h0000755000175000017500000000531510077076267014026 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.0/share/iconvert.c0000644000175000017500000001443711326242566014216 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.0/share/utf8.c0000644000175000017500000002135311326242566013246 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.0/share/charmaps.h0000644000175000017500000000477710077076270014175 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.0/share/makemap.c0000644000175000017500000000363310623354177013775 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.0/share/charset_test.c0000644000175000017500000002164510623354177015055 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.0/share/charsetmap.h0000644000175000017500000000773310077076270014521 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.0/debian/0000777000175000017500000000000011353056543012412 500000000000000vorbis-tools-1.4.0/debian/Makefile.am0000644000175000017500000000030510623354174014360 00000000000000## Process this file with automake to produce Makefile.in EXTRA_DIST = changelog control copyright rules vorbis-tools.README.Debian \ vorbis-tools.install vorbis-tools.manpages vorbis-tools.mime vorbis-tools-1.4.0/debian/Makefile.in0000644000175000017500000002603711353056446014405 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = debian DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = changelog control copyright rules vorbis-tools.README.Debian \ vorbis-tools.install vorbis-tools.manpages vorbis-tools.mime 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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu debian/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu debian/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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 distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: 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-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: vorbis-tools-1.4.0/debian/changelog0000644000175000017500000003103311326237511014174 00000000000000vorbis-tools (1.2.0-4) unstable; urgency=medium * Add upstream_r14957-ogg123_stop_decode_on_closed_buffer.diff. closes: #478991. * Add upstream_r14982-ogg123_man_page_http_only.diff to clarify that -b option is for HTTP streams only. closes: #288687. -- Clint Adams Sat, 31 May 2008 10:23:45 -0400 vorbis-tools (1.2.0-3) unstable; urgency=medium * Drop for_upstream-mention_alsa09_in_ogg123.1.diff. closes: #482347. -- Clint Adams Thu, 22 May 2008 19:39:03 -0400 vorbis-tools (1.2.0-2) unstable; urgency=medium [ Adeodato Sim³ ] * Install upstream CHANGES file as changelog.gz. Thanks Bastian Kleineidam. (Closes: #470133) [ Clint Adams ] * Add upstream_r14728-speex_format_validation.diff. closes: #480059. * Loosen libflac-dev build dependency to (>> 1.1.4) to facilitate backports. -- Clint Adams Tue, 20 May 2008 10:49:09 -0400 vorbis-tools (1.2.0-1) unstable; urgency=low * New upstream release. - Drop upstream_r9696-play_from_pipe.diff (merged) - Drop upstream_r9935-dont_clobber_file_on_error.diff (merged) - Drop upstream_r10080-fix_non-ascii_comments.diff (merged) - Drop for_upstream-oggenc_inputfile_vs_input.wav.diff (merged) - Drop for_upstream-mention_option_-R_in_vorbiscomment.1.diff (merged) - Update for_upstream-manpage_typos.diff (some hunks merged) - Drop for_upstream-encodage_vs_codage_in_fr.po.diff (merged) - Update no_debian_subdir.diff - Update no_fast-math.diff - Drop upstream_r10091-ogg123_return_error.diff (merged) - Drop upstream_r12189-ogg123_2hr_intermittentnoise.diff (merged) - Drop upstream_r12201-ogg123_crlf_in_playlists.diff (merged) - Drop upstream_r12202-ogg123_curlopt_mute.diff (merged) - Drop upstream_r11665_r12199_plus_autoconf.diff (merged) * Bump to Standards-Version 3.7.3. * Rename control header to Vcs-Bzr. -- Clint Adams Sat, 08 Mar 2008 09:00:42 -0500 vorbis-tools (1.1.1-15) unstable; urgency=low * Update vorbistagedit to 0.5 to cope with bash users. closes: #421319. -- Clint Adams Mon, 22 Oct 2007 11:27:35 -0400 vorbis-tools (1.1.1-14) unstable; urgency=low * Update long description to mention that ogg123 can play FLAC files. closes: #434827. -- Clint Adams Fri, 27 Jul 2007 00:58:03 -0400 vorbis-tools (1.1.1-13) unstable; urgency=low * Update for the FLAC 1.1.4 transition: + grab patch from upstream to cope with libOggFLAC having been merged into libFLAC. + build-depend on libflac-dev (>= 1.1.4-1), keeping liboggflac-dev as a second alternative. (Closes: #426674) * Remove irrelevant blurb about "written for Debian because the original program does not have a manual page" from vorbistagedit.1. * Add XS-VCS-Bzr header in debian/control. -- Adeodato Sim³ Wed, 06 Jun 2007 19:01:31 +0200 vorbis-tools (1.1.1-12) unstable; urgency=high * Switch build dependency from "libcurl3-gnutls-dev" to "libcurl4-gnutls-dev". closes: #423654. * Add upstream_r12202-ogg123_curlopt_mute.diff to handle CURLOPT_MUTE being dropped in curl4. -- Clint Adams Sun, 13 May 2007 19:12:26 -0400 vorbis-tools (1.1.1-11) unstable; urgency=low * Add upstream_r12201-ogg123_crlf_in_playlists.diff to handle CR/LF endings in playlists. closes: #173676. -- Clint Adams Sat, 20 Jan 2007 10:44:53 -0500 vorbis-tools (1.1.1-10) unstable; urgency=low * Add upstream_r12189-ogg123_2hr_intermittentnoise.diff to fix "ogg123 output corrupted after some time of playback". closes: #298719. -- Clint Adams Thu, 18 Jan 2007 15:23:29 -0500 vorbis-tools (1.1.1-9) unstable; urgency=low * Update vorbistagedit to upstream version 0.4. -- Clint Adams Thu, 18 Jan 2007 12:29:42 -0500 vorbis-tools (1.1.1-8) unstable; urgency=low * Update vorbistagedit to upstream version 0.3, fixing bashisms. closes: #381705. * Add man page for vorbistagedit from Fran§ois Wendling. closes: #399116. -- Clint Adams Thu, 18 Jan 2007 12:08:59 -0500 vorbis-tools (1.1.1-7) unstable; urgency=medium * Add for_upstream-ogg123_flac_divbyzero.diff to fix SIGFPE when playing certain corrupt .flac files. Submitted upstream as xiph.org Trac ticket #1119. closes: #407022. * Bump Standards-Version to 3.7.2. -- Clint Adams Wed, 17 Jan 2007 11:24:37 -0500 vorbis-tools (1.1.1-6) unstable; urgency=low * Include vorbistagedit script from martin f. krafft to edit vorbis tags in an editor. (Closes: #357421) * Build with LFS, without touching configure.ac this time, as adviced by the submitter. Submit however debian/patches/for_upstream-largefile_support.diff to upstream, together with dean gaudet's include_config_h_everywhere.patch. (Closes: #364527) * Fix typos in manpages spotted by A Costa. (Closes: #353184, #353185) -- Adeodato Sim³ Thu, 13 Jul 2006 21:25:09 +0200 vorbis-tools (1.1.1-5) unstable; urgency=low * Fix additional oggenc man page typos with patch from A Costa. closes: #353186. * Fix ogg123 returning 0 on corrupted file. closes: #193349. [File: upstream_r10091-ogg123_return_error.diff] -- Clint Adams Sun, 26 Mar 2006 20:11:50 -0500 vorbis-tools (1.1.1-4) unstable; urgency=low * Build with LFS. closes: #359068. -- Clint Adams Sun, 26 Mar 2006 19:43:40 -0500 vorbis-tools (1.1.1-3) unstable; urgency=low * Switch patch management to quilt. -- Adeodato Sim³ Mon, 16 Jan 2006 22:49:20 +0100 vorbis-tools (1.1.1-2) unstable; urgency=medium * Switch maintenance to the Debian Xiph.org Maintainers (alioth/pkg-xiph). * Fix display of non-ASCII characters in comments, broken in 1.1.1 release. (Closes: #344195, #344917) [File: upstream_r10080_fix_non-ascii_comments.diff] * Patch configure not to use -ffast-math, which is reportedly broken on alpha. While we're at it, do not use -O20 (!) either. [File: no_fast-math.diff] * Add debian/watch file. -- Adeodato Sim³ Tue, 27 Dec 2005 23:08:25 +0100 vorbis-tools (1.1.1-1) unstable; urgency=low * New upstream release packaged (closes: #339846). * Pull patch from upstream to prevent vorbiscomment from clobbering files when an error happens. (Closes: #287170) [File: upstream_r9935-dont_clobber_file_on_error.diff] * Add myself as an uploader, as agreed with Christopher in the past; note it in debian/copyright. * Update debian/control: + drop unnecessary build-dependencies on bison and devscripts. + build-depend on libcurl3-gnutls-dev instead of libcurl3-dev | libcurl-dev (vorbis-tools is GPL'ed, no SSL exception). + drop version restriction on all build-dependencies, since they'd be all satisfied with stable. * Overhaul debian/rules. * Make use of debian/patches, putting in separate files the patches applied in previous NMUs (deactivated some of them because they no longer apply and/or are incomplete, until I figure out what to do with them; reopens: #272037, #264365). * Update download URL in debian/copyright. * Bumped Standards-Version to 3.6.2 (no changes required). -- Adeodato Sim³ Wed, 07 Dec 2005 06:21:02 +0100 vorbis-tools (1.0.1-1.5) unstable; urgency=low * Non-maintainer upload during BSP. * Make package installable again by rebuilding against new FLAC libraries. (Closes: #325955) * As requested by upstream, include patch to fix playing from a pipe. (Closes: #237187) [Patch in debian/patches/play-from-pipe.diff, but present in the .diff.gz because debian/rules does not apply debian/patches/*.] -- Adeodato Sim³ Sun, 04 Sep 2005 05:41:42 +0200 vorbis-tools (1.0.1-1.4) unstable; urgency=low * Authorized NMU. * Restore speex support (closes: #306809). This had been lost in the previous upload due to speex 1.1 having moved its include files from /usr/include to /usr/include/speex. + debian/rules: add -I/usr/include/speex to CFLAGS (and export it too). -- Adeodato Sim³ Sat, 04 Jun 2005 02:13:03 +0200 vorbis-tools (1.0.1-1.3) unstable; urgency=low * Authorized NMU. * Modified alsa to mention alsa09 (although the device might be nowadays alsa, back, since alsa1.0 has been already released). (Closes: #258286) * Modified the manpage/help message for vorbiscomment to make it a bit more userfiendly: Closes: #252531. * Added oggdec to the long description field, so that it triggers apt-cache searches: Closes: #274894. * Typos in manpages: Closes: #302150. * Escaped dashes in manpage: Closes: #264365. * Quiet option is actually with -Q, not -q (Closes: #211289) Reported upstream but patched for Debian. * Change input.wav with inputfile, since we accept flac-formated files: Closes: #262509. * Translation bits: * Updated translation hu.po: Closes: #272037. * French translation correction: Encodage -> Codage (Closes: #248431). * debian/rules: remove .gmo's to avoid clash with uploaded tarball. -- Jesus Climent Sun, 10 Apr 2005 09:22:24 +0000 vorbis-tools (1.0.1-1.2) unstable; urgency=medium * Non-maintainer upload. * [debian/control] Versioned build dependency on liboggflac-dev so as to guarantee the binary packages no longer depend on libflac4 and are thus installable again in sid. (Closes: #289291, #289313) -- J.H.M. Dassen (Ray) Sun, 9 Jan 2005 12:20:44 +0100 vorbis-tools (1.0.1-1.1) unstable; urgency=low * Non-maintainer upload. * Switched to libcurl3-dev (closes: #260207). -- Domenico Andreoli Wed, 22 Dec 2004 18:57:26 +0100 vorbis-tools (1.0.1-1) unstable; urgency=low * New upstream. * Include ogg123rc-example. (Closes: #187204) * Add application/ogg to vorbis-tools.mime. (Closes: #204883) -- Christopher L Cheney Wed, 10 Dec 2003 22:00:00 -0600 vorbis-tools (1.0.0-2) unstable; urgency=low * Rebuild against new libvorbis0a package. * GNU config automated update: config.sub (20020621 to 20030103), config.guess (20020529 to 20030110) -- Christopher L Cheney Sat, 8 Mar 2003 13:30:00 -0600 vorbis-tools (1.0.0-1) unstable; urgency=low * New upstream. (Closes: #88450, #109241, #111565, #127184, #127688, #127730, #127734, #127999, #130021, #136663, #136664, #140909, #146271, #146314) -- Christopher L Cheney Fri, 19 Jul 2002 09:00:00 -0500 vorbis-tools (1.0rc3-1) unstable; urgency=low * New upstream. (Closes: #90852, #103707, #104366, #107898, #108803, #113855, #114730, #115859, #117091) * added autotools target (config.* updater) to rules -- Christopher L Cheney Mon, 24 Dec 2001 11:00:00 -0600 vorbis-tools (1.0rc2-1) unstable; urgency=low * New upstream. (Closes: #98059, #99050) * Build with empty diff.gz to fix bug. (Closes: #104473) -- Christopher L Cheney Mon, 13 Aug 2001 00:00:00 -0500 vorbis-tools (1.0rc1-1) unstable; urgency=low * New upstream. (Closes: #87697, #87907, #98937) * Fixed versioned depends. (Closes: #88561, #89772) * Changed clean method to distclean. (Closes: #96775) * Updated description. (Closes: #88573) * debian dir is maintained in upstream cvs. (Closes: #96773) * Updated manpage for upstream. (Closes: #90873, #92229) * Applied patch for randomize ogg123 for upstream (Closes: #84336, #98945) * # appears to just work in ogg123rc so it must be fixed (Closes: #87398) -- Christopher L Cheney Sun, 17 Jun 2001 20:00:00 -0500 vorbis-tools (1.0beta4-1) unstable; urgency=low * New upstream. * Fix for multi open /dev/dsp (closes: #81146) * devfs bug fixed (closes: #81621) -- Christopher L Cheney Mon, 26 Feb 2001 08:00:00 -0600 vorbis-tools (1.0beta3-3) unstable; urgency=low * Fixed Build-Depends version dependencies. * Updated to Standards-Version to 3.5.1.0 -- Christopher L Cheney Sat, 17 Feb 2001 18:18:38 -0600 vorbis-tools (1.0beta3-2) unstable; urgency=low * Use abcde (closes: #70032) * Fixed (closes: #72381) * Corrected README.Debian (closes: #78803) -- Christopher L Cheney Sat, 3 Feb 2001 13:38:34 -0600 vorbis-tools (1.0beta3-1) unstable; urgency=low * Initial Release. -- Christopher L Cheney Tue, 31 Oct 2000 16:38:42 -0600 vorbis-tools-1.4.0/debian/control0000644000175000017500000000113010077076264013730 00000000000000Source: vorbis-tools Section: sound Priority: optional Maintainer: Christopher L Cheney Build-Depends: autotools-dev, bison, debhelper (>> 4.0.18), devscripts, libcurl-dev, libao-dev (>> 0.8.4), libogg-dev (>> 1.1.0), liboggflac-dev, libspeex-dev, libvorbis-dev (>> 1.0.1) Standards-Version: 3.6.1.0 Package: vorbis-tools Architecture: any Depends: ${shlibs:Depends} Description: Several Ogg Vorbis Tools vorbis-tools contains oggenc (an encoder), ogg123 (a playback tool), ogginfo (displays ogg information), vcut (ogg file splitter), and vorbiscomment (ogg comment editor) vorbis-tools-1.4.0/debian/copyright0000644000175000017500000000160711326237511014261 00000000000000This package was debianized by Christopher L Cheney on Tue, 31 Oct 2000 16:38:42 -0600. Adeodato Sim³ stepped as a co-maintainer on Sat, 19 Nov 2005 12:04:38 +0100. It was downloaded from http://www.xiph.org/downloads/: URL: Upstream Authors: Kenneth Arnold Segher Boessenkool Stan Seibert Michael Smith Copyright: THE Ogg Vorbis SOURCE CODE IS (C) COPYRIGHT 1994-2000 by Monty and The XIPHOPHORUS Company http://www.xiph.org/ You are free to distribute this software under the terms of the GNU General Public License. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL file. vorbis-tools-1.4.0/debian/rules0000755000175000017500000000633611326237511013412 00000000000000#!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This is the debhelper compatibility version to use. export DH_COMPAT=4 # This has to be exported to make some magic below work. export DH_OPTIONS # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) objdir = $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif configure: configure-stamp configure-stamp: dh_testdir # make build directory mkdir $(objdir) # run configure with build tree $(objdir) # change ../configure to ../autogen.sh for Subversion build cd $(objdir) && \ ../configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \ --prefix=/usr touch configure-stamp #Architecture build: build-arch build-indep build-arch: build-arch-stamp build-arch-stamp: configure-stamp cd $(objdir) && \ $(MAKE) touch build-arch-stamp build-indep: build-indep-stamp build-indep-stamp: configure-stamp # Add here commands to compile the indep part of the package. #$(MAKE) doc touch build-indep-stamp debian-clean: dh_testdir dh_testroot dh_clean clean: dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp configure-stamp # Remove build tree rm -rf $(objdir) # if Makefile exists run distclean if test -f Makefile; then \ $(MAKE) distclean; \ fi #if test -d CVS; then \ $(MAKE) cvs-clean ;\ fi dh_clean install: install-indep install-arch install-indep: dh_testdir dh_testroot # dh_clean -k -i # dh_installdirs -i # dh_install -i --list-missing install-arch: dh_testdir dh_testroot dh_clean -k -s dh_installdirs -s cd $(objdir) && \ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp dh_install -s --list-missing # Must not depend on anything. This is to be called by # binary-arch/binary-indep # in another 'make' thread. binary-common: dh_testdir dh_testroot dh_installchangelogs CHANGES dh_installdocs dh_installexamples # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms # dh_perl # dh_python dh_makeshlibs -V dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb # Build architecture independant packages using the common target. binary-indep: build-indep install-indep # $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common # Build architecture dependant packages using the common target. binary-arch: build-arch install-arch $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common binary: binary-arch binary-indep .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure vorbis-tools-1.4.0/debian/vorbis-tools.README.Debian0000644000175000017500000000030010077076264017025 00000000000000vorbis-tools for Debian ----------------------- Copy examples/ogg123rc-example to /etc/ogg123rc or ~/.ogg123rc -- Christopher L Cheney , Tue, 31 Oct 2000 16:38:42 -0600 vorbis-tools-1.4.0/debian/vorbis-tools.install0000644000175000017500000000117210077076264016365 00000000000000debian/tmp/usr/bin/ogg123 debian/tmp/usr/bin/oggdec debian/tmp/usr/bin/oggenc debian/tmp/usr/bin/ogginfo debian/tmp/usr/bin/vcut debian/tmp/usr/bin/vorbiscomment debian/tmp/usr/share/locale/da/LC_MESSAGES/vorbis-tools.mo debian/tmp/usr/share/locale/es/LC_MESSAGES/vorbis-tools.mo debian/tmp/usr/share/locale/fr/LC_MESSAGES/vorbis-tools.mo debian/tmp/usr/share/locale/hr/LC_MESSAGES/vorbis-tools.mo debian/tmp/usr/share/locale/hu/LC_MESSAGES/vorbis-tools.mo debian/tmp/usr/share/locale/nl/LC_MESSAGES/vorbis-tools.mo debian/tmp/usr/share/locale/ru/LC_MESSAGES/vorbis-tools.mo debian/tmp/usr/share/locale/sv/LC_MESSAGES/vorbis-tools.mo vorbis-tools-1.4.0/debian/vorbis-tools.manpages0000644000175000017500000000016010077076264016506 00000000000000ogg123/ogg123.1 oggdec/oggdec.1 oggenc/man/oggenc.1 ogginfo/ogginfo.1 vcut/vcut.1 vorbiscomment/vorbiscomment.1 vorbis-tools-1.4.0/debian/vorbis-tools.mime0000644000175000017500000000017711326237511015642 00000000000000application/ogg; ogg123 %s; description="Ogg Application"; priority=5 audio/ogg; ogg123 %s; description="Ogg Audio"; priority=5vorbis-tools-1.4.0/win32/0000777000175000017500000000000011353056543012132 500000000000000vorbis-tools-1.4.0/win32/Makefile.am0000644000175000017500000000037510623354177014112 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.0/win32/Makefile.in0000644000175000017500000002612411353056447014123 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = win32 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ 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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu win32/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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 distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: 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-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-info-am 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.0/win32/oggenc.dsp0000644000175000017500000001227611326242570014025 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.0/win32/oggenc_dynamic.dsp0000644000175000017500000001253111326242570015523 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.0/win32/ogginfo.dsp0000644000175000017500000001064211326242570014206 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.0/win32/tools.dsp0000644000175000017500000000335311326242570013717 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.0/win32/tools.dsw0000644000175000017500000000427111326242570013726 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.0/win32/tools.opt0000644000175000017500000023500010077076275013740 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.0/win32/vcut.dsp0000644000175000017500000001037011326242570013535 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.0/win32/vorbiscomment.dsp0000644000175000017500000001132011326242570015437 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.0/ogg123/0000777000175000017500000000000011353056544012173 500000000000000vorbis-tools-1.4.0/ogg123/Makefile.am0000644000175000017500000000324511326237512014143 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_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 INCLUDES = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @AO_CFLAGS@ @CURL_CFLAGS@ \ @PTHREAD_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@ ogg123_LDADD = @SHARE_LIBS@ \ @VORBISFILE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @AO_LIBS@ \ @SOCKET_LIBS@ @LIBICONV@ @CURL_LIBS@ @PTHREAD_CFLAGS@ \ @PTHREAD_LIBS@ @I18N_LIBS@ @FLAC_LIBS@ @SPEEX_LIBS@ ogg123_DEPENDENCIES = @SHARE_LIBS@ 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) $(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.0/ogg123/Makefile.in0000644000175000017500000005524711353056446014172 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ bin_PROGRAMS = ogg123$(EXEEXT) subdir = ogg123 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \ "$(DESTDIR)$(docdir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 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 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_OV_READ_FILTER_TRUE@am__objects_3 = 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) ogg123_OBJECTS = $(am_ogg123_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(ogg123_SOURCES) $(EXTRA_ogg123_SOURCES) DIST_SOURCES = $(am__ogg123_SOURCES_DIST) $(EXTRA_ogg123_SOURCES) man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) 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 = `echo $$p | sed -e 's|^.*/||'`; docDATA_INSTALL = $(INSTALL_DATA) DATA = $(doc_DATA) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @MANDIR@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ @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_OV_READ_FILTER_FALSE@vgfilter_sources = @HAVE_OV_READ_FILTER_TRUE@vgfilter_sources = vgfilter.c vgfilter.h INCLUDES = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @AO_CFLAGS@ @CURL_CFLAGS@ \ @PTHREAD_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@ ogg123_LDADD = @SHARE_LIBS@ \ @VORBISFILE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @AO_LIBS@ \ @SOCKET_LIBS@ @LIBICONV@ @CURL_LIBS@ @PTHREAD_CFLAGS@ \ @PTHREAD_LIBS@ @I18N_LIBS@ @FLAC_LIBS@ @SPEEX_LIBS@ ogg123_DEPENDENCIES = @SHARE_LIBS@ 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) $(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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ogg123/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu ogg123/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ || test -f $$p1 \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done ogg123$(EXEEXT): $(ogg123_OBJECTS) $(ogg123_DEPENDENCIES) @rm -f ogg123$(EXEEXT) $(LINK) $(ogg123_LDFLAGS) $(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)/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@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done install-docDATA: $(doc_DATA) @$(NORMAL_INSTALL) test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)" @list='$(doc_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ done uninstall-docDATA: @$(NORMAL_UNINSTALL) @list='$(doc_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ rm -f "$(DESTDIR)$(docdir)/$$f"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here 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)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-docDATA install-man install-exec-am: install-binPROGRAMS install-info: install-info-am install-man: install-man1 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-info-am uninstall-man uninstall-man: uninstall-man1 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic clean-libtool ctags 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-exec install-exec-am install-info \ install-info-am install-man install-man1 install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-binPROGRAMS \ uninstall-docDATA uninstall-info-am uninstall-man \ uninstall-man1 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.0/ogg123/audio.c0000644000175000017500000000644011352312377013356 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: audio.c 17006 2010-03-24 01:12:20Z xiphmont $ ********************************************************************/ #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) { audio_device_t *head = devices_list; 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 { head = 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.0/ogg123/buffer.c0000644000175000017500000004672411352344407013536 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: buffer.c 16870 2010-02-04 14:15:42Z xiphmont $ ********************************************************************/ #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; 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) { if (buf->cancel_flag || sig_request.cancel) break; DEBUG("Check for something to play"); /* Block until we can play something */ LOCK_MUTEX (buf->mutex); 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("Ready to play"); UNLOCK_MUTEX(buf->mutex); if (buf->cancel_flag || sig_request.cancel) break; /* 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) { 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.0/ogg123/callbacks.c0000644000175000017500000002357211327736623014207 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: callbacks.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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.0/ogg123/cfgfile_options.c0000644000175000017500000002356111352345612015430 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: cfgfile_options.c 17015 2010-03-24 08:21:29Z xiphmont $ ********************************************************************/ /* 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.0/ogg123/cmdline_options.c0000644000175000017500000002654411352312444015445 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: cmdline_options.c 17009 2010-03-24 04:29:17Z xiphmont $ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #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; 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 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 (http://www.xiph.org/)\n\n"), PACKAGE, VERSION); 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 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.0/ogg123/file_transport.c0000644000175000017500000001006311327736623015312 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: file_transport.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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 (char *source_string) { return 1; /* The file transport is tested last, so always try it */ } data_source_t* file_open (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.0/ogg123/format.c0000644000175000017500000000421011327736623013544 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: format.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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 format_t *formats[] = { #ifdef HAVE_LIBFLAC &flac_format, &oggflac_format, #endif #ifdef HAVE_LIBSPEEX &speex_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.0/ogg123/http_transport.c0000644000175000017500000002162511327736623015360 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: http_transport.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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 (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 (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.0/ogg123/ogg123.c0000644000175000017500000004753211352344437013270 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: ogg123.c 17013 2010-03-24 08:11:06Z xiphmont $ ********************************************************************/ #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 (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) unsigned char convbuffer[AUDIO_CHUNK_SIZE]; int convsize = AUDIO_CHUNK_SIZE; ogg123_options_t options; stat_format_t *stat_format; buf_t *audio_buffer=NULL; 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) type type##_##value = value INIT(int, 1); 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 (char *source_string) { 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.0/ogg123/oggvorbis_format.c0000644000175000017500000002335411327747471015642 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: oggvorbis_format.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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.0/ogg123/playlist.c0000644000175000017500000002067211352312377014121 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: playlist.c 16953 2010-03-07 03:06:29Z conrad $ ********************************************************************/ #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.0/ogg123/status.c0000644000175000017500000002622011327736623013604 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: status.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #ifdef HAVE_UNISTD_H #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, 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++; } 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.0/ogg123/remote.c0000644000175000017500000002372511352344437013557 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: remote.c 17013 2010-03-24 08:11:06Z xiphmont $ ********************************************************************/ #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.0/ogg123/transport.c0000644000175000017500000000375611327736623014326 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: transport.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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 transport_t *transports[] = { #ifdef HAVE_CURL &http_transport, #endif &file_transport, NULL }; transport_t *get_transport_by_name (char *name) { int i = 0; while (transports[i] != NULL && strcmp(name, transports[i]->name) != 0) i++; return transports[i]; } transport_t *select_transport (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.0/ogg123/vorbis_comments.c0000644000175000017500000000715211327736623015475 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: vorbis_comments.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include "format.h" #include "utf8.h" #include "i18n.h" /* Vorbis comment keys that need special formatting. */ struct { char *key; /* includes the '=' for programming convenience */ char *formatstr; /* formatted output */ } vorbis_comment_keys[] = { {"TRACKNUMBER=", N_("Track number:")}, {"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 (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 = malloc(strlen(vorbis_comment_keys[i].formatstr) + 1); if (s == NULL) { fprintf(stderr, _("ERROR: Out of memory.\n")); exit(1); }; strcpy(s, vorbis_comment_keys[i].formatstr); 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 = malloc(strlen(vorbis_comment_keys[i].formatstr) + 1); if (s == NULL) { fprintf(stderr, _("ERROR: Out of memory.\n")); exit(1); }; strcpy(s, vorbis_comment_keys[i].formatstr); return s; } void print_vorbis_comment (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; 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.0/ogg123/audio.h0000644000175000017500000000370011327736623013365 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: audio.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ /* 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.0/ogg123/buffer.h0000644000175000017500000001057311327736623013543 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: buffer.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ /* 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.0/ogg123/callbacks.h0000644000175000017500000000463211327736623014210 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: callbacks.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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.0/ogg123/compat.h0000644000175000017500000000267211327736623013556 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: compat.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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.0/ogg123/cfgfile_options.h0000644000175000017500000000355411327736623015445 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: cfgfile_options.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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.0/ogg123/cmdline_options.h0000644000175000017500000000242711327736623015457 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: cmdline_options.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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.0/ogg123/format.h0000644000175000017500000000505211327736623013556 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: format.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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.0/ogg123/ogg123.h0000644000175000017500000000462311327736623013273 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.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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.0/ogg123/playlist.h0000644000175000017500000000474611327736623014140 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: playlist.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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.0/ogg123/status.h0000644000175000017500000000471611327736623013617 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: status.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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.0/ogg123/transport.h0000644000175000017500000000457011327736623014326 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: transport.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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 { char *name; int (* can_transport)(char *source_string); data_source_t* (* open) (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; transport_t *get_transport_by_name (char *name); transport_t *select_transport (char *source); data_source_stats_t *malloc_data_source_stats (data_source_stats_t *to_copy); #endif /* __TRANSPORT_H__ */ vorbis-tools-1.4.0/ogg123/remote.h0000644000175000017500000000216011352344437013552 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: remote.h 17013 2010-03-24 08:11:06Z xiphmont $ ********************************************************************/ void remote_mainloop(void); int remote_playloop(void); void remote_time(double current, double total); vorbis-tools-1.4.0/ogg123/vorbis_comments.h0000644000175000017500000000226211327736623015477 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: vorbis_comments.h 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #ifndef __VORBIS_COMMENTS_H__ #define __VORBIS_COMMENTS_H__ #include "format.h" void print_vorbis_comment (char *comment, decoder_callbacks_t *cb, void *callback_arg); #endif /* __VORBIS_COMMENTS_H__ */ vorbis-tools-1.4.0/ogg123/flac_format.c0000644000175000017500000004501411327736623014540 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: flac_format.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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; FLAC__bool ret; /* 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 bits_per_sample = priv->bits_per_sample = frame->header.bits_per_sample; int i, j; 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, 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.0/ogg123/easyflac.c0000644000175000017500000002773710623354176014063 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.0/ogg123/easyflac.h0000644000175000017500000001466410077076274014066 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.0/ogg123/speex_format.c0000644000175000017500000003616111327736623014762 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: speex_format.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #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->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; return 0; } #define AVG_FACTOR 0.7 decoder_stats_t *speex_statistics (decoder_t *decoder) { speex_private_t *priv = decoder->private; long instant_bitrate; long avg_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; 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; 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; 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.0/ogg123/vgfilter.c0000644000175000017500000000774511326237512014106 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.0/ogg123/vgfilter.h0000644000175000017500000000465211326237512014105 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.0/ogg123/ogg123.10000644000175000017500000002364111352325623013175 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 Vorbis 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 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 file devices. 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 seperated 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) .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, incompatable 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 Roar Audio Daemon live output driver. Options: .RS .IP host:value Specifies location of remote Roar server to use. .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.0/ogg123/ogg123rc-example0000644000175000017500000000053210077076272015014 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.0/oggenc/0000777000175000017500000000000011353056544012433 500000000000000vorbis-tools-1.4.0/oggenc/Makefile.am0000644000175000017500000000157411326242566014413 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 INCLUDES = @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@ 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.0/oggenc/Makefile.in0000644000175000017500000005317211353056446014425 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ bin_PROGRAMS = oggenc$(EXEEXT) subdir = oggenc DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 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) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(oggenc_SOURCES) DIST_SOURCES = $(am__oggenc_SOURCES_DIST) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ @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 INCLUDES = @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@ 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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu oggenc/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu oggenc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ || test -f $$p1 \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done oggenc$(EXEEXT): $(oggenc_OBJECTS) $(oggenc_DEPENDENCIES) @rm -f oggenc$(EXEEXT) $(LINK) $(oggenc_LDFLAGS) $(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@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; 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; \ (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" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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 || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here 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)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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 \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-binPROGRAMS install-info: install-info-recursive install-man: 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 uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-binPROGRAMS clean-generic clean-libtool \ clean-recursive ctags ctags-recursive distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-recursive distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \ pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-info-am 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.0/oggenc/flac.c0000644000175000017500000003030411326244364013417 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,4,5,6,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 { flacfile *flac = (flacfile *) client_data; } #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; } /* 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(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, f_comments->comments[i].entry, f_comments->comments[i].length); vorbis_comment_add(v_comments, comment); free(comment); } } vorbis-tools-1.4.0/oggenc/flac.h0000644000175000017500000000244210623354173013425 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.0/oggenc/easyflac.c0000644000175000017500000003111511326242566014304 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.0/oggenc/easyflac.h0000644000175000017500000001474110623354173014314 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.0/oggenc/lyrics.c0000644000175000017500000002751111326242566014027 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.0/oggenc/lyrics.h0000644000175000017500000000106311326242566014026 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.0/oggenc/oggenc.c0000644000175000017500000012017411353056433013757 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 #include #if defined WIN32 || defined _WIN32 #include #endif #include "platform.h" #include "encode.h" #include "audio.h" #include "utf8.h" #include "i18n.h" #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}; 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) { input_format raw_format = {NULL, 0, raw_open, wav_close, "raw", N_("RAW file reader")}; 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; } /* 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 if (opt.isutf8) { enc_opts.filename = NULL; enc_opts.infilename = NULL; utf8_decode(out_fn, &enc_opts.filename); utf8_decode(infiles[i], &enc_opts.infilename); } else { enc_opts.filename = strdup(out_fn); 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) 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"), PACKAGE, VERSION); fprintf(stdout, _(" by the Xiph.Org Foundation (http://www.xiph.org/)\n\n")); 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; opt->quality *= 0.1; if(opt->quality > 1.0f) { opt->quality = 1.0f; fprintf(stderr, _("WARNING: quality setting too high, setting to maximum quality.\n")); } 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.0/oggenc/audio.c0000644000175000017500000006156011352346342013621 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 "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; unsigned char *buffer; unsigned char buf2[8]; aiff_fmt format; aifffile *aiff = malloc(sizeof(aifffile)); int i; 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 */ } buffer = alloca(len); if(fread(buffer,1,len,in) < len) { fprintf(stderr, _("Warning: Unexpected EOF in reading AIFF header\n")); return 0; } format.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); 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. */ 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 incompatable 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,4,5,6,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; /* 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 = 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(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(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 && 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 && 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 = 0; 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 = 0; /* 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) 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.0/oggenc/encode.c0000644000175000017500000006553311352033425013754 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.0/oggenc/platform.c0000644000175000017500000001704711326242566014351 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("arglist" == "valid"); 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.0/oggenc/skeleton.c0000644000175000017500000001406411326242566014345 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.0/oggenc/audio.h0000644000175000017500000000343311326250746013624 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.0/oggenc/encode.h0000644000175000017500000000660311326242566013763 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.0/oggenc/platform.h0000755000175000017500000000134111353056433014343 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.0/oggenc/resample.h0000644000175000017500000000565310623354173014337 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.0/oggenc/skeleton.h0000644000175000017500000000520311326242566014345 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; // a 8-bit field /* 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.0/oggenc/man/0000777000175000017500000000000011353056544013206 500000000000000vorbis-tools-1.4.0/oggenc/man/oggenc.10000755000175000017500000003312211351745554014456 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 extention 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.0/oggenc/man/Makefile.am0000644000175000017500000000016610623354173015157 00000000000000## Process this file with automake to produce Makefile.in mans = oggenc.1 mandir = @MANDIR@ dist_man_MANS = $(mans) vorbis-tools-1.4.0/oggenc/man/Makefile.in0000644000175000017500000003132511353056446015174 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = oggenc/man DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" NROFF = nroff MANS = $(dist_man_MANS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @MANDIR@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ 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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu oggenc/man/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu oggenc/man/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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 distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-man install-exec-am: install-info: install-info-am install-man: install-man1 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-info-am uninstall-man uninstall-man: uninstall-man1 .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-man1 \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ uninstall uninstall-am uninstall-info-am uninstall-man \ uninstall-man1 # 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.0/oggdec/0000777000175000017500000000000011353056544012421 500000000000000vorbis-tools-1.4.0/oggdec/Makefile.am0000644000175000017500000000114011326237511014360 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 INCLUDES = @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.0/oggdec/Makefile.in0000644000175000017500000004445411353056446014416 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ bin_PROGRAMS = oggdec$(EXEEXT) subdir = oggdec DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am__objects_1 = oggdec.$(OBJEXT) am_oggdec_OBJECTS = $(am__objects_1) oggdec_OBJECTS = $(am_oggdec_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(oggdec_SOURCES) $(EXTRA_oggdec_SOURCES) DIST_SOURCES = $(oggdec_SOURCES) $(EXTRA_oggdec_SOURCES) man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @MANDIR@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ mans = oggdec.1 oggdecsources = oggdec.c INCLUDES = @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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu oggdec/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu oggdec/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ || test -f $$p1 \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done oggdec$(EXEEXT): $(oggdec_OBJECTS) $(oggdec_DEPENDENCIES) @rm -f oggdec$(EXEEXT) $(LINK) $(oggdec_LDFLAGS) $(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@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here 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)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-man install-exec-am: install-binPROGRAMS install-info: install-info-am install-man: install-man1 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-info-am uninstall-man uninstall-man: uninstall-man1 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic clean-libtool ctags 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-exec \ install-exec-am install-info install-info-am install-man \ install-man1 install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-info-am \ uninstall-man uninstall-man1 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.0/oggdec/oggdec.c0000644000175000017500000003057611326237511013737 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 #if defined(_WIN32) || defined(__EMX__) || defined(__WATCOMC__) #include #include #endif #include #include "i18n.h" struct option long_options[] = { {"quiet", 0,0,'Q'}, {"help",0,0,'h'}, {"version", 0, 0, 'V'}, {"bits", 1, 0, 'b'}, {"endianness", 1, 0, 'e'}, {"raw", 0, 0, 'R'}, {"sign", 1, 0, 's'}, {"output", 1, 0, 'o'}, {NULL,0,0,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(stdout, _("oggdec from %s %s\n"), PACKAGE, VERSION); } static void usage(void) { version (); fprintf(stdout, _(" by the Xiph.Org Foundation (http://www.xiph.org/)\n\n")); 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 < 0 ) { if( !quiet ) { fprintf(stderr, _("WARNING: hole in data (%d)\n"), ret); } continue; } 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; 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, "-")) { outfilename = NULL; outfile = open_output(NULL); } else 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); 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 { 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) 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) free(out); fclose(outfile); } } if(outfilename) free(outfilename); return 0; } vorbis-tools-1.4.0/oggdec/oggdec.10000644000175000017500000000532311326237511013645 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 unsigned 16-bit (default options): .RS oggdec enabler.ogg .RE Decode a file .B enabler.ogg to .B enabler.raw as headerless little-endian unsigned 16-bit: .RS oggdec --raw=1 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) vorbis-tools-1.4.0/ogginfo/0000777000175000017500000000000011353056544012621 500000000000000vorbis-tools-1.4.0/ogginfo/theora.h0000644000175000017500000001742211327737033014176 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: theora.h 16826 2010-01-27 04:16:24Z xiphmont $ ********************************************************************/ #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.0/ogginfo/Makefile.am0000644000175000017500000000122611326237511014565 00000000000000## Process this file with automake to produce Makefile.in mans = ogginfo.1 ogginfosources = ogginfo2.c theora.c noinst_HEADERS = \ theora.h datadir = @datadir@ localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ bin_PROGRAMS = ogginfo mandir = @MANDIR@ man_MANS = $(mans) INCLUDES = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@ @I18N_CFLAGS@ ogginfo_LDADD = @SHARE_LIBS@ @VORBIS_LIBS@ @KATE_LIBS@ @OGG_LIBS@ @LIBICONV@ @I18N_LIBS@ ogginfo_DEPENDENCIES = @SHARE_LIBS@ ogginfo_SOURCES = $(ogginfosources) EXTRA_ogginfo_SOURCES = $(man_MANS) debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" vorbis-tools-1.4.0/ogginfo/Makefile.in0000644000175000017500000004501711353056446014612 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ bin_PROGRAMS = ogginfo$(EXEEXT) subdir = ogginfo DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am__objects_1 = ogginfo2.$(OBJEXT) theora.$(OBJEXT) am_ogginfo_OBJECTS = $(am__objects_1) ogginfo_OBJECTS = $(am_ogginfo_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(ogginfo_SOURCES) $(EXTRA_ogginfo_SOURCES) DIST_SOURCES = $(ogginfo_SOURCES) $(EXTRA_ogginfo_SOURCES) man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) HEADERS = $(noinst_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @MANDIR@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ mans = ogginfo.1 ogginfosources = ogginfo2.c theora.c noinst_HEADERS = \ theora.h man_MANS = $(mans) INCLUDES = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@ @I18N_CFLAGS@ ogginfo_LDADD = @SHARE_LIBS@ @VORBIS_LIBS@ @KATE_LIBS@ @OGG_LIBS@ @LIBICONV@ @I18N_LIBS@ ogginfo_DEPENDENCIES = @SHARE_LIBS@ 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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ogginfo/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu ogginfo/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ || test -f $$p1 \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done ogginfo$(EXEEXT): $(ogginfo_OBJECTS) $(ogginfo_DEPENDENCIES) @rm -f ogginfo$(EXEEXT) $(LINK) $(ogginfo_LDFLAGS) $(ogginfo_OBJECTS) $(ogginfo_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @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@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here 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)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-man install-exec-am: install-binPROGRAMS install-info: install-info-am install-man: install-man1 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-info-am uninstall-man uninstall-man: uninstall-man1 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic clean-libtool ctags 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-exec \ install-exec-am install-info install-info-am install-man \ install-man1 install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-info-am \ uninstall-man uninstall-man1 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.0/ogginfo/ogginfo2.c0000644000175000017500000012155111353056433014415 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * Copyright 2002-2005 Michael Smith * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #ifdef HAVE_KATE #include #endif #include #include "utf8.h" #include "i18n.h" #include "theora.h" #define CHUNK 4500 #ifdef _WIN32 #define I64FORMAT "I64d" #else #define I64FORMAT "lld" #endif struct vorbis_release { char *vendor_string; 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}, }; /* TODO: * * - detect violations of muxing constraints * - detect granulepos 'gaps' (possibly vorbis-specific). (seperate from * serial-number gaps) */ 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; char *type; ogg_uint32_t serial; /* must be 32 bit unsigned */ ogg_stream_state os; void *data; } stream_processor; typedef struct { stream_processor *streams; int allocated; int used; int in_headers; } stream_set; 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; 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; 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 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; } static void info(char *format, ...) { va_list ap; if(!printinfo) return; va_start(ap, format); vfprintf(stdout, format, ap); va_end(ap); } static void warn(char *format, ...) { va_list ap; flawed = 1; if(!printwarn) return; va_start(ap, format); vfprintf(stdout, format, ap); va_end(ap); } static void error(char *format, ...) { va_list ap; flawed = 1; va_start(ap, format); vfprintf(stdout, format, ap); va_end(ap); } static 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); free(decoded); } } } 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 %" I64FORMAT ", got %" I64FORMAT "\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 %" I64FORMAT " to %" I64FORMAT "\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; /* 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); time = (double)(iframe+pframe) / ((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: %" I64FORMAT " 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); } 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 %" I64FORMAT " to %" I64FORMAT "\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 (%" I64FORMAT ") 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: %" I64FORMAT " 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); } 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 %" I64FORMAT " to %" I64FORMAT "\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 (%" I64FORMAT ") 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: %" I64FORMAT " 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 static void process_null(stream_processor *stream, ogg_page *page) { /* This is for invalid streams. */ } 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 */ } } 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 void null_start(stream_processor *stream) { stream->process_end = NULL; stream->type = "invalid"; stream->process_page = process_null; } static void other_start(stream_processor *stream, char *type) { if(type) stream->type = type; else stream->type = "unknown"; stream->process_page = process_other; stream->process_end = NULL; } static 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; } static 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); } static 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 } 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")); null_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) other_start(stream, "FLAC"); 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) other_start(stream, "speex"); else if(packet.bytes >= 8 && memcmp(packet.packet, "fishead\0", 8)==0) other_start(stream, "skeleton"); 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, "\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 %" I64FORMAT " 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(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 (http://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 = 0; 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.0/ogginfo/theora.c0000644000175000017500000001310611353056433014161 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: theora.c 17072 2010-03-26 05:07:26Z giles $ ********************************************************************/ #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.0/ogginfo/ogginfo.10000644000175000017500000000277211326237511014252 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.0/vcut/0000777000175000017500000000000011353056544012152 500000000000000vorbis-tools-1.4.0/vcut/Makefile.am0000644000175000017500000000100610623354174014116 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) INCLUDES = @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.0/vcut/Makefile.in0000644000175000017500000004430411353056447014142 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ bin_PROGRAMS = vcut$(EXEEXT) subdir = vcut DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am__objects_1 = vcut.$(OBJEXT) am_vcut_OBJECTS = $(am__objects_1) vcut_OBJECTS = $(am_vcut_OBJECTS) vcut_DEPENDENCIES = DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(vcut_SOURCES) $(EXTRA_vcut_SOURCES) DIST_SOURCES = $(vcut_SOURCES) $(EXTRA_vcut_SOURCES) man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @MANDIR@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ mans = vcut.1 vcutsources = vcut.c vcut.h man_MANS = $(mans) INCLUDES = @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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu vcut/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu vcut/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ || test -f $$p1 \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done vcut$(EXEEXT): $(vcut_OBJECTS) $(vcut_DEPENDENCIES) @rm -f vcut$(EXEEXT) $(LINK) $(vcut_LDFLAGS) $(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@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here 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)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-man install-exec-am: install-binPROGRAMS install-info: install-info-am install-man: install-man1 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-info-am uninstall-man uninstall-man: uninstall-man1 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic clean-libtool ctags 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-exec \ install-exec-am install-info install-info-am install-man \ install-man1 install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-info-am \ uninstall-man uninstall-man1 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.0/vcut/vcut.c0000644000175000017500000003707311353056433013222 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: vcut.c 17073 2010-03-26 05:12:12Z giles $ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include "vcut.h" #include #include "i18n.h" #ifdef HAVE_INTTYPES_H #include #define FORMAT_INT64 "%" PRId64 #define FORMAT_INT64_TIME "+%" PRId64 #else #ifdef _WIN32 #define FORMAT_INT64 "%I64d" #define FORMAT_INT64_TIME "+%I64d" #else #if LONG_MAX!=2147483647L #define FORMAT_INT64 "%ld" #define FORMAT_INT64_TIME "+%ld" #else #define FORMAT_INT64 "%lld" #define FORMAT_INT64_TIME "+%lld" #endif #endif #endif 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 < 4) /* 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) { 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 */ int 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], FORMAT_INT64, &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 " FORMAT_INT64 " (expected " FORMAT_INT64 ")\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 " FORMAT_INT64 " and " FORMAT_INT64 "\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 " FORMAT_INT64 " and " FORMAT_INT64 ".\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.0/vcut/vcut.h0000644000175000017500000000501511326237510013213 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.0/vcut/vcut.10000644000175000017500000000112311326237510013120 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.0/vorbiscomment/0000777000175000017500000000000011353056544014060 500000000000000vorbis-tools-1.4.0/vorbiscomment/Makefile.am0000644000175000017500000000124311326237511016023 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) INCLUDES = @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.0/vorbiscomment/Makefile.in0000644000175000017500000004510411353056447016047 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ bin_PROGRAMS = vorbiscomment$(EXEEXT) subdir = vorbiscomment DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am__objects_1 = vcedit.$(OBJEXT) vcomment.$(OBJEXT) am_vorbiscomment_OBJECTS = $(am__objects_1) vorbiscomment_OBJECTS = $(am_vorbiscomment_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(vorbiscomment_SOURCES) $(EXTRA_vorbiscomment_SOURCES) DIST_SOURCES = $(vorbiscomment_SOURCES) $(EXTRA_vorbiscomment_SOURCES) man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @MANDIR@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ mans = vorbiscomment.1 vorbiscommentsources = vcedit.c vcedit.h vcomment.c vceditaux.h man_MANS = $(mans) INCLUDES = @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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu vorbiscomment/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu vorbiscomment/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ || test -f $$p1 \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done vorbiscomment$(EXEEXT): $(vorbiscomment_OBJECTS) $(vorbiscomment_DEPENDENCIES) @rm -f vorbiscomment$(EXEEXT) $(LINK) $(vorbiscomment_LDFLAGS) $(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@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here 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)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-man install-exec-am: install-binPROGRAMS install-info: install-info-am install-man: install-man1 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-info-am uninstall-man uninstall-man: uninstall-man1 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic clean-libtool ctags 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-exec \ install-exec-am install-info install-info-am install-man \ install-man1 install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-info-am \ uninstall-man uninstall-man1 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.0/vorbiscomment/vcedit.c0000644000175000017500000005043111327737033015421 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 * * * Comment editing backend, suitable for use by nice frontend interfaces. * * last modified: $Id: vcedit.c 16826 2010-01-27 04:16:24Z xiphmont $ */ /* 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; } /* (I'm paranoid about memset(x,0,len) not giving null pointers */ vcedit_state *vcedit_new_state(void) { vcedit_state *state = malloc(sizeof(vcedit_state)); if(state) { memset(state, 0, sizeof(vcedit_state)); state->sidebuf = 0; state->serials.streams = 0; state->serials.streams_len = 0; } return state; } 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,char *s, int 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;icomments;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) { 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_sync_pageout(state->oy, &og) == 1) break; } 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.0/vorbiscomment/vcedit.h0000644000175000017500000000307611326237511015424 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 * * 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 char * vcedit_error(vcedit_state *state); #ifdef __cplusplus } #endif #endif /* __VCEDIT_H */ vorbis-tools-1.4.0/vorbiscomment/vcomment.c0000644000175000017500000005132211326237511015766 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 * * 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 */ struct option long_options[] = { {"list",0,0,'l'}, {"append",0,0,'a'}, {"tag",required_argument,0,'t'}, {"write",0,0,'w'}, {"help",0,0,'h'}, {"quiet",0,0,'q'}, /* unused */ {"version", 0, 0, 'V'}, {"commentfile",1,0,'c'}, {"raw", 0,0,'R'}, {"escapes",0,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; } param_t; #define MODE_NONE 0 #define MODE_LIST 1 #define MODE_WRITE 2 #define MODE_APPEND 3 /* prototypes */ void usage(void); void print_comments(FILE *out, vorbis_comment *vc, int raw, int escapes); int add_comment(char *line, vorbis_comment *vc, int raw, int escapes); 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); 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; } /********** 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 (add_comment(param->comments[i], vc, param->raw, param->escapes) < 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 (add_comment(comment, vc, param->raw, param->escapes) < 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 it to the 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 add_comment(char *line, vorbis_comment *vc, int raw, int escapes) { char *mark, *value, *utf8_value, *unescaped_value; int unescaped_len; /* 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 it has an '=' after one or more valid characters, * as the comment spec requires. For the moment, we * also restrict ourselves to 0-terminated values */ mark = strchr(line, '='); if (mark == NULL) return -1; value = line; while (value < mark) { if(*value < 0x20 || *value > 0x7d || *value == 0x3d) return -1; value++; } /* 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 the comment and return */ vorbis_comment_add_tag(vc, line, unescaped_value); if (escapes) free(unescaped_value); if (!raw) 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 Append comments\n")); printf (_(" -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\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; 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: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->comments[param->commentcount++] = strdup(optarg); 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.0/vorbiscomment/vceditaux.h0000644000175000017500000000033511326237511016135 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.0/vorbiscomment/vorbiscomment.10000644000175000017500000000634311326237511016746 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 ] .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" Append 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 "-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 http://xiph.org/ogg/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.0/m4/0000777000175000017500000000000011353056544011511 500000000000000vorbis-tools-1.4.0/m4/Makefile.am0000644000175000017500000000073211326237510013455 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.0/m4/Makefile.in0000644000175000017500000002655511353056446013510 00000000000000# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = m4 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ 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@ 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_KATE_FALSE = @HAVE_KATE_FALSE@ HAVE_KATE_TRUE = @HAVE_KATE_TRUE@ HAVE_LIBFLAC_FALSE = @HAVE_LIBFLAC_FALSE@ HAVE_LIBFLAC_TRUE = @HAVE_LIBFLAC_TRUE@ HAVE_LIBSPEEX_FALSE = @HAVE_LIBSPEEX_FALSE@ HAVE_LIBSPEEX_TRUE = @HAVE_LIBSPEEX_TRUE@ HAVE_OV_READ_FILTER_FALSE = @HAVE_OV_READ_FILTER_FALSE@ HAVE_OV_READ_FILTER_TRUE = @HAVE_OV_READ_FILTER_TRUE@ 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_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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ 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@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ 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@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 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@ 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@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ 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 \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu m4/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @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 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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 distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: 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-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: vorbis-tools-1.4.0/m4/ChangeLog0000644000175000017500000000346311326237510013177 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.0/m4/intlmacosx.m40000644000175000017500000000456511326237510014054 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.0/m4/intl.m40000644000175000017500000002525011326237510012633 00000000000000# intl.m4 serial 8 (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. 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.0/m4/intldir.m40000644000175000017500000000161611326237510013332 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.0/m4/inttypes-h.m40000644000175000017500000000150010623354174013766 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.0/m4/lock.m40000644000175000017500000003022311326237510012611 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.0/m4/visibility.m40000644000175000017500000000413010623354174014053 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.0/m4/codeset.m40000644000175000017500000000136611326237510013315 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.0/m4/gettext.m40000644000175000017500000003457011326237510013356 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.0/m4/glibc21.m40000644000175000017500000000144510623354174013115 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.0/m4/glibc2.m40000644000175000017500000000135410623354174013033 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.0/m4/iconv.m40000644000175000017500000001375311326237510013010 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.0/m4/intdiv0.m40000644000175000017500000000443111326237510013240 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.0/m4/intmax.m40000644000175000017500000000201111326237510013153 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.0/m4/inttypes_h.m40000644000175000017500000000164411326237510014054 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.0/m4/inttypes.m40000644000175000017500000000147210623354173013550 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.0/m4/inttypes-pri.m40000644000175000017500000000215211326237510014330 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.0/m4/isc-posix.m40000644000175000017500000000170610623354174013610 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.0/m4/lcmessage.m40000644000175000017500000000240410623354174013631 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.0/m4/lib-ld.m40000644000175000017500000000653110623354174013036 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.0/m4/lib-link.m40000644000175000017500000007205511326237510013373 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.0/m4/lib-prefix.m40000644000175000017500000001503610623354174013734 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.0/m4/longdouble.m40000644000175000017500000000227710623354174014030 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.0/m4/longlong.m40000644000175000017500000001005411326237510013500 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.0/m4/nls.m40000644000175000017500000000226610623354174012470 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.0/m4/po.m40000644000175000017500000004460611326237510012311 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" < #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.0/m4/progtest.m40000644000175000017500000000555010623354174013542 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.0/m4/signed.m40000644000175000017500000000115410623354173013137 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.0/m4/size_max.m40000644000175000017500000000513311326237510013502 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.0/m4/stdint_h.m40000644000175000017500000000161411326237510013477 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.0/m4/uintmax_t.m40000644000175000017500000000211211326237510013665 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.0/m4/ulonglong.m40000644000175000017500000000353211326237510013670 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.0/m4/wchar_t.m40000644000175000017500000000132610623354174013317 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.0/m4/wint_t.m40000644000175000017500000000170711326237510013172 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.0/m4/xsize.m40000644000175000017500000000064510623354174013035 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) ])