diff -Nru parole-0.2.0.2/aclocal.m4 parole-0.2.0.6/aclocal.m4 --- parole-0.2.0.2/aclocal.m4 2010-01-25 11:47:21.000000000 +0000 +++ parole-0.2.0.6/aclocal.m4 2011-04-17 11:54:25.000000000 +0000 @@ -13,8 +13,8 @@ m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, -[m4_warning([this file was generated for autoconf 2.65. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, +[m4_warning([this file was generated for autoconf 2.68. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) @@ -301,7 +301,7 @@ dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs - dnl in configure.in. + dnl in configure.ac. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" @@ -430,7 +430,7 @@ dnl dnl Now the definitions that aclocal will find dnl -ifdef(glib_configure_in,[],[ +ifdef(glib_configure_ac,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl @@ -665,7 +665,7 @@ AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. dnl -dnl The following CONFIG_COMMANDS should be exetuted at the very end +dnl The following CONFIG_COMMANDS should be executed at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ @@ -711,7 +711,8 @@ # 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. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives @@ -720,7 +721,8 @@ m4_define([_LT_COPYING], [dnl # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. @@ -747,7 +749,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ]) -# serial 56 LT_INIT +# serial 57 LT_INIT # LT_PREREQ(VERSION) @@ -776,6 +778,7 @@ # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl @@ -792,6 +795,8 @@ AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) + dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) @@ -828,7 +833,7 @@ *) break;; esac done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` ]) @@ -848,6 +853,9 @@ m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl + _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl @@ -870,10 +878,13 @@ dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_WITH_SYSROOT])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options which allow our @@ -889,7 +900,6 @@ _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl -_LT_PROG_ECHO_BACKSLASH case $host_os in aix3*) @@ -903,23 +913,6 @@ ;; 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 @@ -960,6 +953,28 @@ ])# _LT_SETUP +# _LT_PREPARE_SED_QUOTE_VARS +# -------------------------- +# Define a few sed substitution that help us do robust quoting. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS], +[# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([["`\\]]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' +]) + # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from `configure', and `config.status' @@ -1112,7 +1127,7 @@ # 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"`']) +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS @@ -1122,7 +1137,7 @@ # 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"`' +# ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) @@ -1221,12 +1236,20 @@ LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$[]1 +_LTECHO_EOF' +} + # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -1237,9 +1260,9 @@ # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -1247,16 +1270,38 @@ 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_GENERATED_FILE_INIT(FILE, [COMMENT]) +# ------------------------------------ +# Generate a child script FILE with all initialization necessary to +# reuse the environment learned by the parent script, and make the +# file executable. If COMMENT is supplied, it is inserted after the +# `#!' sequence but before initialization text begins. After this +# macro, additional text can be appended to FILE to form the body of +# the child script. The macro ends with non-zero status if the +# file could not be fully written (such as if the disk is full). +m4_ifdef([AS_INIT_GENERATED], +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], +[m4_defun([_LT_GENERATED_FILE_INIT], +[m4_require([AS_PREPARE])]dnl +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl +[lt_write_fail=0 +cat >$1 <<_ASEOF || lt_write_fail=1 +#! $SHELL +# Generated by $as_me. +$2 +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$1 <<\_ASEOF || lt_write_fail=1 +AS_SHELL_SANITIZE +_AS_PREPARE +exec AS_MESSAGE_FD>&1 +_ASEOF +test $lt_write_fail = 0 && chmod +x $1[]dnl +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- @@ -1266,20 +1311,11 @@ 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 +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], +[# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF -AS_SHELL_SANITIZE -_AS_PREPARE - -exec AS_MESSAGE_FD>&1 +lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo @@ -1305,7 +1341,7 @@ m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. -Copyright (C) 2008 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." @@ -1350,15 +1386,13 @@ # 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_cl_success=: +test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" +exec AS_MESSAGE_LOG_FD>/dev/null +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false +exec AS_MESSAGE_LOG_FD>>config.log +$lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT @@ -1421,15 +1455,12 @@ # 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 '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) + _LT_PROG_REPLACE_SHELLFNS - mv -f "$cfgfile" "$ofile" || + mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], @@ -1535,11 +1566,13 @@ AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) +dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER @@ -1644,6 +1677,31 @@ [lt_cv_ld_exported_symbols_list=no]) LDFLAGS="$save_LDFLAGS" ]) + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], + [lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; @@ -1671,7 +1729,7 @@ else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi - if test "$DSYMUTIL" != ":"; then + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= @@ -1691,7 +1749,11 @@ _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)='' + if test "$lt_cv_ld_force_load" = "yes"; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='' + fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" case $cc_basename in @@ -1699,7 +1761,7 @@ *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo + output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" @@ -1715,203 +1777,142 @@ fi ]) -# _LT_SYS_MODULE_PATH_AIX -# ----------------------- +# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) +# ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. +# Store the results from the different compilers for each TAGNAME. +# Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl -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 +if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ + lt_aix_libpath_sed='[ + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }]' + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi],[]) + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" + fi + ]) + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) +fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_SHELL_INIT +[m4_divert_text([M4SH-INIT], [$1 +])])# _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. +# Find how we can fake an echo command that does not interpret backslash. +# In particular, with Autoconf 2.60 or later we add some code to the start +# of the generated configure script which will find a shell with a builtin +# printf (which we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], -[_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! - : +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +AC_MSG_CHECKING([how to print strings]) +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' else - # 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 + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$[]1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' 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 +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} - 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 +case "$ECHO" in + printf*) AC_MSG_RESULT([printf]) ;; + print*) AC_MSG_RESULT([print -r]) ;; + *) AC_MSG_RESULT([cat]) ;; +esac -# 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 +m4_ifdef([_AS_DETECT_SUGGESTED], +[_AS_DETECT_SUGGESTED([ + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test "X`printf %s $ECHO`" = "X$ECHO" \ + || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) -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_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH +# _LT_WITH_SYSROOT +# ---------------- +AC_DEFUN([_LT_WITH_SYSROOT], +[AC_MSG_CHECKING([for sysroot]) +AC_ARG_WITH([sysroot], +[ --with-sysroot[=DIR] Search for dependent libraries within DIR + (or the compiler's sysroot if not specified).], +[], [with_sysroot=no]) + +dnl lt_sysroot will always be passed unquoted. We quote it here +dnl in case the user passed a directory name. +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + AC_MSG_RESULT([${with_sysroot}]) + AC_MSG_ERROR([The sysroot must be an absolute path.]) + ;; +esac + + AC_MSG_RESULT([${lt_sysroot:-no}]) +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl +[dependent libraries, and in which our libraries should be installed.])]) + # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], @@ -1940,7 +1941,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in @@ -2058,14 +2059,47 @@ ])# _LT_ENABLE_LOCK +# _LT_PROG_AR +# ----------- +m4_defun([_LT_PROG_AR], +[AC_CHECK_TOOLS(AR, [ar], false) +: ${AR=ar} +: ${AR_FLAGS=cru} +_LT_DECL([], [AR], [1], [The archiver]) +_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) + +AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], + [lt_cv_ar_at_file=no + AC_COMPILE_IFELSE([AC_LANG_PROGRAM], + [echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + ]) + ]) + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi +_LT_DECL([], [archiver_list_spec], [1], + [How to feed a file listing to the archiver]) +])# _LT_PROG_AR + + # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], -[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]) +[_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: @@ -2092,10 +2126,19 @@ esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) +_LT_DECL([], [lock_old_archive_extraction], [0], + [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE @@ -2120,15 +2163,15 @@ -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 echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes @@ -2168,7 +2211,7 @@ 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 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes @@ -2231,6 +2274,11 @@ lt_cv_sys_max_cmd_len=8192; ;; + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. @@ -2295,8 +2343,8 @@ # 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 && + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` @@ -2347,7 +2395,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -[#line __oline__ "configure" +[#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -2388,7 +2436,13 @@ # endif #endif -void fnord() { int i=42;} +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); @@ -2397,7 +2451,11 @@ if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } /* dlclose (self); */ } else @@ -2573,16 +2631,16 @@ -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 echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes @@ -2741,6 +2799,7 @@ m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ @@ -2749,16 +2808,23 @@ 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 + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= @@ -2771,7 +2837,7 @@ 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 ' + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; @@ -2791,7 +2857,13 @@ 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` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) @@ -2879,7 +2951,7 @@ 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' + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; @@ -2910,8 +2982,9 @@ need_version=no need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) + case $GCC,$cc_basename in + yes,*) + # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ @@ -2932,36 +3005,83 @@ 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" +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - 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 + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' ;; *) + # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' ;; esac - dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; @@ -3048,6 +3168,19 @@ hardcode_into_libs=yes ;; +haiku*) + version_type=linux + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. @@ -3090,8 +3223,10 @@ soname_spec='${libname}${release}${shared_ext}$major' ;; esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 ;; interix[[3-9]]*) @@ -3149,7 +3284,7 @@ ;; # This must be Linux ELF. -linux* | k*bsd*-gnu) +linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux need_lib_prefix=no need_version=no @@ -3158,16 +3293,21 @@ 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 + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], + [lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], + [lt_cv_shlibpath_overrides_runpath=yes])]) + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + ]) + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install @@ -3176,7 +3316,7 @@ # 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' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -3409,6 +3549,8 @@ The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) +_LT_DECL([], [install_override_mode], [1], + [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], @@ -3521,6 +3663,7 @@ AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], @@ -3642,6 +3785,11 @@ esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' @@ -3650,8 +3798,8 @@ fi ;; esac -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl -_LT_DECL([], [reload_cmds], [2])dnl +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl +_LT_TAGDECL([], [reload_cmds], [2])dnl ])# _LT_CMD_RELOAD @@ -3703,16 +3851,18 @@ # 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 + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -cegcc) +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' @@ -3742,6 +3892,10 @@ lt_cv_deplibs_check_method=pass_all ;; +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in @@ -3750,11 +3904,11 @@ 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_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_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 @@ -3776,7 +3930,7 @@ ;; # This must be Linux ELF. -linux* | k*bsd*-gnu) +linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; @@ -3854,6 +4008,21 @@ ;; esac ]) + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` + fi + ;; + esac +fi + file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown @@ -3861,7 +4030,11 @@ _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"]) + [Command to use when deplibs_check_method = "file_magic"]) +_LT_DECL([], [file_magic_glob], [1], + [How to find potential files when deplibs_check_method = "file_magic"]) +_LT_DECL([], [want_nocaseglob], [1], + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD @@ -3918,7 +4091,19 @@ 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"], :) + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi AC_SUBST([DUMPBIN]) if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" @@ -3931,13 +4116,13 @@ 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 echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -3952,6 +4137,67 @@ dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB +# -------------------------------- +# how to determine the name of the shared library +# associated with a specific link library. +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +m4_require([_LT_DECL_DLLTOOL]) +AC_CACHE_CHECK([how to associate runtime and link libraries], +lt_cv_sharedlib_from_linklib_cmd, +[lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac +]) +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + +_LT_DECL([], [sharedlib_from_linklib_cmd], [1], + [Command to associate shared and link libraries]) +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB + + +# _LT_PATH_MANIFEST_TOOL +# ---------------------- +# locate the manifest tool +m4_defun([_LT_PATH_MANIFEST_TOOL], +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], + [lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&AS_MESSAGE_LOG_FD + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest*]) +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl +])# _LT_PATH_MANIFEST_TOOL + # LT_LIB_M # -------- @@ -3960,7 +4206,7 @@ [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) @@ -3988,7 +4234,12 @@ _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' + case $cc_basename in + nvcc*) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; + *) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; + esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, @@ -4005,6 +4256,7 @@ m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl @@ -4072,8 +4324,8 @@ 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'" +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= @@ -4109,6 +4361,7 @@ else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no @@ -4130,7 +4383,7 @@ 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 + 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" @@ -4142,6 +4395,18 @@ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT@&t@_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT@&t@_DLSYM_CONST +#else +# define LT@&t@_DLSYM_CONST const +#endif + #ifdef __cplusplus extern "C" { #endif @@ -4153,7 +4418,7 @@ cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ -const struct { +LT@&t@_DLSYM_CONST struct { const char *name; void *address; } @@ -4179,15 +4444,15 @@ _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi @@ -4220,6 +4485,13 @@ AC_MSG_RESULT(ok) fi +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], @@ -4230,6 +4502,8 @@ _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) +_LT_DECL([], [nm_file_list_spec], [1], + [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS @@ -4241,7 +4515,6 @@ _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 @@ -4292,6 +4565,11 @@ # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. @@ -4341,6 +4619,12 @@ ;; esac ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; dgux*) case $cc_basename in ec++*) @@ -4397,7 +4681,7 @@ ;; esac ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler @@ -4430,8 +4714,8 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' @@ -4493,7 +4777,7 @@ ;; solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' @@ -4597,6 +4881,12 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag @@ -4639,6 +4929,13 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC' + ;; + esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in @@ -4681,7 +4978,7 @@ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) @@ -4702,7 +4999,13 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; - pgcc* | pgf77* | pgf90* | pgf95*) + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' @@ -4714,25 +5017,25 @@ # 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 + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 + *Sun\ F* | *Sun*Fortran*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker + *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)='' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; @@ -4764,7 +5067,7 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in - f77* | f90* | f95*) + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; @@ -4821,9 +5124,11 @@ _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]) + +AC_CACHE_CHECK([for $compiler option to produce PIC], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. @@ -4842,6 +5147,8 @@ _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], + [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # @@ -4862,6 +5169,7 @@ m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl @@ -4870,27 +5178,35 @@ AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; + ;; cygwin* | mingw* | cegcc*) - _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' - ;; + case $cc_basename in + cl*) ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + ;; + esac + ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; + ;; esac - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= @@ -4953,7 +5269,33 @@ esac _LT_TAGVAR(ld_shlibs, $1)=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' @@ -4971,6 +5313,7 @@ fi supports_anon_versioning=no case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... @@ -4986,11 +5329,12 @@ _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 +*** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. _LT_EOF fi @@ -5026,10 +5370,12 @@ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' @@ -5047,6 +5393,11 @@ fi ;; + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no @@ -5062,7 +5413,7 @@ _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) + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in @@ -5072,15 +5423,16 @@ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then - tmp_addflag= + tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; - pgf77* | pgf90* | pgf95*) # 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' + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; @@ -5091,13 +5443,17 @@ 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) + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 @@ -5113,17 +5469,17 @@ fi case $cc_basename in - xlf*) + xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac @@ -5137,8 +5493,8 @@ _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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; @@ -5156,8 +5512,8 @@ _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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi @@ -5203,8 +5559,8 @@ *) 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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi @@ -5244,8 +5600,10 @@ else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi @@ -5332,9 +5690,9 @@ _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_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' @@ -5343,14 +5701,19 @@ else # Determine the default libpath from the value encoded in an # empty executable. - _LT_SYS_MODULE_PATH_AIX + _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' @@ -5382,20 +5745,63 @@ # 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 + case $cc_basename in + cl*) + # Native MSVC + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + esac ;; darwin* | rhapsody*) @@ -5433,7 +5839,7 @@ # 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(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no @@ -5441,7 +5847,7 @@ 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' + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi @@ -5456,8 +5862,8 @@ ;; 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' + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi @@ -5475,16 +5881,16 @@ ;; hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then + if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else @@ -5496,7 +5902,14 @@ _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' + m4_if($1, [], [ + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + _LT_LINKER_OPTION([if $CC understands -b], + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi @@ -5524,19 +5937,34 @@ 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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. - 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" + # This should be the same for all languages, so no per-tag cache variable. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], + [lt_cv_irix_exported_symbol], + [save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + AC_LINK_IFELSE( + [AC_LANG_SOURCE( + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], + [C++], [[int foo (void) { return 0; }]], + [Fortran 77], [[ + subroutine foo + end]], + [Fortran], [[ + subroutine foo + end]])])], + [lt_cv_irix_exported_symbol=yes], + [lt_cv_irix_exported_symbol=no]) + LDFLAGS="$save_LDFLAGS"]) + if test "$lt_cv_irix_exported_symbol" = yes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' @@ -5598,17 +6026,17 @@ _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(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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' @@ -5618,13 +6046,13 @@ 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(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' @@ -5637,9 +6065,9 @@ _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_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) @@ -5815,36 +6243,38 @@ # 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)]) + AC_CACHE_CHECK([whether -lc should be explicitly linked in], + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), + [$RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) + _LT_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) + then + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no + else + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + ]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi @@ -5909,8 +6339,6 @@ 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], @@ -5921,6 +6349,8 @@ [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) +_LT_TAGDECL([], [postlink_cmds], [2], + [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented @@ -6010,37 +6440,22 @@ ])# _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_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +else + _lt_caught_CXX_error=yes +fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no @@ -6062,6 +6477,8 @@ _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no @@ -6093,6 +6510,7 @@ # Allow CC to be a program name with arguments. lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX @@ -6110,6 +6528,7 @@ fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) @@ -6131,8 +6550,8 @@ # 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(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' @@ -6164,7 +6583,7 @@ # 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"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no @@ -6273,10 +6692,10 @@ _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_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' @@ -6285,14 +6704,19 @@ else # Determine the default libpath from the value encoded in an # empty executable. - _LT_SYS_MODULE_PATH_AIX + _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared # libraries. @@ -6322,28 +6746,75 @@ ;; 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 - ;; + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; @@ -6385,6 +6856,11 @@ gnu*) ;; + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: @@ -6409,11 +6885,11 @@ # 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' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -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' + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no @@ -6474,7 +6950,7 @@ # 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' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then @@ -6484,10 +6960,10 @@ _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 $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi @@ -6517,7 +6993,7 @@ 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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is @@ -6528,9 +7004,9 @@ *) 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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes @@ -6541,7 +7017,7 @@ _LT_TAGVAR(inherit_rpath, $1)=yes ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler @@ -6559,7 +7035,7 @@ # 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' + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' @@ -6596,26 +7072,26 @@ pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) + *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`"' + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; - *) # Version 6 will use weak symbols + *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; @@ -6623,7 +7099,7 @@ _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' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ @@ -6642,9 +7118,9 @@ # 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' + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; - xl*) + xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' @@ -6664,13 +7140,13 @@ _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(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. - output_verbose_link_cmd='echo' + output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is @@ -6739,7 +7215,7 @@ _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 + output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi @@ -6774,15 +7250,15 @@ 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(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; @@ -6798,17 +7274,17 @@ # 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' + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $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}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -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' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; esac @@ -6818,7 +7294,7 @@ # 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"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support @@ -6854,7 +7330,7 @@ solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' @@ -6875,7 +7351,7 @@ esac _LT_TAGVAR(link_all_deplibs, $1)=yes - output_verbose_link_cmd='echo' + output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is @@ -6895,14 +7371,14 @@ 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_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. @@ -6913,7 +7389,7 @@ # 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"' + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' @@ -6967,6 +7443,10 @@ CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ + '"$_LT_TAGVAR(old_archive_cmds, $1)" + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ + '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' @@ -7022,6 +7502,7 @@ fi # test -n "$compiler" CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC @@ -7036,6 +7517,29 @@ ])# _LT_LANG_CXX_CONFIG +# _LT_FUNC_STRIPNAME_CNF +# ---------------------- +# func_stripname_cnf prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# +# This function is identical to the (non-XSI) version of func_stripname, +# except this one can be used by m4 code that may be executed by configure, +# rather than the libtool script. +m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl +AC_REQUIRE([_LT_DECL_SED]) +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) +func_stripname_cnf () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname_cnf +])# _LT_FUNC_STRIPNAME_CNF + # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose @@ -7044,6 +7548,7 @@ # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl +AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= @@ -7094,6 +7599,13 @@ }; _LT_EOF ]) + +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +esac + dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then @@ -7105,7 +7617,7 @@ pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do - case $p in + case ${prev}${p} in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. @@ -7114,13 +7626,22 @@ test $p = "-R"; then prev=$p continue - else - prev= fi + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) + case ${prev} in + -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. @@ -7140,8 +7661,10 @@ _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" fi fi + prev= ;; + *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. @@ -7177,6 +7700,7 @@ fi $RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], @@ -7213,7 +7737,7 @@ solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as @@ -7257,32 +7781,16 @@ ])# _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) +[AC_LANG_PUSH(Fortran 77) +if test -z "$F77" || test "X$F77" = "Xno"; then + _lt_disable_F77=yes +fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= @@ -7301,6 +7809,8 @@ _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no @@ -7340,7 +7850,9 @@ # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} + CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) @@ -7394,38 +7906,24 @@ GCC=$lt_save_GCC CC="$lt_save_CC" + CFLAGS="$lt_save_CFLAGS" fi # test "$_lt_disable_F77" != yes AC_LANG_POP ])# _LT_LANG_F77_CONFIG -# _LT_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) +[AC_LANG_PUSH(Fortran) + +if test -z "$FC" || test "X$FC" = "Xno"; then + _lt_disable_FC=yes +fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= @@ -7444,6 +7942,8 @@ _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no @@ -7483,7 +7983,9 @@ # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} + CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu @@ -7539,7 +8041,8 @@ fi # test -n "$compiler" GCC=$lt_save_GCC - CC="$lt_save_CC" + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS fi # test "$_lt_disable_FC" != yes AC_LANG_POP @@ -7576,10 +8079,12 @@ _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. -lt_save_CC="$CC" +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} +CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)="$LD" @@ -7589,6 +8094,8 @@ _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) @@ -7604,7 +8111,8 @@ AC_LANG_RESTORE GCC=$lt_save_GCC -CC="$lt_save_CC" +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG @@ -7639,9 +8147,11 @@ # Allow CC to be a program name with arguments. lt_save_CC="$CC" +lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} +CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) @@ -7654,7 +8164,8 @@ GCC=$lt_save_GCC AC_LANG_RESTORE -CC="$lt_save_CC" +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG @@ -7713,6 +8224,15 @@ AC_SUBST([OBJDUMP]) ]) +# _LT_DECL_DLLTOOL +# ---------------- +# Ensure DLLTOOL variable is set. +m4_defun([_LT_DECL_DLLTOOL], +[AC_CHECK_TOOL(DLLTOOL, dlltool, false) +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program]) +AC_SUBST([DLLTOOL]) +]) # _LT_DECL_SED # ------------ @@ -7804,8 +8324,8 @@ # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,, \ + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes @@ -7844,222 +8364,177 @@ ])# _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_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) +# ------------------------------------------------------ +# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and +# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. +m4_defun([_LT_PROG_FUNCTION_REPLACE], +[dnl { +sed -e '/^$1 ()$/,/^} # $1 /c\ +$1 ()\ +{\ +m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) +} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: +]) -_LT_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 -} +# _LT_PROG_REPLACE_SHELLFNS +# ------------------------- +# Replace existing portable implementations of several shell functions with +# equivalent extended shell implementations where those features are available.. +m4_defun([_LT_PROG_REPLACE_SHELLFNS], +[if test x"$xsi_shell" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac]) -# func_basename file -func_basename () -{ - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} + _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl + func_basename_result="${1##*/}"]) -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. + _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}"]) -# 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 -} + _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl + func_split_long_opt_name=${1%%=*} + func_split_long_opt_arg=${1#*=}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl + func_split_short_opt_arg=${1#??} + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) + + _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac]) -# sed scripts: -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' -my_sed_long_arg='1s/^-[[^=]]*=//' + _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) -# 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"` -} + _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) -# func_lo2o object -func_lo2o () -{ - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` -} + _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) +fi -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` -} +if test x"$lt_shell_append" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=`expr "$[@]"` -} + _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl + func_quote_for_eval "${2}" +dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ + eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len` -} + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi -_LT_EOF -esac +if test x"$_lt_function_replace_fail" = x":"; then + AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) +fi +]) -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 +# _LT_PATH_CONVERSION_FUNCTIONS +# ----------------------------- +# Determine which file name conversion functions should be used by +# func_to_host_file (and, implicitly, by func_to_host_path). These are needed +# for certain cross-compile configurations and native mingw. +m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_MSG_CHECKING([how to convert $build file names to $host format]) +AC_CACHE_VAL(lt_cv_to_host_file_cmd, +[case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac ;; - *) - 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 + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac ;; - esac + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac +]) +to_host_file_cmd=$lt_cv_to_host_file_cmd +AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], + [0], [convert $build file names to $host format])dnl + +AC_MSG_CHECKING([how to convert $build file names to toolchain format]) +AC_CACHE_VAL(lt_cv_to_tool_file_cmd, +[#assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac ]) +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], + [0], [convert $build files to toolchain format])dnl +])# _LT_PATH_CONVERSION_FUNCTIONS # Helper functions for option handling. -*- Autoconf -*- # -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2007, 2008, 2009 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 +# serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) @@ -8174,7 +8649,7 @@ [enable_win32_dll=yes case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) @@ -8182,13 +8657,13 @@ esac test -z "$AS" && AS=as -_LT_DECL([], [AS], [0], [Assembler program])dnl +_LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], @@ -8546,31 +9021,31 @@ # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# Generated from ltversion.in. +# @configure_input@ -# serial 3017 ltversion.m4 +# serial 3293 ltversion.m4 # This file is part of GNU Libtool -m4_define([LT_PACKAGE_VERSION], [2.2.6b]) -m4_define([LT_PACKAGE_REVISION], [1.3017]) +m4_define([LT_PACKAGE_VERSION], [2.4]) +m4_define([LT_PACKAGE_REVISION], [1.3293]) AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.2.6b' -macro_revision='1.3017' +[macro_version='2.4' +macro_revision='1.3293' _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. +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 4 lt~obsolete.m4 +# serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # @@ -8640,7 +9115,6 @@ 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])]) @@ -8653,9 +9127,17 @@ 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. +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) + +# nls.m4 serial 5 (gettext-0.18) +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, +dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -8673,20 +9155,21 @@ dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. -AC_PREREQ(2.50) +AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS - AC_ARG_ENABLE(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) + AC_MSG_RESULT([$USE_NLS]) + AC_SUBST([USE_NLS]) ]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # @@ -8714,7 +9197,10 @@ 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 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi @@ -8727,7 +9213,6 @@ AC_MSG_RESULT([no]) PKG_CONFIG="" fi - fi[]dnl ])# PKG_PROG_PKG_CONFIG @@ -8736,21 +9221,20 @@ # 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 +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +# only at the first occurence in configure.ac, so if the first place +# it's called might be skipped (such as if it is within an "if", you +# have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_ifval([$2], [$2], [:]) + m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) - # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], @@ -8803,6 +9287,7 @@ See the pkg-config man page for more details.]) if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` @@ -8812,7 +9297,7 @@ # 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 + m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS @@ -8820,25 +9305,24 @@ Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. -_PKG_TEXT -])], - [AC_MSG_RESULT([no]) - $4]) +_PKG_TEXT])[]dnl + ]) elif test $pkg_failed = untried; then - ifelse([$4], , [AC_MSG_FAILURE(dnl + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT -To get pkg-config, see .])], - [$4]) +To get pkg-config, see .])dnl + ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) - ifelse([$3], , :, [$3]) + $3 fi[]dnl ])# PKG_CHECK_MODULES diff -Nru parole-0.2.0.2/browser-plugin/Makefile.am parole-0.2.0.6/browser-plugin/Makefile.am --- parole-0.2.0.2/browser-plugin/Makefile.am 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/Makefile.am 1970-01-01 00:00:00.000000000 +0000 @@ -1,63 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = media-plugin - -DEFINES = -DMOZILLA_STRICT_API -DXP_UNIX - -# This is probably not the best thing, but the browser plugin -# fails to compile with --enable-debug=full so overried CXXFLAGS -# to get rid of -Wundef -Wredundant-decls -Wmissing-declarations -CXXFLAGS = -Wall -g -O2 -DXFCE_DISABLE_DEPRECATED -if DEBUG_BROWSER_PLUGIN -CXXFLAGS += -Wextra -Wno-missing-field-initializers \ - -Wno-unused-parameter \ - -Wmissing-noreturn -Wshadow \ - -Wpointer-arith -Wcast-align -Wformat-security \ - -Winit-self -Wmissing-include-dirs \ - -Wmissing-format-attribute \ - -fstack-protector -O0 -g3 -Werror -endif - -INCLUDES = \ - -fPIC \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \ - -DG_LOG_DOMAIN=\"parole-browser-plugin\" \ - -DLIBEXECDIR="\"$(libexecdir)\"" \ - $(GTK_CFLAGS) \ - $(DBUS_GLIB_CFLAGS) \ - $(DEFINES) - -install_libexecdir = $(BROWSER_PLUGIN_DIR) - -install_libexec_PROGRAMS = \ - parole-player.so - -parole_player_so_SOURCES = \ - plugin.cpp \ - plugin.h \ - plugin_setup.cpp \ - plugin_setup.h \ - plugin_types.cpp \ - plugin_types.h \ - np_entry.cpp \ - npn_gate.cpp \ - npp_gate.cpp \ - npupp.h \ - npapi.h \ - npfunctions.h \ - npruntime.h \ - nptypes.h - -parole_player_so_CFLAGS = \ - -fPIC - -parole_player_so_LDFLAGS = \ - -Xcompiler \ - -shared \ - -fPIC - -parole_player_so_LDADD = \ - $(GTK_LIBS) \ - $(DBUS_GLIB_LIBS) diff -Nru parole-0.2.0.2/browser-plugin/Makefile.in parole-0.2.0.6/browser-plugin/Makefile.in --- parole-0.2.0.2/browser-plugin/Makefile.in 2010-01-25 11:47:24.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/Makefile.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,866 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -@DEBUG_BROWSER_PLUGIN_TRUE@am__append_1 = -Wextra -Wno-missing-field-initializers \ -@DEBUG_BROWSER_PLUGIN_TRUE@ -Wno-unused-parameter \ -@DEBUG_BROWSER_PLUGIN_TRUE@ -Wmissing-noreturn -Wshadow \ -@DEBUG_BROWSER_PLUGIN_TRUE@ -Wpointer-arith -Wcast-align -Wformat-security \ -@DEBUG_BROWSER_PLUGIN_TRUE@ -Winit-self -Wmissing-include-dirs \ -@DEBUG_BROWSER_PLUGIN_TRUE@ -Wmissing-format-attribute \ -@DEBUG_BROWSER_PLUGIN_TRUE@ -fstack-protector -O0 -g3 -Werror - -install_libexec_PROGRAMS = parole-player.so$(EXEEXT) -subdir = browser-plugin -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(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 = -CONFIG_CLEAN_VPATH_FILES = -am__installdirs = "$(DESTDIR)$(install_libexecdir)" -PROGRAMS = $(install_libexec_PROGRAMS) -am_parole_player_so_OBJECTS = plugin.$(OBJEXT) plugin_setup.$(OBJEXT) \ - plugin_types.$(OBJEXT) np_entry.$(OBJEXT) npn_gate.$(OBJEXT) \ - npp_gate.$(OBJEXT) -parole_player_so_OBJECTS = $(am_parole_player_so_OBJECTS) -am__DEPENDENCIES_1 = -parole_player_so_DEPENDENCIES = $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) -AM_V_lt = $(am__v_lt_$(V)) -am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) -am__v_lt_0 = --silent -parole_player_so_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ - $(AM_CXXFLAGS) $(CXXFLAGS) $(parole_player_so_LDFLAGS) \ - $(LDFLAGS) -o $@ -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CXXFLAGS) $(CXXFLAGS) -AM_V_CXX = $(am__v_CXX_$(V)) -am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY)) -am__v_CXX_0 = @echo " CXX " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) -am__v_at_0 = @ -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CXXLD = $(am__v_CXXLD_$(V)) -am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY)) -am__v_CXXLD_0 = @echo " CXXLD " $@; -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_$(V)) -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) -am__v_CC_0 = @echo " CC " $@; -CCLD = $(CC) -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_$(V)) -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) -am__v_CCLD_0 = @echo " CCLD " $@; -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -SOURCES = $(parole_player_so_SOURCES) -DIST_SOURCES = $(parole_player_so_SOURCES) -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -ACLOCAL = @ACLOCAL@ -ALL_LINGUAS = @ALL_LINGUAS@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ -CATALOGS = @CATALOGS@ -CATOBJEXT = @CATOBJEXT@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ - -# This is probably not the best thing, but the browser plugin -# fails to compile with --enable-debug=full so overried CXXFLAGS -# to get rid of -Wundef -Wredundant-decls -Wmissing-declarations -CXXFLAGS = -Wall -g -O2 -DXFCE_DISABLE_DEPRECATED $(am__append_1) -CYGPATH_W = @CYGPATH_W@ -DATADIRNAME = @DATADIRNAME@ -DBUS_CFLAGS = @DBUS_CFLAGS@ -DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@ -DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@ -DBUS_GLIB_REQUIRED_VERSION = @DBUS_GLIB_REQUIRED_VERSION@ -DBUS_GLIB_VERSION = @DBUS_GLIB_VERSION@ -DBUS_LIBS = @DBUS_LIBS@ -DBUS_REQUIRED_VERSION = @DBUS_REQUIRED_VERSION@ -DBUS_VERSION = @DBUS_VERSION@ -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@ -GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ -GIO_CFLAGS = @GIO_CFLAGS@ -GIO_LIBS = @GIO_LIBS@ -GIO_REQUIRED_VERSION = @GIO_REQUIRED_VERSION@ -GIO_VERSION = @GIO_VERSION@ -GLIB_CFLAGS = @GLIB_CFLAGS@ -GLIB_LIBS = @GLIB_LIBS@ -GLIB_REQUIRED_VERSION = @GLIB_REQUIRED_VERSION@ -GLIB_VERSION = @GLIB_VERSION@ -GMODULE_CFLAGS = @GMODULE_CFLAGS@ -GMODULE_LIBS = @GMODULE_LIBS@ -GMODULE_REQUIRED_VERSION = @GMODULE_REQUIRED_VERSION@ -GMODULE_VERSION = @GMODULE_VERSION@ -GMOFILES = @GMOFILES@ -GMSGFMT = @GMSGFMT@ -GOBJECT_CFLAGS = @GOBJECT_CFLAGS@ -GOBJECT_LIBS = @GOBJECT_LIBS@ -GOBJECT_REQUIRED_VERSION = @GOBJECT_REQUIRED_VERSION@ -GOBJECT_VERSION = @GOBJECT_VERSION@ -GREP = @GREP@ -GST_BASE_CFLAGS = @GST_BASE_CFLAGS@ -GST_BASE_LIBS = @GST_BASE_LIBS@ -GST_BASE_REQUIRED_VERSION = @GST_BASE_REQUIRED_VERSION@ -GST_BASE_VERSION = @GST_BASE_VERSION@ -GST_CFLAGS = @GST_CFLAGS@ -GST_INTERFACES_CFLAGS = @GST_INTERFACES_CFLAGS@ -GST_INTERFACES_LIBS = @GST_INTERFACES_LIBS@ -GST_INTERFACES_REQUIRED_VERSION = @GST_INTERFACES_REQUIRED_VERSION@ -GST_INTERFACES_VERSION = @GST_INTERFACES_VERSION@ -GST_LIBS = @GST_LIBS@ -GST_REQUIRED_VERSION = @GST_REQUIRED_VERSION@ -GST_VERSION = @GST_VERSION@ -GST_VIDEO_CFLAGS = @GST_VIDEO_CFLAGS@ -GST_VIDEO_LIBS = @GST_VIDEO_LIBS@ -GST_VIDEO_REQUIRED_VERSION = @GST_VIDEO_REQUIRED_VERSION@ -GST_VIDEO_VERSION = @GST_VIDEO_VERSION@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTHREAD_REQUIRED_VERSION = @GTHREAD_REQUIRED_VERSION@ -GTHREAD_VERSION = @GTHREAD_VERSION@ -GTKDOC_CHECK = @GTKDOC_CHECK@ -GTKDOC_MKPDF = @GTKDOC_MKPDF@ -GTKDOC_REBASE = @GTKDOC_REBASE@ -GTK_CFLAGS = @GTK_CFLAGS@ -GTK_LIBS = @GTK_LIBS@ -GTK_REQUIRED_VERSION = @GTK_REQUIRED_VERSION@ -GTK_VERSION = @GTK_VERSION@ -HTML_DIR = @HTML_DIR@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INSTOBJEXT = @INSTOBJEXT@ -INTLLIBS = @INTLLIBS@ -INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ -INTLTOOL_MERGE = @INTLTOOL_MERGE@ -INTLTOOL_PERL = @INTLTOOL_PERL@ -INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ -LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ -LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ -LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIBXFCE4GUI_CFLAGS = @LIBXFCE4GUI_CFLAGS@ -LIBXFCE4GUI_LIBS = @LIBXFCE4GUI_LIBS@ -LIBXFCE4GUI_REQUIRED_VERSION = @LIBXFCE4GUI_REQUIRED_VERSION@ -LIBXFCE4GUI_VERSION = @LIBXFCE4GUI_VERSION@ -LIBXFCE4UTIL_CFLAGS = @LIBXFCE4UTIL_CFLAGS@ -LIBXFCE4UTIL_LIBS = @LIBXFCE4UTIL_LIBS@ -LIBXFCE4UTIL_REQUIRED_VERSION = @LIBXFCE4UTIL_REQUIRED_VERSION@ -LIBXFCE4UTIL_VERSION = @LIBXFCE4UTIL_VERSION@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -MKINSTALLDIRS = @MKINSTALLDIRS@ -MSGFMT = @MSGFMT@ -MSGFMT_OPTS = @MSGFMT_OPTS@ -MSGMERGE = @MSGMERGE@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PAROLE_VERINFO = @PAROLE_VERINFO@ -PAROLE_VERSION_API = @PAROLE_VERSION_API@ -PAROLE_VERSION_MAJOR = @PAROLE_VERSION_MAJOR@ -PAROLE_VERSION_MICRO = @PAROLE_VERSION_MICRO@ -PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -POFILES = @POFILES@ -POSUB = @POSUB@ -PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ -PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TAGLIBC_CFLAGS = @TAGLIBC_CFLAGS@ -TAGLIBC_LIBS = @TAGLIBC_LIBS@ -TAGLIB_CFLAGS = @TAGLIB_CFLAGS@ -TAGLIB_LIBS = @TAGLIB_LIBS@ -TAGLIB_REQUIRED_VERSION = @TAGLIB_REQUIRED_VERSION@ -TAGLIB_VERSION = @TAGLIB_VERSION@ -USE_NLS = @USE_NLS@ -VERSION = @VERSION@ -XGETTEXT = @XGETTEXT@ -XGETTEXT_ARGS = @XGETTEXT_ARGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -pixmapsdir = @pixmapsdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -SUBDIRS = media-plugin -DEFINES = -DMOZILLA_STRICT_API -DXP_UNIX -INCLUDES = \ - -fPIC \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \ - -DG_LOG_DOMAIN=\"parole-browser-plugin\" \ - -DLIBEXECDIR="\"$(libexecdir)\"" \ - $(GTK_CFLAGS) \ - $(DBUS_GLIB_CFLAGS) \ - $(DEFINES) - -install_libexecdir = $(BROWSER_PLUGIN_DIR) -parole_player_so_SOURCES = \ - plugin.cpp \ - plugin.h \ - plugin_setup.cpp \ - plugin_setup.h \ - plugin_types.cpp \ - plugin_types.h \ - np_entry.cpp \ - npn_gate.cpp \ - npp_gate.cpp \ - npupp.h \ - npapi.h \ - npfunctions.h \ - npruntime.h \ - nptypes.h - -parole_player_so_CFLAGS = \ - -fPIC - -parole_player_so_LDFLAGS = \ - -Xcompiler \ - -shared \ - -fPIC - -parole_player_so_LDADD = \ - $(GTK_LIBS) \ - $(DBUS_GLIB_LIBS) - -all: all-recursive - -.SUFFIXES: -.SUFFIXES: .cpp .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu browser-plugin/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu browser-plugin/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 -$(am__aclocal_m4_deps): -install-install_libexecPROGRAMS: $(install_libexec_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(install_libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(install_libexecdir)" - @list='$(install_libexec_PROGRAMS)'; test -n "$(install_libexecdir)" || list=; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ - then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(install_libexecdir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(install_libexecdir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-install_libexecPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(install_libexec_PROGRAMS)'; test -n "$(install_libexecdir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(install_libexecdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(install_libexecdir)" && rm -f $$files - -clean-install_libexecPROGRAMS: - @list='$(install_libexec_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list -parole-player.so$(EXEEXT): $(parole_player_so_OBJECTS) $(parole_player_so_DEPENDENCIES) - @rm -f parole-player.so$(EXEEXT) - $(AM_V_CXXLD)$(parole_player_so_LINK) $(parole_player_so_OBJECTS) $(parole_player_so_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/np_entry.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/npn_gate.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/npp_gate.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin_setup.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin_types.Po@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cpp.lo: -@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - 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; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - 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; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(PROGRAMS) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(install_libexecdir)"; 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) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-install_libexecPROGRAMS clean-libtool \ - mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: install-install_libexecPROGRAMS - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-install_libexecPROGRAMS - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ - install-am install-strip tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic \ - clean-install_libexecPROGRAMS clean-libtool ctags \ - ctags-recursive distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-install_libexecPROGRAMS install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-install_libexecPROGRAMS - - -# 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: diff -Nru parole-0.2.0.2/browser-plugin/media-plugin/main.c parole-0.2.0.6/browser-plugin/media-plugin/main.c --- parole-0.2.0.2/browser-plugin/media-plugin/main.c 2010-01-25 11:50:28.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/media-plugin/main.c 1970-01-01 00:00:00.000000000 +0000 @@ -1,142 +0,0 @@ -/* - * * Copyright (C) 2008-2009 Ali - * - * Licensed under the GNU General Public License Version 2 - * - * This program is free software; you can redistribute 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 - */ - -#ifdef HAVE_CONFIG_H -#include -#endif - -#include -#include -#include - -#include -#include - -#include - -#include - -#include - -#include "parole-plugin-player.h" - -#include "dbus/parole-dbus.h" - -static gulong exit_source_id = 0; - -static void G_GNUC_NORETURN -force_exit (gpointer data) -{ - //g_debug ("Forcing exit"); - exit (0); -} - -static void -posix_signal_handler (gint sig, ParolePluginPlayer *player) -{ - parole_plugin_player_exit (player); - - exit_source_id = g_timeout_add_seconds (4, (GSourceFunc) force_exit, NULL); -} - -int main (int argc, char **argv) -{ - ParolePluginPlayer *player; - GdkNativeWindow socket_id = 0; - gchar *url = NULL; - GOptionContext *ctx; - GOptionGroup *gst_option_group; - GError *error = NULL; - gchar *dbus_name; - GtkWidget *plug; - - GOptionEntry option_entries[] = - { - { "socket-id", 's', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_INT, &socket_id, N_("socket"), N_("SOCKET ID") }, - { "url", '\0', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_STRING, &url, N_("url to play"), N_("URL") }, - { NULL, }, - }; - - if ( !g_thread_supported () ) - g_thread_init (NULL); - - bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); - -#ifdef HAVE_BIND_TEXTDOMAIN_CODESET - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); -#endif - - textdomain (GETTEXT_PACKAGE); - - gtk_init (&argc, &argv); - - ctx = g_option_context_new (NULL); - - gst_option_group = gst_init_get_option_group (); - g_option_context_add_main_entries (ctx, option_entries, GETTEXT_PACKAGE); - g_option_context_set_translation_domain (ctx, GETTEXT_PACKAGE); - g_option_context_add_group (ctx, gst_option_group); - - g_option_context_add_group (ctx, gtk_get_option_group (TRUE)); - - if ( !g_option_context_parse (ctx, &argc, &argv, &error) ) - { - g_print ("%s\n", error->message); - g_print ("Type %s --help to list all available command line options", argv[0]); - g_error_free (error); - g_option_context_free (ctx); - return EXIT_FAILURE; - } - g_option_context_free (ctx); - - dbus_name = g_strdup_printf ("org.Parole.Media.Plugin%d", socket_id); - parole_dbus_register_name (dbus_name); - - plug = gtk_plug_new (socket_id); - - player = parole_plugin_player_new (plug, url); - gtk_widget_show_all (plug); - - if ( xfce_posix_signal_handler_init (&error)) - { - xfce_posix_signal_handler_set_handler (SIGKILL, - (XfcePosixSignalHandler) posix_signal_handler, - player, NULL); - } - else - { - g_warning ("Unable to set up POSIX signal handlers: %s", error->message); - g_error_free (error); - } - - gtk_main (); - g_object_unref (player); - gtk_widget_destroy (plug); - parole_dbus_release_name (dbus_name); - g_free (dbus_name); - - if ( exit_source_id != 0 ) - g_source_remove (exit_source_id); - - //g_debug ("Exiting"); - gst_deinit (); - - return EXIT_SUCCESS; -} diff -Nru parole-0.2.0.2/browser-plugin/media-plugin/Makefile.am parole-0.2.0.6/browser-plugin/media-plugin/Makefile.am --- parole-0.2.0.2/browser-plugin/media-plugin/Makefile.am 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/media-plugin/Makefile.am 1970-01-01 00:00:00.000000000 +0000 @@ -1,51 +0,0 @@ -libexec_PROGRAMS = parole-media-plugin - -parole_media_plugin_SOURCES = \ - main.c \ - parole-plugin-player.c \ - parole-plugin-player.h \ - org.parole.media.plugin.h - -parole_media_plugin_CFLAGS = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/parole \ - -I$(top_srcdir)/data \ - -I$(top_srcdir)/data/mime \ - -I$(top_srcdir)/dbus \ - -I$(top_srcdir)/gst \ - -I$(top_srcdir)/common \ - -DLOCALEDIR=\"$(localedir)\" \ - -DG_LOG_DOMAIN=\"parole-media-plugin\" \ - -DPAROLE_COMPILATION \ - $(GTHREAD_CFLAGS) \ - $(GTK_CFLAGS) \ - $(GST_VIDEO_CFLAGS) \ - $(GST_INTERFACES_CFLAGS) \ - $(DBUS_GLIB_CFLAGS) \ - $(LIBXFCE4GUI_CFLAGS) \ - $(TAGLIBC_CFLAGS) - -parole_media_plugin_LDADD = \ - $(top_builddir)/dbus/libparoledbus.la \ - $(top_builddir)/gst/libparolegst.la \ - $(top_builddir)/common/libparolescreensaver.la\ - $(GTHREAD_LIBS) \ - $(GTK_LIBS) \ - $(GST_VIDEO_LIBS) \ - $(GST_INTERFACES_LIBS) \ - $(DBUS_GLIB_LIBS) \ - $(LIBXFCE4GUI_LIBS) \ - $(TAGLIBC_LIBS) - -if MAINTAINER_MODE - -BUILT_SOURCES = \ - org.parole.media.plugin.h - -org.parole.media.plugin.h: $(srcdir)/org.parole.media.plugin.xml - dbus-binding-tool --mode=glib-server --prefix=parole_gst $< >$@ - -endif - -DISTCLEANFILES = \ - $(BUILT_SOURCES) \ No newline at end of file diff -Nru parole-0.2.0.2/browser-plugin/media-plugin/Makefile.in parole-0.2.0.6/browser-plugin/media-plugin/Makefile.in --- parole-0.2.0.2/browser-plugin/media-plugin/Makefile.in 2010-01-25 11:47:24.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/media-plugin/Makefile.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,727 +0,0 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -libexec_PROGRAMS = parole-media-plugin$(EXEEXT) -subdir = browser-plugin/media-plugin -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(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 = -CONFIG_CLEAN_VPATH_FILES = -am__installdirs = "$(DESTDIR)$(libexecdir)" -PROGRAMS = $(libexec_PROGRAMS) -am_parole_media_plugin_OBJECTS = parole_media_plugin-main.$(OBJEXT) \ - parole_media_plugin-parole-plugin-player.$(OBJEXT) -parole_media_plugin_OBJECTS = $(am_parole_media_plugin_OBJECTS) -am__DEPENDENCIES_1 = -parole_media_plugin_DEPENDENCIES = \ - $(top_builddir)/dbus/libparoledbus.la \ - $(top_builddir)/gst/libparolegst.la \ - $(top_builddir)/common/libparolescreensaver.la \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) -AM_V_lt = $(am__v_lt_$(V)) -am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) -am__v_lt_0 = --silent -parole_media_plugin_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(parole_media_plugin_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_$(V)) -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) -am__v_CC_0 = @echo " CC " $@; -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) -am__v_at_0 = @ -CCLD = $(CC) -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_$(V)) -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) -am__v_CCLD_0 = @echo " CCLD " $@; -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -SOURCES = $(parole_media_plugin_SOURCES) -DIST_SOURCES = $(parole_media_plugin_SOURCES) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -ALL_LINGUAS = @ALL_LINGUAS@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ -CATALOGS = @CATALOGS@ -CATOBJEXT = @CATOBJEXT@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DATADIRNAME = @DATADIRNAME@ -DBUS_CFLAGS = @DBUS_CFLAGS@ -DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@ -DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@ -DBUS_GLIB_REQUIRED_VERSION = @DBUS_GLIB_REQUIRED_VERSION@ -DBUS_GLIB_VERSION = @DBUS_GLIB_VERSION@ -DBUS_LIBS = @DBUS_LIBS@ -DBUS_REQUIRED_VERSION = @DBUS_REQUIRED_VERSION@ -DBUS_VERSION = @DBUS_VERSION@ -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@ -GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ -GIO_CFLAGS = @GIO_CFLAGS@ -GIO_LIBS = @GIO_LIBS@ -GIO_REQUIRED_VERSION = @GIO_REQUIRED_VERSION@ -GIO_VERSION = @GIO_VERSION@ -GLIB_CFLAGS = @GLIB_CFLAGS@ -GLIB_LIBS = @GLIB_LIBS@ -GLIB_REQUIRED_VERSION = @GLIB_REQUIRED_VERSION@ -GLIB_VERSION = @GLIB_VERSION@ -GMODULE_CFLAGS = @GMODULE_CFLAGS@ -GMODULE_LIBS = @GMODULE_LIBS@ -GMODULE_REQUIRED_VERSION = @GMODULE_REQUIRED_VERSION@ -GMODULE_VERSION = @GMODULE_VERSION@ -GMOFILES = @GMOFILES@ -GMSGFMT = @GMSGFMT@ -GOBJECT_CFLAGS = @GOBJECT_CFLAGS@ -GOBJECT_LIBS = @GOBJECT_LIBS@ -GOBJECT_REQUIRED_VERSION = @GOBJECT_REQUIRED_VERSION@ -GOBJECT_VERSION = @GOBJECT_VERSION@ -GREP = @GREP@ -GST_BASE_CFLAGS = @GST_BASE_CFLAGS@ -GST_BASE_LIBS = @GST_BASE_LIBS@ -GST_BASE_REQUIRED_VERSION = @GST_BASE_REQUIRED_VERSION@ -GST_BASE_VERSION = @GST_BASE_VERSION@ -GST_CFLAGS = @GST_CFLAGS@ -GST_INTERFACES_CFLAGS = @GST_INTERFACES_CFLAGS@ -GST_INTERFACES_LIBS = @GST_INTERFACES_LIBS@ -GST_INTERFACES_REQUIRED_VERSION = @GST_INTERFACES_REQUIRED_VERSION@ -GST_INTERFACES_VERSION = @GST_INTERFACES_VERSION@ -GST_LIBS = @GST_LIBS@ -GST_REQUIRED_VERSION = @GST_REQUIRED_VERSION@ -GST_VERSION = @GST_VERSION@ -GST_VIDEO_CFLAGS = @GST_VIDEO_CFLAGS@ -GST_VIDEO_LIBS = @GST_VIDEO_LIBS@ -GST_VIDEO_REQUIRED_VERSION = @GST_VIDEO_REQUIRED_VERSION@ -GST_VIDEO_VERSION = @GST_VIDEO_VERSION@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTHREAD_REQUIRED_VERSION = @GTHREAD_REQUIRED_VERSION@ -GTHREAD_VERSION = @GTHREAD_VERSION@ -GTKDOC_CHECK = @GTKDOC_CHECK@ -GTKDOC_MKPDF = @GTKDOC_MKPDF@ -GTKDOC_REBASE = @GTKDOC_REBASE@ -GTK_CFLAGS = @GTK_CFLAGS@ -GTK_LIBS = @GTK_LIBS@ -GTK_REQUIRED_VERSION = @GTK_REQUIRED_VERSION@ -GTK_VERSION = @GTK_VERSION@ -HTML_DIR = @HTML_DIR@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INSTOBJEXT = @INSTOBJEXT@ -INTLLIBS = @INTLLIBS@ -INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ -INTLTOOL_MERGE = @INTLTOOL_MERGE@ -INTLTOOL_PERL = @INTLTOOL_PERL@ -INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@ -LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ -LIBNOTIFY_REQUIRED_VERSION = @LIBNOTIFY_REQUIRED_VERSION@ -LIBNOTIFY_VERSION = @LIBNOTIFY_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIBXFCE4GUI_CFLAGS = @LIBXFCE4GUI_CFLAGS@ -LIBXFCE4GUI_LIBS = @LIBXFCE4GUI_LIBS@ -LIBXFCE4GUI_REQUIRED_VERSION = @LIBXFCE4GUI_REQUIRED_VERSION@ -LIBXFCE4GUI_VERSION = @LIBXFCE4GUI_VERSION@ -LIBXFCE4UTIL_CFLAGS = @LIBXFCE4UTIL_CFLAGS@ -LIBXFCE4UTIL_LIBS = @LIBXFCE4UTIL_LIBS@ -LIBXFCE4UTIL_REQUIRED_VERSION = @LIBXFCE4UTIL_REQUIRED_VERSION@ -LIBXFCE4UTIL_VERSION = @LIBXFCE4UTIL_VERSION@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -MKINSTALLDIRS = @MKINSTALLDIRS@ -MSGFMT = @MSGFMT@ -MSGFMT_OPTS = @MSGFMT_OPTS@ -MSGMERGE = @MSGMERGE@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PAROLE_VERINFO = @PAROLE_VERINFO@ -PAROLE_VERSION_API = @PAROLE_VERSION_API@ -PAROLE_VERSION_MAJOR = @PAROLE_VERSION_MAJOR@ -PAROLE_VERSION_MICRO = @PAROLE_VERSION_MICRO@ -PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -POFILES = @POFILES@ -POSUB = @POSUB@ -PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ -PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TAGLIBC_CFLAGS = @TAGLIBC_CFLAGS@ -TAGLIBC_LIBS = @TAGLIBC_LIBS@ -TAGLIB_CFLAGS = @TAGLIB_CFLAGS@ -TAGLIB_LIBS = @TAGLIB_LIBS@ -TAGLIB_REQUIRED_VERSION = @TAGLIB_REQUIRED_VERSION@ -TAGLIB_VERSION = @TAGLIB_VERSION@ -USE_NLS = @USE_NLS@ -VERSION = @VERSION@ -XGETTEXT = @XGETTEXT@ -XGETTEXT_ARGS = @XGETTEXT_ARGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -pixmapsdir = @pixmapsdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -parole_media_plugin_SOURCES = \ - main.c \ - parole-plugin-player.c \ - parole-plugin-player.h \ - org.parole.media.plugin.h - -parole_media_plugin_CFLAGS = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/parole \ - -I$(top_srcdir)/data \ - -I$(top_srcdir)/data/mime \ - -I$(top_srcdir)/dbus \ - -I$(top_srcdir)/gst \ - -I$(top_srcdir)/common \ - -DLOCALEDIR=\"$(localedir)\" \ - -DG_LOG_DOMAIN=\"parole-media-plugin\" \ - -DPAROLE_COMPILATION \ - $(GTHREAD_CFLAGS) \ - $(GTK_CFLAGS) \ - $(GST_VIDEO_CFLAGS) \ - $(GST_INTERFACES_CFLAGS) \ - $(DBUS_GLIB_CFLAGS) \ - $(LIBXFCE4GUI_CFLAGS) \ - $(TAGLIBC_CFLAGS) - -parole_media_plugin_LDADD = \ - $(top_builddir)/dbus/libparoledbus.la \ - $(top_builddir)/gst/libparolegst.la \ - $(top_builddir)/common/libparolescreensaver.la\ - $(GTHREAD_LIBS) \ - $(GTK_LIBS) \ - $(GST_VIDEO_LIBS) \ - $(GST_INTERFACES_LIBS) \ - $(DBUS_GLIB_LIBS) \ - $(LIBXFCE4GUI_LIBS) \ - $(TAGLIBC_LIBS) - -@MAINTAINER_MODE_TRUE@BUILT_SOURCES = \ -@MAINTAINER_MODE_TRUE@ org.parole.media.plugin.h - -DISTCLEANFILES = \ - $(BUILT_SOURCES) - -all: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu browser-plugin/media-plugin/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu browser-plugin/media-plugin/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 -$(am__aclocal_m4_deps): -install-libexecPROGRAMS: $(libexec_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)" - @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p || test -f $$p1; \ - then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-libexecPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(libexecdir)" && rm -f $$files - -clean-libexecPROGRAMS: - @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list -parole-media-plugin$(EXEEXT): $(parole_media_plugin_OBJECTS) $(parole_media_plugin_DEPENDENCIES) - @rm -f parole-media-plugin$(EXEEXT) - $(AM_V_CCLD)$(parole_media_plugin_LINK) $(parole_media_plugin_OBJECTS) $(parole_media_plugin_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parole_media_plugin-main.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parole_media_plugin-parole-plugin-player.Po@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@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@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@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@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@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 $@ $< - -parole_media_plugin-main.o: main.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parole_media_plugin_CFLAGS) $(CFLAGS) -MT parole_media_plugin-main.o -MD -MP -MF $(DEPDIR)/parole_media_plugin-main.Tpo -c -o parole_media_plugin-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/parole_media_plugin-main.Tpo $(DEPDIR)/parole_media_plugin-main.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='parole_media_plugin-main.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parole_media_plugin_CFLAGS) $(CFLAGS) -c -o parole_media_plugin-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c - -parole_media_plugin-main.obj: main.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parole_media_plugin_CFLAGS) $(CFLAGS) -MT parole_media_plugin-main.obj -MD -MP -MF $(DEPDIR)/parole_media_plugin-main.Tpo -c -o parole_media_plugin-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/parole_media_plugin-main.Tpo $(DEPDIR)/parole_media_plugin-main.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='parole_media_plugin-main.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parole_media_plugin_CFLAGS) $(CFLAGS) -c -o parole_media_plugin-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi` - -parole_media_plugin-parole-plugin-player.o: parole-plugin-player.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parole_media_plugin_CFLAGS) $(CFLAGS) -MT parole_media_plugin-parole-plugin-player.o -MD -MP -MF $(DEPDIR)/parole_media_plugin-parole-plugin-player.Tpo -c -o parole_media_plugin-parole-plugin-player.o `test -f 'parole-plugin-player.c' || echo '$(srcdir)/'`parole-plugin-player.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/parole_media_plugin-parole-plugin-player.Tpo $(DEPDIR)/parole_media_plugin-parole-plugin-player.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='parole-plugin-player.c' object='parole_media_plugin-parole-plugin-player.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parole_media_plugin_CFLAGS) $(CFLAGS) -c -o parole_media_plugin-parole-plugin-player.o `test -f 'parole-plugin-player.c' || echo '$(srcdir)/'`parole-plugin-player.c - -parole_media_plugin-parole-plugin-player.obj: parole-plugin-player.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parole_media_plugin_CFLAGS) $(CFLAGS) -MT parole_media_plugin-parole-plugin-player.obj -MD -MP -MF $(DEPDIR)/parole_media_plugin-parole-plugin-player.Tpo -c -o parole_media_plugin-parole-plugin-player.obj `if test -f 'parole-plugin-player.c'; then $(CYGPATH_W) 'parole-plugin-player.c'; else $(CYGPATH_W) '$(srcdir)/parole-plugin-player.c'; fi` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/parole_media_plugin-parole-plugin-player.Tpo $(DEPDIR)/parole_media_plugin-parole-plugin-player.Po -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='parole-plugin-player.c' object='parole_media_plugin-parole-plugin-player.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(parole_media_plugin_CFLAGS) $(CFLAGS) -c -o parole_media_plugin-parole-plugin-player.obj `if test -f 'parole-plugin-player.c'; then $(CYGPATH_W) 'parole-plugin-player.c'; else $(CYGPATH_W) '$(srcdir)/parole-plugin-player.c'; fi` - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-am -all-am: Makefile $(PROGRAMS) -installdirs: - for dir in "$(DESTDIR)$(libexecdir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) 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) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -clean: clean-am - -clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-libexecPROGRAMS - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-libexecPROGRAMS - -.MAKE: all check install install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libexecPROGRAMS 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-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am \ - install-libexecPROGRAMS install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-libexecPROGRAMS - - -@MAINTAINER_MODE_TRUE@org.parole.media.plugin.h: $(srcdir)/org.parole.media.plugin.xml -@MAINTAINER_MODE_TRUE@ dbus-binding-tool --mode=glib-server --prefix=parole_gst $< >$@ - -# 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: diff -Nru parole-0.2.0.2/browser-plugin/media-plugin/org.parole.media.plugin.h parole-0.2.0.6/browser-plugin/media-plugin/org.parole.media.plugin.h --- parole-0.2.0.2/browser-plugin/media-plugin/org.parole.media.plugin.h 2010-01-25 11:23:38.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/media-plugin/org.parole.media.plugin.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,169 +0,0 @@ -/* Generated by dbus-binding-tool; do not edit! */ - - -#ifndef __dbus_glib_marshal_parole_gst_MARSHAL_H__ -#define __dbus_glib_marshal_parole_gst_MARSHAL_H__ - -#include - -G_BEGIN_DECLS - -#ifdef G_ENABLE_DEBUG -#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) -#define g_marshal_value_peek_char(v) g_value_get_char (v) -#define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) -#define g_marshal_value_peek_int(v) g_value_get_int (v) -#define g_marshal_value_peek_uint(v) g_value_get_uint (v) -#define g_marshal_value_peek_long(v) g_value_get_long (v) -#define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) -#define g_marshal_value_peek_int64(v) g_value_get_int64 (v) -#define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) -#define g_marshal_value_peek_enum(v) g_value_get_enum (v) -#define g_marshal_value_peek_flags(v) g_value_get_flags (v) -#define g_marshal_value_peek_float(v) g_value_get_float (v) -#define g_marshal_value_peek_double(v) g_value_get_double (v) -#define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) -#define g_marshal_value_peek_param(v) g_value_get_param (v) -#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) -#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) -#define g_marshal_value_peek_object(v) g_value_get_object (v) -#else /* !G_ENABLE_DEBUG */ -/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. - * Do not access GValues directly in your code. Instead, use the - * g_value_get_*() functions - */ -#define g_marshal_value_peek_boolean(v) (v)->data[0].v_int -#define g_marshal_value_peek_char(v) (v)->data[0].v_int -#define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint -#define g_marshal_value_peek_int(v) (v)->data[0].v_int -#define g_marshal_value_peek_uint(v) (v)->data[0].v_uint -#define g_marshal_value_peek_long(v) (v)->data[0].v_long -#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong -#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 -#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 -#define g_marshal_value_peek_enum(v) (v)->data[0].v_long -#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong -#define g_marshal_value_peek_float(v) (v)->data[0].v_float -#define g_marshal_value_peek_double(v) (v)->data[0].v_double -#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer -#define g_marshal_value_peek_param(v) (v)->data[0].v_pointer -#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer -#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer -#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer -#endif /* !G_ENABLE_DEBUG */ - - -/* BOOLEAN:POINTER */ -extern void dbus_glib_marshal_parole_gst_BOOLEAN__POINTER (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); -void -dbus_glib_marshal_parole_gst_BOOLEAN__POINTER (GClosure *closure, - GValue *return_value G_GNUC_UNUSED, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint G_GNUC_UNUSED, - gpointer marshal_data) -{ - typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER) (gpointer data1, - gpointer arg_1, - gpointer data2); - register GMarshalFunc_BOOLEAN__POINTER callback; - register GCClosure *cc = (GCClosure*) closure; - register gpointer data1, data2; - gboolean v_return; - - g_return_if_fail (return_value != NULL); - g_return_if_fail (n_param_values == 2); - - if (G_CCLOSURE_SWAP_DATA (closure)) - { - data1 = closure->data; - data2 = g_value_peek_pointer (param_values + 0); - } - else - { - data1 = g_value_peek_pointer (param_values + 0); - data2 = closure->data; - } - callback = (GMarshalFunc_BOOLEAN__POINTER) (marshal_data ? marshal_data : cc->callback); - - v_return = callback (data1, - g_marshal_value_peek_pointer (param_values + 1), - data2); - - g_value_set_boolean (return_value, v_return); -} - -/* BOOLEAN:STRING,POINTER */ -extern void dbus_glib_marshal_parole_gst_BOOLEAN__STRING_POINTER (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); -void -dbus_glib_marshal_parole_gst_BOOLEAN__STRING_POINTER (GClosure *closure, - GValue *return_value G_GNUC_UNUSED, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint G_GNUC_UNUSED, - gpointer marshal_data) -{ - typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_POINTER) (gpointer data1, - gpointer arg_1, - gpointer arg_2, - gpointer data2); - register GMarshalFunc_BOOLEAN__STRING_POINTER callback; - register GCClosure *cc = (GCClosure*) closure; - register gpointer data1, data2; - gboolean v_return; - - g_return_if_fail (return_value != NULL); - g_return_if_fail (n_param_values == 3); - - if (G_CCLOSURE_SWAP_DATA (closure)) - { - data1 = closure->data; - data2 = g_value_peek_pointer (param_values + 0); - } - else - { - data1 = g_value_peek_pointer (param_values + 0); - data2 = closure->data; - } - callback = (GMarshalFunc_BOOLEAN__STRING_POINTER) (marshal_data ? marshal_data : cc->callback); - - v_return = callback (data1, - g_marshal_value_peek_string (param_values + 1), - g_marshal_value_peek_pointer (param_values + 2), - data2); - - g_value_set_boolean (return_value, v_return); -} - -G_END_DECLS - -#endif /* __dbus_glib_marshal_parole_gst_MARSHAL_H__ */ - -#include -static const DBusGMethodInfo dbus_glib_parole_gst_methods[] = { - { (GCallback) parole_plugin_player_dbus_quit, dbus_glib_marshal_parole_gst_BOOLEAN__POINTER, 0 }, - { (GCallback) parole_plugin_player_dbus_stop, dbus_glib_marshal_parole_gst_BOOLEAN__POINTER, 32 }, - { (GCallback) parole_plugin_player_dbus_ping, dbus_glib_marshal_parole_gst_BOOLEAN__POINTER, 64 }, - { (GCallback) parole_plugin_player_dbus_play_url, dbus_glib_marshal_parole_gst_BOOLEAN__STRING_POINTER, 96 }, - { (GCallback) parole_plugin_player_dbus_play_list, dbus_glib_marshal_parole_gst_BOOLEAN__STRING_POINTER, 139 }, -}; - -const DBusGObjectInfo dbus_glib_parole_gst_object_info = { - 0, - dbus_glib_parole_gst_methods, - 5, -"org.Parole.Media.Plugin\0Quit\0S\0\0org.Parole.Media.Plugin\0Stop\0S\0\0org.Parole.Media.Plugin\0Ping\0S\0\0org.Parole.Media.Plugin\0PlayUrl\0S\0url\0I\0s\0\0org.Parole.Media.Plugin\0PlayList\0S\0list\0I\0s\0\0\0", -"org.Parole.Media.Plugin\0Ready\0org.Parole.Media.Plugin\0Exiting\0\0", -"\0" -}; - diff -Nru parole-0.2.0.2/browser-plugin/media-plugin/parole-plugin-player.c parole-0.2.0.6/browser-plugin/media-plugin/parole-plugin-player.c --- parole-0.2.0.2/browser-plugin/media-plugin/parole-plugin-player.c 2010-01-25 11:50:01.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/media-plugin/parole-plugin-player.c 1970-01-01 00:00:00.000000000 +0000 @@ -1,1076 +0,0 @@ -/* - * * Copyright (C) 2009 Ali - * - * Licensed under the GNU General Public License Version 2 - * - * This program is free software; you can redistribute 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 - */ - -#ifdef HAVE_CONFIG_H -#include -#endif - -#include -#include -#include - -#include - -#include - -#include -#include - -#include "parole-plugin-player.h" - -#include "gst/parole-gst.h" -#include "dbus/parole-dbus.h" -#include "common/parole-screensaver.h" - -#define RESOURCE_FILE "xfce4/parole/browser-plugin.rc" - -/* - * DBus Glib init - */ -static void parole_plugin_player_dbus_class_init (ParolePluginPlayerClass *klass); -static void parole_plugin_player_dbus_init (ParolePluginPlayer *player); - -static void parole_plugin_player_finalize (GObject *object); - -static void parole_plugin_player_set_property (GObject *object, - guint prop_id, - const GValue *value, - GParamSpec *pspec); -static void parole_plugin_player_get_property (GObject *object, - guint prop_id, - GValue *value, - GParamSpec *pspec); - -#define PAROLE_PLUGIN_PLAYER_GET_PRIVATE(o) \ -(G_TYPE_INSTANCE_GET_PRIVATE ((o), PAROLE_TYPE_PLUGIN_PLAYER, ParolePluginPlayerPrivate)) - -static GTimer *idle_timer = NULL; -static GThread *idle_thread = NULL; - -struct ParolePluginPlayerPrivate -{ - DBusGConnection *bus; - ParoleGst *gst; - GtkWidget *window; - GtkWidget *plug; - GtkWidget *vbox; - GtkWidget *controls; - GtkWidget *play; - GtkWidget *range; - GtkWidget *full_screen; - GtkWidget *volume; - GtkWidget *buffering; - - GSList *list; - - ParoleScreenSaver *saver; - - ParoleMediaState state; - - gboolean fullscreen; - - gboolean reload; - gboolean internal_range_change; - gboolean user_seeking; - gboolean terminate; - gboolean finished; - gchar *url; - gulong sig; -}; - -enum -{ - PROP_0, - PROP_PLUG, - PROP_URL -}; - -enum -{ - SIG_EXITING, - SIG_READY, - LAST_SIGNAL -}; - -static guint signals [LAST_SIGNAL] = { 0 }; - -G_DEFINE_TYPE (ParolePluginPlayer, parole_plugin_player, G_TYPE_OBJECT) - -static void -parole_plugin_player_play (ParolePluginPlayer *player) -{ - if ( player->priv->terminate ) - return; - - player->priv->finished = FALSE; - parole_gst_play_uri (player->priv->gst, player->priv->url, NULL); -} - -static void -parole_plugin_player_set_fullscreen_button (ParolePluginPlayer *player) -{ - GtkWidget *img; - - g_object_get (G_OBJECT (player->priv->full_screen ), - "image", &img, - NULL); - - if ( player->priv->fullscreen ) - { - gtk_image_set_from_stock (GTK_IMAGE (img), GTK_STOCK_LEAVE_FULLSCREEN, GTK_ICON_SIZE_BUTTON); - gtk_widget_set_tooltip_text (img, _("Leave fullscreen")); - } - else - { - gtk_image_set_from_stock (GTK_IMAGE (img), GTK_STOCK_FULLSCREEN, GTK_ICON_SIZE_BUTTON); - gtk_widget_set_tooltip_text (img, _("Fullscreen")); - } - - g_object_unref (G_OBJECT (img)); -} - -static void -parole_plugin_player_fullscreen (ParolePluginPlayer *player, gboolean fullscreen) -{ - if ( player->priv->fullscreen == fullscreen ) - return; - - player->priv->fullscreen = fullscreen; - - parole_plugin_player_set_fullscreen_button (player); - - if ( fullscreen ) - { - gtk_widget_show (player->priv->window); - gtk_widget_reparent (player->priv->vbox, player->priv->window); - gtk_widget_show_all (player->priv->window); - gtk_window_fullscreen (GTK_WINDOW (player->priv->window)); - } - else - { - gtk_widget_hide (player->priv->window); - gtk_widget_reparent (player->priv->vbox, player->priv->plug); - gtk_window_unfullscreen (GTK_WINDOW (player->priv->window)); - } -} - -static gboolean -read_entry_int (const gchar *entry, gint fallback) -{ - gint ret_val = fallback; - gchar *file; - XfceRc *rc; - - file = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, RESOURCE_FILE, TRUE); - rc = xfce_rc_simple_open (file, TRUE); - g_free (file); - - if ( rc ) - { - ret_val = xfce_rc_read_int_entry (rc, entry, fallback); - xfce_rc_close (rc); - } - - return ret_val; -} - -static void -write_entry_int (const gchar *entry, gint value) -{ - gchar *file; - XfceRc *rc; - - file = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, RESOURCE_FILE, TRUE); - rc = xfce_rc_simple_open (file, FALSE); - g_free (file); - - xfce_rc_write_int_entry (rc, entry, value); - xfce_rc_close (rc); -} - -static void -parole_plugin_player_set_play_button_image (ParolePluginPlayer *player) -{ - GtkWidget *img; - - g_object_get (G_OBJECT (player->priv->play), - "image", &img, - NULL); - - if ( player->priv->state == PAROLE_MEDIA_STATE_PLAYING ) - { - g_object_set (G_OBJECT (img), - "stock", GTK_STOCK_MEDIA_PAUSE, - NULL); - } - else - { - g_object_set (G_OBJECT (img), - "stock", GTK_STOCK_MEDIA_PLAY, - NULL); - - } - g_object_unref (img); -} - -static void -parole_plugin_player_play_clicked_cb (ParolePluginPlayer *player) -{ - if ( player->priv->state == PAROLE_MEDIA_STATE_PLAYING ) - parole_gst_pause (player->priv->gst); - else if ( player->priv->state == PAROLE_MEDIA_STATE_PAUSED ) - parole_gst_resume (player->priv->gst); - else if ( player->priv->finished ) - parole_gst_stop (PAROLE_GST (player->priv->gst)); -} - -static void -parole_plugin_player_change_range_value (ParolePluginPlayer *player, gdouble value) -{ - if ( !player->priv->user_seeking ) - { - player->priv->internal_range_change = TRUE; - - gtk_range_set_value (GTK_RANGE (player->priv->range), value); - - player->priv->internal_range_change = FALSE; - } -} - -static void -parole_plugin_player_media_state_cb (ParoleGst *gst, const ParoleStream *stream, - ParoleMediaState state, ParolePluginPlayer *player) -{ - gboolean has_video; - - - g_object_get (G_OBJECT (stream), - "has-video", &has_video, - NULL); - - g_object_set (G_OBJECT (player->priv->full_screen), - "visible", has_video, - NULL); - - player->priv->state = state; - parole_plugin_player_set_play_button_image (player); - - if ( has_video && state == PAROLE_MEDIA_STATE_PLAYING ) - parole_screen_saver_inhibit (player->priv->saver); - else - parole_screen_saver_uninhibit (player->priv->saver); - - if ( state == PAROLE_MEDIA_STATE_PLAYING ) - { - gint64 duration; - gboolean seekable; - gboolean live; - - g_object_get (G_OBJECT (stream), - "seekable", &seekable, - "duration", &duration, - "live", &live, - NULL); - - gtk_widget_set_sensitive (player->priv->range, seekable); - player->priv->internal_range_change = TRUE; - if ( live || duration == 0 ) - parole_plugin_player_change_range_value (player, 0); - else - gtk_range_set_range (GTK_RANGE (player->priv->range), 0, duration); - player->priv->internal_range_change = FALSE; - - gtk_widget_set_tooltip_text (GTK_WIDGET (player->priv->range), seekable ? NULL : _("Media stream is not seekable")); - } - else if ( state == PAROLE_MEDIA_STATE_PAUSED ) - { - parole_plugin_player_change_range_value (player, 0); - } - else if ( state == PAROLE_MEDIA_STATE_STOPPED ) - { - parole_plugin_player_change_range_value (player, 0); - - if ( player->priv->terminate ) - { - gtk_main_quit (); - } - else if ( player->priv->reload ) - { - player->priv->reload = FALSE; - parole_plugin_player_play (player); - } - /* Play next item */ - else if ( player->priv->list != NULL && player->priv->url ) - { - parole_plugin_player_play (player); - } - else if ( player->priv->finished ) - { - player->priv->finished = FALSE; - } - } - else if ( state == PAROLE_MEDIA_STATE_FINISHED ) - { - parole_plugin_player_change_range_value (player, 0); - player->priv->finished = TRUE; - - if ( player->priv->url ) - { - g_free (player->priv->url); - player->priv->url = NULL; - } - - if ( player->priv->list ) - { - player->priv->list = player->priv->list->next; - if ( player->priv->list->data ) - { - ParoleFile *file = NULL; - file = PAROLE_FILE (player->priv->list->data); - if ( file ) - player->priv->url = g_strdup (parole_file_get_uri (file)); - } - } - parole_gst_stop (PAROLE_GST (player->priv->gst)); - } -} - -static gboolean -parole_plugin_player_terminate (GtkWidget *widget, GdkEvent *ev, ParolePluginPlayer *player) -{ - //g_debug ("Delete event"); - parole_gst_terminate (player->priv->gst); - g_signal_handler_disconnect (player->priv->plug, player->priv->sig); - player->priv->terminate = TRUE; - return TRUE; -} - -static void -parole_plugin_player_range_value_changed (GtkRange *range, ParolePluginPlayer *player) -{ - gdouble value; - - if ( !player->priv->internal_range_change ) - { - value = gtk_range_get_value (GTK_RANGE (range)); - player->priv->user_seeking = TRUE; - parole_gst_seek (player->priv->gst, value); - player->priv->user_seeking = FALSE; - } -} - -static gboolean -parole_plugin_player_range_button_release (GtkWidget *widget, GdkEventButton *ev, ParolePluginPlayer *player) -{ - ev->button = 2; - - player->priv->user_seeking = FALSE; - - return FALSE; -} - -static gboolean -parole_plugin_player_range_button_press (GtkWidget *widget, GdkEventButton *ev, ParolePluginPlayer *player) -{ - ev->button = 2; - - player->priv->user_seeking = TRUE; - - return FALSE; -} - -static void -parole_plugin_player_volume_changed_cb (GtkWidget *volume, gdouble value, ParolePluginPlayer *player) -{ - parole_gst_set_volume (player->priv->gst, value); - write_entry_int ("volume", (gint) (value * 100)); -} - -static void -parole_plugin_player_media_progressed_cb (ParoleGst *gst, const ParoleStream *stream, - gint64 value, ParolePluginPlayer *player) -{ - - if ( !player->priv->user_seeking && player->priv->state == PAROLE_MEDIA_STATE_PLAYING ) - { - parole_plugin_player_change_range_value (player, value); - } -} - -static void -parole_plugin_player_reload (ParolePluginPlayer *player) -{ - player->priv->reload = TRUE; - parole_gst_stop (player->priv->gst); -} - -static void -parole_plugin_player_copy_url (ParolePluginPlayer *player) -{ - GtkClipboard *clipboard; - - clipboard = gtk_clipboard_get (GDK_SELECTION_PRIMARY); - gtk_clipboard_set_text (clipboard, player->priv->url, -1); - clipboard = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD); - gtk_clipboard_set_text (clipboard, player->priv->url, -1); -} - -static void -parole_plugin_player_show_menu (ParolePluginPlayer *player, guint button, guint activate_time) -{ - GtkWidget *menu, *mi, *img; - - menu = gtk_menu_new (); - - /* - * Reload - */ - mi = gtk_image_menu_item_new_from_stock (GTK_STOCK_REFRESH, NULL); - gtk_widget_show (mi); - g_signal_connect_swapped (mi, "activate", - G_CALLBACK (parole_plugin_player_reload), player); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); - - - /* - * Copy url - */ - mi = gtk_image_menu_item_new_with_label (_("Copy url")); - img = gtk_image_new_from_stock (GTK_STOCK_COPY, GTK_ICON_SIZE_MENU); - gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),img); - gtk_widget_show (mi); - g_signal_connect_swapped (mi, "activate", - G_CALLBACK (parole_plugin_player_copy_url), player); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); - - - g_signal_connect_swapped (menu, "selection-done", - G_CALLBACK (gtk_widget_destroy), menu); - - gtk_menu_popup (GTK_MENU (menu), - NULL, NULL, - NULL, NULL, - button, activate_time); -} - -static gboolean -parole_plugin_player_gst_widget_button_release (GtkWidget *widget, - GdkEventButton *ev, - ParolePluginPlayer *player) -{ - gboolean ret_val = FALSE; - - if ( ev->button == 3 ) - { - parole_plugin_player_show_menu (player, ev->button, ev->time); - ret_val = TRUE; - } - - return ret_val; -} - -static void -parole_plugin_player_fullscreen_clicked_cb (ParolePluginPlayer *player) -{ - parole_plugin_player_fullscreen (player, !player->priv->fullscreen); -} - -static gboolean -parole_plugin_player_window_key_press_cb (GtkWidget *widget, GdkEventKey *ev, ParolePluginPlayer *player) -{ - gboolean ret_val = FALSE; - - switch (ev->keyval) - { - case GDK_F11: - case GDK_f: - case GDK_F: - parole_plugin_player_fullscreen_clicked_cb (player); - ret_val = TRUE; - break; - case GDK_Escape: - parole_plugin_player_fullscreen (player, FALSE); - ret_val = TRUE; - default: - break; - } - - return ret_val; -} - -static gboolean -parole_plugin_player_gst_widget_button_press (GtkWidget *widget, GdkEventButton *ev, ParolePluginPlayer *player) -{ - gboolean ret_val = FALSE; - - /* - * if full_screen widget is visible then we are playing - * video file so there is a point to go fullscreen. - */ - if ( ev->type == GDK_2BUTTON_PRESS && GTK_WIDGET_VISIBLE (player->priv->full_screen) ) - { - parole_plugin_player_fullscreen_clicked_cb (player); - ret_val = TRUE; - } - - return ret_val; -} - -static gboolean -parole_plugin_player_window_delete_event_cb (ParolePluginPlayer *player) -{ - parole_plugin_player_fullscreen (player, FALSE); - return TRUE; -} - -static gpointer *check_idle_thread (gpointer data) -{ - ParolePluginPlayer *player; - - player = PAROLE_PLUGIN_PLAYER (data); - - do - { - g_usleep (1000000); - if ( g_timer_elapsed (idle_timer, NULL ) > 60.f ) - { - gtk_main_quit (); - } - - } while ( player->priv->terminate == FALSE ); - - return NULL; -} - -static void -parole_plugin_player_dispose (GObject *object) -{ - ParolePluginPlayer *player; - - player = PAROLE_PLUGIN_PLAYER (object); - - G_OBJECT_CLASS (parole_plugin_player_parent_class)->dispose (object); -} - -static void -parole_plugin_player_error_cb (ParoleGst *gst, const gchar *error, ParolePluginPlayer *player) -{ - player->priv->finished = TRUE; - parole_screen_saver_uninhibit (player->priv->saver); - g_warning ("player_error_cb : %s", error); - -} - -static void -parole_plugin_player_buffering_cb (ParoleGst *gst, const ParoleStream *stream, - gint percentage, ParolePluginPlayer *player) -{ - if ( percentage == 100 ) - { - gtk_widget_hide (player->priv->buffering); - } - else - { - gchar *text; - - text = g_strdup_printf ("%s %d%%...", _("Buffering"), percentage); - gtk_label_set_text (GTK_LABEL (player->priv->buffering), text); - g_free (text); - gtk_widget_show (player->priv->buffering); - } -} - -static void -parole_plugin_player_construct (GObject *object) -{ - ParolePluginPlayer *player; - GtkObject *adj; - GtkWidget *gstbox; - GtkWidget *vbox; - GtkWidget *hbox; - GtkWidget *img; - GtkWidget *sep; - - player = PAROLE_PLUGIN_PLAYER (object); - - vbox = gtk_vbox_new (FALSE, 0); - - /* - * Gst Widget - */ - gstbox = gtk_hbox_new (TRUE, 0); - - gtk_box_pack_start (GTK_BOX (gstbox), GTK_WIDGET (player->priv->gst), TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX (vbox), gstbox, TRUE, TRUE, 0); - - g_signal_connect (G_OBJECT (player->priv->gst), "media-state", - G_CALLBACK (parole_plugin_player_media_state_cb), player); - - g_signal_connect (G_OBJECT (player->priv->gst), "error", - G_CALLBACK (parole_plugin_player_error_cb), player); - - g_signal_connect (G_OBJECT (player->priv->gst), "buffering", - G_CALLBACK (parole_plugin_player_buffering_cb), player); - - g_signal_connect (G_OBJECT (player->priv->gst), "media-progressed", - G_CALLBACK (parole_plugin_player_media_progressed_cb), player); - - g_signal_connect_after (G_OBJECT (player->priv->gst), "button-release-event", - G_CALLBACK (parole_plugin_player_gst_widget_button_release), player); - - g_signal_connect_after (G_OBJECT (player->priv->gst), "button-press-event", - G_CALLBACK (parole_plugin_player_gst_widget_button_press), player); - - g_signal_connect (G_OBJECT (player->priv->gst), "error", - G_CALLBACK (parole_plugin_player_error_cb), player); - - hbox = gtk_hbox_new (FALSE, 0); - /* - * Play button - */ - player->priv->play = gtk_button_new (); - - g_signal_connect_swapped (player->priv->play, "clicked", - G_CALLBACK (parole_plugin_player_play_clicked_cb), player); - - img = gtk_image_new_from_stock (GTK_STOCK_MEDIA_PLAY, GTK_ICON_SIZE_MENU); - - g_object_set (G_OBJECT (player->priv->play), - "receives-default", FALSE, - "can-focus", FALSE, - "relief", GTK_RELIEF_NONE, - "image", img, - NULL); - - gtk_box_pack_start (GTK_BOX (hbox), player->priv->play, - FALSE, FALSE, 0); - - sep = gtk_vseparator_new (); - gtk_box_pack_start (GTK_BOX (hbox), sep , - FALSE, FALSE, 0); - /* - * Media range - */ - player->priv->range = gtk_hscale_new (NULL); - g_object_set (G_OBJECT (player->priv->range), - "draw-value", FALSE, - "show-fill-level", TRUE, - NULL); - - gtk_box_pack_start (GTK_BOX (hbox), player->priv->range, - TRUE, TRUE, 0); - - g_signal_connect (player->priv->range, "button-press-event", - G_CALLBACK (parole_plugin_player_range_button_press), player); - - g_signal_connect (player->priv->range, "button-release-event", - G_CALLBACK (parole_plugin_player_range_button_release), player); - - g_signal_connect (player->priv->range, "value-changed", - G_CALLBACK (parole_plugin_player_range_value_changed), player); - - sep = gtk_vseparator_new (); - gtk_box_pack_start (GTK_BOX (hbox), sep, - FALSE, FALSE, 0); - - /* - * Full screen button - */ - player->priv->full_screen = gtk_button_new (); - - img = gtk_image_new (); - - g_object_set (G_OBJECT (player->priv->full_screen), - "receives-default", FALSE, - "can-focus", FALSE, - "relief", GTK_RELIEF_NONE, - "image", img, - NULL); - parole_plugin_player_set_fullscreen_button (player); - gtk_box_pack_start (GTK_BOX (hbox), player->priv->full_screen, - FALSE, FALSE, 0); - sep = gtk_vseparator_new (); - gtk_box_pack_start (GTK_BOX (hbox), sep, - FALSE, FALSE, 0); - - g_signal_connect_swapped (player->priv->full_screen, "clicked", - G_CALLBACK (parole_plugin_player_fullscreen_clicked_cb), player); - - /* - * Volume button - */ - adj = gtk_adjustment_new (0., - 0., 1., 1., 0., 0.); - player->priv->volume = g_object_new (GTK_TYPE_VOLUME_BUTTON, - "adjustment", adj, - "size", GTK_ICON_SIZE_MENU, - NULL); - gtk_adjustment_set_value (GTK_ADJUSTMENT (adj), (gdouble) (read_entry_int ("volume", 100)/100.) ); - gtk_box_pack_start (GTK_BOX (hbox), player->priv->volume, - FALSE, FALSE, 0); - - g_signal_connect (player->priv->volume, "value-changed", - G_CALLBACK (parole_plugin_player_volume_changed_cb), player); - - - /* - * buffering - */ - player->priv->buffering = gtk_label_new (NULL); - gtk_widget_set_no_show_all (player->priv->buffering, TRUE); - gtk_widget_hide (player->priv->buffering); - gtk_box_pack_start (GTK_BOX (vbox), player->priv->buffering, - FALSE, FALSE, 0); - - gtk_box_pack_start (GTK_BOX (vbox), hbox, - FALSE, FALSE, 0); - gtk_container_add (GTK_CONTAINER (player->priv->plug), vbox); - - player->priv->sig = g_signal_connect (player->priv->plug, "delete-event", - G_CALLBACK (parole_plugin_player_terminate), player); - - parole_plugin_player_change_range_value (player, 0); - gtk_widget_set_sensitive (player->priv->range, FALSE); - - player->priv->vbox = vbox; - - g_signal_emit (player, signals [SIG_READY], 0); - - if ( player->priv->url ) - parole_plugin_player_play (player); -} - -static void -parole_plugin_player_class_init (ParolePluginPlayerClass *klass) -{ - GObjectClass *object_class = G_OBJECT_CLASS (klass); - - object_class->finalize = parole_plugin_player_finalize; - object_class->dispose = parole_plugin_player_dispose; - - object_class->get_property = parole_plugin_player_get_property; - object_class->set_property = parole_plugin_player_set_property; - - object_class->constructed = parole_plugin_player_construct; - - signals[SIG_EXITING] = - g_signal_new ("exiting", - PAROLE_TYPE_PLUGIN_PLAYER, - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (ParolePluginPlayerClass, exiting), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0, G_TYPE_NONE); - - signals[SIG_READY] = - g_signal_new ("ready", - PAROLE_TYPE_PLUGIN_PLAYER, - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (ParolePluginPlayerClass, ready), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0, G_TYPE_NONE); - - - g_object_class_install_property (object_class, - PROP_PLUG, - g_param_spec_object ("plug", - NULL, NULL, - GTK_TYPE_PLUG, - G_PARAM_CONSTRUCT_ONLY | - G_PARAM_READWRITE)); - - g_object_class_install_property (object_class, - PROP_URL, - g_param_spec_string ("url", - NULL, NULL, - NULL, - G_PARAM_CONSTRUCT_ONLY | - G_PARAM_READWRITE)); - - g_type_class_add_private (klass, sizeof (ParolePluginPlayerPrivate)); - - parole_plugin_player_dbus_class_init (klass); -} - -static void -parole_plugin_player_init (ParolePluginPlayer *player) -{ - GError *error = NULL; - - player->priv = PAROLE_PLUGIN_PLAYER_GET_PRIVATE (player); - - player->priv->bus = parole_g_session_bus_get (); - - player->priv->gst = NULL; - player->priv->saver = parole_screen_saver_new (); - player->priv->plug = NULL; - player->priv->fullscreen = FALSE; - player->priv->terminate = FALSE; - player->priv->reload = FALSE; - player->priv->user_seeking = FALSE; - player->priv->internal_range_change = FALSE; - player->priv->list = NULL; - player->priv->state = PAROLE_MEDIA_STATE_STOPPED; - - player->priv->gst = PAROLE_GST (parole_gst_new (TRUE, NULL)); - - player->priv->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_window_set_keep_above (GTK_WINDOW (player->priv->window), TRUE); - gtk_window_set_decorated (GTK_WINDOW (player->priv->window), FALSE); - - g_signal_connect_swapped (player->priv->window, "delete-event", - G_CALLBACK (parole_plugin_player_window_delete_event_cb), player); - - g_signal_connect (player->priv->window, "key-press-event", - G_CALLBACK (parole_plugin_player_window_key_press_cb), player); - - - idle_timer = g_timer_new (); - idle_thread = g_thread_create ((GThreadFunc)check_idle_thread, player, FALSE, &error); - - if ( error ) - { - g_warning ("%s", error->message); - g_error_free (error); - } - - - parole_plugin_player_dbus_init (player); - -} - -static void parole_plugin_player_set_property (GObject *object, - guint prop_id, - const GValue *value, - GParamSpec *pspec) -{ - ParolePluginPlayer *player; - player = PAROLE_PLUGIN_PLAYER (object); - - switch (prop_id) - { - case PROP_PLUG: - player->priv->plug = GTK_WIDGET (g_value_get_object (value)); - break; - case PROP_URL: - player->priv->url = g_value_dup_string (value); - break; - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static void parole_plugin_player_get_property (GObject *object, - guint prop_id, - GValue *value, - GParamSpec *pspec) -{ - ParolePluginPlayer *player; - player = PAROLE_PLUGIN_PLAYER (object); - - switch (prop_id) - { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static void -parole_plugin_player_finalize (GObject *object) -{ - ParolePluginPlayer *player; - - player = PAROLE_PLUGIN_PLAYER (object); - - //g_debug ("Finalize..."); - - dbus_g_connection_unref (player->priv->bus); - - g_object_unref (player->priv->saver); - - if ( player->priv->url ) - g_free (player->priv->url); - - if ( player->priv->list ) - { - g_slist_foreach (player->priv->list, (GFunc) g_object_unref, NULL); - g_slist_free (player->priv->list); - } - - G_OBJECT_CLASS (parole_plugin_player_parent_class)->finalize (object); -} - -static gboolean parole_plugin_player_play_idle (gpointer data) -{ - ParolePluginPlayer *player; - - player = PAROLE_PLUGIN_PLAYER (data); - - parole_plugin_player_play (player); - - return FALSE; -} - -static gboolean -parole_plugin_player_quit_idle (gpointer data) -{ - ParolePluginPlayer *player; - - player = PAROLE_PLUGIN_PLAYER (data); - - parole_gst_terminate (player->priv->gst); - - return FALSE; -} - -static gboolean -parole_plugin_player_stop_idle (gpointer data) -{ - ParolePluginPlayer *player; - - player = PAROLE_PLUGIN_PLAYER (data); - - if (player->priv->gst) - parole_gst_terminate (player->priv->gst); - - return FALSE; -} - -ParolePluginPlayer * -parole_plugin_player_new (GtkWidget *plug, gchar *url) -{ - ParolePluginPlayer *player = NULL; - - player = g_object_new (PAROLE_TYPE_PLUGIN_PLAYER, - "plug", plug, - "url", url, - NULL); - - return player; -} - -void parole_plugin_player_exit (ParolePluginPlayer *player) -{ - player->priv->terminate = TRUE; - parole_gst_terminate (player->priv->gst); -} - -static gboolean parole_plugin_player_dbus_quit (ParolePluginPlayer *player, - GError **error); - - -static gboolean parole_plugin_player_dbus_stop (ParolePluginPlayer *player, - GError **error); - -static gboolean parole_plugin_player_dbus_ping (ParolePluginPlayer *player, - GError **error); - -static gboolean parole_plugin_player_dbus_play_url (ParolePluginPlayer *player, - gchar *in_URL, - GError **error); - -static gboolean parole_plugin_player_dbus_play_list (ParolePluginPlayer *player, - gchar *list, - GError **error); - -#include "org.parole.media.plugin.h" - -/* - * DBus server implementation - */ -static void -parole_plugin_player_dbus_class_init (ParolePluginPlayerClass *klass) -{ - - dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (klass), - &dbus_glib_parole_gst_object_info); - -} - -static void -parole_plugin_player_dbus_init (ParolePluginPlayer *player) -{ - dbus_g_connection_register_g_object (player->priv->bus, - "/org/Parole/Media/Plugin", - G_OBJECT (player)); -} - -static gboolean -parole_plugin_player_dbus_quit (ParolePluginPlayer *player, - GError **error) -{ - //g_debug ("Quit message received"); - player->priv->terminate = TRUE; - g_idle_add ((GSourceFunc) parole_plugin_player_quit_idle, player); - return TRUE; -} - -static gboolean -parole_plugin_player_dbus_stop (ParolePluginPlayer *player, GError **error) -{ - //g_debug ("Stop message received"); - player->priv->terminate = TRUE; - g_idle_add ((GSourceFunc)parole_plugin_player_stop_idle, player); - - return TRUE; -} - -static gboolean parole_plugin_player_dbus_ping (ParolePluginPlayer *player, - GError **error) -{ - //g_debug ("Ping"); - - if ( idle_timer ) - g_timer_reset (idle_timer); - - return TRUE; -} - -static gboolean parole_plugin_player_dbus_play_url (ParolePluginPlayer *player, - gchar *in_URL, - GError **error) -{ - player->priv->url = g_strdup (in_URL); - //g_debug ("Playing url=%s", in_URL); - g_idle_add ((GSourceFunc) parole_plugin_player_play_idle, player); - return TRUE; -} - -static gboolean parole_plugin_player_dbus_play_list (ParolePluginPlayer *player, - gchar *list, - GError **error) -{ - player->priv->list = parole_pl_parser_parse_from_file_by_extension (list); - - if ( player->priv->list != NULL && g_slist_length (player->priv->list) != 0 ) - { - ParoleFile *file; - file = g_slist_nth_data (player->priv->list, 0); - - player->priv->url = g_strdup (parole_file_get_uri (file)); - //g_debug ("Playing url=%s", player->priv->url); - g_idle_add ((GSourceFunc) parole_plugin_player_play_idle, player); - } - - return TRUE; -} diff -Nru parole-0.2.0.2/browser-plugin/media-plugin/parole-plugin-player.h parole-0.2.0.6/browser-plugin/media-plugin/parole-plugin-player.h --- parole-0.2.0.2/browser-plugin/media-plugin/parole-plugin-player.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/media-plugin/parole-plugin-player.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,61 +0,0 @@ -/* - * * Copyright (C) 2009 Ali - * - * Licensed under the GNU General Public License Version 2 - * - * This program is free software; you can redistribute 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 - */ - -#ifndef __PAROLE_PLUGIN_PLAYER_H -#define __PAROLE_PLUGIN_PLAYER_H - -#include - -G_BEGIN_DECLS - -#define PAROLE_TYPE_PLUGIN_PLAYER (parole_plugin_player_get_type () ) -#define PAROLE_PLUGIN_PLAYER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PAROLE_TYPE_PLUGIN_PLAYER, ParolePluginPlayer)) -#define PAROLE_IS_PLUGIN_PLAYER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PAROLE_TYPE_PLUGIN_PLAYER)) - -typedef struct ParolePluginPlayerPrivate ParolePluginPlayerPrivate; - -typedef struct -{ - GObject parent; - - ParolePluginPlayerPrivate *priv; - -} ParolePluginPlayer; - -typedef struct -{ - GObjectClass parent_class; - - void (*exiting) (ParolePluginPlayer *player); - - void (*ready) (ParolePluginPlayer *player); - -} ParolePluginPlayerClass; - -GType parole_plugin_player_get_type (void) G_GNUC_CONST; - -ParolePluginPlayer *parole_plugin_player_new (GtkWidget *plug, - gchar *url); - -void parole_plugin_player_exit (ParolePluginPlayer *player); - -G_END_DECLS - -#endif /* __PAROLE_PLUGIN_PLAYER_H */ diff -Nru parole-0.2.0.2/browser-plugin/npapi.h parole-0.2.0.6/browser-plugin/npapi.h --- parole-0.2.0.2/browser-plugin/npapi.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/npapi.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,717 +0,0 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#ifndef npapi_h_ -#define npapi_h_ - -#ifdef __OS2__ -#pragma pack(1) -#endif - -#include "nptypes.h" - -#ifdef OJI -#include "jri.h" /* Java Runtime Interface */ -#endif - -#if defined (__OS2__) || defined (OS2) -# ifndef XP_OS2 -# define XP_OS2 1 -# endif /* XP_OS2 */ -#endif /* __OS2__ */ - -#ifdef _WINDOWS -# include -# ifndef XP_WIN -# define XP_WIN 1 -# endif /* XP_WIN */ -#endif /* _WINDOWS */ - -#ifdef __MWERKS__ -# define _declspec __declspec -# ifdef __INTEL__ -# undef NULL -# ifndef XP_WIN -# define XP_WIN 1 -# endif /* XP_WIN */ -# endif /* __INTEL__ */ -#endif /* __MWERKS__ */ - -#ifdef XP_MACOSX -#include -#ifdef __LP64__ -#define NP_NO_QUICKDRAW -#endif -#endif - -#if defined(XP_UNIX) -# include -# if defined(MOZ_X11) -# include -# include -# endif -#endif - -/*----------------------------------------------------------------------*/ -/* Plugin Version Constants */ -/*----------------------------------------------------------------------*/ - -#define NP_VERSION_MAJOR 0 -#define NP_VERSION_MINOR 22 - - -/* The OS/2 version of Netscape uses RC_DATA to define the - mime types, file extensions, etc that are required. - Use a vertical bar to separate types, end types with \0. - FileVersion and ProductVersion are 32bit ints, all other - entries are strings the MUST be terminated wwith a \0. - -AN EXAMPLE: - -RCDATA NP_INFO_ProductVersion { 1,0,0,1,} - -RCDATA NP_INFO_MIMEType { "video/x-video|", - "video/x-flick\0" } -RCDATA NP_INFO_FileExtents { "avi|", - "flc\0" } -RCDATA NP_INFO_FileOpenName{ "MMOS2 video player(*.avi)|", - "MMOS2 Flc/Fli player(*.flc)\0" } - -RCDATA NP_INFO_FileVersion { 1,0,0,1 } -RCDATA NP_INFO_CompanyName { "Netscape Communications\0" } -RCDATA NP_INFO_FileDescription { "NPAVI32 Extension DLL\0" -RCDATA NP_INFO_InternalName { "NPAVI32\0" ) -RCDATA NP_INFO_LegalCopyright { "Copyright Netscape Communications \251 1996\0" -RCDATA NP_INFO_OriginalFilename { "NVAPI32.DLL" } -RCDATA NP_INFO_ProductName { "NPAVI32 Dynamic Link Library\0" } -*/ -/* RC_DATA types for version info - required */ -#define NP_INFO_ProductVersion 1 -#define NP_INFO_MIMEType 2 -#define NP_INFO_FileOpenName 3 -#define NP_INFO_FileExtents 4 -/* RC_DATA types for version info - used if found */ -#define NP_INFO_FileDescription 5 -#define NP_INFO_ProductName 6 -/* RC_DATA types for version info - optional */ -#define NP_INFO_CompanyName 7 -#define NP_INFO_FileVersion 8 -#define NP_INFO_InternalName 9 -#define NP_INFO_LegalCopyright 10 -#define NP_INFO_OriginalFilename 11 - -#ifndef RC_INVOKED - -/*----------------------------------------------------------------------*/ -/* Definition of Basic Types */ -/*----------------------------------------------------------------------*/ - -typedef unsigned char NPBool; -typedef int16_t NPError; -typedef int16_t NPReason; -typedef char* NPMIMEType; - -/*----------------------------------------------------------------------*/ -/* Structures and definitions */ -/*----------------------------------------------------------------------*/ - -#if !defined(__LP64__) -#if defined(XP_MAC) || defined(XP_MACOSX) -#pragma options align=mac68k -#endif -#endif /* __LP64__ */ - -/* - * NPP is a plug-in's opaque instance handle - */ -typedef struct _NPP -{ - void* pdata; /* plug-in private data */ - void* ndata; /* netscape private data */ -} NPP_t; - -typedef NPP_t* NPP; - -typedef struct _NPStream -{ - void* pdata; /* plug-in private data */ - void* ndata; /* netscape private data */ - const char* url; - uint32_t end; - uint32_t lastmodified; - void* notifyData; - const char* headers; /* Response headers from host. - * Exists only for >= NPVERS_HAS_RESPONSE_HEADERS. - * Used for HTTP only; NULL for non-HTTP. - * Available from NPP_NewStream onwards. - * Plugin should copy this data before storing it. - * Includes HTTP status line and all headers, - * preferably verbatim as received from server, - * headers formatted as in HTTP ("Header: Value"), - * and newlines (\n, NOT \r\n) separating lines. - * Terminated by \n\0 (NOT \n\n\0). */ -} NPStream; - -typedef struct _NPByteRange -{ - int32_t offset; /* negative offset means from the end */ - uint32_t length; - struct _NPByteRange* next; -} NPByteRange; - -typedef struct _NPSavedData -{ - int32_t len; - void* buf; -} NPSavedData; - -typedef struct _NPRect -{ - uint16_t top; - uint16_t left; - uint16_t bottom; - uint16_t right; -} NPRect; - -typedef struct _NPSize -{ - int32_t width; - int32_t height; -} NPSize; - -#ifdef XP_UNIX -/* - * Unix specific structures and definitions - */ - -/* - * Callback Structures. - * - * These are used to pass additional platform specific information. - */ -enum { - NP_SETWINDOW = 1, - NP_PRINT -}; - -typedef struct -{ - int32_t type; -} NPAnyCallbackStruct; - -typedef struct -{ - int32_t type; -#ifdef MOZ_X11 - Display* display; - Visual* visual; - Colormap colormap; - unsigned int depth; -#endif -} NPSetWindowCallbackStruct; - -typedef struct -{ - int32_t type; - FILE* fp; -} NPPrintCallbackStruct; - -#endif /* XP_UNIX */ - -#ifdef XP_MACOSX -typedef enum { -#ifndef NP_NO_QUICKDRAW - NPDrawingModelQuickDraw = 0, -#endif - NPDrawingModelCoreGraphics = 1 -} NPDrawingModel; -#endif - -/* - * The following masks are applied on certain platforms to NPNV and - * NPPV selectors that pass around pointers to COM interfaces. Newer - * compilers on some platforms may generate vtables that are not - * compatible with older compilers. To prevent older plugins from - * not understanding a new browser's ABI, these masks change the - * values of those selectors on those platforms. To remain backwards - * compatible with differenet versions of the browser, plugins can - * use these masks to dynamically determine and use the correct C++ - * ABI that the browser is expecting. This does not apply to Windows - * as Microsoft's COM ABI will likely not change. - */ - -#define NP_ABI_GCC3_MASK 0x10000000 -/* - * gcc 3.x generated vtables on UNIX and OSX are incompatible with - * previous compilers. - */ -#if (defined (XP_UNIX) && defined(__GNUC__) && (__GNUC__ >= 3)) -#define _NP_ABI_MIXIN_FOR_GCC3 NP_ABI_GCC3_MASK -#else -#define _NP_ABI_MIXIN_FOR_GCC3 0 -#endif - -#define NP_ABI_MACHO_MASK 0x01000000 -/* - * On OSX, the Mach-O executable format is significantly - * different than CFM. In addition to having a different - * C++ ABI, it also has has different C calling convention. - * You must use glue code when calling between CFM and - * Mach-O C functions. - */ -#if (defined(TARGET_RT_MAC_MACHO)) -#define _NP_ABI_MIXIN_FOR_MACHO NP_ABI_MACHO_MASK -#else -#define _NP_ABI_MIXIN_FOR_MACHO 0 -#endif - -#define NP_ABI_MASK (_NP_ABI_MIXIN_FOR_GCC3 | _NP_ABI_MIXIN_FOR_MACHO) - -/* - * List of variable names for which NPP_GetValue shall be implemented - */ -typedef enum { - NPPVpluginNameString = 1, - NPPVpluginDescriptionString, - NPPVpluginWindowBool, - NPPVpluginTransparentBool, - NPPVjavaClass, /* Not implemented in Mozilla 1.0 */ - NPPVpluginWindowSize, - NPPVpluginTimerInterval, - - NPPVpluginScriptableInstance = (10 | NP_ABI_MASK), - NPPVpluginScriptableIID = 11, - - /* Introduced in Mozilla 0.9.9 */ - NPPVjavascriptPushCallerBool = 12, - - /* Introduced in Mozilla 1.0 */ - NPPVpluginKeepLibraryInMemory = 13, - NPPVpluginNeedsXEmbed = 14, - - /* Get the NPObject for scripting the plugin. Introduced in Firefox - * 1.0 (NPAPI minor version 14). - */ - NPPVpluginScriptableNPObject = 15, - - /* Get the plugin value (as \0-terminated UTF-8 string data) for - * form submission if the plugin is part of a form. Use - * NPN_MemAlloc() to allocate memory for the string data. Introduced - * in Mozilla 1.8b2 (NPAPI minor version 15). - */ - NPPVformValue = 16, - - NPPVpluginUrlRequestsDisplayedBool = 17, - - /* Checks if the plugin is interested in receiving the http body of - * all http requests (including failed ones, http status != 200). - */ - NPPVpluginWantsAllNetworkStreams = 18 - -#ifdef XP_MACOSX - /* Used for negotiating drawing models */ - , NPPVpluginDrawingModel = 1000 -#endif -} NPPVariable; - -/* - * List of variable names for which NPN_GetValue is implemented by Mozilla - */ -typedef enum { - NPNVxDisplay = 1, - NPNVxtAppContext, - NPNVnetscapeWindow, - NPNVjavascriptEnabledBool, - NPNVasdEnabledBool, - NPNVisOfflineBool, - - /* 10 and over are available on Mozilla builds starting with 0.9.4 */ - NPNVserviceManager = (10 | NP_ABI_MASK), - NPNVDOMElement = (11 | NP_ABI_MASK), /* available in Mozilla 1.2 */ - NPNVDOMWindow = (12 | NP_ABI_MASK), - NPNVToolkit = (13 | NP_ABI_MASK), - NPNVSupportsXEmbedBool = 14, - - /* Get the NPObject wrapper for the browser window. */ - NPNVWindowNPObject = 15, - - /* Get the NPObject wrapper for the plugins DOM element. */ - NPNVPluginElementNPObject = 16, - - NPNVSupportsWindowless = 17, - - NPNVprivateModeBool = 18 - -#ifdef XP_MACOSX - /* Used for negotiating drawing models */ - , NPNVpluginDrawingModel = 1000 -#ifndef NP_NO_QUICKDRAW - , NPNVsupportsQuickDrawBool = 2000 -#endif - , NPNVsupportsCoreGraphicsBool = 2001 -#endif -} NPNVariable; - -typedef enum { - NPNURLVCookie = 501, - NPNURLVProxy -} NPNURLVariable; - -/* - * The type of Tookkit the widgets use - */ -typedef enum { - NPNVGtk12 = 1, - NPNVGtk2 -} NPNToolkitType; - -/* - * The type of a NPWindow - it specifies the type of the data structure - * returned in the window field. - */ -typedef enum { - NPWindowTypeWindow = 1, - NPWindowTypeDrawable -} NPWindowType; - -typedef struct _NPWindow -{ - void* window; /* Platform specific window handle */ - /* OS/2: x - Position of bottom left corner */ - /* OS/2: y - relative to visible netscape window */ - int32_t x; /* Position of top left corner relative */ - int32_t y; /* to a netscape page. */ - uint32_t width; /* Maximum window size */ - uint32_t height; - NPRect clipRect; /* Clipping rectangle in port coordinates */ - /* Used by MAC only. */ -#if defined(XP_UNIX) && !defined(XP_MACOSX) - void * ws_info; /* Platform-dependent additonal data */ -#endif /* XP_UNIX */ - NPWindowType type; /* Is this a window or a drawable? */ -} NPWindow; - - -typedef struct _NPFullPrint -{ - NPBool pluginPrinted;/* Set TRUE if plugin handled fullscreen printing */ - NPBool printOne; /* TRUE if plugin should print one copy to default - printer */ - void* platformPrint; /* Platform-specific printing info */ -} NPFullPrint; - -typedef struct _NPEmbedPrint -{ - NPWindow window; - void* platformPrint; /* Platform-specific printing info */ -} NPEmbedPrint; - -typedef struct _NPPrint -{ - uint16_t mode; /* NP_FULL or NP_EMBED */ - union - { - NPFullPrint fullPrint; /* if mode is NP_FULL */ - NPEmbedPrint embedPrint; /* if mode is NP_EMBED */ - } print; -} NPPrint; - -#ifdef XP_MACOSX -typedef EventRecord NPEvent; -#elif defined(XP_WIN) -typedef struct _NPEvent -{ - uint16_t event; - uint32_t wParam; - uint32_t lParam; -} NPEvent; -#elif defined(XP_OS2) -typedef struct _NPEvent -{ - uint32_t event; - uint32_t wParam; - uint32_t lParam; -} NPEvent; -#elif defined (XP_UNIX) && defined(MOZ_X11) -typedef XEvent NPEvent; -#else -typedef void* NPEvent; -#endif /* XP_MACOSX */ - -#ifdef XP_MACOSX - -typedef void* NPRegion; -#ifndef NP_NO_QUICKDRAW -typedef RgnHandle NPQDRegion; -#endif -typedef CGPathRef NPCGRegion; -#elif defined(XP_WIN) -typedef HRGN NPRegion; -#elif defined(XP_UNIX) && defined(MOZ_X11) -typedef Region NPRegion; -#else -typedef void *NPRegion; -#endif - -#ifdef XP_MACOSX -typedef struct NP_Port -{ - CGrafPtr port; - int32_t portx; /* position inside the topmost window */ - int32_t porty; -} NP_Port; - -typedef struct NP_CGContext -{ - CGContextRef context; - WindowRef window; -} NP_CGContext; - -/* Non-standard event types that can be passed to HandleEvent */ -enum NPEventType { - NPEventType_GetFocusEvent = (osEvt + 16), - NPEventType_LoseFocusEvent, - NPEventType_AdjustCursorEvent, - NPEventType_MenuCommandEvent, - NPEventType_ClippingChangedEvent, - NPEventType_ScrollingBeginsEvent = 1000, - NPEventType_ScrollingEndsEvent -}; - -#ifdef OBSOLETE -#define getFocusEvent (osEvt + 16) -#define loseFocusEvent (osEvt + 17) -#define adjustCursorEvent (osEvt + 18) -#endif - -#endif /* XP_MACOSX */ - -/* - * Values for mode passed to NPP_New: - */ -#define NP_EMBED 1 -#define NP_FULL 2 - -/* - * Values for stream type passed to NPP_NewStream: - */ -#define NP_NORMAL 1 -#define NP_SEEK 2 -#define NP_ASFILE 3 -#define NP_ASFILEONLY 4 - -#define NP_MAXREADY (((unsigned)(~0)<<1)>>1) - -#if !defined(__LP64__) -#if defined(XP_MAC) || defined(XP_MACOSX) -#pragma options align=reset -#endif -#endif /* __LP64__ */ - -/*----------------------------------------------------------------------*/ -/* Error and Reason Code definitions */ -/*----------------------------------------------------------------------*/ - -/* - * Values of type NPError: - */ -#define NPERR_BASE 0 -#define NPERR_NO_ERROR (NPERR_BASE + 0) -#define NPERR_GENERIC_ERROR (NPERR_BASE + 1) -#define NPERR_INVALID_INSTANCE_ERROR (NPERR_BASE + 2) -#define NPERR_INVALID_FUNCTABLE_ERROR (NPERR_BASE + 3) -#define NPERR_MODULE_LOAD_FAILED_ERROR (NPERR_BASE + 4) -#define NPERR_OUT_OF_MEMORY_ERROR (NPERR_BASE + 5) -#define NPERR_INVALID_PLUGIN_ERROR (NPERR_BASE + 6) -#define NPERR_INVALID_PLUGIN_DIR_ERROR (NPERR_BASE + 7) -#define NPERR_INCOMPATIBLE_VERSION_ERROR (NPERR_BASE + 8) -#define NPERR_INVALID_PARAM (NPERR_BASE + 9) -#define NPERR_INVALID_URL (NPERR_BASE + 10) -#define NPERR_FILE_NOT_FOUND (NPERR_BASE + 11) -#define NPERR_NO_DATA (NPERR_BASE + 12) -#define NPERR_STREAM_NOT_SEEKABLE (NPERR_BASE + 13) - -/* - * Values of type NPReason: - */ -#define NPRES_BASE 0 -#define NPRES_DONE (NPRES_BASE + 0) -#define NPRES_NETWORK_ERR (NPRES_BASE + 1) -#define NPRES_USER_BREAK (NPRES_BASE + 2) - -/* - * Don't use these obsolete error codes any more. - */ -#define NP_NOERR NP_NOERR_is_obsolete_use_NPERR_NO_ERROR -#define NP_EINVAL NP_EINVAL_is_obsolete_use_NPERR_GENERIC_ERROR -#define NP_EABORT NP_EABORT_is_obsolete_use_NPRES_USER_BREAK - -/* - * Version feature information - */ -#define NPVERS_HAS_STREAMOUTPUT 8 -#define NPVERS_HAS_NOTIFICATION 9 -#define NPVERS_HAS_LIVECONNECT 9 -#define NPVERS_WIN16_HAS_LIVECONNECT 9 -#define NPVERS_68K_HAS_LIVECONNECT 11 -#define NPVERS_HAS_WINDOWLESS 11 -#define NPVERS_HAS_XPCONNECT_SCRIPTING 13 -#define NPVERS_HAS_NPRUNTIME_SCRIPTING 14 -#define NPVERS_HAS_FORM_VALUES 15 -#define NPVERS_HAS_POPUPS_ENABLED_STATE 16 -#define NPVERS_HAS_RESPONSE_HEADERS 17 -#define NPVERS_HAS_NPOBJECT_ENUM 18 -#define NPVERS_HAS_PLUGIN_THREAD_ASYNC_CALL 19 -#define NPVERS_HAS_ALL_NETWORK_STREAMS 20 -#define NPVERS_HAS_URL_AND_AUTH_INFO 21 - -/*----------------------------------------------------------------------*/ -/* Function Prototypes */ -/*----------------------------------------------------------------------*/ - -#if defined(__OS2__) -#define NP_LOADDS _System -#else -#define NP_LOADDS -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* NPP_* functions are provided by the plugin and called by the navigator. */ - -#ifdef XP_UNIX -char* NPP_GetMIMEDescription(); -#endif - -NPError NP_LOADDS NPP_Initialize(); -void NP_LOADDS NPP_Shutdown(); -NPError NP_LOADDS NPP_New(NPMIMEType pluginType, NPP instance, - uint16_t mode, int16_t argc, char* argn[], - char* argv[], NPSavedData* saved); -NPError NP_LOADDS NPP_Destroy(NPP instance, NPSavedData** save); -NPError NP_LOADDS NPP_SetWindow(NPP instance, NPWindow* window); -NPError NP_LOADDS NPP_NewStream(NPP instance, NPMIMEType type, - NPStream* stream, NPBool seekable, - uint16_t* stype); -NPError NP_LOADDS NPP_DestroyStream(NPP instance, NPStream* stream, - NPReason reason); -int32_t NP_LOADDS NPP_WriteReady(NPP instance, NPStream* stream); -int32_t NP_LOADDS NPP_Write(NPP instance, NPStream* stream, int32_t offset, - int32_t len, void* buffer); -void NP_LOADDS NPP_StreamAsFile(NPP instance, NPStream* stream, - const char* fname); -void NP_LOADDS NPP_Print(NPP instance, NPPrint* platformPrint); -int16_t NP_LOADDS NPP_HandleEvent(NPP instance, void* event); -void NP_LOADDS NPP_URLNotify(NPP instance, const char* url, - NPReason reason, void* notifyData); -#ifdef OJI -jref NP_LOADDS NPP_GetJavaClass(); -#endif -NPError NP_LOADDS NPP_GetValue(NPP instance, NPPVariable variable, void *value); -NPError NP_LOADDS NPP_SetValue(NPP instance, NPNVariable variable, void *value); - -/* NPN_* functions are provided by the navigator and called by the plugin. */ -void NP_LOADDS NPN_Version(int* plugin_major, int* plugin_minor, - int* netscape_major, int* netscape_minor); -NPError NP_LOADDS NPN_GetURLNotify(NPP instance, const char* url, - const char* target, void* notifyData); -NPError NP_LOADDS NPN_GetURL(NPP instance, const char* url, - const char* target); -NPError NP_LOADDS NPN_PostURLNotify(NPP instance, const char* url, - const char* target, uint32_t len, - const char* buf, NPBool file, - void* notifyData); -NPError NP_LOADDS NPN_PostURL(NPP instance, const char* url, - const char* target, uint32_t len, - const char* buf, NPBool file); -NPError NP_LOADDS NPN_RequestRead(NPStream* stream, NPByteRange* rangeList); -NPError NP_LOADDS NPN_NewStream(NPP instance, NPMIMEType type, - const char* target, NPStream** stream); -int32_t NP_LOADDS NPN_Write(NPP instance, NPStream* stream, int32_t len, - void* buffer); -NPError NP_LOADDS NPN_DestroyStream(NPP instance, NPStream* stream, - NPReason reason); -void NP_LOADDS NPN_Status(NPP instance, const char* message); -const char* NP_LOADDS NPN_UserAgent(NPP instance); -void* NP_LOADDS NPN_MemAlloc(uint32_t size); -void NP_LOADDS NPN_MemFree(void* ptr); -uint32_t NP_LOADDS NPN_MemFlush(uint32_t size); -void NP_LOADDS NPN_ReloadPlugins(NPBool reloadPages); -#ifdef OJI -JRIEnv* NP_LOADDS NPN_GetJavaEnv(); -jref NP_LOADDS NPN_GetJavaPeer(NPP instance); -#endif -NPError NP_LOADDS NPN_GetValue(NPP instance, NPNVariable variable, - void *value); -NPError NP_LOADDS NPN_SetValue(NPP instance, NPPVariable variable, - void *value); -void NP_LOADDS NPN_InvalidateRect(NPP instance, NPRect *invalidRect); -void NP_LOADDS NPN_InvalidateRegion(NPP instance, - NPRegion invalidRegion); -void NP_LOADDS NPN_ForceRedraw(NPP instance); -void NP_LOADDS NPN_PushPopupsEnabledState(NPP instance, NPBool enabled); -void NP_LOADDS NPN_PopPopupsEnabledState(NPP instance); -void NP_LOADDS NPN_PluginThreadAsyncCall(NPP instance, - void (*func) (void *), - void *userData); -NPError NP_LOADDS NPN_GetValueForURL(NPP instance, NPNURLVariable variable, - const char *url, char **value, - uint32_t *len); -NPError NP_LOADDS NPN_SetValueForURL(NPP instance, NPNURLVariable variable, - const char *url, const char *value, - uint32_t len); -NPError NP_LOADDS NPN_GetAuthenticationInfo(NPP instance, - const char *protocol, - const char *host, int32_t port, - const char *scheme, - const char *realm, - char **username, uint32_t *ulen, - char **password, - uint32_t *plen); - -#ifdef __cplusplus -} /* end extern "C" */ -#endif - -#endif /* RC_INVOKED */ -#ifdef __OS2__ -#pragma pack() -#endif - -#endif /* npapi_h_ */ diff -Nru parole-0.2.0.2/browser-plugin/np_entry.cpp parole-0.2.0.6/browser-plugin/np_entry.cpp --- parole-0.2.0.2/browser-plugin/np_entry.cpp 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/np_entry.cpp 1970-01-01 00:00:00.000000000 +0000 @@ -1,187 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: NPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Netscape Public License - * Version 1.1 (the "License"); you may not use this file except in - * compliance with the License. You may obtain a copy of the License at - * http://www.mozilla.org/NPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the NPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the NPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -////////////////////////////////////////////////////////////// -// -// Main plugin entry point implementation -// -#include -#include -#include "npupp.h" - -#ifndef HIBYTE -#define HIBYTE(x) ((((uint32_t)(x)) & 0xff00) >> 8) -#endif - -NPNetscapeFuncs NPNFuncs; - -#ifdef XP_WIN - -NPError OSCALL NP_GetEntryPoints(NPPluginFuncs * pFuncs) -{ - if (pFuncs == NULL) - return NPERR_INVALID_FUNCTABLE_ERROR; - - if (pFuncs->size < sizeof(NPPluginFuncs)) - return NPERR_INVALID_FUNCTABLE_ERROR; - - pFuncs->version = (NP_VERSION_MAJOR << 8) | NP_VERSION_MINOR; - pFuncs->newp = NPP_New; - pFuncs->destroy = NPP_Destroy; - pFuncs->setwindow = NPP_SetWindow; - pFuncs->newstream = NPP_NewStream; - pFuncs->destroystream = NPP_DestroyStream; - pFuncs->asfile = NPP_StreamAsFile; - pFuncs->writeready = NPP_WriteReady; - pFuncs->write = NPP_Write; - pFuncs->print = NPP_Print; - pFuncs->event = NPP_HandleEvent; - pFuncs->urlnotify = NPP_URLNotify; - pFuncs->getvalue = NPP_GetValue; - pFuncs->setvalue = NPP_SetValue; - pFuncs->javaClass = NULL; - - return NPERR_NO_ERROR; -} - -#endif /* XP_WIN */ - -char *NPP_GetMIMEDescription(); - -char *NP_GetMIMEDescription() -{ - return NPP_GetMIMEDescription(); -} - -NPError NP_GetValue(void *future, NPPVariable variable, void *value) -{ - return NPP_GetValue((NPP_t *) future, variable, value); -} - -NPError OSCALL NP_Initialize(NPNetscapeFuncs * pFuncs -#ifdef XP_UNIX - , NPPluginFuncs * pluginFuncs -#endif - ) -{ - if (pFuncs == NULL) - return NPERR_INVALID_FUNCTABLE_ERROR; - - if (HIBYTE(pFuncs->version) > NP_VERSION_MAJOR) - return NPERR_INCOMPATIBLE_VERSION_ERROR; - - if (pFuncs->size < sizeof(NPNetscapeFuncs)) - return NPERR_INVALID_FUNCTABLE_ERROR; - - NPNFuncs.size = pFuncs->size; - NPNFuncs.version = pFuncs->version; - NPNFuncs.geturlnotify = pFuncs->geturlnotify; - NPNFuncs.geturl = pFuncs->geturl; - NPNFuncs.posturlnotify = pFuncs->posturlnotify; - NPNFuncs.posturl = pFuncs->posturl; - NPNFuncs.requestread = pFuncs->requestread; - NPNFuncs.newstream = pFuncs->newstream; - NPNFuncs.write = pFuncs->write; - NPNFuncs.destroystream = pFuncs->destroystream; - NPNFuncs.status = pFuncs->status; - NPNFuncs.uagent = pFuncs->uagent; - NPNFuncs.memalloc = pFuncs->memalloc; - NPNFuncs.memfree = pFuncs->memfree; - NPNFuncs.memflush = pFuncs->memflush; - NPNFuncs.reloadplugins = pFuncs->reloadplugins; - NPNFuncs.getJavaEnv = pFuncs->getJavaEnv; - NPNFuncs.getJavaPeer = pFuncs->getJavaPeer; - NPNFuncs.getvalue = pFuncs->getvalue; - NPNFuncs.setvalue = pFuncs->setvalue; - NPNFuncs.invalidaterect = pFuncs->invalidaterect; - NPNFuncs.invalidateregion = pFuncs->invalidateregion; - NPNFuncs.forceredraw = pFuncs->forceredraw; - NPNFuncs.getstringidentifier = pFuncs->getstringidentifier; - NPNFuncs.getstringidentifiers = pFuncs->getstringidentifiers; - NPNFuncs.getintidentifier = pFuncs->getintidentifier; - NPNFuncs.identifierisstring = pFuncs->identifierisstring; - NPNFuncs.utf8fromidentifier = pFuncs->utf8fromidentifier; - NPNFuncs.intfromidentifier = pFuncs->intfromidentifier; - NPNFuncs.createobject = pFuncs->createobject; - NPNFuncs.retainobject = pFuncs->retainobject; - NPNFuncs.releaseobject = pFuncs->releaseobject; - NPNFuncs.invoke = pFuncs->invoke; - NPNFuncs.invokeDefault = pFuncs->invokeDefault; - NPNFuncs.evaluate = pFuncs->evaluate; - NPNFuncs.getproperty = pFuncs->getproperty; - NPNFuncs.setproperty = pFuncs->setproperty; - NPNFuncs.removeproperty = pFuncs->removeproperty; - NPNFuncs.hasproperty = pFuncs->hasproperty; - NPNFuncs.hasmethod = pFuncs->hasmethod; - NPNFuncs.releasevariantvalue = pFuncs->releasevariantvalue; - NPNFuncs.setexception = pFuncs->setexception; - -#ifdef XP_UNIX - /* - * Set up the plugin function table that Netscape will use to - * call us. Netscape needs to know about our version and size - * and have a UniversalProcPointer for every function we - * implement. - */ - pluginFuncs->version = (NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR; - pluginFuncs->size = sizeof(NPPluginFuncs); - pluginFuncs->newp = NewNPP_NewProc(NPP_New); - pluginFuncs->destroy = NewNPP_DestroyProc(NPP_Destroy); - pluginFuncs->setwindow = NewNPP_SetWindowProc(NPP_SetWindow); - pluginFuncs->newstream = NewNPP_NewStreamProc(NPP_NewStream); - pluginFuncs->destroystream = NewNPP_DestroyStreamProc(NPP_DestroyStream); - pluginFuncs->asfile = NewNPP_StreamAsFileProc(NPP_StreamAsFile); - pluginFuncs->writeready = NewNPP_WriteReadyProc(NPP_WriteReady); - pluginFuncs->write = NewNPP_WriteProc(NPP_Write); - pluginFuncs->print = NewNPP_PrintProc(NPP_Print); - pluginFuncs->urlnotify = NewNPP_URLNotifyProc(NPP_URLNotify); - pluginFuncs->event = NULL; - pluginFuncs->getvalue = NewNPP_GetValueProc(NPP_GetValue); -#ifdef OJI - pluginFuncs->javaClass = NPP_GetJavaClass(); -#endif - - NPP_Initialize(); -#endif - - return NPERR_NO_ERROR; -} - -NPError OSCALL NP_Shutdown() -{ - return NPERR_NO_ERROR; -} diff -Nru parole-0.2.0.2/browser-plugin/npfunctions.h parole-0.2.0.6/browser-plugin/npfunctions.h --- parole-0.2.0.2/browser-plugin/npfunctions.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/npfunctions.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,289 +0,0 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#ifndef npfunctions_h_ -#define npfunctions_h_ - -#ifdef __OS2__ -#pragma pack(1) -#define NP_LOADDS _System -#else -#define NP_LOADDS -#endif - -#ifndef GENERATINGCFM -#define GENERATINGCFM 0 -#endif - -#include "npapi.h" -#include "npruntime.h" - -typedef void (* NP_LOADDS NPP_InitializeProcPtr)(); -typedef void (* NP_LOADDS NPP_ShutdownProcPtr)(); -typedef NPError (* NP_LOADDS NPP_NewProcPtr)(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char* argn[], char* argv[], NPSavedData* saved); -typedef NPError (* NP_LOADDS NPP_DestroyProcPtr)(NPP instance, NPSavedData** save); -typedef NPError (* NP_LOADDS NPP_SetWindowProcPtr)(NPP instance, NPWindow* window); -typedef NPError (* NP_LOADDS NPP_NewStreamProcPtr)(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype); -typedef NPError (* NP_LOADDS NPP_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason); -typedef int32_t (* NP_LOADDS NPP_WriteReadyProcPtr)(NPP instance, NPStream* stream); -typedef int32_t (* NP_LOADDS NPP_WriteProcPtr)(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer); -typedef void (* NP_LOADDS NPP_StreamAsFileProcPtr)(NPP instance, NPStream* stream, const char* fname); -typedef void (* NP_LOADDS NPP_PrintProcPtr)(NPP instance, NPPrint* platformPrint); -typedef int16_t (* NP_LOADDS NPP_HandleEventProcPtr)(NPP instance, void* event); -typedef void (* NP_LOADDS NPP_URLNotifyProcPtr)(NPP instance, const char* url, NPReason reason, void* notifyData); -typedef NPError (* NP_LOADDS NPP_GetValueProcPtr)(NPP instance, NPPVariable variable, void *ret_value); -typedef NPError (* NP_LOADDS NPP_SetValueProcPtr)(NPP instance, NPNVariable variable, void *value); - -typedef NPError (*NPN_GetValueProcPtr)(NPP instance, NPNVariable variable, void *ret_value); -typedef NPError (*NPN_SetValueProcPtr)(NPP instance, NPPVariable variable, void *value); -typedef NPError (*NPN_GetURLNotifyProcPtr)(NPP instance, const char* url, const char* window, void* notifyData); -typedef NPError (*NPN_PostURLNotifyProcPtr)(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file, void* notifyData); -typedef NPError (*NPN_GetURLProcPtr)(NPP instance, const char* url, const char* window); -typedef NPError (*NPN_PostURLProcPtr)(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file); -typedef NPError (*NPN_RequestReadProcPtr)(NPStream* stream, NPByteRange* rangeList); -typedef NPError (*NPN_NewStreamProcPtr)(NPP instance, NPMIMEType type, const char* window, NPStream** stream); -typedef int32_t (*NPN_WriteProcPtr)(NPP instance, NPStream* stream, int32_t len, void* buffer); -typedef NPError (*NPN_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason); -typedef void (*NPN_StatusProcPtr)(NPP instance, const char* message); -typedef const char* (*NPN_UserAgentProcPtr)(NPP instance); -typedef void* (*NPN_MemAllocProcPtr)(uint32_t size); -typedef void (*NPN_MemFreeProcPtr)(void* ptr); -typedef uint32_t (*NPN_MemFlushProcPtr)(uint32_t size); -typedef void (*NPN_ReloadPluginsProcPtr)(NPBool reloadPages); -typedef void* (*NPN_GetJavaEnvProcPtr)(); -typedef void* (*NPN_GetJavaPeerProcPtr)(NPP instance); -typedef void (*NPN_InvalidateRectProcPtr)(NPP instance, NPRect *rect); -typedef void (*NPN_InvalidateRegionProcPtr)(NPP instance, NPRegion region); -typedef void (*NPN_ForceRedrawProcPtr)(NPP instance); -typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr)(const NPUTF8* name); -typedef void (*NPN_GetStringIdentifiersProcPtr)(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers); -typedef NPIdentifier (*NPN_GetIntIdentifierProcPtr)(int32_t intid); -typedef bool (*NPN_IdentifierIsStringProcPtr)(NPIdentifier identifier); -typedef NPUTF8* (*NPN_UTF8FromIdentifierProcPtr)(NPIdentifier identifier); -typedef int32_t (*NPN_IntFromIdentifierProcPtr)(NPIdentifier identifier); -typedef NPObject* (*NPN_CreateObjectProcPtr)(NPP npp, NPClass *aClass); -typedef NPObject* (*NPN_RetainObjectProcPtr)(NPObject *obj); -typedef void (*NPN_ReleaseObjectProcPtr)(NPObject *obj); -typedef bool (*NPN_InvokeProcPtr)(NPP npp, NPObject* obj, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result); -typedef bool (*NPN_InvokeDefaultProcPtr)(NPP npp, NPObject* obj, const NPVariant *args, uint32_t argCount, NPVariant *result); -typedef bool (*NPN_EvaluateProcPtr)(NPP npp, NPObject *obj, NPString *script, NPVariant *result); -typedef bool (*NPN_GetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, NPVariant *result); -typedef bool (*NPN_SetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, const NPVariant *value); -typedef bool (*NPN_RemovePropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName); -typedef bool (*NPN_HasPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName); -typedef bool (*NPN_HasMethodProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName); -typedef void (*NPN_ReleaseVariantValueProcPtr)(NPVariant *variant); -typedef void (*NPN_SetExceptionProcPtr)(NPObject *obj, const NPUTF8 *message); -typedef bool (*NPN_PushPopupsEnabledStateProcPtr)(NPP npp, NPBool enabled); -typedef bool (*NPN_PopPopupsEnabledStateProcPtr)(NPP npp); -typedef bool (*NPN_EnumerateProcPtr)(NPP npp, NPObject *obj, NPIdentifier **identifier, uint32_t *count); -typedef void (*NPN_PluginThreadAsyncCallProcPtr)(NPP instance, void (*func)(void *), void *userData); -typedef bool (*NPN_ConstructProcPtr)(NPP npp, NPObject* obj, const NPVariant *args, uint32_t argCount, NPVariant *result); -typedef NPError (*NPN_GetValueForURLPtr)(NPP npp, NPNURLVariable variable, const char *url, char **value, uint32_t *len); -typedef NPError (*NPN_SetValueForURLPtr)(NPP npp, NPNURLVariable variable, const char *url, const char *value, uint32_t len); -typedef NPError (*NPN_GetAuthenticationInfoPtr)(NPP npp, const char *protocol, const char *host, int32_t port, const char *scheme, const char *realm, char **username, uint32_t *ulen, char **password, uint32_t *plen); - -typedef struct _NPPluginFuncs { - uint16_t size; - uint16_t version; - NPP_NewProcPtr newp; - NPP_DestroyProcPtr destroy; - NPP_SetWindowProcPtr setwindow; - NPP_NewStreamProcPtr newstream; - NPP_DestroyStreamProcPtr destroystream; - NPP_StreamAsFileProcPtr asfile; - NPP_WriteReadyProcPtr writeready; - NPP_WriteProcPtr write; - NPP_PrintProcPtr print; - NPP_HandleEventProcPtr event; - NPP_URLNotifyProcPtr urlnotify; - void* javaClass; - NPP_GetValueProcPtr getvalue; - NPP_SetValueProcPtr setvalue; -} NPPluginFuncs; - -typedef struct _NPNetscapeFuncs { - uint16_t size; - uint16_t version; - NPN_GetURLProcPtr geturl; - NPN_PostURLProcPtr posturl; - NPN_RequestReadProcPtr requestread; - NPN_NewStreamProcPtr newstream; - NPN_WriteProcPtr write; - NPN_DestroyStreamProcPtr destroystream; - NPN_StatusProcPtr status; - NPN_UserAgentProcPtr uagent; - NPN_MemAllocProcPtr memalloc; - NPN_MemFreeProcPtr memfree; - NPN_MemFlushProcPtr memflush; - NPN_ReloadPluginsProcPtr reloadplugins; - NPN_GetJavaEnvProcPtr getJavaEnv; - NPN_GetJavaPeerProcPtr getJavaPeer; - NPN_GetURLNotifyProcPtr geturlnotify; - NPN_PostURLNotifyProcPtr posturlnotify; - NPN_GetValueProcPtr getvalue; - NPN_SetValueProcPtr setvalue; - NPN_InvalidateRectProcPtr invalidaterect; - NPN_InvalidateRegionProcPtr invalidateregion; - NPN_ForceRedrawProcPtr forceredraw; - NPN_GetStringIdentifierProcPtr getstringidentifier; - NPN_GetStringIdentifiersProcPtr getstringidentifiers; - NPN_GetIntIdentifierProcPtr getintidentifier; - NPN_IdentifierIsStringProcPtr identifierisstring; - NPN_UTF8FromIdentifierProcPtr utf8fromidentifier; - NPN_IntFromIdentifierProcPtr intfromidentifier; - NPN_CreateObjectProcPtr createobject; - NPN_RetainObjectProcPtr retainobject; - NPN_ReleaseObjectProcPtr releaseobject; - NPN_InvokeProcPtr invoke; - NPN_InvokeDefaultProcPtr invokeDefault; - NPN_EvaluateProcPtr evaluate; - NPN_GetPropertyProcPtr getproperty; - NPN_SetPropertyProcPtr setproperty; - NPN_RemovePropertyProcPtr removeproperty; - NPN_HasPropertyProcPtr hasproperty; - NPN_HasMethodProcPtr hasmethod; - NPN_ReleaseVariantValueProcPtr releasevariantvalue; - NPN_SetExceptionProcPtr setexception; - NPN_PushPopupsEnabledStateProcPtr pushpopupsenabledstate; - NPN_PopPopupsEnabledStateProcPtr poppopupsenabledstate; - NPN_EnumerateProcPtr enumerate; - NPN_PluginThreadAsyncCallProcPtr pluginthreadasynccall; - NPN_ConstructProcPtr construct; - NPN_GetValueForURLPtr getvalueforurl; - NPN_SetValueForURLPtr setvalueforurl; - NPN_GetAuthenticationInfoPtr getauthenticationinfo; -} NPNetscapeFuncs; - -#ifdef XP_MACOSX -/* Don't use this, it is going away. */ -typedef NPError (* NPP_MainEntryProcPtr)(NPNetscapeFuncs*, NPPluginFuncs*, NPP_ShutdownProcPtr*); -/* - * Mac OS X version(s) of NP_GetMIMEDescription(const char *) - * These can be called to retreive MIME information from the plugin dynamically - * - * Note: For compatibility with Quicktime, BPSupportedMIMEtypes is another way - * to get mime info from the plugin only on OSX and may not be supported - * in furture version -- use NP_GetMIMEDescription instead - */ -enum -{ - kBPSupportedMIMETypesStructVers_1 = 1 -}; -typedef struct _BPSupportedMIMETypes -{ - SInt32 structVersion; /* struct version */ - Handle typeStrings; /* STR# formated handle, allocated by plug-in */ - Handle infoStrings; /* STR# formated handle, allocated by plug-in */ -} BPSupportedMIMETypes; -OSErr BP_GetSupportedMIMETypes(BPSupportedMIMETypes *mimeInfo, UInt32 flags); -#define NP_GETMIMEDESCRIPTION_NAME "NP_GetMIMEDescription" -typedef const char* (*NP_GetMIMEDescriptionProcPtr)(); -typedef OSErr (*BP_GetSupportedMIMETypesProcPtr)(BPSupportedMIMETypes*, UInt32); -#endif - -#if defined(_WINDOWS) -#define OSCALL WINAPI -#else -#if defined(__OS2__) -#define OSCALL _System -#else -#define OSCALL -#endif -#endif - -#if defined(XP_UNIX) -/* GCC 3.3 and later support the visibility attribute. */ -#if defined(__GNUC__) && ((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) -#define NP_VISIBILITY_DEFAULT __attribute__((visibility("default"))) -#elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) -#define NP_VISIBILITY_DEFAULT __global -#else -#define NP_VISIBILITY_DEFAULT -#endif -#define NP_EXPORT(__type) NP_VISIBILITY_DEFAULT __type -#endif - -#if defined(_WINDOWS) || defined (__OS2__) -#ifdef __cplusplus -extern "C" { -#endif -/* plugin meta member functions */ -#if defined(__OS2__) -typedef struct _NPPluginData { /* Alternate OS2 Plugin interface */ - char *pMimeTypes; - char *pFileExtents; - char *pFileOpenTemplate; - char *pProductName; - char *pProductDescription; - unsigned long dwProductVersionMS; - unsigned long dwProductVersionLS; -} NPPluginData; -NPError OSCALL NP_GetPluginData(NPPluginData * pPluginData); -#endif -NPError OSCALL NP_GetEntryPoints(NPPluginFuncs* pFuncs); -NPError OSCALL NP_Initialize(NPNetscapeFuncs* pFuncs); -NPError OSCALL NP_Shutdown(); -char* NP_GetMIMEDescription(); -#ifdef __cplusplus -} -#endif -#endif - -#if defined(__OS2__) -#pragma pack() -#endif - -#ifdef XP_UNIX -#ifdef __cplusplus -extern "C" { -#endif -NP_EXPORT(char*) NP_GetPluginVersion(); -NP_EXPORT(char*) NP_GetMIMEDescription(); -#ifdef XP_MACOSX -NP_EXPORT(NPError) NP_Initialize(NPNetscapeFuncs* bFuncs); -#else -NP_EXPORT(NPError) NP_Initialize(NPNetscapeFuncs* bFuncs, NPPluginFuncs* pFuncs); -#endif -NP_EXPORT(NPError) NP_Shutdown(); -NP_EXPORT(NPError) NP_GetValue(void *future, NPPVariable aVariable, void *aValue); -#ifdef __cplusplus -} -#endif -#endif - -#endif /* npfunctions_h_ */ diff -Nru parole-0.2.0.2/browser-plugin/npn_gate.cpp parole-0.2.0.6/browser-plugin/npn_gate.cpp --- parole-0.2.0.2/browser-plugin/npn_gate.cpp 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/npn_gate.cpp 1970-01-01 00:00:00.000000000 +0000 @@ -1,325 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: NPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Netscape Public License - * Version 1.1 (the "License"); you may not use this file except in - * compliance with the License. You may obtain a copy of the License at - * http://www.mozilla.org/NPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the NPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the NPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -//////////////////////////////////////////////////////////// -// -// Implementation of Netscape entry points (NPN_*) -// -#include -//#include "npupp.h" -#include - -#ifndef HIBYTE -#define HIBYTE(x) ((((uint32_t)(x)) & 0xff00) >> 8) -#endif - -#ifndef LOBYTE -#define LOBYTE(W) ((W) & 0xFF) -#endif - -extern NPNetscapeFuncs NPNFuncs; - -void NPN_Version(int *plugin_major, int *plugin_minor, int *netscape_major, int *netscape_minor) -{ - *plugin_major = NP_VERSION_MAJOR; - *plugin_minor = NP_VERSION_MINOR; - *netscape_major = HIBYTE(NPNFuncs.version); - *netscape_minor = LOBYTE(NPNFuncs.version); -} - -NPError NPN_GetURLNotify(NPP instance, const char *url, const char *target, void *notifyData) -{ - int navMinorVers = NPNFuncs.version & 0xFF; - NPError rv = NPERR_NO_ERROR; - - if (navMinorVers >= NPVERS_HAS_NOTIFICATION) - rv = NPNFuncs.geturlnotify(instance, url, target, notifyData); - else - rv = NPERR_INCOMPATIBLE_VERSION_ERROR; - return rv; -} - -NPError NPN_GetURL(NPP instance, const char *url, const char *target) -{ - NPError rv = NPNFuncs.geturl(instance, url, target); - return rv; -} - -NPError NPN_PostURLNotify(NPP instance, const char *url, const char *window, uint32_t len, - const char *buf, NPBool file, void *notifyData) -{ - int navMinorVers = NPNFuncs.version & 0xFF; - NPError rv = NPERR_NO_ERROR; - - if (navMinorVers >= NPVERS_HAS_NOTIFICATION) - rv = NPNFuncs.posturlnotify(instance, url, window, len, buf, file, notifyData); - else - rv = NPERR_INCOMPATIBLE_VERSION_ERROR; - - return rv; -} - -NPError NPN_PostURL(NPP instance, const char *url, const char *window, uint32_t len, const char *buf, - NPBool file) -{ - NPError rv = NPNFuncs.posturl(instance, url, window, len, buf, file); - return rv; -} - -NPError NPN_RequestRead(NPStream * stream, NPByteRange * rangeList) -{ - NPError rv = NPNFuncs.requestread(stream, rangeList); - return rv; -} - -NPError NPN_NewStream(NPP instance, NPMIMEType type, const char *target, NPStream ** stream) -{ - int navMinorVersion = NPNFuncs.version & 0xFF; - - NPError rv = NPERR_NO_ERROR; - - if (navMinorVersion >= NPVERS_HAS_STREAMOUTPUT) - rv = NPNFuncs.newstream(instance, type, target, stream); - else - rv = NPERR_INCOMPATIBLE_VERSION_ERROR; - - return rv; -} - -int32_t NPN_Write(NPP instance, NPStream * stream, int32_t len, void *buffer) -{ - int navMinorVersion = NPNFuncs.version & 0xFF; - int32_t rv = 0; - - if (navMinorVersion >= NPVERS_HAS_STREAMOUTPUT) - rv = NPNFuncs.write(instance, stream, len, buffer); - else - rv = -1; - - return rv; -} - -NPError NPN_DestroyStream(NPP instance, NPStream * stream, NPError reason) -{ - int navMinorVersion = NPNFuncs.version & 0xFF; - NPError rv = NPERR_NO_ERROR; - - if (navMinorVersion >= NPVERS_HAS_STREAMOUTPUT) - rv = NPNFuncs.destroystream(instance, stream, reason); - else - rv = NPERR_INCOMPATIBLE_VERSION_ERROR; - - return rv; -} - -void NPN_Status(NPP instance, const char *message) -{ - NPNFuncs.status(instance, message); -} - -const char *NPN_UserAgent(NPP instance) -{ - const char *rv = NULL; - rv = NPNFuncs.uagent(instance); - return rv; -} - -void *NPN_MemAlloc(uint32_t size) -{ - void *rv = NULL; - rv = NPNFuncs.memalloc(size); - return rv; -} - -void NPN_MemFree(void *ptr) -{ - NPNFuncs.memfree(ptr); -} - -uint32_t NPN_MemFlush(uint32_t size) -{ - uint32_t rv = NPNFuncs.memflush(size); - return rv; -} - -void NPN_ReloadPlugins(NPBool reloadPages) -{ - NPNFuncs.reloadplugins(reloadPages); -} - -/* -JRIEnv *NPN_GetJavaEnv(void) -{ - JRIEnv *rv = NULL; - rv = NPNFuncs.getJavaEnv(); - return rv; -} - -jref NPN_GetJavaPeer(NPP instance) -{ - jref rv; - rv = NPNFuncs.getJavaPeer(instance); - return rv; -} -*/ - -NPError NPN_GetValue(NPP instance, NPNVariable variable, void *value) -{ - NPError rv = NPNFuncs.getvalue(instance, variable, value); - return rv; -} - -NPError NPN_SetValue(NPP instance, NPPVariable variable, void *value) -{ - NPError rv = NPNFuncs.setvalue(instance, variable, value); - return rv; -} - -void NPN_InvalidateRect(NPP instance, NPRect * invalidRect) -{ - NPNFuncs.invalidaterect(instance, invalidRect); -} - -void NPN_InvalidateRegion(NPP instance, NPRegion invalidRegion) -{ - NPNFuncs.invalidateregion(instance, invalidRegion); -} - -void NPN_ForceRedraw(NPP instance) -{ - NPNFuncs.forceredraw(instance); -} - -NPIdentifier NPN_GetStringIdentifier(const NPUTF8 * name) -{ - if (!NPNFuncs.getstringidentifier) - return 0; - - return NPNFuncs.getstringidentifier(name); -} - -void NPN_GetStringIdentifiers(const NPUTF8 ** names, uint32_t nameCount, NPIdentifier * identifiers) -{ - return NPNFuncs.getstringidentifiers(names, nameCount, identifiers); -} - -NPIdentifier NPN_GetStringIdentifier(int32_t intid) -{ - return NPNFuncs.getintidentifier(intid); -} - -bool NPN_IdentifierIsString(NPIdentifier identifier) -{ - return NPNFuncs.identifierisstring(identifier); -} - -NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier) -{ - return NPNFuncs.utf8fromidentifier(identifier); -} - -int32_t NPN_IntFromIdentifier(NPIdentifier identifier) -{ - return NPNFuncs.intfromidentifier(identifier); -} - -NPObject *NPN_CreateObject(NPP npp, NPClass * aClass) -{ - return NPNFuncs.createobject(npp, aClass); -} - -NPObject *NPN_RetainObject(NPObject * obj) -{ - return NPNFuncs.retainobject(obj); -} - -void NPN_ReleaseObject(NPObject * obj) -{ - return NPNFuncs.releaseobject(obj); -} - -bool NPN_Invoke(NPP npp, NPObject * obj, NPIdentifier methodName, - const NPVariant * args, uint32_t argCount, NPVariant * result) -{ - return NPNFuncs.invoke(npp, obj, methodName, args, argCount, result); -} - -bool NPN_InvokeDefault(NPP npp, NPObject * obj, const NPVariant * args, - uint32_t argCount, NPVariant * result) -{ - return NPNFuncs.invokeDefault(npp, obj, args, argCount, result); -} - -bool NPN_Evaluate(NPP npp, NPObject * obj, NPString * script, NPVariant * result) -{ - return NPNFuncs.evaluate(npp, obj, script, result); -} - -bool NPN_GetProperty(NPP npp, NPObject * obj, NPIdentifier propertyName, NPVariant * result) -{ - return NPNFuncs.getproperty(npp, obj, propertyName, result); -} - -bool NPN_SetProperty(NPP npp, NPObject * obj, NPIdentifier propertyName, const NPVariant * value) -{ - return NPNFuncs.setproperty(npp, obj, propertyName, value); -} - -bool NPN_RemoveProperty(NPP npp, NPObject * obj, NPIdentifier propertyName) -{ - return NPNFuncs.removeproperty(npp, obj, propertyName); -} - -bool NPN_HasProperty(NPP npp, NPObject * obj, NPIdentifier propertyName) -{ - return NPNFuncs.hasproperty(npp, obj, propertyName); -} - -bool NPN_HasMethod(NPP npp, NPObject * obj, NPIdentifier methodName) -{ - return NPNFuncs.hasmethod(npp, obj, methodName); -} - -void NPN_ReleaseVariantValue(NPVariant * variant) -{ - NPNFuncs.releasevariantvalue(variant); -} - -void NPN_SetException(NPObject * obj, const NPUTF8 * message) -{ - NPNFuncs.setexception(obj, message); -} diff -Nru parole-0.2.0.2/browser-plugin/npp_gate.cpp parole-0.2.0.6/browser-plugin/npp_gate.cpp --- parole-0.2.0.2/browser-plugin/npp_gate.cpp 2010-01-25 11:34:16.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/npp_gate.cpp 1970-01-01 00:00:00.000000000 +0000 @@ -1,305 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: NPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Netscape Public License - * Version 1.1 (the "License"); you may not use this file except in - * compliance with the License. You may obtain a copy of the License at - * http://www.mozilla.org/NPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the NPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the NPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -//////////////////////////////////////////////////////////// -// -// Implementation of plugin entry points (NPP_*) -// most are just empty stubs for this particular plugin -// -#include "plugin.h" -#include "plugin_types.h" -#include "plugin_setup.h" - -char *NPP_GetMIMEDescription(void) -{ - return GetMIMEDescription(); -} - - -NPError NPP_Initialize(void) -{ - return NPERR_NO_ERROR; -} - -void NPP_Shutdown(void) -{ -} - -// here the plugin creates an instance of our CPlugin object which -// will be associated with this newly created plugin instance and -// will do all the neccessary job -NPError NPP_New(NPMIMEType pluginType, - NPP instance, - uint16_t mode, int16_t argc, char *argn[], char *argv[], NPSavedData * saved) -{ - if (instance == NULL) - return NPERR_INVALID_INSTANCE_ERROR; - - NPError rv = NPERR_NO_ERROR; - - CPlugin *pPlugin = new CPlugin(instance); - if (pPlugin == NULL) - return NPERR_OUT_OF_MEMORY_ERROR; - - instance->pdata = (void *) pPlugin; - pPlugin->mode = mode; - pPlugin->mimetype = g_strdup(pluginType); - pPlugin->mInstance = instance; - new_instance(pPlugin, argc, argn, argv); - - g_debug ("NEW INSTANCE mode=%d NP_FULL=%d NP_EMBED=%d", mode, NP_FULL, NP_EMBED); - return rv; -} - -// here is the place to clean up and destroy the CPlugin object -NPError NPP_Destroy(NPP instance, NPSavedData ** save) -{ - if (instance == NULL) - return NPERR_INVALID_INSTANCE_ERROR; - - NPError rv = NPERR_NO_ERROR; - - CPlugin *pPlugin = (CPlugin *) instance->pdata; - if (pPlugin != NULL) { - pPlugin->shut(); - delete pPlugin; - } - return rv; -} - -// during this call we know when the plugin window is ready or -// is about to be destroyed so we can do some gui specific -// initialization and shutdown -NPError NPP_SetWindow(NPP instance, NPWindow * pNPWindow) -{ - if (instance == NULL) - return NPERR_INVALID_INSTANCE_ERROR; - - NPError rv = NPERR_NO_ERROR; - - if (pNPWindow == NULL) - return NPERR_GENERIC_ERROR; - - CPlugin *pPlugin = (CPlugin *) instance->pdata; - - if (pPlugin == NULL) - return NPERR_GENERIC_ERROR; - - // window just created - if (!pPlugin->isInitialized() && (pNPWindow->window != NULL)) { - if (!pPlugin->init(pNPWindow)) { - delete pPlugin; - pPlugin = NULL; - return NPERR_MODULE_LOAD_FAILED_ERROR; - } - } - // window goes away - if ((pNPWindow->window == NULL) && pPlugin->isInitialized()) - return NPERR_NO_ERROR; - - // window resized - if (pPlugin->isInitialized() && (pNPWindow->window != NULL)) { - pPlugin->SetWindow(pNPWindow); - return NPERR_NO_ERROR; - } - // this should not happen, nothing to do - if ((pNPWindow->window == NULL) && !pPlugin->isInitialized()) - return NPERR_NO_ERROR; - - return rv; -} - -// ============================== -// ! Scriptability related code ! -// ============================== -// -// here the plugin is asked by Mozilla to tell if it is scriptable -// we should return a valid interface id and a pointer to -// nsScriptablePeer interface which we should have implemented -// and which should be defined in the corressponding *.xpt file -// in the bin/components folder -NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value) -{ - NPError rv = NPERR_NO_ERROR; - - if (variable == NPPVpluginScriptableNPObject) { - if (instance == NULL) - return NPERR_INVALID_INSTANCE_ERROR; - CPlugin *plugin = (CPlugin *) instance->pdata; - if (plugin == NULL) - return NPERR_GENERIC_ERROR; - //*(NPObject **) value = plugin->GetScriptableObject(); - } else { - rv = PluginGetValue(variable, value); - } - - return rv; -} - -NPError NPP_NewStream(NPP instance, - NPMIMEType type, NPStream * stream, NPBool seekable, uint16_t * stype) -{ - if (instance == NULL) - return NPERR_INVALID_INSTANCE_ERROR; - - NPError rv = NPERR_NO_ERROR; - - CPlugin *pPlugin = (CPlugin *) instance->pdata; - - if (pPlugin == NULL) - return NPERR_GENERIC_ERROR; - - pPlugin->NewStream(type, stream, seekable, stype); - - return rv; -} - -int32_t NPP_WriteReady(NPP instance, NPStream * stream) -{ - if (instance == NULL) - return NPERR_INVALID_INSTANCE_ERROR; - - int32_t rv = 0x0fffffff; - CPlugin *pPlugin = (CPlugin *) instance->pdata; - - if (pPlugin == NULL) - return NPERR_GENERIC_ERROR; - - rv = pPlugin->WriteReady(stream); - // printf("rv = %i\n",rv); - - return rv; -} - -int32_t NPP_Write(NPP instance, NPStream * stream, int32_t offset, int32_t len, void *buffer) -{ - if (instance == NULL) - return NPERR_INVALID_INSTANCE_ERROR; - - int32_t rv = len; - CPlugin *pPlugin = (CPlugin *) instance->pdata; - - if (pPlugin == NULL) - return NPERR_GENERIC_ERROR; - - rv = pPlugin->Write(stream, offset, len, buffer); - // printf("rv = %i\n", rv); - return rv; -} - -NPError NPP_DestroyStream(NPP instance, NPStream * stream, NPError reason) -{ - if (instance == NULL) - return NPERR_INVALID_INSTANCE_ERROR; - - NPError rv = NPERR_NO_ERROR; - CPlugin *pPlugin = (CPlugin *) instance->pdata; - - if (pPlugin == NULL) - return NPERR_GENERIC_ERROR; - - pPlugin->DestroyStream(stream, reason); - return rv; -} - -void NPP_StreamAsFile(NPP instance, NPStream * stream, const char *fname) -{ - if (instance == NULL) - return; -} - -void NPP_Print(NPP instance, NPPrint * printInfo) -{ - if (instance == NULL) - return; -} - -void NPP_URLNotify(NPP instance, const char *url, NPReason reason, void *notifyData) -{ - if (instance == NULL) - return; - - CPlugin *pPlugin = (CPlugin *) instance->pdata; - - if (pPlugin == NULL) - return; - - pPlugin->URLNotify(url, reason, notifyData); - -} - -NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value) -{ - if (instance == NULL) - return NPERR_INVALID_INSTANCE_ERROR; - - NPError rv = NPERR_NO_ERROR; - return rv; -} - -int16_t NPP_HandleEvent(NPP instance, void *event) -{ - if (instance == NULL) - return 0; -/* - int16_t rv = 0; - CPlugin *pPlugin = (CPlugin *) instance->pdata; - if (pPlugin) - rv = pPlugin->handleEvent(event); -*/ - return 0; -} - -/* -jref NPP_GetJavaClass (void) -{ - return NULL; -} -*/ - -NPObject *NPP_GetScriptableInstance(NPP instance) -{ - if (!instance) - return 0; -/* - NPObject *npobj = 0; - CPlugin *pPlugin = (CPlugin *) instance->pdata; - if (!pPlugin) - npobj = pPlugin->GetScriptableObject(); -*/ - return 0; -} diff -Nru parole-0.2.0.2/browser-plugin/npruntime.h parole-0.2.0.6/browser-plugin/npruntime.h --- parole-0.2.0.2/browser-plugin/npruntime.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/npruntime.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,423 +0,0 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * Copyright © 2004, Apple Computer, Inc. and The Mozilla Foundation. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. 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. - * 3. Neither the names of Apple Computer, Inc. ("Apple") or The Mozilla - * Foundation ("Mozilla") nor the names of their contributors may be used - * to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY APPLE, MOZILLA AND THEIR 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 APPLE, MOZILLA OR - * THEIR 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. - * - * Revision 1 (March 4, 2004): - * Initial proposal. - * - * Revision 2 (March 10, 2004): - * All calls into script were made asynchronous. Results are - * provided via the NPScriptResultFunctionPtr callback. - * - * Revision 3 (March 10, 2004): - * Corrected comments to not refer to class retain/release FunctionPtrs. - * - * Revision 4 (March 11, 2004): - * Added additional convenience NPN_SetExceptionWithUTF8(). - * Changed NPHasPropertyFunctionPtr and NPHasMethodFunctionPtr to take NPClass - * pointers instead of NPObject pointers. - * Added NPIsValidIdentifier(). - * - * Revision 5 (March 17, 2004): - * Added context parameter to result callbacks from ScriptObject functions. - * - * Revision 6 (March 29, 2004): - * Renamed functions implemented by user agent to NPN_*. Removed _ from - * type names. - * Renamed "JavaScript" types to "Script". - * - * Revision 7 (April 21, 2004): - * NPIdentifier becomes a void*, was int32_t - * Remove NP_IsValidIdentifier, renamed NP_IdentifierFromUTF8 to NP_GetIdentifier - * Added NPVariant and modified functions to use this new type. - * - * Revision 8 (July 9, 2004): - * Updated to joint Apple-Mozilla license. - * - */ -#ifndef _NP_RUNTIME_H_ -#define _NP_RUNTIME_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -#include "nptypes.h" - -/* - This API is used to facilitate binding code written in C to script - objects. The API in this header does not assume the presence of a - user agent. That is, it can be used to bind C code to scripting - environments outside of the context of a user agent. - - However, the normal use of the this API is in the context of a - scripting environment running in a browser or other user agent. - In particular it is used to support the extended Netscape - script-ability API for plugins (NP-SAP). NP-SAP is an extension - of the Netscape plugin API. As such we have adopted the use of - the "NP" prefix for this API. - - The following NP{N|P}Variables were added to the Netscape plugin - API (in npapi.h): - - NPNVWindowNPObject - NPNVPluginElementNPObject - NPPVpluginScriptableNPObject - - These variables are exposed through NPN_GetValue() and - NPP_GetValue() (respectively) and are used to establish the - initial binding between the user agent and native code. The DOM - objects in the user agent can be examined and manipulated using - the NPN_ functions that operate on NPObjects described in this - header. - - To the extent possible the assumptions about the scripting - language used by the scripting environment have been minimized. -*/ - -#define NP_BEGIN_MACRO do { -#define NP_END_MACRO } while (0) - -/* - Objects (non-primitive data) passed between 'C' and script is - always wrapped in an NPObject. The 'interface' of an NPObject is - described by an NPClass. -*/ -typedef struct NPObject NPObject; -typedef struct NPClass NPClass; - -typedef char NPUTF8; -typedef struct _NPString { - const NPUTF8 *utf8characters; - uint32_t utf8length; -} NPString; - -typedef enum { - NPVariantType_Void, - NPVariantType_Null, - NPVariantType_Bool, - NPVariantType_Int32, - NPVariantType_Double, - NPVariantType_String, - NPVariantType_Object -} NPVariantType; - -typedef struct _NPVariant { - NPVariantType type; - union { - bool boolValue; - int32_t intValue; - double doubleValue; - NPString stringValue; - NPObject *objectValue; - } value; -} NPVariant; - -/* - NPN_ReleaseVariantValue is called on all 'out' parameters - references. Specifically it is to be called on variants that own - their value, as is the case with all non-const NPVariant* - arguments after a successful call to any methods (except this one) - in this API. - - After calling NPN_ReleaseVariantValue, the type of the variant - will be NPVariantType_Void. -*/ -void NPN_ReleaseVariantValue(NPVariant *variant); - -#define NPVARIANT_IS_VOID(_v) ((_v).type == NPVariantType_Void) -#define NPVARIANT_IS_NULL(_v) ((_v).type == NPVariantType_Null) -#define NPVARIANT_IS_BOOLEAN(_v) ((_v).type == NPVariantType_Bool) -#define NPVARIANT_IS_INT32(_v) ((_v).type == NPVariantType_Int32) -#define NPVARIANT_IS_DOUBLE(_v) ((_v).type == NPVariantType_Double) -#define NPVARIANT_IS_STRING(_v) ((_v).type == NPVariantType_String) -#define NPVARIANT_IS_OBJECT(_v) ((_v).type == NPVariantType_Object) - -#define NPVARIANT_TO_BOOLEAN(_v) ((_v).value.boolValue) -#define NPVARIANT_TO_INT32(_v) ((_v).value.intValue) -#define NPVARIANT_TO_DOUBLE(_v) ((_v).value.doubleValue) -#define NPVARIANT_TO_STRING(_v) ((_v).value.stringValue) -#define NPVARIANT_TO_OBJECT(_v) ((_v).value.objectValue) - -#define VOID_TO_NPVARIANT(_v) \ -NP_BEGIN_MACRO \ - (_v).type = NPVariantType_Void; \ - (_v).value.objectValue = NULL; \ -NP_END_MACRO - -#define NULL_TO_NPVARIANT(_v) \ -NP_BEGIN_MACRO \ - (_v).type = NPVariantType_Null; \ - (_v).value.objectValue = NULL; \ -NP_END_MACRO - -#define BOOLEAN_TO_NPVARIANT(_val, _v) \ -NP_BEGIN_MACRO \ - (_v).type = NPVariantType_Bool; \ - (_v).value.boolValue = !!(_val); \ -NP_END_MACRO - -#define INT32_TO_NPVARIANT(_val, _v) \ -NP_BEGIN_MACRO \ - (_v).type = NPVariantType_Int32; \ - (_v).value.intValue = _val; \ -NP_END_MACRO - -#define DOUBLE_TO_NPVARIANT(_val, _v) \ -NP_BEGIN_MACRO \ - (_v).type = NPVariantType_Double; \ - (_v).value.doubleValue = _val; \ -NP_END_MACRO - -#define STRINGZ_TO_NPVARIANT(_val, _v) \ -NP_BEGIN_MACRO \ - (_v).type = NPVariantType_String; \ - NPString str = { _val, strlen(_val) }; \ - (_v).value.stringValue = str; \ -NP_END_MACRO - -#define STRINGN_TO_NPVARIANT(_val, _len, _v) \ -NP_BEGIN_MACRO \ - (_v).type = NPVariantType_String; \ - NPString str = { _val, _len }; \ - (_v).value.stringValue = str; \ -NP_END_MACRO - -#define OBJECT_TO_NPVARIANT(_val, _v) \ -NP_BEGIN_MACRO \ - (_v).type = NPVariantType_Object; \ - (_v).value.objectValue = _val; \ -NP_END_MACRO - - -/* - Type mappings (JavaScript types have been used for illustration - purposes): - - JavaScript to C (NPVariant with type:) - undefined NPVariantType_Void - null NPVariantType_Null - Boolean NPVariantType_Bool - Number NPVariantType_Double or NPVariantType_Int32 - String NPVariantType_String - Object NPVariantType_Object - - C (NPVariant with type:) to JavaScript - NPVariantType_Void undefined - NPVariantType_Null null - NPVariantType_Bool Boolean - NPVariantType_Int32 Number - NPVariantType_Double Number - NPVariantType_String String - NPVariantType_Object Object -*/ - -typedef void *NPIdentifier; - -/* - NPObjects have methods and properties. Methods and properties are - identified with NPIdentifiers. These identifiers may be reflected - in script. NPIdentifiers can be either strings or integers, IOW, - methods and properties can be identified by either strings or - integers (i.e. foo["bar"] vs foo[1]). NPIdentifiers can be - compared using ==. In case of any errors, the requested - NPIdentifier(s) will be NULL. -*/ -NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name); -void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount, - NPIdentifier *identifiers); -NPIdentifier NPN_GetIntIdentifier(int32_t intid); -bool NPN_IdentifierIsString(NPIdentifier identifier); - -/* - The NPUTF8 returned from NPN_UTF8FromIdentifier SHOULD be freed. -*/ -NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier); - -/* - Get the integer represented by identifier. If identifier is not an - integer identifier, the behaviour is undefined. -*/ -int32_t NPN_IntFromIdentifier(NPIdentifier identifier); - -/* - NPObject behavior is implemented using the following set of - callback functions. - - The NPVariant *result argument of these functions (where - applicable) should be released using NPN_ReleaseVariantValue(). -*/ -typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass); -typedef void (*NPDeallocateFunctionPtr)(NPObject *npobj); -typedef void (*NPInvalidateFunctionPtr)(NPObject *npobj); -typedef bool (*NPHasMethodFunctionPtr)(NPObject *npobj, NPIdentifier name); -typedef bool (*NPInvokeFunctionPtr)(NPObject *npobj, NPIdentifier name, - const NPVariant *args, uint32_t argCount, - NPVariant *result); -typedef bool (*NPInvokeDefaultFunctionPtr)(NPObject *npobj, - const NPVariant *args, - uint32_t argCount, - NPVariant *result); -typedef bool (*NPHasPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name); -typedef bool (*NPGetPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name, - NPVariant *result); -typedef bool (*NPSetPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name, - const NPVariant *value); -typedef bool (*NPRemovePropertyFunctionPtr)(NPObject *npobj, - NPIdentifier name); -typedef bool (*NPEnumerationFunctionPtr)(NPObject *npobj, NPIdentifier **value, - uint32_t *count); -typedef bool (*NPConstructFunctionPtr)(NPObject *npobj, - const NPVariant *args, - uint32_t argCount, - NPVariant *result); - -/* - NPObjects returned by create, retain, invoke, and getProperty pass - a reference count to the caller. That is, the callee adds a - reference count which passes to the caller. It is the caller's - responsibility to release the returned object. - - NPInvokeFunctionPtr function may return 0 to indicate a void - result. - - NPInvalidateFunctionPtr is called by the scripting environment - when the native code is shutdown. Any attempt to message a - NPObject instance after the invalidate callback has been - called will result in undefined behavior, even if the native code - is still retaining those NPObject instances. (The runtime - will typically return immediately, with 0 or NULL, from an attempt - to dispatch to a NPObject, but this behavior should not be - depended upon.) - - The NPEnumerationFunctionPtr function may pass an array of - NPIdentifiers back to the caller. The callee allocs the memory of - the array using NPN_MemAlloc(), and it's the caller's responsibility - to release it using NPN_MemFree(). -*/ -struct NPClass -{ - uint32_t structVersion; - NPAllocateFunctionPtr allocate; - NPDeallocateFunctionPtr deallocate; - NPInvalidateFunctionPtr invalidate; - NPHasMethodFunctionPtr hasMethod; - NPInvokeFunctionPtr invoke; - NPInvokeDefaultFunctionPtr invokeDefault; - NPHasPropertyFunctionPtr hasProperty; - NPGetPropertyFunctionPtr getProperty; - NPSetPropertyFunctionPtr setProperty; - NPRemovePropertyFunctionPtr removeProperty; - NPEnumerationFunctionPtr enumerate; - NPConstructFunctionPtr construct; -}; - -#define NP_CLASS_STRUCT_VERSION 3 - -#define NP_CLASS_STRUCT_VERSION_ENUM 2 -#define NP_CLASS_STRUCT_VERSION_CTOR 3 - -#define NP_CLASS_STRUCT_VERSION_HAS_ENUM(npclass) \ - ((npclass)->structVersion >= NP_CLASS_STRUCT_VERSION_ENUM) - -#define NP_CLASS_STRUCT_VERSION_HAS_CTOR(npclass) \ - ((npclass)->structVersion >= NP_CLASS_STRUCT_VERSION_CTOR) - -struct NPObject { - NPClass *_class; - uint32_t referenceCount; - /* - * Additional space may be allocated here by types of NPObjects - */ -}; - -/* - If the class has an allocate function, NPN_CreateObject invokes - that function, otherwise a NPObject is allocated and - returned. This method will initialize the referenceCount member of - the NPObject to 1. -*/ -NPObject *NPN_CreateObject(NPP npp, NPClass *aClass); - -/* - Increment the NPObject's reference count. -*/ -NPObject *NPN_RetainObject(NPObject *npobj); - -/* - Decremented the NPObject's reference count. If the reference - count goes to zero, the class's destroy function is invoke if - specified, otherwise the object is freed directly. -*/ -void NPN_ReleaseObject(NPObject *npobj); - -/* - Functions to access script objects represented by NPObject. - - Calls to script objects are synchronous. If a function returns a - value, it will be supplied via the result NPVariant - argument. Successful calls will return true, false will be - returned in case of an error. - - Calls made from plugin code to script must be made from the thread - on which the plugin was initialized. -*/ - -bool NPN_Invoke(NPP npp, NPObject *npobj, NPIdentifier methodName, - const NPVariant *args, uint32_t argCount, NPVariant *result); -bool NPN_InvokeDefault(NPP npp, NPObject *npobj, const NPVariant *args, - uint32_t argCount, NPVariant *result); -bool NPN_Evaluate(NPP npp, NPObject *npobj, NPString *script, - NPVariant *result); -bool NPN_GetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName, - NPVariant *result); -bool NPN_SetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName, - const NPVariant *value); -bool NPN_RemoveProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName); -bool NPN_HasProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName); -bool NPN_HasMethod(NPP npp, NPObject *npobj, NPIdentifier methodName); -bool NPN_Enumerate(NPP npp, NPObject *npobj, NPIdentifier **identifier, - uint32_t *count); -bool NPN_Construct(NPP npp, NPObject *npobj, const NPVariant *args, - uint32_t argCount, NPVariant *result); - -/* - NPN_SetException may be called to trigger a script exception upon - return from entry points into NPObjects. Typical usage: - - NPN_SetException (npobj, message); -*/ -void NPN_SetException(NPObject *npobj, const NPUTF8 *message); - -#ifdef __cplusplus -} -#endif - -#endif diff -Nru parole-0.2.0.2/browser-plugin/nptypes.h parole-0.2.0.6/browser-plugin/nptypes.h --- parole-0.2.0.2/browser-plugin/nptypes.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/nptypes.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,113 +0,0 @@ -/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * mozilla.org. - * Portions created by the Initial Developer are Copyright (C) 2004 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Johnny Stenback (Original author) - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -/* - * Header file for ensuring that C99 types ([u]int32_t and bool) and - * true/false macros are available. - */ - -#if defined(WIN32) || defined(OS2) - /* - * Win32 and OS/2 don't know C99, so define [u]int_16/32 here. The bool - * is predefined tho, both in C and C++. - */ - typedef short int16_t; - typedef unsigned short uint16_t; - typedef int int32_t; - typedef unsigned int uint32_t; -#elif defined(_AIX) || defined(__sun) || defined(__osf__) || defined(IRIX) || defined(HPUX) - /* - * AIX and SunOS ship a inttypes.h header that defines [u]int32_t, - * but not bool for C. - */ - #include - - #ifndef __cplusplus - typedef int bool; - #define true 1 - #define false 0 - #endif -#elif defined(bsdi) || defined(FREEBSD) || defined(OPENBSD) - /* - * BSD/OS, FreeBSD, and OpenBSD ship sys/types.h that define int32_t and - * u_int32_t. - */ - #include - - /* - * BSD/OS ships no header that defines uint32_t, nor bool (for C) - */ - #if defined(bsdi) - typedef u_int32_t uint32_t; - - #if !defined(__cplusplus) - typedef int bool; - #define true 1 - #define false 0 - #endif - #else - /* - * FreeBSD and OpenBSD define uint32_t and bool. - */ - #include - #include - #endif -#elif defined(BEOS) - #include -#else - /* - * For those that ship a standard C99 stdint.h header file, include - * it. Can't do the same for stdbool.h tho, since some systems ship - * with a stdbool.h file that doesn't compile! - */ - #include - - #ifndef __cplusplus - #if !defined(__GNUC__) || (__GNUC__ > 2 || __GNUC_MINOR__ > 95) - #include - #else - /* - * GCC 2.91 can't deal with a typedef for bool, but a #define - * works. - */ - #define bool int - #define true 1 - #define false 0 - #endif - #endif -#endif diff -Nru parole-0.2.0.2/browser-plugin/npupp.h parole-0.2.0.6/browser-plugin/npupp.h --- parole-0.2.0.2/browser-plugin/npupp.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/npupp.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,711 +0,0 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - - -/* - * npupp.h $Revision: 3.26 $ - * function call mecahnics needed by platform specific glue code. - */ - - -#ifndef _NPUPP_H_ -#define _NPUPP_H_ - -#if defined(__OS2__) -#pragma pack(1) -#endif - -#ifndef GENERATINGCFM -#define GENERATINGCFM 0 -#endif - -#ifndef _NPAPI_H_ -#include "npapi.h" -#endif - -#include "npruntime.h" - - -/****************************************************************************************** - plug-in function table macros - for each function in and out of the plugin API we define - typedef NPP_FooUPP - #define NewNPP_FooProc - #define CallNPP_FooProc - *******************************************************************************************/ - - -/* NPP_Initialize */ -typedef void (*NP_LOADDS NPP_InitializeUPP) (void); -#define NewNPP_InitializeProc(FUNC) \ - ((NPP_InitializeUPP) (FUNC)) -#define CallNPP_InitializeProc(FUNC) \ - (*(FUNC))() - -/* NPP_Shutdown */ -typedef void (*NP_LOADDS NPP_ShutdownUPP) (void); -#define NewNPP_ShutdownProc(FUNC) \ - ((NPP_ShutdownUPP) (FUNC)) -#define CallNPP_ShutdownProc(FUNC) \ - (*(FUNC))() - -/* NPP_New */ -typedef NPError(*NP_LOADDS NPP_NewUPP) (NPMIMEType pluginType, NPP instance, uint16_t mode, - int16_t argc, char *argn[], char *argv[], - NPSavedData * saved); -#define NewNPP_NewProc(FUNC) \ - ((NPP_NewUPP) (FUNC)) -#define CallNPP_NewProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6), (ARG7)) - -/* NPP_Destroy */ -typedef NPError(*NP_LOADDS NPP_DestroyUPP) (NPP instance, NPSavedData ** save); -#define NewNPP_DestroyProc(FUNC) \ - ((NPP_DestroyUPP) (FUNC)) -#define CallNPP_DestroyProc(FUNC, ARG1, ARG2) \ - (*(FUNC))((ARG1), (ARG2)) - -/* NPP_SetWindow */ -typedef NPError(*NP_LOADDS NPP_SetWindowUPP) (NPP instance, NPWindow * window); -#define NewNPP_SetWindowProc(FUNC) \ - ((NPP_SetWindowUPP) (FUNC)) -#define CallNPP_SetWindowProc(FUNC, ARG1, ARG2) \ - (*(FUNC))((ARG1), (ARG2)) - -/* NPP_NewStream */ -typedef NPError(*NP_LOADDS NPP_NewStreamUPP) (NPP instance, NPMIMEType type, NPStream * stream, - NPBool seekable, uint16_t * stype); -#define NewNPP_NewStreamProc(FUNC) \ - ((NPP_NewStreamUPP) (FUNC)) -#define CallNPP_NewStreamProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5)) - -/* NPP_DestroyStream */ -typedef NPError(*NP_LOADDS NPP_DestroyStreamUPP) (NPP instance, NPStream * stream, NPReason reason); -#define NewNPP_DestroyStreamProc(FUNC) \ - ((NPP_DestroyStreamUPP) (FUNC)) -#define CallNPP_DestroyStreamProc(FUNC, NPParg, NPStreamPtr, NPReasonArg) \ - (*(FUNC))((NPParg), (NPStreamPtr), (NPReasonArg)) - -/* NPP_WriteReady */ -typedef int32_t(*NP_LOADDS NPP_WriteReadyUPP) (NPP instance, NPStream * stream); -#define NewNPP_WriteReadyProc(FUNC) \ - ((NPP_WriteReadyUPP) (FUNC)) -#define CallNPP_WriteReadyProc(FUNC, NPParg, NPStreamPtr) \ - (*(FUNC))((NPParg), (NPStreamPtr)) - -/* NPP_Write */ -typedef int32_t(*NP_LOADDS NPP_WriteUPP) (NPP instance, NPStream * stream, int32_t offset, int32_t len, - void *buffer); -#define NewNPP_WriteProc(FUNC) \ - ((NPP_WriteUPP) (FUNC)) -#define CallNPP_WriteProc(FUNC, NPParg, NPStreamPtr, offsetArg, lenArg, bufferPtr) \ - (*(FUNC))((NPParg), (NPStreamPtr), (offsetArg), (lenArg), (bufferPtr)) - -/* NPP_StreamAsFile */ -typedef void (*NP_LOADDS NPP_StreamAsFileUPP) (NPP instance, NPStream * stream, const char *fname); -#define NewNPP_StreamAsFileProc(FUNC) \ - ((NPP_StreamAsFileUPP) (FUNC)) -#define CallNPP_StreamAsFileProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* NPP_Print */ -typedef void (*NP_LOADDS NPP_PrintUPP) (NPP instance, NPPrint * platformPrint); -#define NewNPP_PrintProc(FUNC) \ - ((NPP_PrintUPP) (FUNC)) -#define CallNPP_PrintProc(FUNC, NPParg, NPPrintArg) \ - (*(FUNC))((NPParg), (NPPrintArg)) - -/* NPP_HandleEvent */ -typedef int16_t(*NP_LOADDS NPP_HandleEventUPP) (NPP instance, void *event); -#define NewNPP_HandleEventProc(FUNC) \ - ((NPP_HandleEventUPP) (FUNC)) -#define CallNPP_HandleEventProc(FUNC, NPParg, voidPtr) \ - (*(FUNC))((NPParg), (voidPtr)) - -/* NPP_URLNotify */ -typedef void (*NP_LOADDS NPP_URLNotifyUPP) (NPP instance, const char *url, NPReason reason, - void *notifyData); -#define NewNPP_URLNotifyProc(FUNC) \ - ((NPP_URLNotifyUPP) (FUNC)) -#define CallNPP_URLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) - -/* NPP_GetValue */ -typedef NPError(*NP_LOADDS NPP_GetValueUPP) (NPP instance, NPPVariable variable, void *ret_alue); -#define NewNPP_GetValueProc(FUNC) \ - ((NPP_GetValueUPP) (FUNC)) -#define CallNPP_GetValueProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* NPP_SetValue */ -typedef NPError(*NP_LOADDS NPP_SetValueUPP) (NPP instance, NPNVariable variable, void *ret_alue); -#define NewNPP_SetValueProc(FUNC) \ - ((NPP_SetValueUPP) (FUNC)) -#define CallNPP_SetValueProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* - * Netscape entry points - */ - - -/* NPN_GetValue */ -typedef NPError(*NP_LOADDS NPN_GetValueUPP) (NPP instance, NPNVariable variable, void *ret_alue); -#define NewNPN_GetValueProc(FUNC) \ - ((NPN_GetValueUPP) (FUNC)) -#define CallNPN_GetValueProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* NPN_SetValue */ -typedef NPError(*NP_LOADDS NPN_SetValueUPP) (NPP instance, NPPVariable variable, void *ret_alue); -#define NewNPN_SetValueProc(FUNC) \ - ((NPN_SetValueUPP) (FUNC)) -#define CallNPN_SetValueProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* NPN_GetUrlNotify */ -typedef NPError(*NP_LOADDS NPN_GetURLNotifyUPP) (NPP instance, const char *url, const char *window, - void *notifyData); -#define NewNPN_GetURLNotifyProc(FUNC) \ - ((NPN_GetURLNotifyUPP) (FUNC)) -#define CallNPN_GetURLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) - -/* NPN_PostUrlNotify */ -typedef NPError(*NP_LOADDS NPN_PostURLNotifyUPP) (NPP instance, const char *url, const char *window, - uint32_t len, const char *buf, NPBool file, - void *notifyData); -#define NewNPN_PostURLNotifyProc(FUNC) \ - ((NPN_PostURLNotifyUPP) (FUNC)) -#define CallNPN_PostURLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6), (ARG7)) - -/* NPN_GetUrl */ -typedef NPError(*NP_LOADDS NPN_GetURLUPP) (NPP instance, const char *url, const char *window); -#define NewNPN_GetURLProc(FUNC) \ - ((NPN_GetURLUPP) (FUNC)) -#define CallNPN_GetURLProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* NPN_PostUrl */ -typedef NPError(*NP_LOADDS NPN_PostURLUPP) (NPP instance, const char *url, const char *window, - uint32_t len, const char *buf, NPBool file); -#define NewNPN_PostURLProc(FUNC) \ - ((NPN_PostURLUPP) (FUNC)) -#define CallNPN_PostURLProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6)) - -/* NPN_RequestRead */ -typedef NPError(*NP_LOADDS NPN_RequestReadUPP) (NPStream * stream, NPByteRange * rangeList); -#define NewNPN_RequestReadProc(FUNC) \ - ((NPN_RequestReadUPP) (FUNC)) -#define CallNPN_RequestReadProc(FUNC, stream, range) \ - (*(FUNC))((stream), (range)) - -/* NPN_NewStream */ -typedef NPError(*NP_LOADDS NPN_NewStreamUPP) (NPP instance, NPMIMEType type, const char *window, - NPStream ** stream); -#define NewNPN_NewStreamProc(FUNC) \ - ((NPN_NewStreamUPP) (FUNC)) -#define CallNPN_NewStreamProc(FUNC, npp, type, window, stream) \ - (*(FUNC))((npp), (type), (window), (stream)) - -/* NPN_Write */ -typedef int32_t(*NP_LOADDS NPN_WriteUPP) (NPP instance, NPStream * stream, int32_t len, void *buffer); -#define NewNPN_WriteProc(FUNC) \ - ((NPN_WriteUPP) (FUNC)) -#define CallNPN_WriteProc(FUNC, npp, stream, len, buffer) \ - (*(FUNC))((npp), (stream), (len), (buffer)) - -/* NPN_DestroyStream */ -typedef NPError(*NP_LOADDS NPN_DestroyStreamUPP) (NPP instance, NPStream * stream, NPReason reason); -#define NewNPN_DestroyStreamProc(FUNC) \ - ((NPN_DestroyStreamUPP) (FUNC)) -#define CallNPN_DestroyStreamProc(FUNC, npp, stream, reason) \ - (*(FUNC))((npp), (stream), (reason)) - -/* NPN_Status */ -typedef void (*NP_LOADDS NPN_StatusUPP) (NPP instance, const char *message); -#define NewNPN_StatusProc(FUNC) \ - ((NPN_StatusUPP) (FUNC)) -#define CallNPN_StatusProc(FUNC, npp, msg) \ - (*(FUNC))((npp), (msg)) - -/* NPN_UserAgent */ -typedef const char *(*NP_LOADDS NPN_UserAgentUPP) (NPP instance); -#define NewNPN_UserAgentProc(FUNC) \ - ((NPN_UserAgentUPP) (FUNC)) -#define CallNPN_UserAgentProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_MemAlloc */ -typedef void *(*NP_LOADDS NPN_MemAllocUPP) (uint32_t size); -#define NewNPN_MemAllocProc(FUNC) \ - ((NPN_MemAllocUPP) (FUNC)) -#define CallNPN_MemAllocProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN__MemFree */ -typedef void (*NP_LOADDS NPN_MemFreeUPP) (void *ptr); -#define NewNPN_MemFreeProc(FUNC) \ - ((NPN_MemFreeUPP) (FUNC)) -#define CallNPN_MemFreeProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_MemFlush */ -typedef uint32_t(*NP_LOADDS NPN_MemFlushUPP) (uint32_t size); -#define NewNPN_MemFlushProc(FUNC) \ - ((NPN_MemFlushUPP) (FUNC)) -#define CallNPN_MemFlushProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_ReloadPlugins */ -typedef void (*NP_LOADDS NPN_ReloadPluginsUPP) (NPBool reloadPages); -#define NewNPN_ReloadPluginsProc(FUNC) \ - ((NPN_ReloadPluginsUPP) (FUNC)) -#define CallNPN_ReloadPluginsProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_InvalidateRect */ -typedef void (*NP_LOADDS NPN_InvalidateRectUPP) (NPP instance, NPRect * rect); -#define NewNPN_InvalidateRectProc(FUNC) \ - ((NPN_InvalidateRectUPP) (FUNC)) -#define CallNPN_InvalidateRectProc(FUNC, ARG1, ARG2) \ - (*(FUNC))((ARG1), (ARG2)) - -/* NPN_InvalidateRegion */ -typedef void (*NP_LOADDS NPN_InvalidateRegionUPP) (NPP instance, NPRegion region); -#define NewNPN_InvalidateRegionProc(FUNC) \ - ((NPN_InvalidateRegionUPP) (FUNC)) -#define CallNPN_InvalidateRegionProc(FUNC, ARG1, ARG2) \ - (*(FUNC))((ARG1), (ARG2)) - -/* NPN_ForceRedraw */ -typedef void (*NP_LOADDS NPN_ForceRedrawUPP) (NPP instance); -#define NewNPN_ForceRedrawProc(FUNC) \ - ((NPN_ForceRedrawUPP) (FUNC)) -#define CallNPN_ForceRedrawProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_GetStringIdentifier */ -typedef NPIdentifier(*NP_LOADDS NPN_GetStringIdentifierUPP) (const NPUTF8 * name); -#define NewNPN_GetStringIdentifierProc(FUNC) \ - ((NPN_GetStringIdentifierUPP) (FUNC)) -#define CallNPN_GetStringIdentifierProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_GetStringIdentifiers */ -typedef void (*NP_LOADDS NPN_GetStringIdentifiersUPP) (const NPUTF8 ** names, - int32_t nameCount, - NPIdentifier * identifiers); -#define NewNPN_GetStringIdentifiersProc(FUNC) \ - ((NPN_GetStringIdentifiersUPP) (FUNC)) -#define CallNPN_GetStringIdentifiersProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* NPN_GetIntIdentifier */ -typedef NPIdentifier(*NP_LOADDS NPN_GetIntIdentifierUPP) (int32_t intid); -#define NewNPN_GetIntIdentifierProc(FUNC) \ - ((NPN_GetIntIdentifierUPP) (FUNC)) -#define CallNPN_GetIntIdentifierProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_IdentifierIsString */ -typedef bool(*NP_LOADDS NPN_IdentifierIsStringUPP) (NPIdentifier identifier); -#define NewNPN_IdentifierIsStringProc(FUNC) \ - ((NPN_IdentifierIsStringUPP) (FUNC)) -#define CallNPN_IdentifierIsStringProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_UTF8FromIdentifier */ -typedef NPUTF8 *(*NP_LOADDS NPN_UTF8FromIdentifierUPP) (NPIdentifier identifier); -#define NewNPN_UTF8FromIdentifierProc(FUNC) \ - ((NPN_UTF8FromIdentifierUPP) (FUNC)) -#define CallNPN_UTF8FromIdentifierProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_IntFromIdentifier */ -typedef int32_t (*NP_LOADDS NPN_IntFromIdentifierUPP) (NPIdentifier identifier); -#define NewNPN_IntFromIdentifierProc(FUNC) \ - ((NPN_IntFromIdentifierUPP) (FUNC)) -#define CallNPN_IntFromIdentifierProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_CreateObject */ -typedef NPObject *(*NP_LOADDS NPN_CreateObjectUPP) (NPP npp, NPClass * aClass); -#define NewNPN_CreateObjectProc(FUNC) \ - ((NPN_CreateObjectUPP) (FUNC)) -#define CallNPN_CreateObjectProc(FUNC, ARG1, ARG2) \ - (*(FUNC))((ARG1), (ARG2)) - -/* NPN_RetainObject */ -typedef NPObject *(*NP_LOADDS NPN_RetainObjectUPP) (NPObject * obj); -#define NewNPN_RetainObjectProc(FUNC) \ - ((NPN_RetainObjectUPP) (FUNC)) -#define CallNPN_RetainObjectProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_ReleaseObject */ -typedef void (*NP_LOADDS NPN_ReleaseObjectUPP) (NPObject * obj); -#define NewNPN_ReleaseObjectProc(FUNC) \ - ((NPN_ReleaseObjectUPP) (FUNC)) -#define CallNPN_ReleaseObjectProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_Invoke */ -typedef bool(*NP_LOADDS NPN_InvokeUPP) (NPP npp, NPObject * obj, NPIdentifier methodName, - const NPVariant * args, uint32_t argCount, - NPVariant * result); -#define NewNPN_InvokeProc(FUNC) \ - ((NPN_InvokeUPP) (FUNC)) -#define CallNPN_InvokeProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6)) - -/* NPN_InvokeDefault */ -typedef bool(*NP_LOADDS NPN_InvokeDefaultUPP) (NPP npp, NPObject * obj, const NPVariant * args, - uint32_t argCount, NPVariant * result); -#define NewNPN_InvokeDefaultProc(FUNC) \ - ((NPN_InvokeDefaultUPP) (FUNC)) -#define CallNPN_InvokeDefaultProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5)) - -/* NPN_Evaluate */ -typedef bool(*NP_LOADDS NPN_EvaluateUPP) (NPP npp, NPObject * obj, NPString * script, - NPVariant * result); -#define NewNPN_EvaluateProc(FUNC) \ - ((NPN_EvaluateUPP) (FUNC)) -#define CallNPN_EvaluateProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) - -/* NPN_GetProperty */ -typedef bool(*NP_LOADDS NPN_GetPropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName, - NPVariant * result); -#define NewNPN_GetPropertyProc(FUNC) \ - ((NPN_GetPropertyUPP) (FUNC)) -#define CallNPN_GetPropertyProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) - -/* NPN_SetProperty */ -typedef bool(*NP_LOADDS NPN_SetPropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName, - const NPVariant * value); -#define NewNPN_SetPropertyProc(FUNC) \ - ((NPN_SetPropertyUPP) (FUNC)) -#define CallNPN_SetPropertyProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) - -/* NPN_RemoveProperty */ -typedef bool(*NP_LOADDS NPN_RemovePropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName); -#define NewNPN_RemovePropertyProc(FUNC) \ - ((NPN_RemovePropertyUPP) (FUNC)) -#define CallNPN_RemovePropertyProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* NPN_HasProperty */ -typedef bool(*NP_LOADDS NPN_HasPropertyUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName); -#define NewNPN_HasPropertyProc(FUNC) \ - ((NPN_HasPropertyUPP) (FUNC)) -#define CallNPN_HasPropertyProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* NPN_HasMethod */ -typedef bool(*NP_LOADDS NPN_HasMethodUPP) (NPP npp, NPObject * obj, NPIdentifier propertyName); -#define NewNPN_HasMethodProc(FUNC) \ - ((NPN_HasMethodUPP) (FUNC)) -#define CallNPN_HasMethodProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* NPN_ReleaseVariantValue */ -typedef void (*NP_LOADDS NPN_ReleaseVariantValueUPP) (NPVariant * variant); -#define NewNPN_ReleaseVariantValueProc(FUNC) \ - ((NPN_ReleaseVariantValueUPP) (FUNC)) -#define CallNPN_ReleaseVariantValueProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_SetException */ -typedef void (*NP_LOADDS NPN_SetExceptionUPP) (NPObject * obj, const NPUTF8 * message); -#define NewNPN_SetExceptionProc(FUNC) \ - ((NPN_SetExceptionUPP) (FUNC)) -#define CallNPN_SetExceptionProc(FUNC, ARG1, ARG2) \ - (*(FUNC))((ARG1), (ARG2)) - -/* NPN_PushPopupsEnabledStateUPP */ -typedef bool(*NP_LOADDS NPN_PushPopupsEnabledStateUPP) (NPP npp, NPBool enabled); -#define NewNPN_PushPopupsEnabledStateProc(FUNC) \ - ((NPN_PushPopupsEnabledStateUPP) (FUNC)) -#define CallNPN_PushPopupsEnabledStateProc(FUNC, ARG1, ARG2) \ - (*(FUNC))((ARG1), (ARG2)) - -/* NPN_PopPopupsEnabledState */ -typedef bool(*NP_LOADDS NPN_PopPopupsEnabledStateUPP) (NPP npp); -#define NewNPN_PopPopupsEnabledStateProc(FUNC) \ - ((NPN_PopPopupsEnabledStateUPP) (FUNC)) -#define CallNPN_PopPopupsEnabledStateProc(FUNC, ARG1) \ - (*(FUNC))((ARG1)) - -/* NPN_Enumerate */ -typedef bool(*NP_LOADDS NPN_EnumerateUPP) (NPP npp, NPObject * obj, NPIdentifier ** identifier, - uint32_t * count); -#define NewNPN_EnumerateProc(FUNC) \ - ((NPN_EnumerateUPP) (FUNC)) -#define CallNPN_EnumerateProc(FUNC, ARG1, ARG2, ARG3, ARG4) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4)) - -/* NPN_PluginThreadAsyncCall */ -typedef void (*NP_LOADDS NPN_PluginThreadAsyncCallUPP) (NPP instance, void (*func) (void *), - void *userData); -#define NewNPN_PluginThreadAsyncCallProc(FUNC) \ - ((NPN_PluginThreadAsyncCallUPP) (FUNC)) -#define CallNPN_PluginThreadAsyncCallProc(FUNC, ARG1, ARG2, ARG3) \ - (*(FUNC))((ARG1), (ARG2), (ARG3)) - -/* NPN_Construct */ -typedef bool(*NP_LOADDS NPN_ConstructUPP) (NPP npp, NPObject * obj, const NPVariant * args, - uint32_t argCount, NPVariant * result); -#define NewNPN_ConstructProc(FUNC) \ - ((NPN_ConstructUPP) (FUNC)) -#define CallNPN_ConstructProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5) \ - (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5)) - - - -/****************************************************************************************** - * The actual plugin function table definitions - *******************************************************************************************/ -#ifdef DISABLE_THIS -typedef struct _NPPluginFuncs { - uint16_t size; - uint16_t version; - NPP_NewUPP newp; - NPP_DestroyUPP destroy; - NPP_SetWindowUPP setwindow; - NPP_NewStreamUPP newstream; - NPP_DestroyStreamUPP destroystream; - NPP_StreamAsFileUPP asfile; - NPP_WriteReadyUPP writeready; - NPP_WriteUPP write; - NPP_PrintUPP print; - NPP_HandleEventUPP event; - NPP_URLNotifyUPP urlnotify; - JRIGlobalRef javaClass; - NPP_GetValueUPP getvalue; - NPP_SetValueUPP setvalue; -} NPPluginFuncs; - -typedef struct _NPNetscapeFuncs { - uint16_t size; - uint16_t version; - NPN_GetURLUPP geturl; - NPN_PostURLUPP posturl; - NPN_RequestReadUPP requestread; - NPN_NewStreamUPP newstream; - NPN_WriteUPP write; - NPN_DestroyStreamUPP destroystream; - NPN_StatusUPP status; - NPN_UserAgentUPP uagent; - NPN_MemAllocUPP memalloc; - NPN_MemFreeUPP memfree; - NPN_MemFlushUPP memflush; - NPN_ReloadPluginsUPP reloadplugins; - NPN_GetJavaEnvUPP getJavaEnv; - NPN_GetJavaPeerUPP getJavaPeer; - NPN_GetURLNotifyUPP geturlnotify; - NPN_PostURLNotifyUPP posturlnotify; - NPN_GetValueUPP getvalue; - NPN_SetValueUPP setvalue; - NPN_InvalidateRectUPP invalidaterect; - NPN_InvalidateRegionUPP invalidateregion; - NPN_ForceRedrawUPP forceredraw; - NPN_GetStringIdentifierUPP getstringidentifier; - NPN_GetStringIdentifiersUPP getstringidentifiers; - NPN_GetIntIdentifierUPP getintidentifier; - NPN_IdentifierIsStringUPP identifierisstring; - NPN_UTF8FromIdentifierUPP utf8fromidentifier; - NPN_IntFromIdentifierUPP intfromidentifier; - NPN_CreateObjectUPP createobject; - NPN_RetainObjectUPP retainobject; - NPN_ReleaseObjectUPP releaseobject; - NPN_InvokeUPP invoke; - NPN_InvokeDefaultUPP invokeDefault; - NPN_EvaluateUPP evaluate; - NPN_GetPropertyUPP getproperty; - NPN_SetPropertyUPP setproperty; - NPN_RemovePropertyUPP removeproperty; - NPN_HasPropertyUPP hasproperty; - NPN_HasMethodUPP hasmethod; - NPN_ReleaseVariantValueUPP releasevariantvalue; - NPN_SetExceptionUPP setexception; - NPN_PushPopupsEnabledStateUPP pushpopupsenabledstate; - NPN_PopPopupsEnabledStateUPP poppopupsenabledstate; - // NPN_EnumerateUPP enumerate; - // NPN_PluginThreadAsyncCallUPP pluginthreadasynccall; - // NPN_ConstructUPP construct; -} NPNetscapeFuncs; -#endif - -#ifdef XP_MACOSX -/****************************************************************************************** - * Mac platform-specific plugin glue stuff - *******************************************************************************************/ - -/* - * Main entry point of the plugin. - * This routine will be called when the plugin is loaded. The function - * tables are passed in and the plugin fills in the NPPluginFuncs table - * and NPPShutdownUPP for Netscape's use. - */ -typedef NPError(*NP_LOADDS NPP_MainEntryUPP) (NPNetscapeFuncs *, NPPluginFuncs *, - NPP_ShutdownUPP *); -#define NewNPP_MainEntryProc(FUNC) \ - ((NPP_MainEntryUPP) (FUNC)) -#define CallNPP_MainEntryProc(FUNC, netscapeFunc, pluginFunc, shutdownUPP) \ - (*(FUNC))((netscapeFunc), (pluginFunc), (shutdownUPP)) - -/* - * Mac OS X version(s) of NP_GetMIMEDescription(const char *) - * These can be called to retreive MIME information from the plugin dynamically - * - * Note: For compatibility with Quicktime, BPSupportedMIMEtypes is another way - * to get mime info from the plugin only on OSX and may not be supported - * in furture version -- use NP_GetMIMEDescription instead - */ - -enum { - kBPSupportedMIMETypesStructVers_1 = 1 -}; - -typedef struct _BPSupportedMIMETypes { - Sint32_t structVersion; /* struct version */ - Handle typeStrings; /* STR# formated handle, allocated by plug-in */ - Handle infoStrings; /* STR# formated handle, allocated by plug-in */ -} BPSupportedMIMETypes; -OSErr BP_GetSupportedMIMETypes(BPSupportedMIMETypes * mimeInfo, Uint32_t flags); - - /* NP_GetMIMEDescription */ -#define NP_GETMIMEDESCRIPTION_NAME "NP_GetMIMEDescription" -typedef const char *(*NP_LOADDS NP_GetMIMEDescriptionUPP) (); -#define NewNP_GetMIMEDescEntryProc(FUNC) \ - ((NP_GetMIMEDescriptionUPP) (FUNC)) -#define CallNP_GetMIMEDescEntryProc(FUNC) \ - (*(FUNC))() - -/* BP_GetSupportedMIMETypes */ -typedef OSErr(*NP_LOADDS BP_GetSupportedMIMETypesUPP) (BPSupportedMIMETypes *, Uint32_t); -#define NewBP_GetSupportedMIMETypesEntryProc(FUNC) \ - ((BP_GetSupportedMIMETypesUPP) (FUNC)) -#define CallBP_GetMIMEDescEntryProc(FUNC, mimeInfo, flags) \ - (*(FUNC))((mimeInfo), (flags)) - -#endif /* XP_MACOSX */ - -#if defined(_WINDOWS) -#define OSCALL WINAPI -#else -#if defined(__OS2__) -#define OSCALL _System -#else -#define OSCALL -#endif -#endif - -#if defined(XP_UNIX) -/* GCC 3.3 and later support the visibility attribute. */ -#if defined(__GNUC__) && \ - ((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) -#define NP_VISIBILITY_DEFAULT __attribute__((visibility("default"))) -#else -#define NP_VISIBILITY_DEFAULT -#endif - -#define NP_EXPORT(__type) NP_VISIBILITY_DEFAULT __type -#endif - -#if defined( _WINDOWS ) || defined (__OS2__) - -#ifdef __cplusplus -extern "C" { -#endif - -/* plugin meta member functions */ -#if defined(__OS2__) - - typedef struct _NPPluginData { /* Alternate OS2 Plugin interface */ - char *pMimeTypes; - char *pFileExtents; - char *pFileOpenTemplate; - char *pProductName; - char *pProductDescription; - unsigned long dwProductVersionMS; - unsigned long dwProductVersionLS; - } NPPluginData; - - NPError OSCALL NP_GetPluginData(NPPluginData * pPluginData); - -#endif - - NPError OSCALL NP_GetEntryPoints(NPPluginFuncs * pFuncs); - - NPError OSCALL NP_Initialize(NPNetscapeFuncs * pFuncs); - - NPError OSCALL NP_Shutdown(); - - char *NP_GetMIMEDescription(); - -#ifdef __cplusplus -} -#endif -#endif /* _WINDOWS || __OS2__ */ -#if defined(__OS2__) -#pragma pack() -#endif -#ifdef XP_UNIX -#ifdef __cplusplus -extern "C" { -#endif - -/* plugin meta member functions */ - - NP_EXPORT(char *) NP_GetMIMEDescription(void); - NP_EXPORT(NPError) NP_Initialize(NPNetscapeFuncs *, NPPluginFuncs *); - NP_EXPORT(NPError) NP_Shutdown(void); - NP_EXPORT(NPError) NP_GetValue(void *future, NPPVariable aVariable, void *aValue); - -#ifdef __cplusplus -} -#endif -#endif /* XP_UNIX */ -#endif /* _NPUPP_H_ */ diff -Nru parole-0.2.0.2/browser-plugin/plugin.cpp parole-0.2.0.6/browser-plugin/plugin.cpp --- parole-0.2.0.2/browser-plugin/plugin.cpp 2010-01-25 11:45:29.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/plugin.cpp 1970-01-01 00:00:00.000000000 +0000 @@ -1,509 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#include "plugin.h" -#include "plugin_setup.h" -#include "plugin_types.h" - -static int32_t STREAMBUFSIZE = 0x0FFFFFFF; - -NPError NS_PluginInitialize(); -void NS_PluginShutdown(); -NPError NS_PluginGetValue(NPPVariable aVariable, void *aValue); - -////////////////////////////////////// -// -// general initialization and shutdown -// -NPError NS_PluginInitialize() -{ - return NPERR_NO_ERROR; -} - -void NS_PluginShutdown() -{ -} - -// get values per plugin -NPError NS_PluginGetValue(NPPVariable aVariable, void *aValue) -{ - return PluginGetValue(aVariable, aValue); -} - - -////////////////////// -/* - * Callbacks. - */ -static gboolean -parole_plugin_ping (gpointer data) -{ - CPlugin *plugin = (CPlugin*)data; - - dbus_g_proxy_call_no_reply (plugin->proxy, "Ping", - G_TYPE_INVALID, - G_TYPE_INVALID); - return TRUE; -} - -static void -parole_plugin_player_exiting_cb (DBusGProxy *proxy, gpointer data) -{ - //g_debug ("Player exiting"); - - CPlugin *plugin = (CPlugin*)data; - - plugin->player_exited = TRUE; - if ( plugin->ping_id != 0 ) - g_source_remove (plugin->ping_id); -} - -static void -parole_plugin_player_ready_cb (DBusGProxy *proxy, gpointer data) -{ - //g_debug ("Player ready"); - - CPlugin *plugin = (CPlugin*)data; - - plugin->player_ready = TRUE; - - if ( plugin->ping_id == 0 ) - { - plugin->ping_id = g_timeout_add_seconds (10, (GSourceFunc) parole_plugin_ping, plugin); - } - - -} - -//////////////////////////////////////// -// -// CPlugin class implementation -// -CPlugin::CPlugin (NPP pNPInstance) -{ - //g_debug ("Constructor"); - - mInstance = pNPInstance; - mInitialized = TRUE; - - GError *error = NULL; - - proxy = NULL; - murl = NULL; - cache = NULL; - tmp_file = NULL; - - child_pid = 0; - - window_set = FALSE; - is_playlist = FALSE; - checked = FALSE; - player_ready = FALSE; - player_started = FALSE; - player_spawned = FALSE; - player_exited = FALSE; - player_playing = FALSE; - ping_id = 0; - - bus = dbus_g_bus_get (DBUS_BUS_SESSION, &error); - - if ( error ) - { - g_warning ("Failed to get session bus %s", error->message); - g_error_free (error); - } -} - -CPlugin::~CPlugin() -{ - if ( ping_id != 0 ) - g_source_remove (ping_id); - - StopPlayer (); - - if ( tmp_file ) - { - remove (tmp_file); - g_free (tmp_file); - } - - if ( cache ) - fclose (cache); - - if ( bus ) - dbus_g_connection_unref (bus); - - if ( murl ) - g_free (murl); - - if ( proxy ) - { - dbus_g_proxy_disconnect_signal (proxy, "Exiting", - G_CALLBACK (parole_plugin_player_exiting_cb), this); - - dbus_g_proxy_disconnect_signal (proxy, "Ready", - G_CALLBACK (parole_plugin_player_ready_cb), this); - - g_object_unref (proxy); - } - - mInstance = NULL; -} - -NPBool CPlugin::init(NPWindow * pNPWindow) -{ - if (pNPWindow == NULL) - return FALSE; - - mInitialized = TRUE; - - return mInitialized; -} - -void CPlugin::SendPlay (const gchar *url) -{ - GError *error = NULL; - g_return_if_fail (proxy); - - //g_debug ("Sending play request of stream %s", url); - dbus_g_proxy_call (proxy, "PlayUrl", &error, - G_TYPE_STRING, url, - G_TYPE_INVALID, - G_TYPE_INVALID); - - player_playing = TRUE; - - if ( error ) - { - g_critical ("Failed to play stream %s : %s", url, error->message); - g_error_free (error); - player_playing = FALSE; - } -} - -void -CPlugin::SendList (const gchar *filename) -{ - GError *error = NULL; - g_return_if_fail (proxy); - - //g_debug ("Sending play request of playlist %s", filename); - - dbus_g_proxy_call (proxy, "PlayList", &error, - G_TYPE_STRING, filename, - G_TYPE_INVALID, - G_TYPE_INVALID); - - player_playing = TRUE; - - if ( error ) - { - g_critical ("Failed to play list %s : %s", filename, error->message); - g_error_free (error); - player_playing = FALSE; - } -} - -NPError CPlugin::RunPlayer () -{ - gchar *command[4]; - gchar *socket; - gchar *app; - GError *error = NULL; - - socket = g_strdup_printf ("%ld", window); - - app = g_build_filename (LIBEXECDIR, "parole-media-plugin", NULL); - - command[0] = app; - command[1] = (gchar *)"--socket-id"; - command[2] = socket; - command[3] = NULL; - - if ( !g_spawn_async (NULL, - command, - NULL, - (GSpawnFlags) 0, - NULL, NULL, - &child_pid, - &error) ) - { - g_critical ("Failed to spawn command : %s", error->message); - g_error_free (error); - return NPERR_GENERIC_ERROR; - } - - player_spawned = TRUE; - - g_free (socket); - g_free (app); - - GetProxy (); - - return NPERR_NO_ERROR; -} - -void CPlugin::GetProxy () -{ - gchar *dbus_name; - - g_return_if_fail (bus != NULL); - - dbus_name = g_strdup_printf ("org.Parole.Media.Plugin%ld", window); - - proxy = dbus_g_proxy_new_for_name (bus, - dbus_name, - "/org/Parole/Media/Plugin", - "org.Parole.Media.Plugin"); - - if ( proxy == NULL) - g_critical ("Unable to create proxy for %s", dbus_name); - else - { - dbus_g_proxy_add_signal (proxy, "Error", G_TYPE_INVALID); - dbus_g_proxy_add_signal (proxy, "Finished", G_TYPE_INVALID); - dbus_g_proxy_add_signal (proxy, "Exiting", G_TYPE_INVALID); - dbus_g_proxy_add_signal (proxy, "Ready", G_TYPE_INVALID); - - dbus_g_proxy_connect_signal (proxy, "Exiting", - G_CALLBACK (parole_plugin_player_exiting_cb), this, NULL); - - dbus_g_proxy_connect_signal (proxy, "Ready", - G_CALLBACK (parole_plugin_player_ready_cb), this, NULL); - } -} - -NPError CPlugin::SetWindow(NPWindow * aWindow) -{ - //g_debug ("SetWindow"); - - if ( aWindow == NULL ) - return NPERR_NO_ERROR; - - if ( window_set == FALSE) - { - window = (Window) aWindow->window; - window_set = TRUE; - return RunPlayer (); - } - - return NPERR_NO_ERROR; -} - -void CPlugin::shut() -{ - //g_debug ("Shut"); - - if ( player_ready ) - { - //g_debug ("Sending Stop signal"); - dbus_g_proxy_call_no_reply (proxy, "Stop", - G_TYPE_INVALID, - G_TYPE_INVALID); - - } -} - -NPBool CPlugin::isInitialized() -{ - return mInitialized; -} - -void CPlugin::StopPlayer () -{ - if ( player_spawned ) - { - if ( player_ready ) - { - gint num_tries = 0; - - do - { - GError *error = NULL; - //g_debug ("Sending Quit message"); - dbus_g_proxy_call (proxy, "Quit", &error, - G_TYPE_INVALID, - G_TYPE_INVALID); - - /* - * This might happen if the browser unload the plugin quickly - * while the process didn't get the dbus name. - */ - if ( error ) - { -#ifdef DEBUG - //g_debug ("Failed to stop the backend via D-Bus %s", error->message); -#endif - if ( g_error_matches (error, DBUS_GERROR, DBUS_GERROR_NO_REPLY ) || - g_error_matches (error, DBUS_GERROR, DBUS_GERROR_SERVICE_UNKNOWN) ) - { - g_error_free (error); - g_main_context_iteration(NULL, FALSE); - g_usleep (100000); - num_tries++; - //g_debug ("No reply, probably not ready, re-trying"); - } - else - break; - } - else - break; - - } while (num_tries < 4 && player_exited != TRUE); - } - else - { - char cmd[128]; - g_snprintf (cmd, 128, "kill -9 %d", child_pid); - g_spawn_command_line_async (cmd, NULL); - } - } -} - -NPError CPlugin::NewStream (NPMIMEType type, NPStream * stream, NPBool seekable, uint16_t * stype) -{ - if ( murl == NULL ) - { - murl = g_strdup (stream->url); - //g_debug ("NewStream=%s", murl); - } - - return NPERR_NO_ERROR; -} - -NPError CPlugin::DestroyStream(NPStream * stream, NPError reason) -{ - /* - g_debug ("DestroyStream reason = %i for %s\n", reason, stream->url); - - if ( reason == NPRES_DONE ) - { - g_debug ("NPRES_DONE"); - } - else if ( reason == NPRES_USER_BREAK ) - { - g_debug ("NPRES_USER_BREAK"); - - } - else if ( reason == NPRES_NETWORK_ERR ) - { - g_debug ("NPRES_NETWORK_ERR"); - } - */ - return NPERR_NO_ERROR; -} - -void CPlugin::URLNotify (const char *url, NPReason reason, void *notifyData) -{ - //g_debug ("Url notify %s reason %i", url, reason); -} - -void CPlugin::StreamAsFile (NPStream * stream, const char *fname) -{ - //g_debug ("StreamAsFile url=%s fname=%s", stream->url, fname); -} - -int32_t CPlugin::WriteReady (NPStream * stream) -{ - //g_debug ("WriteReady url=%s", stream->url); - - if ( mode != NP_FULL && mode != NP_EMBED ) - { - NPN_DestroyStream (mInstance, stream, NPRES_DONE); - return -1; - } - - return player_ready ? STREAMBUFSIZE : 0; -} - -int32_t CPlugin::Write (NPStream * stream, int32_t offset, int32_t len, void *buffer) -{ - static int32_t wrotebytes = -1; - - if ( checked == FALSE ) - { - gchar c; - - /* Check if the url is a playlist */ - //g_debug ("Checking if stream is a playlist"); - is_playlist = TRUE; - char *data = (char *) buffer; - for ( int32_t i = 0; i < len; i++) - { - c = data[i]; - if ( g_ascii_iscntrl (c) && !g_ascii_isspace (c) ) - { - is_playlist = FALSE; - break; - } - } - checked = TRUE; - } - - if ( is_playlist ) - { - tmp_file = g_strdup_printf ("/tmp/parole-plugin-player-%ld", window); - - if (cache == NULL) - { - cache = fopen (tmp_file, "w"); - g_warn_if_fail (cache != NULL); - } - - if ( cache ) - { - fseek (cache, offset, SEEK_SET); - wrotebytes += fwrite (buffer, 1, MAX (len, STREAMBUFSIZE), cache); - //g_debug ("Wrotebytes=%d offset=%d data=%s", wrotebytes, offset, (gchar*)buffer); - } - - if ( wrotebytes >= 0 ) - { - fclose (cache); - cache = NULL; - - SendList (tmp_file); - } - } - else if ( player_ready && player_playing == FALSE ) - { - SendPlay (stream->url); - return len; - } - - return wrotebytes; -} diff -Nru parole-0.2.0.2/browser-plugin/plugin.h parole-0.2.0.6/browser-plugin/plugin.h --- parole-0.2.0.2/browser-plugin/plugin.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/plugin.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,113 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#ifndef __PLUGIN_H__ -#define __PLUGIN_H__ - -#ifdef HAVE_CONFIG_H -#include -#endif - -#include - -#include - -#include -#include -#include - -#include - -#include - -class CPlugin { - private: - NPWindow *m_Window; - NPStream *m_pNPStream; - NPBool mInitialized; - - public: - CPlugin (NPP pNPInstance); - ~CPlugin (); - - NPBool init (NPWindow * aWindow); - void shut (); - NPBool isInitialized(); - - NPError GetValue (NPPVariable variable, void *value); - - NPError SetWindow (NPWindow * aWindow); - NPError NewStream (NPMIMEType type, NPStream * stream, NPBool seekable, uint16_t * stype); - NPError DestroyStream (NPStream * stream, NPError reason); - void URLNotify (const char *url, NPReason reason, void *notifyData); - void StreamAsFile (NPStream * stream, const char *fname); - int32_t WriteReady (NPStream * stream); - int32_t Write (NPStream * stream, int32_t offset, int32_t len, void *buffer); - - NPError RunPlayer (void); - void StopPlayer (void); - void GetProxy (void); - void SendPlay (const gchar *url); - void SendList (const gchar *filename); - - - public: - NPP mInstance; - uint16_t mode; - gchar *mimetype; - GPid child_pid; - - DBusGConnection *bus; - DBusGProxy *proxy; - - Window window; - gchar *murl; - gchar *tmp_file; - FILE *cache; - - gulong ping_id; - gboolean window_set; - gboolean is_playlist; - gboolean checked; - gboolean player_ready; - gboolean player_started; - gboolean player_spawned; - gboolean player_exited; - gboolean player_playing; -}; - -#endif // __PLUGIN_H__ diff -Nru parole-0.2.0.2/browser-plugin/plugin_setup.cpp parole-0.2.0.6/browser-plugin/plugin_setup.cpp --- parole-0.2.0.2/browser-plugin/plugin_setup.cpp 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/plugin_setup.cpp 1970-01-01 00:00:00.000000000 +0000 @@ -1,80 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#include "plugin.h" -#include "plugin_setup.h" - -// void new_instance(CPlugin * instance, nsPluginCreateData * parameters) -void new_instance(CPlugin * instance, int16_t argc, char *argn[], char *argv[]) -{ -} - -gint streaming (gchar * url) -{ - gint ret = 0; - char *p; - - if (g_ascii_strncasecmp(url, "mms://", 6) == 0) - ret = 1; - - if (g_ascii_strncasecmp(url, "mmst://", 7) == 0) - ret = 1; - - if (g_ascii_strncasecmp(url, "mmsu://", 7) == 0) - ret = 1; - - if (g_ascii_strncasecmp(url, "rtsp://", 7) == 0) - ret = 1; - - if (g_ascii_strncasecmp(url, "tv://", 5) == 0) - ret = 1; - - if (g_ascii_strncasecmp(url, "dvd://", 6) == 0) - ret = 1; - - if (g_ascii_strncasecmp(url, "file://", 7) == 0) { - p = g_filename_from_uri(url, NULL, NULL); - if (p != NULL) { - if (g_file_test(p, G_FILE_TEST_EXISTS)) { - g_strlcpy(url, p, 1024); - ret = 1; - } - g_free(p); - } - } - return ret; -} diff -Nru parole-0.2.0.2/browser-plugin/plugin_setup.h parole-0.2.0.6/browser-plugin/plugin_setup.h --- parole-0.2.0.2/browser-plugin/plugin_setup.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/plugin_setup.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,44 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#ifndef _PLUGIN_SETUP_H -#define _PLUGIN_SETUP_H - -void new_instance(CPlugin * instance, int16_t argc, char *argn[], char *argv[]); -gint streaming(gchar * url); - -#endif // _PLUGIN_SETUP_H diff -Nru parole-0.2.0.2/browser-plugin/plugin_types.cpp parole-0.2.0.6/browser-plugin/plugin_types.cpp --- parole-0.2.0.2/browser-plugin/plugin_types.cpp 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/plugin_types.cpp 1970-01-01 00:00:00.000000000 +0000 @@ -1,135 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#include "plugin_types.h" - -gchar *GetMIMEDescription() -{ - const gchar *mime_types_list = /* Wmp mime types */ - "application/asx:*:Media Files;" - "video/x-ms-asf-plugin:*:Media Files;" - "video/x-msvideo:avi,*:AVI;" - "video/msvideo:avi,*:AVI;" - "application/x-mplayer2:*:Media Files;" - "application/x-ms-wmv:wmv,*:Microsoft WMV video;" - "video/x-ms-asf:asf,asx,*:Media Files;" - "video/x-ms-wm:wm,*:Media Files;" - "video/x-ms-wmv:wmv,*:Microsoft WMV video;" - "audio/x-ms-wmv:wmv,*:Windows Media;" - "video/x-ms-wmp:wmp,*:Windows Media;" - "application/x-ms-wmp:wmp,*:Windows Media;" - "video/x-ms-wvx:wvx,*:Windows Media;" - "audio/x-ms-wax:wax,*:Windows Media;" - "audio/x-ms-wma:wma,*:Windows Media;" - "application/x-drm-v2:asx,*:Windows Media;" - "audio/wav:wav,*:Microsoft wave file;" - "audio/x-wav:wav,*:Microsoft wave file;" - /* Standard mime types */ - "audio/x-mpegurl:m3u:MPEG Playlist;" - "video/mpeg:mpg,mpeg:MPEG;" - "audio/mpeg:mpg,mpeg:MPEG;" - "video/x-mpeg:mpg,mpeg:MPEG;" - "video/x-mpeg2:mpv2,mp2ve:MPEG2;" - "audio/mpeg:mpg,mpeg:MPEG;" - "audio/x-mpeg:mpg,mpeg:MPEG;" - "audio/mpeg2:mp2:MPEG audio;" - "audio/x-mpeg2:mp2:MPEG audio;" - "audio/mp4:mp4:MPEG 4 audio;" - "audio/x-mp4:mp4:MPEG 4 audio;" - "video/mp4:mp4:MPEG 4 Video;" - "video/x-m4v:m4v:MPEG 4 Video;" - "video/3gpp:mp4,3gp:MPEG 4 Video;" - "application/x-ogg:ogg:Ogg Vorbis Media;" - "audio/flac:ogg:FLAC Lossless Audio;" - "audio/x-flac:ogg:FLAC Lossless Audio;" - "audio/ogg:ogg:Ogg Vorbis Audio;" - "audio/ogg:x-ogg:Ogg Vorbis Audio;" - "application/ogg:ogg:Ogg Vorbis / Ogg Theora;" - "video/ogg:ogg:Ogg Vorbis Video;" - "video/ogg:x-ogg:Ogg Vorbis Video;" - /* Real audio */ - "audio/x-pn-realaudio:ram,rm:RealAudio;" - "application/vnd.rn-realmedia:rm:RealMedia;" - "application/vnd.rn-realaudio:ra,ram:RealAudio;" - "video/vnd.rn-realvideo:rv:RealVideo;" - "audio/x-realaudio:ra:RealAudio;" - "audio/x-pn-realaudio-plugin:rpm:RealAudio;" - "application/smil:smil:SMIL;" - /* DivX Mime type */ - "video/divx:divx:DivX Media Format;" - "video/vnd.divx:divx:DivX Media Format;" - /*Quick time */ - "video/quicktime:mov:Quicktime;" - "video/x-quicktime:mov:Quicktime;" - "image/x-quicktime:mov:Quicktime;" - "video/quicktime:mp4:Quicktime;" - "video/quicktime:sdp:Quicktime - Session Description Protocol;" - "application/x-quicktimeplayer:mov:Quicktime;"; - - //g_debug ("GetMimeDescription"); - - return g_strdup (mime_types_list); -} - -NPError PluginGetValue(NPPVariable variable, void *value) -{ - NPError err = NPERR_NO_ERROR; - - // some sites use this description to figure out what formats can be played. So we have to make sure the - // description matches the features - - if (variable == NPPVpluginNameString) { - *((const char **) value) = "Parole media player plugin-in"; - } - if (variable == NPPVpluginDescriptionString) { - *((const char **) value) = - "Media player browser plugin for various media format version " VERSION; - - } - - if (variable == NPPVpluginNeedsXEmbed) { - *((bool *) value) = TRUE; - } - - if ((variable != NPPVpluginNameString) - && (variable != NPPVpluginDescriptionString) - && (variable != NPPVpluginNeedsXEmbed)) { - err = NPERR_INVALID_PARAM; - } - - return err; -} diff -Nru parole-0.2.0.2/browser-plugin/plugin_types.h parole-0.2.0.6/browser-plugin/plugin_types.h --- parole-0.2.0.2/browser-plugin/plugin_types.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/browser-plugin/plugin_types.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,47 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#ifndef _PLUGIN_TYPES_H -#define _PLUGIN_TYPES_H -#include -#include "plugin.h" -#include "config.h" - -gchar *GetMIMEDescription(); -NPError PluginGetValue(NPPVariable variable, void *value); - -#endif // _PLUGIN_TYPES_H diff -Nru parole-0.2.0.2/common/Makefile.in parole-0.2.0.6/common/Makefile.in --- parole-0.2.0.2/common/Makefile.in 2010-01-25 11:47:24.000000000 +0000 +++ parole-0.2.0.6/common/Makefile.in 2011-04-17 11:54:29.000000000 +0000 @@ -107,7 +107,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -131,6 +130,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -220,6 +220,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -245,6 +246,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -268,6 +271,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -301,7 +305,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/common/parole-common.c parole-0.2.0.6/common/parole-common.c --- parole-0.2.0.2/common/parole-common.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/common/parole-common.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -28,8 +28,51 @@ #include +#include + #include "parole-common.h" + +static void +parole_dialog_show (GtkWindow *parent, + GtkMessageType type, + const gchar *window_title, + const gchar *title, + const gchar *msg) +{ + GtkWidget *dialog; + + dialog = gtk_message_dialog_new_with_markup (parent, + GTK_DIALOG_DESTROY_WITH_PARENT, + type, + GTK_BUTTONS_CLOSE, + "%s", + title); + + gtk_window_set_title (GTK_WINDOW (dialog), window_title); + + gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (dialog), "%s", msg); + + + g_signal_connect_swapped (dialog, + "response", + G_CALLBACK (gtk_widget_destroy), + dialog); + + gtk_widget_show_all (dialog); +} + +void parole_dialog_info (GtkWindow *parent, const gchar *title, const gchar *msg) +{ + parole_dialog_show (parent, GTK_MESSAGE_INFO, _("Message"), title, msg); +} + +void parole_dialog_error (GtkWindow *parent, const gchar *title, const gchar *msg) +{ + parole_dialog_show (parent, GTK_MESSAGE_ERROR, _("Error"), title, msg); +} + + void parole_window_busy_cursor (GdkWindow *window) { GdkCursor *cursor; diff -Nru parole-0.2.0.2/common/parole-common.h parole-0.2.0.6/common/parole-common.h --- parole-0.2.0.2/common/parole-common.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/common/parole-common.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -24,8 +24,19 @@ #include #include + +void parole_dialog_info (GtkWindow *parent, + const gchar *title, + const gchar *msg); + +void parole_dialog_error (GtkWindow *parent, + const gchar *title, + const gchar *msg); + void parole_window_busy_cursor (GdkWindow *window); void parole_window_invisible_cursor (GdkWindow *window); + + #endif /* __PAROLE_COMMON_ */ diff -Nru parole-0.2.0.2/common/parole-rc-utils.c parole-0.2.0.6/common/parole-rc-utils.c --- parole-0.2.0.2/common/parole-rc-utils.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/common/parole-rc-utils.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/common/parole-rc-utils.h parole-0.2.0.6/common/parole-rc-utils.h --- parole-0.2.0.2/common/parole-rc-utils.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/common/parole-rc-utils.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/common/parole-screensaver.c parole-0.2.0.6/common/parole-screensaver.c --- parole-0.2.0.2/common/parole-screensaver.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/common/parole-screensaver.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/common/parole-screensaver.h parole-0.2.0.6/common/parole-screensaver.h --- parole-0.2.0.2/common/parole-screensaver.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/common/parole-screensaver.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/config.h.in parole-0.2.0.6/config.h.in --- parole-0.2.0.2/config.h.in 2010-01-25 11:48:07.000000000 +0000 +++ parole-0.2.0.6/config.h.in 2011-04-17 11:54:28.000000000 +0000 @@ -1,8 +1,5 @@ /* config.h.in. Generated from configure.ac by autoheader. */ -/* whether to build with browser plugin support */ -#undef BUILD_BROWSER_PLUGIN - /* Define for debugging support */ #undef DEBUG diff -Nru parole-0.2.0.2/configure parole-0.2.0.6/configure --- parole-0.2.0.2/configure 2010-01-25 11:47:28.000000000 +0000 +++ parole-0.2.0.6/configure 2011-04-17 11:54:35.000000000 +0000 @@ -1,13 +1,13 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.65 for parole 0.2.0.2. +# Generated by GNU Autoconf 2.68 for parole 0.2.0.6. # # Report bugs to . # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software +# Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -91,6 +91,7 @@ IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. +as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -173,7 +174,15 @@ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1" +test \$(( 1 + 1 )) = 2 || exit 1 + + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else @@ -216,11 +225,18 @@ # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. + # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} + case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; + esac + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : @@ -319,7 +335,7 @@ test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p @@ -359,19 +375,19 @@ fi # as_fn_arith -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with status $?, using 1 if that was 0. +# script with STATUS, using 1 if that was 0. as_fn_error () { - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $1" >&2 + $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -528,161 +544,14 @@ # 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 - - - test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` @@ -701,8 +570,8 @@ # Identity of this package. PACKAGE_NAME='parole' PACKAGE_TARNAME='parole' -PACKAGE_VERSION='0.2.0.2' -PACKAGE_STRING='parole 0.2.0.2' +PACKAGE_VERSION='0.2.0.6' +PACKAGE_STRING='parole 0.2.0.6' PACKAGE_BUGREPORT='aliov@xfce.org' PACKAGE_URL='' @@ -756,15 +625,12 @@ GTK_DOC_BUILD_HTML_TRUE ENABLE_GTK_DOC_FALSE ENABLE_GTK_DOC_TRUE +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH HTML_DIR GTKDOC_MKPDF GTKDOC_REBASE GTKDOC_CHECK -DEBUG_BROWSER_PLUGIN_FALSE -DEBUG_BROWSER_PLUGIN_TRUE -BROWSER_PLUGIN_DIR -ENABLE_BROWSER_PLUGIN_FALSE -ENABLE_BROWSER_PLUGIN_TRUE POWER_MANAGER_PLUGIN_FALSE POWER_MANAGER_PLUGIN_TRUE WINDOW_TITLE_PLUGIN_FALSE @@ -869,9 +735,11 @@ LIPO NMEDIT DSYMUTIL -lt_ECHO +MANIFEST_TOOL RANLIB +ac_ct_AR AR +DLLTOOL OBJDUMP LN_S NM @@ -1022,6 +890,7 @@ enable_shared with_pic enable_fast_install +with_sysroot enable_libtool_lock with_locales_dir enable_libnotify @@ -1030,7 +899,6 @@ enable_tray_plugin enable_window_title_plugin enable_power_manager_plugin -enable_browser_plugin enable_debug with_html_dir enable_gtk_doc @@ -1050,8 +918,9 @@ CXXFLAGS CCC CXXCPP -BROWSER_PLUGIN_DIR -PKG_CONFIG' +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR' # Initialize some variables set by options. @@ -1114,8 +983,9 @@ fi case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. @@ -1160,7 +1030,7 @@ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1186,7 +1056,7 @@ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1390,7 +1260,7 @@ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1406,7 +1276,7 @@ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1436,8 +1306,8 @@ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; - -*) as_fn_error "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information." + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" ;; *=*) @@ -1445,7 +1315,7 @@ # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error "invalid variable name: \`$ac_envvar'" ;; + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; @@ -1455,7 +1325,7 @@ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac @@ -1463,13 +1333,13 @@ if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error "missing argument to $ac_option" + as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1492,7 +1362,7 @@ [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' @@ -1506,8 +1376,8 @@ if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_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 + $as_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 @@ -1522,9 +1392,9 @@ ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error "working directory cannot be determined" + as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error "pwd does not report name of working directory" + as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. @@ -1563,11 +1433,11 @@ fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then @@ -1593,7 +1463,7 @@ # 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 parole 0.2.0.2 to adapt to many kinds of systems. +\`configure' configures parole 0.2.0.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1607,7 +1477,7 @@ --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 + -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 @@ -1663,7 +1533,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of parole 0.2.0.2:";; + short | recursive ) echo "Configuration of parole 0.2.0.6:";; esac cat <<\_ACEOF @@ -1696,8 +1566,6 @@ Don't build the window title plugin --disable-power-manager-plugin Don't build the power manager plugin - --disable-browser-plugin - Don't build the browser plugin --enable-debug[=no|minimum|yes|full] Build with debugging support [default=[]] --disable-debug Include no debugging support @@ -1711,6 +1579,8 @@ --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] + --with-sysroot=DIR Search for dependent libraries within DIR + (or the compiler's sysroot if not specified). --with-locales-dir=DIR Install locales into DIR @@ -1728,9 +1598,11 @@ CXX C++ compiler command CXXFLAGS C++ compiler flags CXXCPP C++ preprocessor - BROWSER_PLUGIN_DIR - Where to install the browser plugin PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1798,10 +1670,10 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -parole configure 0.2.0.2 -generated by GNU Autoconf 2.65 +parole configure 0.2.0.6 +generated by GNU Autoconf 2.68 -Copyright (C) 2009 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1845,7 +1717,7 @@ ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile @@ -1871,7 +1743,7 @@ mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } >/dev/null && { + test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : @@ -1882,7 +1754,7 @@ ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp @@ -1895,10 +1767,10 @@ ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 @@ -1934,7 +1806,7 @@ else ac_header_preproc=no fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } @@ -1957,17 +1829,15 @@ $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( cat <<\_ASBOX -## ----------------------------- ## +( $as_echo "## ----------------------------- ## ## Report this to aliov@xfce.org ## -## ----------------------------- ## -_ASBOX +## ----------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" @@ -1976,7 +1846,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel @@ -2017,7 +1887,7 @@ ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run @@ -2031,7 +1901,7 @@ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2049,7 +1919,7 @@ eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile @@ -2086,7 +1956,7 @@ ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_compile @@ -2132,7 +2002,7 @@ # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link @@ -2145,7 +2015,7 @@ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2200,7 +2070,7 @@ eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func @@ -2225,7 +2095,7 @@ mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } >/dev/null && { + test $ac_status = 0; } > conftest.i && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then : @@ -2236,7 +2106,7 @@ ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_cpp @@ -2282,20 +2152,23 @@ # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_link -# ac_fn_c_check_decl LINENO SYMBOL VAR -# ------------------------------------ -# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. +# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES +# --------------------------------------------- +# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR +# accordingly. ac_fn_c_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 -$as_echo_n "checking whether $2 is declared... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + as_decl_name=`echo $2|sed 's/ *(.*//'` + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 +$as_echo_n "checking whether $as_decl_name is declared... " >&6; } +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2304,8 +2177,12 @@ int main () { -#ifndef $2 - (void) $2; +#ifndef $as_decl_name +#ifdef __cplusplus + (void) $as_decl_use; +#else + (void) $as_decl_name; +#endif #endif ; @@ -2322,15 +2199,15 @@ eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_decl cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by parole $as_me 0.2.0.2, which was -generated by GNU Autoconf 2.65. Invocation command line was +It was created by parole $as_me 0.2.0.6, which was +generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2440,11 +2317,9 @@ { echo - cat <<\_ASBOX -## ---------------- ## + $as_echo "## ---------------- ## ## Cache variables. ## -## ---------------- ## -_ASBOX +## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( @@ -2478,11 +2353,9 @@ ) echo - cat <<\_ASBOX -## ----------------- ## + $as_echo "## ----------------- ## ## Output variables. ## -## ----------------- ## -_ASBOX +## ----------------- ##" echo for ac_var in $ac_subst_vars do @@ -2495,11 +2368,9 @@ echo if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## + $as_echo "## ------------------- ## ## File substitutions. ## -## ------------------- ## -_ASBOX +## ------------------- ##" echo for ac_var in $ac_subst_files do @@ -2513,11 +2384,9 @@ fi if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## + $as_echo "## ----------- ## ## confdefs.h. ## -## ----------- ## -_ASBOX +## ----------- ##" echo cat confdefs.h echo @@ -2572,7 +2441,12 @@ ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site @@ -2587,7 +2461,11 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } fi done @@ -2663,7 +2541,7 @@ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## @@ -2682,16 +2560,22 @@ ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi done if test -z "$ac_aux_dir"; then - as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, @@ -2720,7 +2604,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then : +if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -2807,11 +2691,11 @@ ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's @@ -2833,7 +2717,7 @@ # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". - as_fn_error "ls -t appears to fail. Make sure there is not a broken + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi @@ -2843,7 +2727,7 @@ # Ok. : else - as_fn_error "newly created file is older than distributed files! + as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 @@ -2897,7 +2781,7 @@ set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : +if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then @@ -2937,7 +2821,7 @@ set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then @@ -2990,7 +2874,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : + if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3041,7 +2925,7 @@ set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : +if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then @@ -3081,7 +2965,7 @@ $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF @@ -3089,7 +2973,7 @@ all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +# 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;; @@ -3123,7 +3007,7 @@ am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then - as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi @@ -3139,7 +3023,7 @@ # Define the identity of the package. PACKAGE='parole' - VERSION='0.2.0.2' + VERSION='0.2.0.6' cat >>confdefs.h <<_ACEOF @@ -3247,7 +3131,7 @@ done rm -rf conftest.dir -if test "${am_cv_prog_tar_ustar+set}" = set; then : +if ${am_cv_prog_tar_ustar+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_prog_tar_ustar=$_am_tool @@ -3370,7 +3254,7 @@ set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3410,7 +3294,7 @@ set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3463,7 +3347,7 @@ set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3503,7 +3387,7 @@ set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3562,7 +3446,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3606,7 +3490,7 @@ set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3660,8 +3544,8 @@ test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 @@ -3775,9 +3659,8 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } @@ -3819,8 +3702,8 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." "$LINENO" 5; } +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 @@ -3877,9 +3760,9 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run C compiled programs. +as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. -See \`config.log' for more details." "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5; } fi fi fi @@ -3890,7 +3773,7 @@ ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : +if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3930,8 +3813,8 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of object files: cannot compile -See \`config.log' for more details." "$LINENO" 5; } +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi @@ -3941,7 +3824,7 @@ ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : +if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3978,7 +3861,7 @@ ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : +if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag @@ -4056,7 +3939,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : +if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no @@ -4155,7 +4038,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : +if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then @@ -4291,7 +4174,7 @@ CPP= fi if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : + if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded @@ -4321,7 +4204,7 @@ # Broken: fails on valid input. continue fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. @@ -4337,11 +4220,11 @@ ac_preproc_ok=: break fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext +rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi @@ -4380,7 +4263,7 @@ # Broken: fails on valid input. continue fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. @@ -4396,18 +4279,18 @@ ac_preproc_ok=: break fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext +rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c @@ -4419,7 +4302,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : +if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then @@ -4468,7 +4351,7 @@ done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP @@ -4482,7 +4365,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then : +if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 @@ -4534,7 +4417,7 @@ done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP @@ -4549,7 +4432,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : +if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -4666,8 +4549,7 @@ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF @@ -4679,7 +4561,7 @@ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" -if test "x$ac_cv_header_minix_config_h" = x""yes; then : +if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes else MINIX= @@ -4701,7 +4583,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } -if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : +if ${ac_cv_safe_to_define___extensions__+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -4752,7 +4634,7 @@ set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -4792,7 +4674,7 @@ set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -4845,7 +4727,7 @@ set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -4885,7 +4767,7 @@ set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -4944,7 +4826,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -4988,7 +4870,7 @@ set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -5042,8 +4924,8 @@ test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 @@ -5072,7 +4954,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : +if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -5109,7 +4991,7 @@ ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : +if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag @@ -5187,7 +5069,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : +if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no @@ -5286,7 +5168,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : +if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then @@ -5425,7 +5307,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then : +if ${ac_cv_prog_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then @@ -5469,7 +5351,7 @@ set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : +if ${ac_cv_prog_ac_ct_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then @@ -5547,7 +5429,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : +if ${ac_cv_cxx_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -5584,7 +5466,7 @@ ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then : +if ${ac_cv_prog_cxx_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag @@ -5670,7 +5552,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : +if ${am_cv_CXX_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then @@ -5802,7 +5684,7 @@ fi set dummy $CC; ac_cc=`$as_echo "$2" | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` -if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -5921,27 +5803,27 @@ # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } -if test "${ac_cv_build+set}" = set; then : +if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && - as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; -*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' @@ -5959,14 +5841,14 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } -if test "${ac_cv_host+set}" = set; then : +if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi @@ -5974,7 +5856,7 @@ $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' @@ -5992,7 +5874,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } -if test "${ac_cv_path_SED+set}" = set; then : +if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ @@ -6047,7 +5929,7 @@ done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then - as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED @@ -6074,7 +5956,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } -if test "${ac_cv_path_FGREP+set}" = set; then : +if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 @@ -6126,7 +6008,7 @@ done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then - as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP @@ -6157,6 +6039,58 @@ +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +$as_echo_n "checking how to print strings... " >&6; } +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "" +} + +case "$ECHO" in + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +$as_echo "printf" >&6; } ;; + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +$as_echo "print -r" >&6; } ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +$as_echo "cat" >&6; } ;; +esac + + + + + + + + + + + + + + # Check whether --with-gnu-ld was given. @@ -6205,7 +6139,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi -if test "${lt_cv_path_LD+set}" = set; then : +if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then @@ -6242,10 +6176,10 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi -test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then : +if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. @@ -6289,7 +6223,7 @@ case "$am__api_version" in 1.01234) - as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 + as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 ;; *) ;; @@ -6306,14 +6240,14 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || - as_fn_error "Your intltool is too old. You need intltool 0.31 or later." "$LINENO" 5 + as_fn_error $? "Your intltool is too old. You need intltool 0.31 or later." "$LINENO" 5 fi # Extract the first word of "intltool-update", so it can be a program name with args. set dummy intltool-update; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then : +if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_UPDATE in @@ -6353,7 +6287,7 @@ set dummy intltool-merge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then : +if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_MERGE in @@ -6393,7 +6327,7 @@ set dummy intltool-extract; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then : +if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_EXTRACT in @@ -6430,7 +6364,7 @@ if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then - as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5 + as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' @@ -6554,7 +6488,7 @@ set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_XGETTEXT+set}" = set; then : +if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case $XGETTEXT in @@ -6594,7 +6528,7 @@ set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_MSGMERGE+set}" = set; then : +if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGMERGE in @@ -6634,7 +6568,7 @@ set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_MSGFMT+set}" = set; then : +if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGFMT in @@ -6674,7 +6608,7 @@ set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_GMSGFMT+set}" = set; then : +if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in @@ -6712,20 +6646,20 @@ if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then - as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5 + as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then - as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5 + as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then : +if ${ac_cv_path_INTLTOOL_PERL+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_PERL in @@ -6762,13 +6696,13 @@ if test -z "$INTLTOOL_PERL"; then - as_fn_error "perl not found" "$LINENO" 5 + as_fn_error $? "perl not found" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 $as_echo_n "checking for perl >= 5.8.1... " >&6; } $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then - as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5 + as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 else IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 @@ -6781,7 +6715,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } else - as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5 + as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 fi fi @@ -6809,7 +6743,7 @@ case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" -if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : DATADIRNAME=share else DATADIRNAME=lib @@ -6872,8 +6806,8 @@ -macro_version='2.2.6b' -macro_revision='1.3017' +macro_version='2.4' +macro_revision='1.3293' @@ -6889,9 +6823,26 @@ ltmain="$ac_aux_dir/ltmain.sh" +# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if test "${lt_cv_path_NM+set}" = set; then : +if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then @@ -6944,14 +6895,17 @@ 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" + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + if test -n "$ac_tool_prefix"; then + for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DUMPBIN+set}" = set; then : +if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then @@ -6989,13 +6943,13 @@ fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN - for ac_prog in "dumpbin -symbols" "link -dump -symbols" + for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then @@ -7044,6 +6998,15 @@ fi fi + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" @@ -7058,18 +7021,18 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } -if test "${lt_cv_nm_interface+set}" = set; then : +if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:7066: $ac_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:7069: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:7072: output\"" >&5) + (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -7093,7 +7056,7 @@ # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } -if test "${lt_cv_sys_max_cmd_len+set}" = set; then : +if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else i=0 @@ -7126,6 +7089,11 @@ lt_cv_sys_max_cmd_len=8192; ;; + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. @@ -7190,8 +7158,8 @@ # 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 && + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` @@ -7233,8 +7201,8 @@ # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,, \ + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes @@ -7283,9 +7251,83 @@ +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; } +if ${lt_cv_to_host_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac + +fi + +to_host_file_cmd=$lt_cv_to_host_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +$as_echo "$lt_cv_to_host_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } +if ${lt_cv_to_tool_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + #assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac + +fi + +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } -if test "${lt_cv_ld_reload_flag+set}" = set; then : +if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' @@ -7299,6 +7341,11 @@ esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' @@ -7321,7 +7368,7 @@ set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OBJDUMP+set}" = set; then : +if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then @@ -7361,7 +7408,7 @@ set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then @@ -7420,7 +7467,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } -if test "${lt_cv_deplibs_check_method+set}" = set; then : +if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' @@ -7462,16 +7509,18 @@ # 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 + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -cegcc) +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' @@ -7501,6 +7550,10 @@ lt_cv_deplibs_check_method=pass_all ;; +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in @@ -7509,11 +7562,11 @@ 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_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_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 @@ -7535,7 +7588,7 @@ ;; # This must be Linux ELF. -linux* | k*bsd*-gnu) +linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; @@ -7616,6 +7669,21 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` + fi + ;; + esac +fi + file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown @@ -7631,16 +7699,26 @@ + + + + + + + + + + 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 + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AR+set}" = set; then : +if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -7649,7 +7727,7 @@ 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" + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -7659,10 +7737,10 @@ fi fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } @@ -7670,17 +7748,17 @@ 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 +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -7689,7 +7767,7 @@ 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" + ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -7699,17 +7777,17 @@ fi fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - if test "x$ac_ct_AR" = x; then - AR="false" + if test "x$ac_ct_DLLTOOL" = x; then + DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) @@ -7717,14 +7795,15 @@ $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac - AR=$ac_ct_AR + DLLTOOL=$ac_ct_DLLTOOL fi else - AR="$ac_cv_prog_AR" + DLLTOOL="$ac_cv_prog_DLLTOOL" fi -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$DLLTOOL" && DLLTOOL=dlltool + + @@ -7733,19 +7812,56 @@ +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; } +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + + + + if test -n "$ac_tool_prefix"; then - # 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 + for ac_prog in ar + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : +if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. + 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 @@ -7754,7 +7870,7 @@ 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" + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -7764,28 +7880,197 @@ fi fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi + test -n "$AR" && break + done fi -if test -z "$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 +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : +if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. + 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="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} +: ${AR_FLAGS=cru} + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; } +if ${lt_cv_ar_at_file+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ar_at_file=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +$as_echo "$lt_cv_ar_at_file" >&6; } + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { 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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -7840,7 +8125,7 @@ set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then : +if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then @@ -7880,7 +8165,7 @@ set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then @@ -7951,6 +8236,18 @@ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac + + + + + + @@ -7997,7 +8294,7 @@ # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : +if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else @@ -8058,8 +8355,8 @@ 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'" +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= @@ -8095,6 +8392,7 @@ else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no @@ -8120,8 +8418,8 @@ test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then @@ -8136,6 +8434,18 @@ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + #ifdef __cplusplus extern "C" { #endif @@ -8147,7 +8457,7 @@ cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ -const struct { +LT_DLSYM_CONST struct { const char *name; void *address; } @@ -8173,8 +8483,8 @@ _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 @@ -8184,8 +8494,8 @@ test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&5 fi @@ -8222,6 +8532,18 @@ $as_echo "ok" >&6; } fi +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + + + + + + @@ -8243,6 +8565,43 @@ +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } + +# Check whether --with-sysroot was given. +if test "${with_sysroot+set}" = set; then : + withval=$with_sysroot; +else + with_sysroot=no +fi + + +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 +$as_echo "${with_sysroot}" >&6; } + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 + ;; +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } + + + + + # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; @@ -8274,7 +8633,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 8277 "configure"' > conftest.$ac_ext + echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -8368,7 +8727,7 @@ CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if test "${lt_cv_cc_needs_belf+set}" = set; then : +if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c @@ -8436,6 +8795,123 @@ need_locks="$enable_libtool_lock" +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. +set dummy ${ac_tool_prefix}mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$MANIFEST_TOOL"; then + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL +if test -n "$MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +$as_echo "$MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL + # Extract the first word of "mt", so it can be a program name with args. +set dummy mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_MANIFEST_TOOL"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { 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_MANIFEST_TOOL="mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL +if test -n "$ac_ct_MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_MANIFEST_TOOL" = x; then + MANIFEST_TOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL + fi +else + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" +fi + +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if ${lt_cv_path_mainfest_tool+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&5 + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +$as_echo "$lt_cv_path_mainfest_tool" >&6; } +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi + + + + + case $host_os in rhapsody* | darwin*) @@ -8444,7 +8920,7 @@ set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : +if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then @@ -8484,7 +8960,7 @@ set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then @@ -8536,7 +9012,7 @@ set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_NMEDIT+set}" = set; then : +if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then @@ -8576,7 +9052,7 @@ set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then @@ -8628,7 +9104,7 @@ set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_LIPO+set}" = set; then : +if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then @@ -8668,7 +9144,7 @@ set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : +if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then @@ -8720,7 +9196,7 @@ set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OTOOL+set}" = set; then : +if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then @@ -8760,7 +9236,7 @@ set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then @@ -8812,7 +9288,7 @@ set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OTOOL64+set}" = set; then : +if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then @@ -8852,7 +9328,7 @@ set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then @@ -8927,7 +9403,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } -if test "${lt_cv_apple_cc_single_mod+set}" = set; then : +if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no @@ -8956,7 +9432,7 @@ $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : +if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no @@ -8979,585 +9455,103 @@ else lt_cv_ld_exported_symbols_list=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 -$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } - 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 : - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default -" -if test "x$ac_cv_header_dlfcn_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DLFCN_H 1 -_ACEOF - -fi - -done - - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { 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_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -else - CXXFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -depcc="$CXX" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if test "${ac_cv_prog_CXXCPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # 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 confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # 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_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +$as_echo_n "checking for -force_load linker flag... " >&6; } +if ${lt_cv_ld_force_load+:} false; then : + $as_echo_n "(cached) " >&6 else - # Broken: fails on valid input. -continue + lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 + echo "$AR cru libconftest.a conftest.o" >&5 + $AR cru libconftest.a conftest.o 2>&5 + echo "$RANLIB libconftest.a" >&5 + $RANLIB libconftest.a 2>&5 + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&5 + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + fi -rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +$as_echo "$lt_cv_ld_force_load" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[012]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +" +if test "x$ac_cv_header_dlfcn_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 _ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # 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 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -_lt_caught_CXX_error=yes; } -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 -else - _lt_caught_CXX_error=yes -fi + +func_stripname_cnf () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname_cnf @@ -9685,6 +9679,7 @@ + test -z "$LN_S" && LN_S="ln -s" @@ -9706,7 +9701,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } -if test "${lt_cv_objdir+set}" = set; then : +if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null @@ -9734,19 +9729,6 @@ - - - - - - - - - - - - - case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some @@ -9759,23 +9741,6 @@ ;; 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 @@ -9804,7 +9769,7 @@ *) break;; esac done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it @@ -9814,7 +9779,7 @@ if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : +if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in @@ -9880,7 +9845,7 @@ if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : +if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in @@ -10009,11 +9974,16 @@ lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag=' -fno-builtin' + case $cc_basename in + nvcc*) + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; + *) + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; + esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no @@ -10029,15 +9999,15 @@ -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:10032: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:10036: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes @@ -10066,8 +10036,6 @@ lt_prog_compiler_pic= lt_prog_compiler_static= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' @@ -10115,6 +10083,12 @@ lt_prog_compiler_pic='-fno-common' ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag @@ -10157,6 +10131,13 @@ lt_prog_compiler_pic='-fPIC' ;; esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + lt_prog_compiler_pic='-Xcompiler -fPIC' + ;; + esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in @@ -10198,7 +10179,7 @@ lt_prog_compiler_static='-non_shared' ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) @@ -10219,7 +10200,13 @@ lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; - pgcc* | pgf77* | pgf90* | pgf95*) + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' @@ -10231,25 +10218,25 @@ # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 + *Sun\ F* | *Sun*Fortran*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_wl='' ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker + *Sun\ C*) + # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='' + lt_prog_compiler_wl='-Wl,' ;; esac ;; @@ -10281,7 +10268,7 @@ lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in - f77* | f90* | f95*) + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; @@ -10338,13 +10325,17 @@ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 -$as_echo "$lt_prog_compiler_pic" >&6; } - - - - +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +$as_echo "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. @@ -10352,7 +10343,7 @@ if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : +if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no @@ -10368,15 +10359,15 @@ -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:10371: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:10375: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes @@ -10405,13 +10396,18 @@ + + + + + # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works+set}" = set; then : +if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no @@ -10424,7 +10420,7 @@ 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 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes @@ -10454,7 +10450,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then : +if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no @@ -10473,16 +10469,16 @@ -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:10476: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10480: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes @@ -10509,7 +10505,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then : +if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no @@ -10528,16 +10524,16 @@ -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:10531: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10535: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes @@ -10650,7 +10646,33 @@ esac ld_shlibs=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; + *\ \(GNU\ Binutils\)\ [3-9]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' @@ -10668,6 +10690,7 @@ fi supports_anon_versioning=no case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... @@ -10683,11 +10706,12 @@ ld_shlibs=no cat <<_LT_EOF 1>&2 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. _LT_EOF fi @@ -10723,10 +10747,12 @@ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' + export_dynamic_flag_spec='${wl}--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' @@ -10744,6 +10770,11 @@ fi ;; + haiku*) + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs=yes + ;; + interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no @@ -10759,7 +10790,7 @@ 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) + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in @@ -10769,15 +10800,16 @@ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then - tmp_addflag= + tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; - pgf77* | pgf90* | pgf95*) # 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' + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; @@ -10788,13 +10820,17 @@ 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) + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 @@ -10810,17 +10846,17 @@ fi case $cc_basename in - xlf*) + xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir' - archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac @@ -10834,8 +10870,8 @@ 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' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; @@ -10853,8 +10889,8 @@ _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' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi @@ -10900,8 +10936,8 @@ *) 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' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi @@ -10941,8 +10977,10 @@ else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi @@ -11029,7 +11067,13 @@ allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -11042,25 +11086,32 @@ _ACEOF if ac_fn_c_try_link "$LINENO"; 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 + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' @@ -11069,7 +11120,13 @@ else # Determine the default libpath from the value encoded in an # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -11082,30 +11139,42 @@ _ACEOF if ac_fn_c_try_link "$LINENO"; 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 + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec='$convenience' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + fi archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' @@ -11137,20 +11206,63 @@ # 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 + case $cc_basename in + cl*) + # Native MSVC + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + always_export_symbols=yes + file_list_spec='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true' + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + old_postinstall_cmds='chmod 644 $oldlib' + postlink_cmds='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_from_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + enable_shared_with_static_runtimes=yes + ;; + esac ;; darwin* | rhapsody*) @@ -11160,7 +11272,11 @@ hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='' + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + else + whole_archive_flag_spec='' + fi link_all_deplibs=yes allow_undefined_flag="$_lt_dar_allow_undefined" case $cc_basename in @@ -11168,7 +11284,7 @@ *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo + output_verbose_link_cmd=func_echo_all archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" @@ -11211,7 +11327,7 @@ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no @@ -11219,7 +11335,7 @@ 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' + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi @@ -11234,8 +11350,8 @@ ;; 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' + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi @@ -11253,16 +11369,16 @@ ;; hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then + if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared $pic_flag ${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' + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else @@ -11274,7 +11390,46 @@ 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' + + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +$as_echo_n "checking if $CC understands -b... " >&6; } +if ${lt_cv_prog_compiler__b+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler__b=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -b" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler__b=yes + fi + else + lt_cv_prog_compiler__b=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +$as_echo "$lt_cv_prog_compiler__b" >&6; } + +if test x"$lt_cv_prog_compiler__b" = xyes; then + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' +else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' +fi + ;; esac fi @@ -11302,26 +11457,39 @@ 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' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + # This should be the same for all languages, so no per-tag cache variable. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if ${lt_cv_irix_exported_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -int foo(void) {} +int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; 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' - + lt_cv_irix_exported_symbol=yes +else + lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" + LDFLAGS="$save_LDFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +$as_echo "$lt_cv_irix_exported_symbol" >&6; } + if test "$lt_cv_irix_exported_symbol" = yes; then + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $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' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' @@ -11383,17 +11551,17 @@ 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' + 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' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' @@ -11403,13 +11571,13 @@ 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' + archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' @@ -11422,9 +11590,9 @@ 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_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) @@ -11612,44 +11780,50 @@ # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext +if ${lt_cv_archive_cmds_need_lc+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl - pic_flag=$lt_prog_compiler_pic - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - then - 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* - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 -$as_echo "$archive_cmds_need_lc" >&6; } + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + lt_cv_archive_cmds_need_lc=no + else + lt_cv_archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi @@ -11820,16 +11994,23 @@ 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 + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= @@ -11842,7 +12023,7 @@ 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 ' + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; @@ -11862,7 +12043,13 @@ 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` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([A-Za-z]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi @@ -11950,7 +12137,7 @@ 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' + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; @@ -11981,8 +12168,9 @@ need_version=no need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) + case $GCC,$cc_basename in + yes,*) + # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ @@ -12003,36 +12191,83 @@ 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" + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - 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 + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' ;; *) + # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' ;; esac - dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; @@ -12119,6 +12354,19 @@ hardcode_into_libs=yes ;; +haiku*) + version_type=linux + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. @@ -12161,8 +12409,10 @@ soname_spec='${libname}${release}${shared_ext}$major' ;; esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 ;; interix[3-9]*) @@ -12220,7 +12470,7 @@ ;; # This must be Linux ELF. -linux* | k*bsd*-gnu) +linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux need_lib_prefix=no need_version=no @@ -12229,12 +12479,17 @@ 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 confdefs.h - <<_ACEOF >conftest.$ac_ext + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -12247,13 +12502,17 @@ _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - shlibpath_overrides_runpath=yes + lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install @@ -12262,7 +12521,7 @@ # 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' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -12565,6 +12824,11 @@ + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= @@ -12637,7 +12901,7 @@ # if libdl is installed we need to link against it { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then : +if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -12671,7 +12935,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else @@ -12685,12 +12949,12 @@ *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -if test "x$ac_cv_func_shl_load" = x""yes; then : +if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen="shl_load" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } -if test "${ac_cv_lib_dld_shl_load+set}" = set; then : +if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -12724,16 +12988,16 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : +if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = x""yes; then : +if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen="dlopen" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then : +if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -12767,12 +13031,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } -if test "${ac_cv_lib_svld_dlopen+set}" = set; then : +if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -12806,12 +13070,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : +if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } -if test "${ac_cv_lib_dld_dld_link+set}" = set; then : +if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -12845,7 +13109,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : +if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi @@ -12886,7 +13150,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self+set}" = set; then : +if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -12895,7 +13159,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12898 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12936,7 +13200,13 @@ # endif #endif -void fnord() { int i=42;} +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); @@ -12945,7 +13215,11 @@ if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } /* dlclose (self); */ } else @@ -12982,7 +13256,7 @@ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self_static+set}" = set; then : +if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -12991,7 +13265,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12994 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13032,7 +13306,13 @@ # endif #endif -void fnord() { int i=42;} +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); @@ -13041,7 +13321,11 @@ if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } /* dlclose (self); */ } else @@ -13198,6 +13482,145 @@ CC="$lt_save_CC" + if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 +$as_echo_n "checking how to run the C++ preprocessor... " >&6; } +if test -z "$CXXCPP"; then + if ${ac_cv_prog_CXXCPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 +$as_echo "$CXXCPP" >&6; } +ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +else + _lt_caught_CXX_error=yes +fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -13224,6 +13647,8 @@ module_expsym_cmds_CXX= link_all_deplibs_CXX=unknown old_archive_cmds_CXX=$old_archive_cmds +reload_flag_CXX=$reload_flag +reload_cmds_CXX=$reload_cmds no_undefined_flag_CXX= whole_archive_flag_spec_CXX= enable_shared_with_static_runtimes_CXX=no @@ -13279,6 +13704,7 @@ # Allow CC to be a program name with arguments. lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX @@ -13296,6 +13722,7 @@ fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS compiler=$CC compiler_CXX=$CC for cc_temp in $compiler""; do @@ -13306,7 +13733,7 @@ *) break;; esac done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` if test -n "$compiler"; then @@ -13369,7 +13796,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi -if test "${lt_cv_path_LD+set}" = set; then : +if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then @@ -13406,10 +13833,10 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi -test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then : +if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. @@ -13435,8 +13862,8 @@ # 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 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' @@ -13468,7 +13895,7 @@ # 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"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no @@ -13578,7 +14005,13 @@ allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty # executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath__CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -13591,26 +14024,33 @@ _ACEOF if ac_fn_cxx_try_link "$LINENO"; 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 + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath__CXX +fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds_CXX='$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" + archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' @@ -13619,7 +14059,13 @@ else # Determine the default libpath from the value encoded in an # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath__CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -13632,30 +14078,42 @@ _ACEOF if ac_fn_cxx_try_link "$LINENO"; 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 + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath__CXX +fi hardcode_libdir_flag_spec_CXX='${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_CXX=' ${wl}-bernotok' allow_undefined_flag_CXX=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_CXX='$convenience' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX='$convenience' + fi archive_cmds_need_lc_CXX=yes # This is similar to how AIX traditionally builds its shared # libraries. @@ -13685,28 +14143,75 @@ ;; cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_CXX='-L$libdir' - allow_undefined_flag_CXX=unsupported - always_export_symbols_CXX=no - enable_shared_with_static_runtimes_CXX=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds_CXX='$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... - archive_expsym_cmds_CXX='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 - ld_shlibs_CXX=no - fi - ;; + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_CXX=' ' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=yes + file_list_spec_CXX='@' + # 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_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' + enable_shared_with_static_runtimes_CXX=yes + # Don't use ranlib + old_postinstall_cmds_CXX='chmod 644 $oldlib' + postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds_CXX='$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... + archive_expsym_cmds_CXX='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 + ld_shlibs_CXX=no + fi + ;; + esac + ;; darwin* | rhapsody*) @@ -13714,7 +14219,11 @@ hardcode_direct_CXX=no hardcode_automatic_CXX=yes hardcode_shlibpath_var_CXX=unsupported - whole_archive_flag_spec_CXX='' + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + else + whole_archive_flag_spec_CXX='' + fi link_all_deplibs_CXX=yes allow_undefined_flag_CXX="$_lt_dar_allow_undefined" case $cc_basename in @@ -13722,7 +14231,7 @@ *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo + output_verbose_link_cmd=func_echo_all archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds_CXX="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}" @@ -13775,6 +14284,11 @@ gnu*) ;; + haiku*) + archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs_CXX=yes + ;; + hpux9*) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: @@ -13799,11 +14313,11 @@ # 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' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then - archive_cmds_CXX='$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' + archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no @@ -13864,7 +14378,7 @@ # 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' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then @@ -13874,10 +14388,10 @@ archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi @@ -13907,7 +14421,7 @@ case $cc_basename in CC*) # SGI C++ - archive_cmds_CXX='$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' + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is @@ -13918,9 +14432,9 @@ *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then - archive_cmds_CXX='$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' + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else - archive_cmds_CXX='$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' + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' fi fi link_all_deplibs_CXX=yes @@ -13931,7 +14445,7 @@ inherit_rpath_CXX=yes ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler @@ -13949,7 +14463,7 @@ # 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' + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' @@ -13986,26 +14500,26 @@ pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in - *pgCC\ [1-5]* | *pgcpp\ [1-5]*) + *pgCC\ [1-5].* | *pgcpp\ [1-5].*) prelink_cmds_CXX='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`"' + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' old_archive_cmds_CXX='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`~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' archive_cmds_CXX='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' + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='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' + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; - *) # Version 6 will use weak symbols + *) # Version 6 and above use weak symbols archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='$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' ;; @@ -14013,7 +14527,7 @@ hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ @@ -14032,9 +14546,9 @@ # 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' + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; - xl*) + xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' @@ -14054,13 +14568,13 @@ archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' hardcode_libdir_flag_spec_CXX='-R$libdir' - whole_archive_flag_spec_CXX='${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' + whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object_CXX=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' + output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is @@ -14129,7 +14643,7 @@ export_dynamic_flag_spec_CXX='${wl}-E' whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi - output_verbose_link_cmd=echo + output_verbose_link_cmd=func_echo_all else ld_shlibs_CXX=no fi @@ -14164,15 +14678,15 @@ case $host in osf3*) allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$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' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' ;; *) allow_undefined_flag_CXX=' -expect_unresolved \*' - archive_cmds_CXX='$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' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_CXX='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~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ $RM $lib.exp' hardcode_libdir_flag_spec_CXX='-rpath $libdir' ;; @@ -14188,17 +14702,17 @@ # 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' + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) - archive_cmds_CXX='$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' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) - archive_cmds_CXX='$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' + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; esac @@ -14208,7 +14722,7 @@ # 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"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support @@ -14244,7 +14758,7 @@ solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ archive_cmds_need_lc_CXX=yes no_undefined_flag_CXX=' -zdefs' @@ -14265,7 +14779,7 @@ esac link_all_deplibs_CXX=yes - output_verbose_link_cmd='echo' + output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is @@ -14285,14 +14799,14 @@ if test "$GXX" = yes && test "$with_gnu_ld" = no; then no_undefined_flag_CXX=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='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' + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. @@ -14303,7 +14817,7 @@ # 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"' + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' @@ -14357,6 +14871,10 @@ CC*) archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ + '"$old_archive_cmds_CXX" + reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ + '"$reload_cmds_CXX" ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' @@ -14418,6 +14936,13 @@ }; _LT_EOF + +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +esac + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -14431,7 +14956,7 @@ pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do - case $p in + case ${prev}${p} in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. @@ -14440,13 +14965,22 @@ test $p = "-R"; then prev=$p continue - else - prev= fi + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) + case ${prev} in + -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. @@ -14466,8 +15000,10 @@ postdeps_CXX="${postdeps_CXX} ${prev}${p}" fi fi + prev= ;; + *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. @@ -14503,6 +15039,7 @@ fi $RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken case $host_os in @@ -14538,7 +15075,7 @@ solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as @@ -14603,8 +15140,6 @@ lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then @@ -14654,6 +15189,11 @@ # DJGPP does not support shared libraries at all lt_prog_compiler_pic_CXX= ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static_CXX= + ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. @@ -14703,6 +15243,11 @@ ;; esac ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; dgux*) case $cc_basename in ec++*) @@ -14759,7 +15304,7 @@ ;; esac ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler @@ -14792,8 +15337,8 @@ lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC + xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-qpic' lt_prog_compiler_static_CXX='-qstaticlink' @@ -14855,7 +15400,7 @@ ;; solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' @@ -14920,10 +15465,17 @@ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 -$as_echo "$lt_prog_compiler_pic_CXX" >&6; } - +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } +lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX # # Check to make sure the PIC flag actually works. @@ -14931,7 +15483,7 @@ if test -n "$lt_prog_compiler_pic_CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : +if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works_CXX=no @@ -14947,15 +15499,15 @@ -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:14950: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:14954: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works_CXX=yes @@ -14981,13 +15533,15 @@ + + # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : +if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works_CXX=no @@ -15000,7 +15554,7 @@ 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 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works_CXX=yes @@ -15027,7 +15581,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : +if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o_CXX=no @@ -15046,16 +15600,16 @@ -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:15049: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:15053: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes @@ -15079,7 +15633,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : +if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o_CXX=no @@ -15098,16 +15652,16 @@ -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:15101: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:15105: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes @@ -15158,27 +15712,35 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' case $host_os in aix[4-9]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) export_symbols_cmds_CXX="$ltdll_cmds" - ;; + ;; cygwin* | mingw* | cegcc*) - export_symbols_cmds_CXX='$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' - ;; + case $cc_basename in + cl*) ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + ;; + esac + ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; + ;; esac - exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 $as_echo "$ld_shlibs_CXX" >&6; } @@ -15210,44 +15772,50 @@ # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext +if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_CXX - pic_flag=$lt_prog_compiler_pic_CXX - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX - allow_undefined_flag_CXX= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + pic_flag=$lt_prog_compiler_pic_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } - then - archive_cmds_need_lc_CXX=no - else - archive_cmds_need_lc_CXX=yes - fi - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 -$as_echo "$archive_cmds_need_lc_CXX" >&6; } + then + lt_cv_archive_cmds_need_lc_CXX=no + else + lt_cv_archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } + archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX ;; esac fi @@ -15404,7 +15972,7 @@ 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' + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; @@ -15435,8 +16003,9 @@ need_version=no need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) + case $GCC,$cc_basename in + yes,*) + # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ @@ -15457,36 +16026,82 @@ 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 + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' ;; *) + # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' ;; esac - dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; @@ -15572,6 +16187,19 @@ hardcode_into_libs=yes ;; +haiku*) + version_type=linux + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. @@ -15614,8 +16242,10 @@ soname_spec='${libname}${release}${shared_ext}$major' ;; esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 ;; interix[3-9]*) @@ -15673,7 +16303,7 @@ ;; # This must be Linux ELF. -linux* | k*bsd*-gnu) +linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux need_lib_prefix=no need_version=no @@ -15682,12 +16312,17 @@ 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_CXX\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -15700,13 +16335,17 @@ _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - shlibpath_overrides_runpath=yes + lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install @@ -15715,7 +16354,7 @@ # 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' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -15967,6 +16606,8 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action_CXX= @@ -16014,6 +16655,7 @@ fi # test -n "$compiler" CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC @@ -16053,16 +16695,15 @@ : ${CONFIG_LT=./config.lt} { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 $as_echo "$as_me: creating $CONFIG_LT" >&6;} -cat >"$CONFIG_LT" <<_LTEOF +as_write_fail=0 +cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1 #! $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 +export SHELL +_ASEOF +cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## @@ -16142,6 +16783,7 @@ IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. +as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -16187,20 +16829,19 @@ (unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with status $?, using 1 if that was 0. +# script with STATUS, using 1 if that was 0. as_fn_error () { - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $1" >&2 + $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -16396,7 +17037,7 @@ test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" "$LINENO" 5 + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p @@ -16437,8 +17078,15 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - exec 6>&1 +## --------------------------------- ## +## Main body of "$CONFIG_LT" script. ## +## --------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x "$CONFIG_LT" + +cat >>"$CONFIG_LT" <<\_LTEOF +lt_cl_silent=false exec 5>>config.log { echo @@ -16462,10 +17110,10 @@ Report bugs to ." lt_cl_version="\ -parole config.lt 0.2.0.2 -configured by $0, generated by GNU Autoconf 2.65. +parole config.lt 0.2.0.6 +configured by $0, generated by GNU Autoconf 2.68. -Copyright (C) 2008 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." @@ -16481,10 +17129,10 @@ --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; - -*) as_fn_error "unrecognized option: $1 + -*) as_fn_error $? "unrecognized option: $1 Try \`$0 --help' for more information." "$LINENO" 5 ;; - *) as_fn_error "unrecognized argument: $1 + *) as_fn_error $? "unrecognized argument: $1 Try \`$0 --help' for more information." "$LINENO" 5 ;; esac shift @@ -16505,187 +17153,211 @@ sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_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"`' -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_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"`' -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"`' -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"`' -compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' -predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' -postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' -predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' -postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' -LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' -GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' -export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' -allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' -inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' -link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' -fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' -always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' -export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' -include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' -prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' -predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' -postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' -predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' -postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' +predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' +postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' +predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' +postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' +LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' +reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' +reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' +compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' +GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' +archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' +module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' +with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' +no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' +inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' +link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' +always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' +exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' +include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' +prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' +postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' +file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' +predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' +postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' +predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' +postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + # Quote evaled strings. for var in SED \ GREP \ EGREP \ FGREP \ +SHELL \ +ECHO \ LD \ NM \ LN_S \ @@ -16695,8 +17367,13 @@ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ +file_magic_glob \ +want_nocaseglob \ +DLLTOOL \ +sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ +archiver_list_spec \ STRIP \ RANLIB \ CC \ @@ -16706,14 +17383,14 @@ 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 \ +nm_file_list_spec \ lt_prog_compiler_no_builtin_flag \ -lt_prog_compiler_wl \ lt_prog_compiler_pic \ +lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ +MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ @@ -16729,7 +17406,6 @@ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ -fix_srcfile_path \ exclude_expsyms \ include_expsyms \ file_list_spec \ @@ -16737,6 +17413,7 @@ libname_spec \ library_names_spec \ soname_spec \ +install_override_mode \ finish_eval \ old_striplib \ striplib \ @@ -16747,10 +17424,11 @@ postdeps \ compiler_lib_search_path \ LD_CXX \ +reload_flag_CXX \ compiler_CXX \ lt_prog_compiler_no_builtin_flag_CXX \ -lt_prog_compiler_wl_CXX \ lt_prog_compiler_pic_CXX \ +lt_prog_compiler_wl_CXX \ lt_prog_compiler_static_CXX \ lt_cv_prog_compiler_c_o_CXX \ export_dynamic_flag_spec_CXX \ @@ -16762,7 +17440,6 @@ hardcode_libdir_flag_spec_CXX \ hardcode_libdir_flag_spec_ld_CXX \ hardcode_libdir_separator_CXX \ -fix_srcfile_path_CXX \ exclude_expsyms_CXX \ include_expsyms_CXX \ file_list_spec_CXX \ @@ -16772,9 +17449,9 @@ predeps_CXX \ postdeps_CXX \ compiler_lib_search_path_CXX; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -16796,11 +17473,13 @@ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ +postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ sys_lib_dlsearch_path_spec \ +reload_cmds_CXX \ old_archive_cmds_CXX \ old_archive_from_new_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \ @@ -16809,10 +17488,11 @@ module_cmds_CXX \ module_expsym_cmds_CXX \ export_symbols_cmds_CXX \ -prelink_cmds_CXX; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in +prelink_cmds_CXX \ +postlink_cmds_CXX; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -16820,12 +17500,6 @@ 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' @@ -16873,7 +17547,8 @@ # 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. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. @@ -16920,6 +17595,12 @@ # A literal string matcher. FGREP=$lt_FGREP +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + # Whether or not to build static libraries. build_old_libs=$enable_static @@ -16970,9 +17651,11 @@ # turn newlines into spaces. NL2SP=$lt_lt_NL2SP -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds +# convert \$build file names to \$host format. +to_host_file_cmd=$lt_cv_to_host_file_cmd + +# convert \$build files to toolchain format. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd # An object symbol dumper. OBJDUMP=$lt_OBJDUMP @@ -16980,13 +17663,30 @@ # 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". +# Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd +# How to find potential files when deplibs_check_method = "file_magic". +file_magic_glob=$lt_file_magic_glob + +# Find potential files using nocaseglob when deplibs_check_method = "file_magic". +want_nocaseglob=$lt_want_nocaseglob + +# DLL creation program. +DLLTOOL=$lt_DLLTOOL + +# Command to associate shared and link libraries. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd + # The archiver. AR=$lt_AR + +# Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS +# How to feed a file listing to the archiver. +archiver_list_spec=$lt_archiver_list_spec + # A symbol stripping program. STRIP=$lt_STRIP @@ -16995,6 +17695,9 @@ old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=$lock_old_archive_extraction + # A C compiler. LTCC=$lt_CC @@ -17013,14 +17716,14 @@ # 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 +# Specify filename containing input files for \$NM. +nm_file_list_spec=$lt_nm_file_list_spec -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL +# The root where to search for dependent libraries,and in which our libraries should be installed. +lt_sysroot=$lt_sysroot -# An echo program that does not interpret backslashes. -ECHO=$lt_ECHO +# The name of the directory that contains temporary libtool files. +objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD @@ -17028,6 +17731,9 @@ # Must we lock files when doing compilation? need_locks=$lt_need_locks +# Manifest tool. +MANIFEST_TOOL=$lt_MANIFEST_TOOL + # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL @@ -17084,6 +17790,9 @@ # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec +# Permission mode override for installation of shared libraries. +install_override_mode=$lt_install_override_mode + # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds @@ -17123,6 +17832,10 @@ # The linker used to build libraries. LD=$lt_LD +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds @@ -17135,12 +17848,12 @@ # 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 +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static @@ -17227,9 +17940,6 @@ # 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 @@ -17237,266 +17947,226 @@ 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 - -# The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs - -# Dependencies to place before and after the objects being linked to -# create a shared library. -predep_objects=$lt_predep_objects -postdep_objects=$lt_postdep_objects -predeps=$lt_predeps -postdeps=$lt_postdeps - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path - -# ### 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 -} +exclude_expsyms=$lt_exclude_expsyms -# func_basename file -func_basename () -{ - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} +# 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 -# 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 -} +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds -# sed scripts: -my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' -my_sed_long_arg='1s/^-[^=]*=//' +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec -# 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"` -} +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action -# func_lo2o object -func_lo2o () -{ - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` -} +# The directories searched by this compiler when creating a shared library. +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` -} +# Dependencies to place before and after the objects being linked to +# create a shared library. +predep_objects=$lt_predep_objects +postdep_objects=$lt_postdep_objects +predeps=$lt_predeps +postdeps=$lt_postdeps -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=`expr "$@"` -} +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` -} +# ### END LIBTOOL CONFIG _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" -} + 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 ;; - *) - cat << \_LT_EOF >> "$cfgfile" + esac -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$1=\$$1\$2" -} -_LT_EOF - ;; - esac +ltmain="$ac_aux_dir/ltmain.sh" + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + if test x"$xsi_shell" = xyes; then + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ +func_dirname ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_basename ()$/,/^} # func_basename /c\ +func_basename ()\ +{\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ +func_dirname_and_basename ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ +func_stripname ()\ +{\ +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ +\ # positional parameters, so assign one to ordinary parameter first.\ +\ func_stripname_result=${3}\ +\ func_stripname_result=${func_stripname_result#"${1}"}\ +\ func_stripname_result=${func_stripname_result%"${2}"}\ +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ +func_split_long_opt ()\ +{\ +\ func_split_long_opt_name=${1%%=*}\ +\ func_split_long_opt_arg=${1#*=}\ +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ +func_split_short_opt ()\ +{\ +\ func_split_short_opt_arg=${1#??}\ +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ +func_lo2o ()\ +{\ +\ case ${1} in\ +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ +\ *) func_lo2o_result=${1} ;;\ +\ esac\ +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_xform ()$/,/^} # func_xform /c\ +func_xform ()\ +{\ + func_xform_result=${1%.*}.lo\ +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_arith ()$/,/^} # func_arith /c\ +func_arith ()\ +{\ + func_arith_result=$(( $* ))\ +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_len ()$/,/^} # func_len /c\ +func_len ()\ +{\ + func_len_result=${#1}\ +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + +fi + +if test x"$lt_shell_append" = xyes; then + sed -e '/^func_append ()$/,/^} # func_append /c\ +func_append ()\ +{\ + eval "${1}+=\\${2}"\ +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ +func_append_quoted ()\ +{\ +\ func_quote_for_eval "${2}"\ +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} +fi - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - mv -f "$cfgfile" "$ofile" || + mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" @@ -17508,6 +18178,10 @@ # The linker used to build libraries. LD=$lt_LD_CXX +# How to create reloadable object files. +reload_flag=$lt_reload_flag_CXX +reload_cmds=$lt_reload_cmds_CXX + # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds_CXX @@ -17520,12 +18194,12 @@ # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_CXX - # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_CXX +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_CXX @@ -17612,9 +18286,6 @@ # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_CXX -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path_CXX - # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols_CXX @@ -17630,6 +18301,9 @@ # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds_CXX +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds_CXX + # Specify filename containing input files. file_list_spec=$lt_file_list_spec_CXX @@ -17662,15 +18336,13 @@ # 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 5>/dev/null - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false - exec 5>>config.log - $lt_cl_success || as_fn_exit 1 -fi +lt_cl_success=: +test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" +exec 5>/dev/null +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false +exec 5>>config.log +$lt_cl_success || as_fn_exit 1 # ===================================================== # @@ -17680,7 +18352,7 @@ PAROLE_VERSION_API=0 PAROLE_VERSION_MAJOR=0 PAROLE_VERSION_MINOR=2 -PAROLE_VERSION_MICRO=0.2 +PAROLE_VERSION_MICRO=0.6 @@ -17692,7 +18364,7 @@ # ==================================================== # { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : +if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17808,8 +18480,7 @@ do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF @@ -17832,12 +18503,12 @@ - ALL_LINGUAS="ast ca cs da de es eu fr gl id ja lv nl pt ru sk sv tr uk zh_CN " + ALL_LINGUAS="ast ca cs da de el en_GB es eu fr gl hu id it ja lv nl pt_BR pt ru sk sv tr ug uk zh_CN " for ac_header in locale.h do : ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" -if test "x$ac_cv_header_locale_h" = x""yes; then : +if test "x$ac_cv_header_locale_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LOCALE_H 1 _ACEOF @@ -17849,7 +18520,7 @@ if test $ac_cv_header_locale_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 $as_echo_n "checking for LC_MESSAGES... " >&6; } -if test "${am_cv_val_LC_MESSAGES+set}" = set; then : +if ${am_cv_val_LC_MESSAGES+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17889,7 +18560,7 @@ INTLLIBS= ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" -if test "x$ac_cv_header_libintl_h" = x""yes; then : +if test "x$ac_cv_header_libintl_h" = xyes; then : gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" @@ -17898,7 +18569,7 @@ # { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 $as_echo_n "checking for ngettext in libc... " >&6; } -if test "${gt_cv_func_ngettext_libc+set}" = set; then : +if ${gt_cv_func_ngettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17929,7 +18600,7 @@ if test "$gt_cv_func_ngettext_libc" = "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 $as_echo_n "checking for dgettext in libc... " >&6; } -if test "${gt_cv_func_dgettext_libc+set}" = set; then : +if ${gt_cv_func_dgettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17962,7 +18633,7 @@ for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" -if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF @@ -17981,7 +18652,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } -if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then : +if ${ac_cv_lib_intl_bindtextdomain+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18015,10 +18686,10 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } -if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then : +if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } -if test "${ac_cv_lib_intl_ngettext+set}" = set; then : +if ${ac_cv_lib_intl_ngettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18052,10 +18723,10 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } -if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : +if test "x$ac_cv_lib_intl_ngettext" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 $as_echo_n "checking for dgettext in -lintl... " >&6; } -if test "${ac_cv_lib_intl_dgettext+set}" = set; then : +if ${ac_cv_lib_intl_dgettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18089,7 +18760,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } -if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : +if test "x$ac_cv_lib_intl_dgettext" = xyes; then : gt_cv_func_dgettext_libintl=yes fi @@ -18105,7 +18776,7 @@ $as_echo "" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } -if test "${ac_cv_lib_intl_ngettext+set}" = set; then : +if ${ac_cv_lib_intl_ngettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18139,10 +18810,10 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } -if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : +if test "x$ac_cv_lib_intl_ngettext" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 $as_echo_n "checking for dcgettext in -lintl... " >&6; } -if test "${ac_cv_lib_intl_dcgettext+set}" = set; then : +if ${ac_cv_lib_intl_dcgettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18176,7 +18847,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } -if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then : +if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else @@ -18201,7 +18872,7 @@ for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" -if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF @@ -18239,7 +18910,7 @@ set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_MSGFMT+set}" = set; then : +if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in @@ -18276,7 +18947,7 @@ for ac_func in dcgettext do : ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" -if test "x$ac_cv_func_dcgettext" = x""yes; then : +if test "x$ac_cv_func_dcgettext" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DCGETTEXT 1 _ACEOF @@ -18317,7 +18988,7 @@ set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_GMSGFMT+set}" = set; then : +if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in @@ -18358,7 +19029,7 @@ set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_XGETTEXT+set}" = set; then : +if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in @@ -18409,7 +19080,7 @@ case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" -if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : CATOBJEXT=.gmo DATADIRNAME=share else @@ -18539,7 +19210,7 @@ ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" -if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : fi @@ -18602,7 +19273,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -18740,7 +19411,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -18878,7 +19549,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -19016,7 +19687,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -19154,7 +19825,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -19292,7 +19963,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -19431,7 +20102,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -19569,7 +20240,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -19707,7 +20378,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -19845,7 +20516,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -19984,7 +20655,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -20122,7 +20793,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -20261,7 +20932,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -20399,7 +21070,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -20555,7 +21226,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -20739,7 +21410,7 @@ # if this one exists. ac_fn_c_check_decl "$LINENO" "XF86XK_AudioPlay" "ac_cv_have_decl_XF86XK_AudioPlay" "#include " -if test "x$ac_cv_have_decl_XF86XK_AudioPlay" = x""yes; then : +if test "x$ac_cv_have_decl_XF86XK_AudioPlay" = xyes; then : have_XF86XK_AudioPlay=1 else have_XF86XK_AudioPlay=0 @@ -20779,7 +21450,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -20939,7 +21610,7 @@ TAGLIBC_CFLAGS="" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for taglib_file_new in -ltag_c" >&5 $as_echo_n "checking for taglib_file_new in -ltag_c... " >&6; } -if test "${ac_cv_lib_tag_c_taglib_file_new+set}" = set; then : +if ${ac_cv_lib_tag_c_taglib_file_new+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -20973,10 +21644,10 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tag_c_taglib_file_new" >&5 $as_echo "$ac_cv_lib_tag_c_taglib_file_new" >&6; } -if test "x$ac_cv_lib_tag_c_taglib_file_new" = x""yes; then : +if test "x$ac_cv_lib_tag_c_taglib_file_new" = xyes; then : ac_fn_c_check_header_mongrel "$LINENO" "taglib/tag_c.h" "ac_cv_header_taglib_tag_c_h" "$ac_includes_default" -if test "x$ac_cv_header_taglib_tag_c_h" = x""yes; then : +if test "x$ac_cv_header_taglib_tag_c_h" = xyes; then : TAGLIBC_LIBS="-ltag_c" @@ -21069,7 +21740,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -21270,36 +21941,6 @@ $as_echo "$ac_power_manager_plugin" >&6; } #=======================================================# -# Build browser plugin? # -#=======================================================# -# Check whether --enable-browser-plugin was given. -if test "${enable_browser_plugin+set}" = set; then : - enableval=$enable_browser_plugin; ac_browser_plugin=$enableval -else - ac_browser_plugin=yes -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the browser plugin" >&5 -$as_echo_n "checking whether to build the browser plugin... " >&6; } - if test x"$ac_browser_plugin" = x"yes"; then - ENABLE_BROWSER_PLUGIN_TRUE= - ENABLE_BROWSER_PLUGIN_FALSE='#' -else - ENABLE_BROWSER_PLUGIN_TRUE='#' - ENABLE_BROWSER_PLUGIN_FALSE= -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_browser_plugin" >&5 -$as_echo "$ac_browser_plugin" >&6; } -if test x"$ac_browser_plugin" = x"yes"; then - BROWSER_PLUGIN_DIR="${BROWSER_PLUGIN_DIR:-"\${libdir}/mozilla/plugins"}" - - -$as_echo "#define BUILD_BROWSER_PLUGIN 1" >>confdefs.h - -fi - -#=======================================================# # Check for debugging support # #=======================================================# @@ -21390,27 +22031,23 @@ fi fi - if test x"$enable_debug" = x"full"; then - DEBUG_BROWSER_PLUGIN_TRUE= - DEBUG_BROWSER_PLUGIN_FALSE='#' -else - DEBUG_BROWSER_PLUGIN_TRUE='#' - DEBUG_BROWSER_PLUGIN_FALSE= -fi - #=======================================================# # Check for Gtk doc # #=======================================================# + + + + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -21453,7 +22090,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in @@ -21516,7 +22153,6 @@ $as_echo "no" >&6; } PKG_CONFIG="" fi - fi @@ -21524,7 +22160,7 @@ set dummy gtkdoc-check; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then : +if ${ac_cv_path_GTKDOC_CHECK+:} false; then : $as_echo_n "(cached) " >&6 else case $GTKDOC_CHECK in @@ -21566,7 +22202,7 @@ set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then : +if ${ac_cv_path_GTKDOC_REBASE+:} false; then : $as_echo_n "(cached) " >&6 else case $GTKDOC_REBASE in @@ -21610,7 +22246,7 @@ set dummy gtkdoc-mkpdf; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then : +if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : $as_echo_n "(cached) " >&6 else case $GTKDOC_MKPDF in @@ -21675,7 +22311,7 @@ test $ac_status = 0; }; then : else - as_fn_error "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5 + as_fn_error $? "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5 fi fi @@ -21746,7 +22382,7 @@ -ac_config_files="$ac_config_files Makefile data/Makefile data/pixmaps/Makefile data/interfaces/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/scalable/Makefile data/mime/Makefile data/desktop/Makefile parole/Makefile parole/parole.h common/Makefile gst/Makefile dbus/Makefile src/Makefile plugins/Makefile plugins/sample/Makefile plugins/properties/Makefile plugins/tray/Makefile plugins/window-title/Makefile plugins/power-manager/Makefile browser-plugin/Makefile browser-plugin/media-plugin/Makefile docs/Makefile docs/plugin-api/version.xml docs/plugin-api/Makefile po/Makefile.in" +ac_config_files="$ac_config_files Makefile data/Makefile data/pixmaps/Makefile data/interfaces/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/scalable/Makefile data/mime/Makefile data/desktop/Makefile parole/Makefile parole/parole.h common/Makefile gst/Makefile dbus/Makefile src/Makefile plugins/Makefile plugins/sample/Makefile plugins/properties/Makefile plugins/tray/Makefile plugins/window-title/Makefile plugins/power-manager/Makefile docs/Makefile docs/plugin-api/version.xml docs/plugin-api/Makefile po/Makefile.in" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -21812,10 +22448,21 @@ :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" && + if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} @@ -21831,6 +22478,7 @@ ac_libobjs= ac_ltlibobjs= +U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' @@ -21854,91 +22502,79 @@ fi if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then - as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. + as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - as_fn_error "conditional \"AMDEP\" was never defined. + as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error "conditional \"am__fastdepCC\" was never defined. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error "conditional \"am__fastdepCC\" was never defined. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - as_fn_error "conditional \"am__fastdepCXX\" was never defined. + as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi ac_config_commands="$ac_config_commands po/stamp-it" -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - as_fn_error "conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${HAVE_LIBNOTIFY_TRUE}" && test -z "${HAVE_LIBNOTIFY_FALSE}"; then - as_fn_error "conditional \"HAVE_LIBNOTIFY\" was never defined. + as_fn_error $? "conditional \"HAVE_LIBNOTIFY\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_TAGLIB_TRUE}" && test -z "${HAVE_TAGLIB_FALSE}"; then - as_fn_error "conditional \"HAVE_TAGLIB\" was never defined. + as_fn_error $? "conditional \"HAVE_TAGLIB\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${PAROLE_PROPERTIES_PLUGIN_TRUE}" && test -z "${PAROLE_PROPERTIES_PLUGIN_FALSE}"; then - as_fn_error "conditional \"PAROLE_PROPERTIES_PLUGIN\" was never defined. + as_fn_error $? "conditional \"PAROLE_PROPERTIES_PLUGIN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${PAROLE_TRAY_PLUGIN_TRUE}" && test -z "${PAROLE_TRAY_PLUGIN_FALSE}"; then - as_fn_error "conditional \"PAROLE_TRAY_PLUGIN\" was never defined. + as_fn_error $? "conditional \"PAROLE_TRAY_PLUGIN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBNOTIFY_TRUE}" && test -z "${HAVE_LIBNOTIFY_FALSE}"; then - as_fn_error "conditional \"HAVE_LIBNOTIFY\" was never defined. + as_fn_error $? "conditional \"HAVE_LIBNOTIFY\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${WINDOW_TITLE_PLUGIN_TRUE}" && test -z "${WINDOW_TITLE_PLUGIN_FALSE}"; then - as_fn_error "conditional \"WINDOW_TITLE_PLUGIN\" was never defined. + as_fn_error $? "conditional \"WINDOW_TITLE_PLUGIN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${POWER_MANAGER_PLUGIN_TRUE}" && test -z "${POWER_MANAGER_PLUGIN_FALSE}"; then - as_fn_error "conditional \"POWER_MANAGER_PLUGIN\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${ENABLE_BROWSER_PLUGIN_TRUE}" && test -z "${ENABLE_BROWSER_PLUGIN_FALSE}"; then - as_fn_error "conditional \"ENABLE_BROWSER_PLUGIN\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${DEBUG_BROWSER_PLUGIN_TRUE}" && test -z "${DEBUG_BROWSER_PLUGIN_FALSE}"; then - as_fn_error "conditional \"DEBUG_BROWSER_PLUGIN\" was never defined. + as_fn_error $? "conditional \"POWER_MANAGER_PLUGIN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then - as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined. + as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then - as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined. + as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then - as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined. + as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then - as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. + as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then - as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined. + as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -: ${CONFIG_STATUS=./config.status} +: "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" @@ -22039,6 +22675,7 @@ IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. +as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -22084,19 +22721,19 @@ (unset CDPATH) >/dev/null 2>&1 && unset CDPATH -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with status $?, using 1 if that was 0. +# script with STATUS, using 1 if that was 0. as_fn_error () { - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $1" >&2 + $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -22292,7 +22929,7 @@ test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p @@ -22345,8 +22982,8 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by parole $as_me 0.2.0.2, which was -generated by GNU Autoconf 2.65. Invocation command line was +This file was extended by parole $as_me 0.2.0.6, which was +generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -22411,11 +23048,11 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -parole config.status 0.2.0.2 -configured by $0, generated by GNU Autoconf 2.65, +parole config.status 0.2.0.6 +configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" -Copyright (C) 2009 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -22433,11 +23070,16 @@ while test $# != 0 do case $1 in - --*=*) + --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; *) ac_option=$1 ac_optarg=$2 @@ -22459,6 +23101,7 @@ $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; @@ -22471,7 +23114,7 @@ ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - as_fn_error "ambiguous option: \`$1' + as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; @@ -22480,7 +23123,7 @@ ac_cs_silent=: ;; # This is an error. - -*) as_fn_error "unrecognized option: \`$1' + -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" @@ -22534,187 +23177,211 @@ sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_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"`' -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_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"`' -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"`' -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"`' -compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' -predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' -postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' -predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' -postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' -LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' -GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' -export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' -allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' -inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' -link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' -fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' -always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' -export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' -include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' -prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' -predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' -postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' -predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' -postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' +predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' +postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' +predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' +postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' +LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' +reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' +reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' +compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' +GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' +archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' +module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' +with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' +no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' +inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' +link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' +always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' +exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' +include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' +prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' +postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' +file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' +predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' +postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' +predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' +postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + # Quote evaled strings. for var in SED \ GREP \ EGREP \ FGREP \ +SHELL \ +ECHO \ LD \ NM \ LN_S \ @@ -22724,8 +23391,13 @@ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ +file_magic_glob \ +want_nocaseglob \ +DLLTOOL \ +sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ +archiver_list_spec \ STRIP \ RANLIB \ CC \ @@ -22735,14 +23407,14 @@ 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 \ +nm_file_list_spec \ lt_prog_compiler_no_builtin_flag \ -lt_prog_compiler_wl \ lt_prog_compiler_pic \ +lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ +MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ @@ -22758,7 +23430,6 @@ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ -fix_srcfile_path \ exclude_expsyms \ include_expsyms \ file_list_spec \ @@ -22766,6 +23437,7 @@ libname_spec \ library_names_spec \ soname_spec \ +install_override_mode \ finish_eval \ old_striplib \ striplib \ @@ -22776,10 +23448,11 @@ postdeps \ compiler_lib_search_path \ LD_CXX \ +reload_flag_CXX \ compiler_CXX \ lt_prog_compiler_no_builtin_flag_CXX \ -lt_prog_compiler_wl_CXX \ lt_prog_compiler_pic_CXX \ +lt_prog_compiler_wl_CXX \ lt_prog_compiler_static_CXX \ lt_cv_prog_compiler_c_o_CXX \ export_dynamic_flag_spec_CXX \ @@ -22791,7 +23464,6 @@ hardcode_libdir_flag_spec_CXX \ hardcode_libdir_flag_spec_ld_CXX \ hardcode_libdir_separator_CXX \ -fix_srcfile_path_CXX \ exclude_expsyms_CXX \ include_expsyms_CXX \ file_list_spec_CXX \ @@ -22801,9 +23473,9 @@ predeps_CXX \ postdeps_CXX \ compiler_lib_search_path_CXX; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -22825,11 +23497,13 @@ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ +postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ sys_lib_dlsearch_path_spec \ +reload_cmds_CXX \ old_archive_cmds_CXX \ old_archive_from_new_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \ @@ -22838,10 +23512,11 @@ module_cmds_CXX \ module_expsym_cmds_CXX \ export_symbols_cmds_CXX \ -prelink_cmds_CXX; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in +prelink_cmds_CXX \ +postlink_cmds_CXX; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -22849,12 +23524,6 @@ 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' @@ -22915,15 +23584,13 @@ "plugins/tray/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/tray/Makefile" ;; "plugins/window-title/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/window-title/Makefile" ;; "plugins/power-manager/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/power-manager/Makefile" ;; - "browser-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES browser-plugin/Makefile" ;; - "browser-plugin/media-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES browser-plugin/media-plugin/Makefile" ;; "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; "docs/plugin-api/version.xml") CONFIG_FILES="$CONFIG_FILES docs/plugin-api/version.xml" ;; "docs/plugin-api/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugin-api/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -22946,9 +23613,10 @@ # after its creation but before its name has been assigned to `$tmp'. $debug || { - tmp= + tmp= ac_tmp= trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } @@ -22956,12 +23624,13 @@ { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" + test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. @@ -22978,12 +23647,12 @@ fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\r' + ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi -echo 'BEGIN {' >"$tmp/subs1.awk" && +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF @@ -22992,18 +23661,18 @@ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi @@ -23011,7 +23680,7 @@ rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h @@ -23059,7 +23728,7 @@ rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" @@ -23091,21 +23760,29 @@ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// s/^[^=]*=[ ]*$// }' fi @@ -23117,7 +23794,7 @@ # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || +cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF @@ -23129,11 +23806,11 @@ # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then break elif $ac_last_try; then - as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi @@ -23218,7 +23895,7 @@ _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error "could not setup config headers machinery" "$LINENO" 5 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" @@ -23231,7 +23908,7 @@ esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -23250,7 +23927,7 @@ for ac_f do case $ac_f in - -) ac_f="$tmp/stdin";; + -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. @@ -23259,7 +23936,7 @@ [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" @@ -23285,8 +23962,8 @@ esac case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -23422,23 +24099,24 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 +which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} +which seems to be undefined. Please make sure it is defined" >&2;} - rm -f "$tmp/stdin" + rm -f "$ac_tmp/stdin" case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # @@ -23447,21 +24125,21 @@ if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error "could not create -" "$LINENO" 5 + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" @@ -23622,7 +24300,8 @@ # 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. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. @@ -23669,6 +24348,12 @@ # A literal string matcher. FGREP=$lt_FGREP +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + # Whether or not to build static libraries. build_old_libs=$enable_static @@ -23719,9 +24404,11 @@ # turn newlines into spaces. NL2SP=$lt_lt_NL2SP -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds +# convert \$build file names to \$host format. +to_host_file_cmd=$lt_cv_to_host_file_cmd + +# convert \$build files to toolchain format. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd # An object symbol dumper. OBJDUMP=$lt_OBJDUMP @@ -23729,13 +24416,30 @@ # 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". +# Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd +# How to find potential files when deplibs_check_method = "file_magic". +file_magic_glob=$lt_file_magic_glob + +# Find potential files using nocaseglob when deplibs_check_method = "file_magic". +want_nocaseglob=$lt_want_nocaseglob + +# DLL creation program. +DLLTOOL=$lt_DLLTOOL + +# Command to associate shared and link libraries. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd + # The archiver. AR=$lt_AR + +# Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS +# How to feed a file listing to the archiver. +archiver_list_spec=$lt_archiver_list_spec + # A symbol stripping program. STRIP=$lt_STRIP @@ -23744,6 +24448,9 @@ old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=$lock_old_archive_extraction + # A C compiler. LTCC=$lt_CC @@ -23762,14 +24469,14 @@ # 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 +# Specify filename containing input files for \$NM. +nm_file_list_spec=$lt_nm_file_list_spec -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL +# The root where to search for dependent libraries,and in which our libraries should be installed. +lt_sysroot=$lt_sysroot -# An echo program that does not interpret backslashes. -ECHO=$lt_ECHO +# The name of the directory that contains temporary libtool files. +objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD @@ -23777,6 +24484,9 @@ # Must we lock files when doing compilation? need_locks=$lt_need_locks +# Manifest tool. +MANIFEST_TOOL=$lt_MANIFEST_TOOL + # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL @@ -23833,6 +24543,9 @@ # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec +# Permission mode override for installation of shared libraries. +install_override_mode=$lt_install_override_mode + # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds @@ -23872,6 +24585,10 @@ # The linker used to build libraries. LD=$lt_LD +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds @@ -23884,12 +24601,12 @@ # 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 +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static @@ -23976,9 +24693,6 @@ # 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 @@ -23994,6 +24708,9 @@ # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds + # Specify filename containing input files. file_list_spec=$lt_file_list_spec @@ -24040,212 +24757,169 @@ # 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 '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + if test x"$xsi_shell" = xyes; then + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ +func_dirname ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_basename ()$/,/^} # func_basename /c\ +func_basename ()\ +{\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ +func_dirname_and_basename ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ +func_stripname ()\ +{\ +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ +\ # positional parameters, so assign one to ordinary parameter first.\ +\ func_stripname_result=${3}\ +\ func_stripname_result=${func_stripname_result#"${1}"}\ +\ func_stripname_result=${func_stripname_result%"${2}"}\ +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ +func_split_long_opt ()\ +{\ +\ func_split_long_opt_name=${1%%=*}\ +\ func_split_long_opt_arg=${1#*=}\ +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ +func_split_short_opt ()\ +{\ +\ func_split_short_opt_arg=${1#??}\ +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ +func_lo2o ()\ +{\ +\ case ${1} in\ +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ +\ *) func_lo2o_result=${1} ;;\ +\ esac\ +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_xform ()$/,/^} # func_xform /c\ +func_xform ()\ +{\ + func_xform_result=${1%.*}.lo\ +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_arith ()$/,/^} # func_arith /c\ +func_arith ()\ +{\ + func_arith_result=$(( $* ))\ +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_len ()$/,/^} # func_len /c\ +func_len ()\ +{\ + func_len_result=${#1}\ +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + +fi + +if test x"$lt_shell_append" = xyes; then + sed -e '/^func_append ()$/,/^} # func_append /c\ +func_append ()\ +{\ + eval "${1}+=\\${2}"\ +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ +func_append_quoted ()\ +{\ +\ func_quote_for_eval "${2}"\ +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} +fi - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - mv -f "$cfgfile" "$ofile" || + mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" @@ -24257,6 +24931,10 @@ # The linker used to build libraries. LD=$lt_LD_CXX +# How to create reloadable object files. +reload_flag=$lt_reload_flag_CXX +reload_cmds=$lt_reload_cmds_CXX + # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds_CXX @@ -24269,12 +24947,12 @@ # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_CXX - # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_CXX +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_CXX @@ -24361,9 +25039,6 @@ # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_CXX -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path_CXX - # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols_CXX @@ -24379,6 +25054,9 @@ # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds_CXX +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds_CXX + # Specify filename containing input files. file_list_spec=$lt_file_list_spec_CXX @@ -24408,7 +25086,7 @@ esac ;; "po/stamp-it":C) if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then - as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 + as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 fi rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" >"po/stamp-it.tmp" @@ -24436,7 +25114,7 @@ ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. @@ -24457,7 +25135,7 @@ exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit $? + $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 @@ -24498,13 +25176,6 @@ Window title: ${ac_window_title_plugin} Power Manager: ${ac_power_manager_plugin} - Browser plugin: - =============== - Build browser plugin: ${ac_browser_plugin}" - if test x${ac_browser_plugin} = x"yes"; then -echo " installation path: ${BROWSER_PLUGIN_DIR}" - fi -echo " ------------------------------------------------------ Configuration finished, type make to compile" diff -Nru parole-0.2.0.2/configure.ac parole-0.2.0.6/configure.ac --- parole-0.2.0.2/configure.ac 2010-01-25 11:47:15.000000000 +0000 +++ parole-0.2.0.6/configure.ac 2011-04-17 11:54:13.000000000 +0000 @@ -8,7 +8,7 @@ m4_define([parole_version_api], [0]) m4_define([parole_version_major], [0]) m4_define([parole_version_minor], [2]) -m4_define([parole_version_micro], [0.2]) +m4_define([parole_version_micro], [0.6]) m4_define([parole_version_build], []) m4_define([parole_version_tag], []) m4_define([parole_version], [parole_version_major().parole_version_minor().parole_version_micro()ifelse(parole_version_tag(), [git], [parole_version_tag().parole_version_build()], [parole_version_tag()])]) @@ -66,7 +66,7 @@ # Check for i18n support # # ===================================================== # -XDT_I18N([ast ca cs da de es eu fr gl id ja lv nl pt ru sk sv tr uk zh_CN ]) +XDT_I18N([ast ca cs da de el en_GB es eu fr gl hu id it ja lv nl pt_BR pt ru sk sv tr ug uk zh_CN ]) #==================================================== # # Check for required packages # @@ -203,24 +203,9 @@ AC_MSG_RESULT([$ac_power_manager_plugin]) #=======================================================# -# Build browser plugin? # -#=======================================================# -AC_ARG_ENABLE([browser-plugin], AC_HELP_STRING([--disable-browser-plugin], [Don't build the browser plugin]), - [ac_browser_plugin=$enableval], [ac_browser_plugin=yes]) -AC_MSG_CHECKING([whether to build the browser plugin]) -AM_CONDITIONAL([ENABLE_BROWSER_PLUGIN], [test x"$ac_browser_plugin" = x"yes"]) -AC_MSG_RESULT([$ac_browser_plugin]) -if test x"$ac_browser_plugin" = x"yes"; then - BROWSER_PLUGIN_DIR="${BROWSER_PLUGIN_DIR:-"\${libdir}/mozilla/plugins"}" - AC_ARG_VAR([BROWSER_PLUGIN_DIR],[Where to install the browser plugin]) - AC_DEFINE(BUILD_BROWSER_PLUGIN, 1, [whether to build with browser plugin support]) -fi - -#=======================================================# # Check for debugging support # #=======================================================# XDT_FEATURE_DEBUG() -AM_CONDITIONAL([DEBUG_BROWSER_PLUGIN], [test x"$enable_debug" = x"full"]) #=======================================================# # Check for Gtk doc # @@ -252,8 +237,6 @@ plugins/tray/Makefile plugins/window-title/Makefile plugins/power-manager/Makefile -browser-plugin/Makefile -browser-plugin/media-plugin/Makefile docs/Makefile docs/plugin-api/version.xml docs/plugin-api/Makefile @@ -293,13 +276,6 @@ Window title: ${ac_window_title_plugin} Power Manager: ${ac_power_manager_plugin} - Browser plugin: - =============== - Build browser plugin: ${ac_browser_plugin}" - if test x${ac_browser_plugin} = x"yes"; then -echo " installation path: ${BROWSER_PLUGIN_DIR}" - fi -echo " ------------------------------------------------------ Configuration finished, type make to compile" diff -Nru parole-0.2.0.2/data/desktop/Makefile.in parole-0.2.0.6/data/desktop/Makefile.in --- parole-0.2.0.2/data/desktop/Makefile.in 2010-01-25 11:47:24.000000000 +0000 +++ parole-0.2.0.6/data/desktop/Makefile.in 2011-04-17 11:54:29.000000000 +0000 @@ -85,7 +85,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -109,6 +108,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -198,6 +198,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -223,6 +224,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -246,6 +249,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -279,7 +283,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/data/desktop/parole.desktop.in.in parole-0.2.0.6/data/desktop/parole.desktop.in.in --- parole-0.2.0.2/data/desktop/parole.desktop.in.in 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/data/desktop/parole.desktop.in.in 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ [Desktop Entry] -_Name=Parole Media Player +_Name=Parole Icon=parole Exec=parole %F Terminal=false diff -Nru parole-0.2.0.2/data/icons/16x16/Makefile.in parole-0.2.0.6/data/icons/16x16/Makefile.in --- parole-0.2.0.2/data/icons/16x16/Makefile.in 2010-01-25 11:47:24.000000000 +0000 +++ parole-0.2.0.6/data/icons/16x16/Makefile.in 2011-04-17 11:54:29.000000000 +0000 @@ -85,7 +85,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -109,6 +108,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -198,6 +198,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -223,6 +224,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -246,6 +249,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -279,7 +283,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/data/icons/22x22/Makefile.in parole-0.2.0.6/data/icons/22x22/Makefile.in --- parole-0.2.0.2/data/icons/22x22/Makefile.in 2010-01-25 11:47:25.000000000 +0000 +++ parole-0.2.0.6/data/icons/22x22/Makefile.in 2011-04-17 11:54:30.000000000 +0000 @@ -85,7 +85,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -109,6 +108,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -198,6 +198,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -223,6 +224,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -246,6 +249,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -279,7 +283,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/data/icons/32x32/Makefile.in parole-0.2.0.6/data/icons/32x32/Makefile.in --- parole-0.2.0.2/data/icons/32x32/Makefile.in 2010-01-25 11:47:25.000000000 +0000 +++ parole-0.2.0.6/data/icons/32x32/Makefile.in 2011-04-17 11:54:30.000000000 +0000 @@ -85,7 +85,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -109,6 +108,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -198,6 +198,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -223,6 +224,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -246,6 +249,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -279,7 +283,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/data/icons/48x48/Makefile.in parole-0.2.0.6/data/icons/48x48/Makefile.in --- parole-0.2.0.2/data/icons/48x48/Makefile.in 2010-01-25 11:47:25.000000000 +0000 +++ parole-0.2.0.6/data/icons/48x48/Makefile.in 2011-04-17 11:54:30.000000000 +0000 @@ -85,7 +85,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -109,6 +108,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -198,6 +198,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -223,6 +224,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -246,6 +249,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -279,7 +283,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/data/icons/Makefile.in parole-0.2.0.6/data/icons/Makefile.in --- parole-0.2.0.2/data/icons/Makefile.in 2010-01-25 11:47:25.000000000 +0000 +++ parole-0.2.0.6/data/icons/Makefile.in 2011-04-17 11:54:30.000000000 +0000 @@ -101,7 +101,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -125,6 +124,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -214,6 +214,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -239,6 +240,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -262,6 +265,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -295,7 +299,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/data/icons/scalable/Makefile.in parole-0.2.0.6/data/icons/scalable/Makefile.in --- parole-0.2.0.2/data/icons/scalable/Makefile.in 2010-01-25 11:47:25.000000000 +0000 +++ parole-0.2.0.6/data/icons/scalable/Makefile.in 2011-04-17 11:54:30.000000000 +0000 @@ -85,7 +85,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -109,6 +108,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -198,6 +198,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -223,6 +224,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -246,6 +249,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -279,7 +283,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/data/interfaces/Makefile.am parole-0.2.0.6/data/interfaces/Makefile.am --- parole-0.2.0.2/data/interfaces/Makefile.am 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/data/interfaces/Makefile.am 2011-04-17 11:53:19.000000000 +0000 @@ -4,7 +4,8 @@ playlist.ui \ mediachooser.ui \ save-playlist.ui \ - plugins.ui + plugins.ui \ + open-location.ui interfaces_h = \ $(interfaces:.ui=_ui.h) @@ -27,6 +28,9 @@ save-playlist_ui.h: save-playlist.ui exo-csource --static --strip-comments --strip-content --name=save_playlist_ui $< > $@ +open-location_ui.h: open-location.ui + exo-csource --static --strip-comments --strip-content --name=open_location_ui $< > $@ + plugins_ui.h: plugins.ui exo-csource --static --strip-comments --strip-content --name=plugins_ui $< > $@ diff -Nru parole-0.2.0.2/data/interfaces/Makefile.in parole-0.2.0.6/data/interfaces/Makefile.in --- parole-0.2.0.2/data/interfaces/Makefile.in 2010-01-25 11:47:25.000000000 +0000 +++ parole-0.2.0.6/data/interfaces/Makefile.in 2011-04-17 11:54:30.000000000 +0000 @@ -61,7 +61,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -85,6 +84,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -174,6 +174,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -199,6 +200,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -222,6 +225,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -255,7 +259,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -278,7 +281,8 @@ playlist.ui \ mediachooser.ui \ save-playlist.ui \ - plugins.ui + plugins.ui \ + open-location.ui interfaces_h = \ $(interfaces:.ui=_ui.h) @@ -496,6 +500,9 @@ @MAINTAINER_MODE_TRUE@save-playlist_ui.h: save-playlist.ui @MAINTAINER_MODE_TRUE@ exo-csource --static --strip-comments --strip-content --name=save_playlist_ui $< > $@ +@MAINTAINER_MODE_TRUE@open-location_ui.h: open-location.ui +@MAINTAINER_MODE_TRUE@ exo-csource --static --strip-comments --strip-content --name=open_location_ui $< > $@ + @MAINTAINER_MODE_TRUE@plugins_ui.h: plugins.ui @MAINTAINER_MODE_TRUE@ exo-csource --static --strip-comments --strip-content --name=plugins_ui $< > $@ diff -Nru parole-0.2.0.2/data/interfaces/mediachooser.ui parole-0.2.0.6/data/interfaces/mediachooser.ui --- parole-0.2.0.2/data/interfaces/mediachooser.ui 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/data/interfaces/mediachooser.ui 2011-04-17 11:53:19.000000000 +0000 @@ -1,109 +1,154 @@ + - - True - vertical - 4 - - + + Parole Media Chooser + 680 + 480 + audio-x-generic + normal + False + Open media files + + + True - 5 vertical - 1 - - - - - 0 - - - - - Scan folders recursively - True - True - False - True - - - - False - False - 1 - - - - - Replace playlist with opened files - True - True - False - True - - - - False - False - 2 - - - - - Start playing opened files - True - True - False - True - - - - False - False - 3 - - - - - True - 5 - 5 - end + 2 - - gtk-close + True - True - True - True - + vertical + + + True + 5 + vertical + 1 + + + + + 0 + + + + + Scan folders recursively + True + True + False + True + + + + False + False + 1 + + + + + Replace playlist with opened files + True + True + False + True + + + + False + False + 2 + + + + + Start playing opened files + True + True + False + True + + + + False + False + 3 + + - False - False - 0 + 1 - - + + True - True - True - True - + edge + + + True + + + + + + 0 + + + + + True + 5 + True + + + gtk-close + True + True + True + True + + + + 0 + + + + + Add + True + True + True + image1 + + + + 1 + + + + + end + 1 + + False False - 1 + end + 0 - - False - 4 - + + True + gtk-add + diff -Nru parole-0.2.0.2/data/interfaces/mediachooser_ui.h parole-0.2.0.6/data/interfaces/mediachooser_ui.h --- parole-0.2.0.2/data/interfaces/mediachooser_ui.h 2010-01-25 11:23:08.000000000 +0000 +++ parole-0.2.0.6/data/interfaces/mediachooser_ui.h 2011-04-17 11:54:51.000000000 +0000 @@ -9,59 +9,78 @@ #endif { "Tr" - "uevertical4True5vertical10<" - "/packing>Scan folders recursive" - "lyTrueTrueFalseTrueFalseFalse1Replace playlist with opened fi" - "lesTrueTrueFalse<" - "/property>TrueFalseFalse2Start playing opened f" - "ilesTrueTrueFalse" - "True<" - "property name=\"expand\">FalseFalse<" - "/property>3True55en" - "dgtk-closeTrueTrueTrueTrueFalseFalse0TrueTrueTrueTrueFalseFalse1False4" + "\"/>Parole Media Chooser6804" + "80audio-x-genericnormalFalseO" + "pen media filesTrue" + "vertical2Truevertic" + "alTrue5vertical10Scan folders recursivelyTrueTrueFalseTrueFalseFalse1<" + "object class=\"GtkCheckButton\" id=\"replace\">Replace playlist with opened filesTrueTrue" + "FalseTrueFalseFalse2" + "Start playing opened filesTrueTr" + "ueFalseTrueFalseFalse31TrueedgeTrue0" + "True5Truegtk-closeTrueTrueTrueTrue0AddTrueTrueTrueimage11end1FalseFalseend0" + "True" + "gtk-add" }; -static const unsigned mediachooser_ui_length = 3551u; +static const unsigned mediachooser_ui_length = 4839u; diff -Nru parole-0.2.0.2/data/interfaces/open-location.ui parole-0.2.0.6/data/interfaces/open-location.ui --- parole-0.2.0.2/data/interfaces/open-location.ui 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/data/interfaces/open-location.ui 2011-04-17 11:53:19.000000000 +0000 @@ -0,0 +1,178 @@ + + + + + + + 400 + gtk-network + normal + False + Open location of media file or live stream + + + True + vertical + 2 + + + True + vertical + 5 + + + True + 5 + + + True + Enter the address of a location to open + + + False + False + 0 + + + + + True + True + gtk-info + 1 + + + False + False + 1 + + + + + False + 0 + + + + + True + 5 + + + True + True + + + + 0 + + + + + Clear history + True + True + True + image2 + + + False + False + 1 + + + + + False + 1 + + + + + 1 + + + + + True + end + + + gtk-cancel + True + True + True + True + + + False + False + 0 + + + + + gtk-open + True + True + True + True + True + + + False + False + 1 + + + + + False + end + 0 + + + + + + cancel + open + + + + True + gtk-clear + + + 5 + normal + False + + + True + vertical + 2 + + + + + + True + end + + + + + + + + + False + end + 0 + + + + + + diff -Nru parole-0.2.0.2/data/interfaces/open-location_ui.h parole-0.2.0.6/data/interfaces/open-location_ui.h --- parole-0.2.0.2/data/interfaces/open-location_ui.h 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/data/interfaces/open-location_ui.h 2011-04-17 11:54:51.000000000 +0000 @@ -0,0 +1,88 @@ +/* automatically generated from open-location.ui */ +#ifdef __SUNPRO_C +#pragma align 4 (open_location_ui) +#endif +#ifdef __GNUC__ +static const char open_location_ui[] __attribute__ ((__aligned__ (4))) = +#else +static const char open_location_ui[] = +#endif +{ + "400gtk-ne" + "tworknormalFalseOpen location of media file or live stream" + "Truevertical2Tru" + "evertical5True5TrueEnter the address of a location to openFalseFalse0TrueTruegtk-info" + "1FalseFalse1<" + "/property>F" + "alse0True5TrueTrue0Clea" + "r historyTrueTrue" + "Trueimage2FalseF" + "alse1False11Trueendgtk-cancelTrueTrueTrue" + "TrueFalseFalse0gtk-openTrueTrueTrueTrueTrueFalseFalse1False<" + "property name=\"pack_type\">end0" + "cancelopenTruegtk-clear5normalFal" + "seTruevertical2TrueendFalseend0" +}; + +static const unsigned open_location_ui_length = 4992u; + diff -Nru parole-0.2.0.2/data/interfaces/playlist.ui parole-0.2.0.6/data/interfaces/playlist.ui --- parole-0.2.0.2/data/interfaces/playlist.ui 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/data/interfaces/playlist.ui 2011-04-17 11:53:19.000000000 +0000 @@ -1,135 +1,174 @@ - + - - True - vertical - 5 - - - True - True - never - automatic - in - - - True - True - False - True - - - - - - - - - 0 - - - - - True - 2 - True - - - True - True - True - image1 - - - - False - 0 - - - - - True - False - True - True - image5 - - - - False - 1 - - - - - True - False - True - True - image2 - - - - False - 2 - - - - - True - False - True - True - image3 - - - - False - 3 - - - - - True - False - True - True - image4 - - - - False - 4 - - - - - False - False - 1 - - - True + False gtk-add True + False gtk-remove True + False gtk-go-up True + False gtk-go-down True + False gtk-save-as + + True + False + 5 + + + True + False + + + True + False + + + True + True + never + automatic + True + in + + + True + True + True + False + True + + + + + + + + + + True + True + 0 + + + + + True + False + 2 + True + + + True + True + True + False + image1 + + + + False + True + 0 + + + + + True + False + True + True + False + image5 + + + + False + True + 1 + + + + + True + False + True + True + False + image2 + + + + False + True + 2 + + + + + True + False + True + True + False + image3 + + + + False + True + 3 + + + + + True + False + True + True + False + image4 + + + + False + True + 4 + + + + + False + False + 4 + 1 + + + + + + + True + True + 0 + + + diff -Nru parole-0.2.0.2/data/interfaces/playlist_ui.h parole-0.2.0.6/data/interfaces/playlist_ui.h --- parole-0.2.0.2/data/interfaces/playlist_ui.h 2010-01-25 11:23:08.000000000 +0000 +++ parole-0.2.0.6/data/interfaces/playlist_ui.h 2011-04-17 11:54:51.000000000 +0000 @@ -8,72 +8,95 @@ static const char playlist_ui[] = #endif { - "Truevertical" - "5TrueTrueneveraut" - "omaticinTrueTrueFalseT" - "rue" - "0True2TrueTrueTrueTrueimage1" - "False0TrueFalseTrue" - "Trueimage5F" - "alse1TrueFalseTrueTrueimage2" - "False2TrueFalseTrueTrueimage3False3TrueFalseTrueTrueimage" - "4False4FalseFalse1Truegtk-addTruegtk-remove<" - "/object>Truegtk-go-up" - "Truegtk-go-down" - "Tru" - "egtk-save-as" + "TrueFalsegtk-addTrueFalsegtk-removeTrueFalsegtk-go-up" + "Tru" + "eFalsegtk-go-downTrueFalsegtk-save-asTrueFalse5True<" + "property name=\"can_focus\">FalseTrueFalseTrueTrueneverautomat" + "icTrueinTrueTrue" + "TrueFalseTrueTrueTrue0TrueFalse2TrueTrue" + "TrueTrueFalseimage1FalseTrue0TrueFalseTrueTrueFalseimage5False" + "True1TrueFalseTrue<" + "property name=\"receives_default\">TrueFalseimage2Fa" + "lseTrue2TrueFalseTrueTrueFalse" + "image3FalseTrue3TrueFalseTrueTrueFalseimage4<" + "property name=\"expand\">FalseTrue4FalseFalse41TrueTrue0" }; -static const unsigned playlist_ui_length = 4331u; +static const unsigned playlist_ui_length = 5900u; diff -Nru parole-0.2.0.2/data/Makefile.in parole-0.2.0.6/data/Makefile.in --- parole-0.2.0.2/data/Makefile.in 2010-01-25 11:47:24.000000000 +0000 +++ parole-0.2.0.6/data/Makefile.in 2011-04-17 11:54:29.000000000 +0000 @@ -101,7 +101,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -125,6 +124,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -214,6 +214,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -239,6 +240,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -262,6 +265,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -295,7 +299,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/data/mime/Makefile.in parole-0.2.0.6/data/mime/Makefile.in --- parole-0.2.0.2/data/mime/Makefile.in 2010-01-25 11:47:25.000000000 +0000 +++ parole-0.2.0.6/data/mime/Makefile.in 2011-04-17 11:54:30.000000000 +0000 @@ -67,7 +67,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -91,6 +90,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -180,6 +180,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -205,6 +206,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -228,6 +231,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -261,7 +265,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/data/mime/mime-type-list.txt parole-0.2.0.6/data/mime/mime-type-list.txt --- parole-0.2.0.2/data/mime/mime-type-list.txt 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/data/mime/mime-type-list.txt 2011-04-17 11:53:19.000000000 +0000 @@ -85,7 +85,6 @@ video/x-nsv video/x-ogm+ogg video/x-theora+ogg -video/x-totem-stream x-content/video-dvd x-content/video-vcd x-content/video-svcd Binary files /tmp/FmBs1r9qQu/parole-0.2.0.2/data/pixmaps/loader.gif and /tmp/RrSPqnEECm/parole-0.2.0.6/data/pixmaps/loader.gif differ diff -Nru parole-0.2.0.2/data/pixmaps/Makefile.am parole-0.2.0.6/data/pixmaps/Makefile.am --- parole-0.2.0.2/data/pixmaps/Makefile.am 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/data/pixmaps/Makefile.am 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,6 @@ pixmaps = \ - parole.png + parole.png \ + loader.gif pixmaps_DATA = \ $(pixmaps) diff -Nru parole-0.2.0.2/data/pixmaps/Makefile.in parole-0.2.0.6/data/pixmaps/Makefile.in --- parole-0.2.0.2/data/pixmaps/Makefile.in 2010-01-25 11:47:25.000000000 +0000 +++ parole-0.2.0.6/data/pixmaps/Makefile.in 2011-04-17 11:54:31.000000000 +0000 @@ -85,7 +85,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -109,6 +108,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -198,6 +198,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -223,6 +224,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -246,6 +249,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -279,7 +283,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -297,7 +300,8 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ pixmaps = \ - parole.png + parole.png \ + loader.gif pixmaps_DATA = \ $(pixmaps) diff -Nru parole-0.2.0.2/dbus/Makefile.in parole-0.2.0.6/dbus/Makefile.in --- parole-0.2.0.2/dbus/Makefile.in 2010-01-25 11:47:25.000000000 +0000 +++ parole-0.2.0.6/dbus/Makefile.in 2011-04-17 11:54:31.000000000 +0000 @@ -95,7 +95,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -119,6 +118,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -208,6 +208,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -233,6 +234,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -256,6 +259,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -289,7 +293,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/dbus/parole-dbus.c parole-0.2.0.6/dbus/parole-dbus.c --- parole-0.2.0.2/dbus/parole-dbus.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/dbus/parole-dbus.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/dbus/parole-dbus.h parole-0.2.0.6/dbus/parole-dbus.h --- parole-0.2.0.2/dbus/parole-dbus.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/dbus/parole-dbus.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/debian/browser-plugin-parole.install parole-0.2.0.6/debian/browser-plugin-parole.install --- parole-0.2.0.2/debian/browser-plugin-parole.install 2011-04-24 23:36:53.000000000 +0000 +++ parole-0.2.0.6/debian/browser-plugin-parole.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/lib/mozilla/plugins/parole-player.so diff -Nru parole-0.2.0.2/debian/changelog parole-0.2.0.6/debian/changelog --- parole-0.2.0.2/debian/changelog 2011-04-24 23:36:53.000000000 +0000 +++ parole-0.2.0.6/debian/changelog 2011-04-24 23:28:11.000000000 +0000 @@ -1,11 +1,34 @@ -parole (0.2.0.2-3ubuntu1~llxfce1) lucid; urgency=low +parole (0.2.0.6-1~llxfce1) lucid; urgency=low - [Chris Coulson] - * Drop xulrunner-dev build-depend. It is not necessary for building - NPAPI plugins that ship local headers and don't use any XPCOM - - update debian/control + [ Lionel Le Folgoc ] + * debian/control: + - drop unneeded build-dep on xulrunner-dev. closes: #594073 + - suggests a few useful gstreamer0.10 plugins. + - build-depends on quilt. + * debian/patches: + - 01_fix-implicit-dso-linking.patch: added, fixes FTBFS with binutils-gold. + - series: added. closes: #615760 + * debian/rules: pass --with quilt to dh. + + [ Yves-Alexis Perez ] + * New upstream release. + * Switch to 3.0 (quilt) source format. + * debian/control: + - update standards version to 3.9.2. + - drop browser-plugin-parole package. + - drop quilt build-dep. + - add build-dep on hardening-includes + - bump xfce build-deps to 4.8. + * debian/parole.install updated. + * debian/rules: + - use --fail-missing and manually remove spurious files. + - drop quilt addon + - pick build flags from dpkg-buildflags. + - add -O1, -z,defs and --as-needed to LDFLAGS. + - add hardening flags to build flags. + - stop harcoding the shell to bash, it works fine now. closes: #623830 - -- Stéphane Marguet (Stemp) Fri, 25 Mar 2011 00:46:16 +0100 + -- Stéphane Marguet (Stemp) Mon, 25 Apr 2011 01:27:58 +0200 parole (0.2.0.2-3) unstable; urgency=low diff -Nru parole-0.2.0.2/debian/control parole-0.2.0.6/debian/control --- parole-0.2.0.2/debian/control 2011-04-24 23:36:53.000000000 +0000 +++ parole-0.2.0.6/debian/control 2011-04-23 17:40:23.000000000 +0000 @@ -1,15 +1,15 @@ Source: parole Section: xfce Priority: optional -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Debian Xfce Maintainers +Maintainer: Debian Xfce Maintainers Uploaders: Yves-Alexis Perez , Emanuele Rocca , Simon Huggins , Lionel Le Folgoc Build-Depends: debhelper (>= 7.0.50~), intltool, pkg-config, libgtk2.0-dev (>= 2.16), libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev, libdbus-1-dev, libdbus-glib-1-dev, - libxfcegui4-dev (>= 4.6.0), libnotify-dev, libtagc0-dev -Standards-Version: 3.8.4 + libxfcegui4-dev (>= 4.8.0), libnotify-dev, libtagc0-dev, + hardening-includes, xfce4-dev-tools, libtool, gtk-doc-tools +Standards-Version: 3.9.2 Homepage: http://goodies.xfce.org/projects/applications/parole Vcs-Svn: svn://svn.debian.org/pkg-xfce/goodies/trunk/parole/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/parole/ @@ -17,6 +17,7 @@ Package: parole Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, gstreamer0.10-x +Suggests: gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-bad, gstreamer0.10-ffmpeg Description: media player based on GStreamer framework Parole is a media player for the Xfce desktop environment, written using the GStreamer framework. @@ -26,18 +27,6 @@ . This package contains Parole media player. -Package: browser-plugin-parole -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: multimedia plugin for web browsers based on Parole media player - Parole is a media player for the Xfce desktop environment, written using the - GStreamer framework. - . - Parole features playback of local media files, including video with subtitles - support, DVD/CD and live streams; it is also extensible via plugins. - . - This package contains Parole media player's plugin for web browsers. - Package: parole-dev Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libxfce4util-dev, libglib2.0-dev, diff -Nru parole-0.2.0.2/debian/parole.install parole-0.2.0.6/debian/parole.install --- parole-0.2.0.2/debian/parole.install 2011-04-24 23:36:53.000000000 +0000 +++ parole-0.2.0.6/debian/parole.install 2011-04-23 15:14:16.000000000 +0000 @@ -1,4 +1,3 @@ usr/bin usr/lib/parole-0/*.so -usr/lib/parole/parole-media-plugin usr/share diff -Nru parole-0.2.0.2/debian/patches/01_fix-implicit-dso-linking.patch parole-0.2.0.6/debian/patches/01_fix-implicit-dso-linking.patch --- parole-0.2.0.2/debian/patches/01_fix-implicit-dso-linking.patch 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/debian/patches/01_fix-implicit-dso-linking.patch 2011-04-23 17:40:23.000000000 +0000 @@ -0,0 +1,81 @@ +diff --git a/common/Makefile.am b/common/Makefile.am +index bd51b3b..5139ca8 100644 +--- a/common/Makefile.am ++++ b/common/Makefile.am +@@ -12,9 +12,12 @@ libparolecommon_la_CFLAGS = \ + $(GTK_CFLAGS) \ + $(LIBXFCE4UTIL_CFLAGS) + ++libparolecommon_la_LIBADD = \ ++ $(X11_LIBS) ++ + libparolescreensaver_la_SOURCES = \ + parole-screensaver.c \ + parole-screensaver.h + + libparolescreensaver_la_CFLAGS = \ +- $(GTK_CFLAGS) +\ No newline at end of file ++ $(GTK_CFLAGS) +diff --git a/configure.ac b/configure.ac +index d1b65b0..d65568b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -96,6 +96,8 @@ XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [dbus_glib_minimum_version]) + XDT_CHECK_PACKAGE([LIBXFCE4GUI], [libxfcegui4-1.0],[libxfcegui4_minimum_version]) + XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0],[libxfce4util_minimum_version]) + ++XDT_CHECK_PACKAGE([X11], [x11]) ++ + #=======================================================# + # Check for availability of libnotify # + #=======================================================# +diff --git a/plugins/properties/Makefile.am b/plugins/properties/Makefile.am +index f4169d0..cc26157 100644 +--- a/plugins/properties/Makefile.am ++++ b/plugins/properties/Makefile.am +@@ -23,6 +23,10 @@ stream_properties_la_CFLAGS = \ + $(LIBXFCE4UTIL_CFLAGS) + + stream_properties_la_LIBADD = \ ++ $(top_builddir)/parole/libparole.la \ ++ $(PLATFORM_LIBS) \ ++ $(GTK_LIBS) \ ++ $(LIBXFCE4UTIL_LIBS) \ + $(TAGLIBC_LIBS) + + stream_properties_la_LDFLAGS = \ +diff --git a/plugins/tray/Makefile.am b/plugins/tray/Makefile.am +index a240229..0c82253 100644 +--- a/plugins/tray/Makefile.am ++++ b/plugins/tray/Makefile.am +@@ -30,6 +30,8 @@ tray_icon_la_LDFLAGS = \ + $(PLATFORM_LDFLAGS) + + tray_icon_la_LIBADD = \ ++ $(top_builddir)/parole/libparole.la \ ++ $(LIBXFCE4UTIL_LIBS) \ + $(LIBNOTIFY_LIBS) + + # +@@ -44,4 +46,4 @@ EXTRA_DIST = \ + $(desktop_in_files) + + DISTCLEANFILES = \ +- $(desktop_DATA) +\ No newline at end of file ++ $(desktop_DATA) +diff --git a/src/Makefile.am b/src/Makefile.am +index b2928a8..8bbaa6a 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -85,7 +85,8 @@ parole_LDADD = \ + $(LIBXFCE4GUI_LIBS) \ + $(GST_VIDEO_LIBS) \ + $(GST_INTERFACES_LIBS) \ +- $(TAGLIBC_LIBS) ++ $(TAGLIBC_LIBS) \ ++ $(X11_LIBS) + + parole_glib_enum_headers = \ + parole-conf.h \ diff -Nru parole-0.2.0.2/debian/patches/series parole-0.2.0.6/debian/patches/series --- parole-0.2.0.2/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/debian/patches/series 2010-12-11 13:40:01.000000000 +0000 @@ -0,0 +1 @@ +01_fix-implicit-dso-linking.patch diff -Nru parole-0.2.0.2/debian/rules parole-0.2.0.6/debian/rules --- parole-0.2.0.2/debian/rules 2011-04-24 23:36:53.000000000 +0000 +++ parole-0.2.0.6/debian/rules 2011-04-23 17:44:49.000000000 +0000 @@ -1,11 +1,24 @@ #!/usr/bin/make -f -#LDFLAGS += -Wl,-z,defs -Wl,--as-needed +include /usr/share/hardening-includes/hardening.make -export SHELL=/bin/bash -export CONFIG_SHELL=/bin/bash +LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS) +CFLAGS=$(shell dpkg-buildflags --get CFLAGS) +LDFLAGS+=-Wl,-O1 -Wl,--as-needed +CFLAGS+=$(HARDENING_CFLAGS) +LDFLAGS+=$(HARDENING_LDFLAGS) + +export CFLAGS LDFLAGS %: dh $@ +override_dh_auto_configure: + NOCONFIGURE=1 xdt-autogen + dh_auto_configure + override_dh_makeshlibs: dh_makeshlibs -X usr/lib/parole-0 + +override_dh_install: + find debian/tmp/usr/lib -name '*.la' -delete + dh_install --fail-missing diff -Nru parole-0.2.0.2/debian/source/format parole-0.2.0.6/debian/source/format --- parole-0.2.0.2/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/debian/source/format 2011-04-24 23:36:54.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru parole-0.2.0.2/docs/Makefile.in parole-0.2.0.6/docs/Makefile.in --- parole-0.2.0.2/docs/Makefile.in 2010-01-25 11:47:25.000000000 +0000 +++ parole-0.2.0.6/docs/Makefile.in 2011-04-17 11:54:31.000000000 +0000 @@ -101,7 +101,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -125,6 +124,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -214,6 +214,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -239,6 +240,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -262,6 +265,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -295,7 +299,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/docs/plugin-api/html/API.html parole-0.2.0.6/docs/plugin-api/html/API.html --- parole-0.2.0.2/docs/plugin-api/html/API.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/API.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ Part IV. Parole Plugin Reference - + - + - - - - - - @@ -25,7 +19,7 @@ -
+

Part IV. Parole Plugin Reference

@@ -38,13 +32,13 @@ ParoleProviderPlayer — The interface of the player.
-ParoleStream — Currently playing stream. +ParoleStream — Currently playing stream.
+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/api-index-full.html parole-0.2.0.6/docs/plugin-api/html/api-index-full.html --- parole-0.2.0.2/docs/plugin-api/html/api-index-full.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/api-index-full.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,18 +3,12 @@ API Index - + - + - - - - - - @@ -49,110 +43,389 @@

API Index

C

-
PAROLE_CHECK_VERSION
+
+PAROLE_CHECK_VERSION, macro in parole +
+

D

-
parole_debug_enum
-
PAROLE_DEBUG_ENUM
-
parole_debug_enum_full
-
PAROLE_DEBUG_ENUM_FULL
-
PAROLE_DEFINE_ABSTRACT_TYPE
-
PAROLE_DEFINE_ABSTRACT_TYPE_WITH_CODE
-
PAROLE_DEFINE_TYPE
-
PAROLE_DEFINE_TYPE_EXTENDED
-
PAROLE_DEFINE_TYPE_WITH_CODE
+
+parole_debug_enum, function in parole-debug +
+
+
+PAROLE_DEBUG_ENUM, macro in parole-debug +
+
+
+parole_debug_enum_full, function in parole-debug +
+
+
+PAROLE_DEBUG_ENUM_FULL, macro in parole-debug +
+
+
+PAROLE_DEFINE_ABSTRACT_TYPE, macro in parole +
+
+
+PAROLE_DEFINE_ABSTRACT_TYPE_WITH_CODE, macro in parole +
+
+
+PAROLE_DEFINE_TYPE, macro in parole +
+
+
+PAROLE_DEFINE_TYPE_EXTENDED, macro in parole +
+
+
+PAROLE_DEFINE_TYPE_WITH_CODE, macro in parole +
+

E

-
PAROLE_ENUM_TYPE_MEDIA_TYPE
-
PAROLE_ENUM_TYPE_PLUGIN_CONTAINER
-
PAROLE_ENUM_TYPE_PL_FORMAT
-
PAROLE_ENUM_TYPE_STATE
+
+PAROLE_ENUM_TYPE_MEDIA_TYPE, macro in parole-enum-types +
+
+
+PAROLE_ENUM_TYPE_PLUGIN_CONTAINER, macro in parole-enum-types +
+
+
+PAROLE_ENUM_TYPE_PL_FORMAT, macro in parole-enum-types +
+
+
+PAROLE_ENUM_TYPE_STATE, macro in parole-enum-types +
+

F

-
ParoleFile
-
ParoleFile:content-type
-
ParoleFile:display-name
-
ParoleFile:filename
-
ParoleFile:uri
-
parole_file_filter
-
parole_file_get_content_type
-
parole_file_get_display_name
-
parole_file_get_file_name
-
parole_file_get_uri
-
parole_file_new
-
parole_file_new_with_display_name
+
+ParoleFile, struct in ParoleFile +
+
+
+ParoleFile:content-type, object property in ParoleFile +
+
+
+ParoleFile:display-name, object property in ParoleFile +
+
+
+ParoleFile:filename, object property in ParoleFile +
+
+
+ParoleFile:uri, object property in ParoleFile +
+
+
+parole_file_filter, function in parole-filters +
+
+
+parole_file_get_content_type, function in ParoleFile +
+
+
+parole_file_get_display_name, function in ParoleFile +
+
+
+parole_file_get_file_name, function in ParoleFile +
+
+
+parole_file_get_uri, function in ParoleFile +
+
+
+parole_file_new, function in ParoleFile +
+
+
+parole_file_new_with_display_name, function in ParoleFile +
+

G

-
parole_get_supported_audio_filter
-
parole_get_supported_files_filter
-
parole_get_supported_media_filter
-
parole_get_supported_playlist_filter
-
parole_get_supported_video_filter
+
+parole_get_supported_audio_filter, function in parole-filters +
+
+
+parole_get_supported_files_filter, function in parole-filters +
+
+
+parole_get_supported_media_filter, function in parole-filters +
+
+
+parole_get_supported_playlist_filter, function in parole-filters +
+
+
+parole_get_supported_video_filter, function in parole-filters +
+

I

-
PAROLE_IMPLEMENT_INTERFACE
+
+PAROLE_IMPLEMENT_INTERFACE, macro in parole +
+

M

-
PAROLE_MAJOR_VERSION
-
parole_marshal_VOID__OBJECT_DOUBLE
-
parole_marshal_VOID__OBJECT_ENUM
-
parole_marshal_VOID__OBJECT_INT
-
ParoleMediaType
-
parole_media_type_get_type
-
PAROLE_MICRO_VERSION
-
PAROLE_MINOR_VERSION
+
+PAROLE_MAJOR_VERSION, macro in parole +
+
+
+parole_marshal_VOID__OBJECT_DOUBLE, function in parole-marshal +
+
+
+parole_marshal_VOID__OBJECT_ENUM, function in parole-marshal +
+
+
+parole_marshal_VOID__OBJECT_INT, function in parole-marshal +
+
+
+ParoleMediaType, enum in parole-stream +
+
+
+parole_media_type_get_type, function in parole-enum-types +
+
+
+PAROLE_MICRO_VERSION, macro in parole +
+
+
+PAROLE_MINOR_VERSION, macro in parole +
+

P

-
ParolePlFormat
-
ParolePluginContainer
-
parole_plugin_container_get_type
-
parole_pl_format_get_type
-
parole_pl_parser_can_parse_data
-
parole_pl_parser_guess_format_from_data
-
parole_pl_parser_guess_format_from_extension
-
parole_pl_parser_parse_all_from_file
-
parole_pl_parser_parse_from_file_by_extension
-
parole_pl_parser_save_from_files
-
ParoleProviderPlayer
-
ParoleProviderPlayerIface
-
ParoleProviderPlayerIface::state-changed
-
ParoleProviderPlayerIface::tag-message
-
ParoleProviderPlugin
-
ParoleProviderPluginIface
-
parole_provider_player_get_main_window
-
parole_provider_player_get_state
-
parole_provider_player_get_stream
-
parole_provider_player_open_media_chooser
-
parole_provider_player_pack
-
parole_provider_player_pause
-
parole_provider_player_play_uri
-
parole_provider_player_resume
-
parole_provider_player_seek
-
parole_provider_player_stop
-
parole_provider_plugin_configure
-
parole_provider_plugin_get_is_configurable
-
parole_provider_plugin_set_player
+
+ParolePlFormat, enum in parole-pl-parser +
+
+
+ParolePluginContainer, enum in parole-provider-player +
+
+
+parole_plugin_container_get_type, function in parole-enum-types +
+
+
+parole_pl_format_get_type, function in parole-enum-types +
+
+
+parole_pl_parser_can_parse_data, function in parole-pl-parser +
+
+
+parole_pl_parser_guess_format_from_data, function in parole-pl-parser +
+
+
+parole_pl_parser_guess_format_from_extension, function in parole-pl-parser +
+
+
+parole_pl_parser_parse_all_from_file, function in parole-pl-parser +
+
+
+parole_pl_parser_parse_from_file_by_extension, function in parole-pl-parser +
+
+
+parole_pl_parser_save_from_files, function in parole-pl-parser +
+
+
+ParoleProviderPlayer, struct in parole-provider-player +
+
+
+ParoleProviderPlayerIface, struct in parole-provider-player +
+
+
+ParoleProviderPlayerIface::state-changed, object signal in parole-provider-player +
+
+
+ParoleProviderPlayerIface::tag-message, object signal in parole-provider-player +
+
+
+ParoleProviderPlugin, struct in parole-provider-plugin +
+
+
+ParoleProviderPluginIface, struct in parole-provider-plugin +
+
+
+parole_provider_player_get_main_window, function in parole-provider-player +
+
+
+parole_provider_player_get_state, function in parole-provider-player +
+
+
+parole_provider_player_get_stream, function in parole-provider-player +
+
+
+parole_provider_player_open_media_chooser, function in parole-provider-player +
+
+
+parole_provider_player_pack, function in parole-provider-player +
+
+
+parole_provider_player_pause, function in parole-provider-player +
+
+
+parole_provider_player_play_uri, function in parole-provider-player +
+
+
+parole_provider_player_resume, function in parole-provider-player +
+
+
+parole_provider_player_seek, function in parole-provider-player +
+
+
+parole_provider_player_stop, function in parole-provider-player +
+
+
+parole_provider_plugin_configure, function in parole-provider-plugin +
+
+
+parole_provider_plugin_get_is_configurable, function in parole-provider-plugin +
+
+
+parole_provider_plugin_set_player, function in parole-provider-plugin +
+

S

-
ParoleState
-
parole_state_get_type
-
ParoleStream
-
ParoleStream:absolute-duration
-
ParoleStream:album
-
ParoleStream:artist
-
ParoleStream:comment
-
ParoleStream:disp-par-d
-
ParoleStream:disp-par-n
-
ParoleStream:duration
-
ParoleStream:has-audio
-
ParoleStream:has-video
-
ParoleStream:live
-
ParoleStream:media-type
-
ParoleStream:num-tracks
-
ParoleStream:seekable
-
ParoleStream:subtitles
-
ParoleStream:tag-available
-
ParoleStream:title
-
ParoleStream:track
-
ParoleStream:uri
-
ParoleStream:video-height
-
ParoleStream:video-width
-
ParoleStream:year
+
+ParoleState, enum in parole-provider-player +
+
+
+parole_state_get_type, function in parole-enum-types +
+
+
+ParoleStream, struct in ParoleStream +
+
+
+ParoleStream:absolute-duration, object property in ParoleStream +
+
+
+ParoleStream:album, object property in ParoleStream +
+
+
+ParoleStream:artist, object property in ParoleStream +
+
+
+ParoleStream:comment, object property in ParoleStream +
+
+
+ParoleStream:disp-par-d, object property in ParoleStream +
+
+
+ParoleStream:disp-par-n, object property in ParoleStream +
+
+
+ParoleStream:duration, object property in ParoleStream +
+
+
+ParoleStream:has-audio, object property in ParoleStream +
+
+
+ParoleStream:has-video, object property in ParoleStream +
+
+
+ParoleStream:live, object property in ParoleStream +
+
+
+ParoleStream:media-type, object property in ParoleStream +
+
+
+ParoleStream:num-tracks, object property in ParoleStream +
+
+
+ParoleStream:seekable, object property in ParoleStream +
+
+
+ParoleStream:subtitles, object property in ParoleStream +
+
+
+ParoleStream:tag-available, object property in ParoleStream +
+
+
+ParoleStream:title, object property in ParoleStream +
+
+
+ParoleStream:track, object property in ParoleStream +
+
+
+ParoleStream:uri, object property in ParoleStream +
+
+
+ParoleStream:video-height, object property in ParoleStream +
+
+
+ParoleStream:video-width, object property in ParoleStream +
+
+
+ParoleStream:year, object property in ParoleStream +
+
+ Generated by GTK-Doc V1.17 \ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/fundamentals.html parole-0.2.0.6/docs/plugin-api/html/fundamentals.html --- parole-0.2.0.2/docs/plugin-api/html/fundamentals.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/fundamentals.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ Part III. Fundamentals - + - + - - - - - - @@ -25,7 +19,7 @@ -
+

Part III. Fundamentals

@@ -37,6 +31,6 @@
+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/index.html parole-0.2.0.6/docs/plugin-api/html/index.html --- parole-0.2.0.2/docs/plugin-api/html/index.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/index.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,25 +3,19 @@ Parole Plugins Reference Manual - + - + - - - - - - -
+

- for Parole-Plugins 0.2.0.2 + for Parole-Plugins 0.2.0.6

@@ -54,7 +48,7 @@ ParoleProviderPlayer — The interface of the player.
-ParoleStream — Currently playing stream. +ParoleStream — Currently playing stream.
V. Parole Utilities
@@ -77,6 +71,6 @@
+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/index.sgml parole-0.2.0.6/docs/plugin-api/html/index.sgml --- parole-0.2.0.2/docs/plugin-api/html/index.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/index.sgml 2011-04-17 11:55:51.000000000 +0000 @@ -27,6 +27,8 @@ + + @@ -49,37 +51,39 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -110,6 +114,8 @@ + + diff -Nru parole-0.2.0.2/docs/plugin-api/html/Intro.html parole-0.2.0.6/docs/plugin-api/html/Intro.html --- parole-0.2.0.2/docs/plugin-api/html/Intro.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Intro.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ Part I. Introduction - + - + - - - - - - @@ -25,7 +19,7 @@ -
+

Part I. Introduction

@@ -37,6 +31,6 @@

+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/ParoleFile.html parole-0.2.0.6/docs/plugin-api/html/ParoleFile.html --- parole-0.2.0.2/docs/plugin-api/html/ParoleFile.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/ParoleFile.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ ParoleFile - + - + - - - - - - @@ -36,7 +30,7 @@ Properties -
+
@@ -47,218 +41,199 @@

Synopsis

-
                    ParoleFile;
-ParoleFile *        parole_file_new                     (const gchar *filename);
-ParoleFile *        parole_file_new_with_display_name   (const gchar *filename,
-                                                         const gchar *display_name);
-const gchar const   * parole_file_get_file_name         (const ParoleFile *file);
-const gchar const   * parole_file_get_display_name      (const ParoleFile *file);
-const gchar const   * parole_file_get_uri               (const ParoleFile *file);
-const gchar const   * parole_file_get_content_type      (const ParoleFile *file);
+
struct              ParoleFile;
+ParoleFile *        parole_file_new                     (const gchar *filename);
+ParoleFile *        parole_file_new_with_display_name   (const gchar *filename,
+                                                         const gchar *display_name);
+const gchar const   * parole_file_get_file_name         (const ParoleFile *file);
+const gchar const   * parole_file_get_display_name      (const ParoleFile *file);
+const gchar const   * parole_file_get_uri               (const ParoleFile *file);
+const gchar const   * parole_file_get_content_type      (const ParoleFile *file);
 
-
+

Object Hierarchy

   GObject
    +----ParoleFile
 
-
+

Properties

-  "content-type"             gchar*                : Read
-  "display-name"             gchar*                : Read / Write / Construct Only
-  "filename"                 gchar*                : Read / Write / Construct Only
-  "uri"                      gchar*                : Read
+  "content-type"             gchar*                : Read
+  "display-name"             gchar*                : Read / Write / Construct Only
+  "filename"                 gchar*                : Read / Write / Construct Only
+  "uri"                      gchar*                : Read
 
-
+

Description

-
+

Details

-
-

ParoleFile

-
typedef struct _ParoleFile ParoleFile;
+
+

struct ParoleFile

+
struct ParoleFile;


-
+

parole_file_new ()

-
ParoleFile *        parole_file_new                     (const gchar *filename);
+
ParoleFile *        parole_file_new                     (const gchar *filename);
- + - +

filename :

filename. -filename.

Returns :

A new ParoleFile object. - -A new ParoleFile object.

Since 0.2


-
+

parole_file_new_with_display_name ()

-
ParoleFile *        parole_file_new_with_display_name   (const gchar *filename,
-                                                         const gchar *display_name);
+
ParoleFile *        parole_file_new_with_display_name   (const gchar *filename,
+                                                         const gchar *display_name);
- - - - - + - +

filename :

filename. -

display_name :

-filename.

Returns :

A new ParoleFile object. - -A new ParoleFile object.

Since 0.2


-
+

parole_file_get_file_name ()

-
const gchar const   * parole_file_get_file_name         (const ParoleFile *file);
+
const gchar const   * parole_file_get_file_name         (const ParoleFile *file);
- + - +

file :

a ParoleFile. -a ParoleFile.

Returns :

A string containing the file name. - -A string containing the file name.

Since 0.2


-
+

parole_file_get_display_name ()

-
const gchar const   * parole_file_get_display_name      (const ParoleFile *file);
+
const gchar const   * parole_file_get_display_name      (const ParoleFile *file);
- + - +

file :

a ParoleFile. -a ParoleFile.

Returns :

A string containing the display name. - -A string containing the display name.

Since 0.2


-
+

parole_file_get_uri ()

-
const gchar const   * parole_file_get_uri               (const ParoleFile *file);
+
const gchar const   * parole_file_get_uri               (const ParoleFile *file);
- + - +

file :

a ParoleFile. -a ParoleFile.

Returns :

A string containing the file uri. - -A string containing the file uri.

Since 0.2


-
+

parole_file_get_content_type ()

-
const gchar const   * parole_file_get_content_type      (const ParoleFile *file);
+
const gchar const   * parole_file_get_content_type      (const ParoleFile *file);
- + - +

file :

a ParoleFile. -a ParoleFile.

Returns :

A string containing the content type of the file. - -A string containing the content type of the file.

Since 0.2

-
+

Property Details

-
+

The "content-type" property

  "content-type"             gchar*                : Read

-The content type of the file.

+The content type of the file. +

Default value: NULL

Since 0.2


-
+

The "display-name" property

  "display-name"             gchar*                : Read / Write / Construct Only

-A UTF-8 name that can be displayed in the UI.

+A UTF-8 name that can be displayed in the UI. +

Default value: NULL

Since 0.2


-
+

The "filename" property

  "filename"                 gchar*                : Read / Write / Construct Only

-The file name of the file.

+The file name of the file. +

Default value: NULL

Since 0.2


-
+

The "uri" property

  "uri"                      gchar*                : Read

-The uri of the file.

+The uri of the file. +

Default value: NULL

Since 0.2

@@ -266,6 +241,6 @@
+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins.devhelp parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins.devhelp --- parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins.devhelp 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins.devhelp 2011-04-17 11:55:51.000000000 +0000 @@ -4,7 +4,7 @@ - + @@ -12,7 +12,7 @@ - + @@ -33,12 +33,12 @@ - + - + @@ -54,30 +54,30 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff -Nru parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins.devhelp2 parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins.devhelp2 --- parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins.devhelp2 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins.devhelp2 2011-04-17 11:55:51.000000000 +0000 @@ -4,7 +4,7 @@ - + @@ -12,7 +12,7 @@ - + @@ -33,12 +33,12 @@ - + - + @@ -54,30 +54,30 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff -Nru parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-debug.html parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-debug.html --- parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-debug.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-debug.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ Parole Debug - + - + - - - - - - @@ -32,7 +26,7 @@ Description -
+
@@ -43,187 +37,76 @@

Synopsis

-
#define             PAROLE_DEBUG_ENUM                   (_text, _value, _type)
-#define             PAROLE_DEBUG_ENUM_FULL              (_value, _type, ...)
-void                parole_debug_enum                   (const gchar *func,
-                                                         const gchar *file,
-                                                         gint line,
-                                                         const gchar *text,
-                                                         gint v_enum,
-                                                         GType type);
-void                parole_debug_enum_full              (const gchar *func,
-                                                         const gchar *file,
-                                                         gint line,
-                                                         gint v_enum,
-                                                         GType type,
-                                                         const gchar *format,
-                                                         ...);
+
#define             PAROLE_DEBUG_ENUM                   (_text,
+                                                         _value,
+                                                         _type)
+#define             PAROLE_DEBUG_ENUM_FULL              (_value,
+                                                         _type,
+                                                         ...)
+void                parole_debug_enum                   (const gchar *func,
+                                                         const gchar *file,
+                                                         gint line,
+                                                         const gchar *text,
+                                                         gint v_enum,
+                                                         GType type);
+void                parole_debug_enum_full              (const gchar *func,
+                                                         const gchar *file,
+                                                         gint line,
+                                                         gint v_enum,
+                                                         GType type,
+                                                         const gchar *format,
+                                                         ...);
 
-
+

Description

-
+

Details

-
+

PAROLE_DEBUG_ENUM()

#define             PAROLE_DEBUG_ENUM(_text, _value, _type)

-
-- - - - - - - - - - - - - - -

_text :

-

_value :

-

_type :

-

-
+

PAROLE_DEBUG_ENUM_FULL()

#define             PAROLE_DEBUG_ENUM_FULL(_value, _type, ...)

-
-- - - - - - - - - - - - - - -

_value :

-

_type :

-

... :

-

-
+

parole_debug_enum ()

-
void                parole_debug_enum                   (const gchar *func,
-                                                         const gchar *file,
-                                                         gint line,
-                                                         const gchar *text,
-                                                         gint v_enum,
-                                                         GType type);
+
void                parole_debug_enum                   (const gchar *func,
+                                                         const gchar *file,
+                                                         gint line,
+                                                         const gchar *text,
+                                                         gint v_enum,
+                                                         GType type);

-
-- - - - - - - - - - - - - - - - - - - - - - - - - - -

func :

-

file :

-

line :

-

text :

-

v_enum :

-

type :

-

-
+

parole_debug_enum_full ()

-
void                parole_debug_enum_full              (const gchar *func,
-                                                         const gchar *file,
-                                                         gint line,
-                                                         gint v_enum,
-                                                         GType type,
-                                                         const gchar *format,
-                                                         ...);
+
void                parole_debug_enum_full              (const gchar *func,
+                                                         const gchar *file,
+                                                         gint line,
+                                                         gint v_enum,
+                                                         GType type,
+                                                         const gchar *format,
+                                                         ...);

-
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

func :

-

file :

-

line :

-

v_enum :

-

type :

-

format :

-

... :

-
+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-filters.html parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-filters.html --- parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-filters.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-filters.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ Parole Filters - + - + - - - - - - @@ -32,7 +26,7 @@ Description -
+
@@ -43,138 +37,131 @@

Synopsis

-
GtkFileFilter *     parole_get_supported_audio_filter   (void);
-GtkFileFilter *     parole_get_supported_video_filter   (void);
-GtkFileFilter *     parole_get_supported_media_filter   (void);
-GtkFileFilter *     parole_get_supported_files_filter   (void);
-GtkFileFilter *     parole_get_supported_playlist_filter
-                                                        (void);
-gboolean            parole_file_filter                  (GtkFileFilter *filter,
-                                                         ParoleFile *file);
+
GtkFileFilter *     parole_get_supported_audio_filter   (void);
+GtkFileFilter *     parole_get_supported_video_filter   (void);
+GtkFileFilter *     parole_get_supported_media_filter   (void);
+GtkFileFilter *     parole_get_supported_files_filter   (void);
+GtkFileFilter *     parole_get_supported_playlist_filter
+                                                        (void);
+gboolean            parole_file_filter                  (GtkFileFilter *filter,
+                                                         ParoleFile *file);
 
-
+

Description

-
+

Details

-
+

parole_get_supported_audio_filter ()

-
GtkFileFilter *     parole_get_supported_audio_filter   (void);
+
GtkFileFilter *     parole_get_supported_audio_filter   (void);

Get a GtkFileFilter according to the supported -Parole audio mime types.

+Parole audio mime types. +

- +

Returns :

A GtkFileFilter for supported audio formats. - -A GtkFileFilter for supported audio formats.

Since 0.2


-
+

parole_get_supported_video_filter ()

-
GtkFileFilter *     parole_get_supported_video_filter   (void);
+
GtkFileFilter *     parole_get_supported_video_filter   (void);

Get a GtkFileFilter according to the supported -Parole video mime types.

+Parole video mime types. +

- +

Returns :

A GtkFileFilter for supported video formats. - -A GtkFileFilter for supported video formats.

Since 0.2


-
+

parole_get_supported_media_filter ()

-
GtkFileFilter *     parole_get_supported_media_filter   (void);
+
GtkFileFilter *     parole_get_supported_media_filter   (void);

Get a GtkFileFilter according to the supported -Parole media mime types, including audio and vide.

+Parole media mime types, including audio and vide. +

- +

Returns :

A GtkFileFilter for supported media formats. - -A GtkFileFilter for supported media formats.

Since 0.2


-
+

parole_get_supported_files_filter ()

-
GtkFileFilter *     parole_get_supported_files_filter   (void);
+
GtkFileFilter *     parole_get_supported_files_filter   (void);

Get a GtkFileFilter according to the supported -Parole files mime types, including audio/video/play list formats.

+Parole files mime types, including audio/video/play list formats. +

- +

Returns :

A GtkFileFilter for supported files formats. - -A GtkFileFilter for supported files formats.

Since 0.2


-
+

parole_get_supported_playlist_filter ()

GtkFileFilter *     parole_get_supported_playlist_filter
-                                                        (void);
+ (void);

Get a GtkFileFilter according to the supported -Parole play-list mime types.

+Parole play-list mime types. +

- +

Returns :

A GtkFileFilter for supported playlist formats. - -A GtkFileFilter for supported playlist formats.

Since 0.2


-
+

parole_file_filter ()

-
gboolean            parole_file_filter                  (GtkFileFilter *filter,
-                                                         ParoleFile *file);
+
gboolean            parole_file_filter                  (GtkFileFilter *filter,
+                                                         ParoleFile *file);

-Tests whether a file should be displayed according to filter

+Tests whether a file should be displayed according to filter +

- + - - +

filter :

a GtkFileFilter. -a GtkFileFilter.

file :

a ParoleFile +a ParoleFile

Returns :

TRUE if the file should be displayed. - -TRUE if the file should be displayed.
@@ -184,6 +171,6 @@
+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole.html parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole.html --- parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ Parole - + - + - - - - - - @@ -32,7 +26,7 @@ Description -
+
@@ -43,26 +37,43 @@

Synopsis

-
#define             PAROLE_MAJOR_VERSION
-#define             PAROLE_MINOR_VERSION
-#define             PAROLE_MICRO_VERSION
-#define             PAROLE_CHECK_VERSION                (major,minor,micro)
-#define             PAROLE_DEFINE_TYPE                  (TN, t_n, T_P)
-#define             PAROLE_DEFINE_TYPE_EXTENDED         (TN, t_n, T_P, _f_, _C_)
-#define             PAROLE_DEFINE_TYPE_WITH_CODE        (TN, t_n, T_P, _C_)
-#define             PAROLE_DEFINE_ABSTRACT_TYPE         (TN, t_n, T_P)
-#define             PAROLE_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN, t_n, T_P, _C_)
-#define             PAROLE_IMPLEMENT_INTERFACE          (TYPE_IFACE, iface_init)
+
#define             PAROLE_MAJOR_VERSION
+#define             PAROLE_MINOR_VERSION
+#define             PAROLE_MICRO_VERSION
+#define             PAROLE_CHECK_VERSION                (major,
+                                                         minor,
+                                                         micro)
+#define             PAROLE_DEFINE_TYPE                  (TN,
+                                                         t_n,
+                                                         T_P)
+#define             PAROLE_DEFINE_TYPE_EXTENDED         (TN,
+                                                         t_n,
+                                                         T_P,
+                                                         _f_,
+                                                         _C_)
+#define             PAROLE_DEFINE_TYPE_WITH_CODE        (TN,
+                                                         t_n,
+                                                         T_P,
+                                                         _C_)
+#define             PAROLE_DEFINE_ABSTRACT_TYPE         (TN,
+                                                         t_n,
+                                                         T_P)
+#define             PAROLE_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN,
+                                                         t_n,
+                                                         T_P,
+                                                         _C_)
+#define             PAROLE_IMPLEMENT_INTERFACE          (TYPE_IFACE,
+                                                         iface_init)
 
-
+

Description

-
+

Details

-
+

PAROLE_MAJOR_VERSION

#define PAROLE_MAJOR_VERSION		0
 
@@ -70,7 +81,7 @@


-
+

PAROLE_MINOR_VERSION

#define PAROLE_MINOR_VERSION		2
 
@@ -78,43 +89,41 @@


-
+

PAROLE_MICRO_VERSION

-
#define PAROLE_MICRO_VERSION		0.2
+
#define PAROLE_MICRO_VERSION		0.6
 


-
+

PAROLE_CHECK_VERSION()

#define             PAROLE_CHECK_VERSION(major,minor,micro)

-Checks the parole version.

+Checks the parole version. +

- + - + - +

major :

major version number. -major version number.

minor :

minor version number. -minor version number.

micro :

micor version number. -micor version number.

Since 0.2


-
+

PAROLE_DEFINE_TYPE()

#define PAROLE_DEFINE_TYPE(TN, t_n, T_P)			PAROLE_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
 
@@ -123,25 +132,22 @@

TN :

- The name of the new type, in Camel case. - +The name of the new type, in Camel case.

t_n :

- The name of the new type, in lowercase, with words separated by '_'. - +The name of the new type, in lowercase, with words separated by '_'.

T_P :

- The GType of the parent type. - +The GType of the parent type.

Since 0.2


-
+

PAROLE_DEFINE_TYPE_EXTENDED()

#define PAROLE_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _PAROLE_DEFINE_TYPE_EXTENDED_BEGIN(TN, t_n, T_P, _f_) {_C_;} _PAROLE_DEFINE_TYPE_EXTENDED_END()
 
@@ -150,35 +156,31 @@

TN :

- The name of the new type, in Camel case. - +The name of the new type, in Camel case.

t_n :

- The name of the new type, in lowercase, with words separated by '_'. - +The name of the new type, in lowercase, with words separated by '_'.

T_P :

- The GType of the parent type. - +The GType of the parent type.

_f_ :

- GTypeFlags to pass to g_type_module_register_type(). - + +GTypeFlags to pass to g_type_module_register_type().

_C_ :

- Custom code that gets inserted in *_get_type() function. - +Custom code that gets inserted in *_get_type() function.

Since 0.2


-
+

PAROLE_DEFINE_TYPE_WITH_CODE()

#define PAROLE_DEFINE_TYPE_WITH_CODE(TN, t_n, T_P, _C_)		_PAROLE_DEFINE_TYPE_EXTENDED_BEGIN(TN, t_n, T_P, 0) {_C_;} _PAROLE_DEFINE_TYPE_EXTENDED_END()
 
@@ -187,30 +189,26 @@

TN :

- The name of the new type, in Camel case. - +The name of the new type, in Camel case.

t_n :

- The name of the new type, in lowercase, with words separated by '_'. - +The name of the new type, in lowercase, with words separated by '_'.

T_P :

- The GType of the parent type. - +The GType of the parent type.

_C_ :

- Custom code that gets inserted in *_get_type() function. - +Custom code that gets inserted in *_get_type() function.

Since 0.2


-
+

PAROLE_DEFINE_ABSTRACT_TYPE()

#define PAROLE_DEFINE_ABSTRACT_TYPE(TN, t_n, T_P)		PAROLE_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, {})
 
@@ -219,25 +217,22 @@

TN :

- The name of the new type, in Camel case. - +The name of the new type, in Camel case.

t_n :

- The name of the new type, in lowercase, with words separated by '_'. - +The name of the new type, in lowercase, with words separated by '_'.

T_P :

- The GType of the parent type. - +The GType of the parent type.

Since 0.2


-
+

PAROLE_DEFINE_ABSTRACT_TYPE_WITH_CODE()

#define PAROLE_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN, t_n, T_P, _C_) PAROLE_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, _C_)
 
@@ -246,30 +241,26 @@

TN :

- The name of the new type, in Camel case. - +The name of the new type, in Camel case.

t_n :

- The name of the new type, in lowercase, with words separated by '_'. - +The name of the new type, in lowercase, with words separated by '_'.

T_P :

- The GType of the parent type. - +The GType of the parent type.

_C_ :

- Custom code that gets inserted in *_get_type() function. - +Custom code that gets inserted in *_get_type() function.

Since 0.2


-
+

PAROLE_IMPLEMENT_INTERFACE()

#define             PAROLE_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init)
@@ -277,13 +268,11 @@ - + - +

TYPE_IFACE :

the GType of the interface to add. -the GType of the interface to add.

iface_init :

The interface init function. -The interface init function.
@@ -292,6 +281,6 @@
+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-pl-parser.html parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-pl-parser.html --- parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-pl-parser.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-pl-parser.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ Parole Playlist Parser - + - + - - - - - - @@ -30,9 +24,11 @@ Top  |  Description +  |  + Object Hierarchy -
+
@@ -43,30 +39,37 @@
+
+

Object Hierarchy

+
+  GEnum
+   +----ParolePlFormat
 
-
+

Description

-
+

Details

-
+

enum ParolePlFormat

typedef enum
 {
@@ -82,168 +85,152 @@
 


-
+

parole_pl_parser_guess_format_from_extension ()

-
ParolePlFormat      parole_pl_parser_guess_format_from_extension
-                                                        (const gchar *filename);
+
ParolePlFormat      parole_pl_parser_guess_format_from_extension
+                                                        (const gchar *filename);

-Guess a playlist format from the filename extension.

+Guess a playlist format from the filename extension. +

- + - +

filename :

a filename. -a filename.

Returns :

PAROLE_PL_FORMAT_UNKNOWN if unable to get the playlist format, and a valid - playlist format otherwise. - -PAROLE_PL_FORMAT_UNKNOWN if unable to get the playlist format, and a valid +playlist format otherwise.

Since 0.2


-
+

parole_pl_parser_guess_format_from_data ()

-
ParolePlFormat      parole_pl_parser_guess_format_from_data
-                                                        (const gchar *filename);
+
ParolePlFormat      parole_pl_parser_guess_format_from_data
+                                                        (const gchar *filename);

-Guess a playlist format from its data.

+Guess a playlist format from its data. +

- + - +

filename :

a filename. -a filename.

Returns :

PAROLE_PL_FORMAT_UNKNOWN if unable to get the playlist format, and a valid - playlist format otherwise. - -PAROLE_PL_FORMAT_UNKNOWN if unable to get the playlist format, and a valid +playlist format otherwise.

Since 0.2


-
+

parole_pl_parser_can_parse_data ()

-
gboolean            parole_pl_parser_can_parse_data     (const guchar *data,
-                                                         gint len);
+
gboolean            parole_pl_parser_can_parse_data     (const guchar *data,
+                                                         gint len);

-Get if the Parole parser can parse from the passed data.

+Get if the Parole parser can parse from the passed data. +

- + - + - +

data :

data. -data.

len :

length of data. -length of data.

Returns :

TRUE if it can parse from the data, FALSE otherwise. - -TRUE if it can parse from the data, FALSE otherwise.

Since 0.2


-
+

parole_pl_parser_parse_from_file_by_extension ()

GSList *            parole_pl_parser_parse_from_file_by_extension
-                                                        (const gchar *filename);
+ (const gchar *filename);
- + - +

filename :

a filename. -a filename.

Returns :

a GSList containts a list of Parolefile parsed from the playlist, - or NULL if no files were parsed. - -a GSList containts a list of Parolefile parsed from the playlist, +or NULL if no files were parsed.

Since 0.2


-
+

parole_pl_parser_parse_all_from_file ()

GSList *            parole_pl_parser_parse_all_from_file
-                                                        (const gchar *filename);
+ (const gchar *filename);

-This function tries to parse a playlist without guessing the playlist format.

+This function tries to parse a playlist without guessing the playlist format. +

- + - +

filename :

a filename -a filename

Returns :

a GSList containts a list of Parolefile parsed from the playlist, - or NULL if no files were parsed. - -a GSList containts a list of Parolefile parsed from the playlist, +or NULL if no files were parsed.

Since 0.2


-
+

parole_pl_parser_save_from_files ()

-
gboolean            parole_pl_parser_save_from_files    (GSList *files,
-                                                         const gchar *filename,
-                                                         ParolePlFormat format);
+
gboolean            parole_pl_parser_save_from_files    (GSList *files,
+                                                         const gchar *filename,
+                                                         ParolePlFormat format);

-Saves a GSList containing a list of ParoleFile files to filename.

+Saves a GSList containing a list of ParoleFile files to filename. +

- + - + - + - +

files :

a GSList list of ParoleFile files. -a GSList list of ParoleFile files.

filename :

a filename to save. -a filename to save.

format :

a ParolePlFormat format of the playlist. -a ParolePlFormat format of the playlist.

Returns :

TRUE if the playlist was saved, FALSE otherwise. - -TRUE if the playlist was saved, FALSE otherwise.
@@ -253,6 +240,6 @@
+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-provider-player.html parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-provider-player.html --- parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-provider-player.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-provider-player.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ ParoleProviderPlayer - + - - + + - - - - - - @@ -24,7 +18,7 @@ - + -
+
@@ -49,50 +43,58 @@

Synopsis

-
                    ParoleProviderPlayerIface;
-                    ParoleProviderPlayer;
-enum                ParolePluginContainer;
-enum                ParoleState;
-GtkWidget *         parole_provider_player_get_main_window
-                                                        (ParoleProviderPlayer *player);
-void                parole_provider_player_pack         (ParoleProviderPlayer *player,
-                                                         GtkWidget *widget,
-                                                         const gchar *title,
-                                                         ParolePluginContainer container);
-ParoleState         parole_provider_player_get_state    (ParoleProviderPlayer *player);
-const ParoleStream * parole_provider_player_get_stream  (ParoleProviderPlayer *player);
-gboolean            parole_provider_player_play_uri     (ParoleProviderPlayer *player,
-                                                         const gchar *uri);
-gboolean            parole_provider_player_pause        (ParoleProviderPlayer *player);
-gboolean            parole_provider_player_resume       (ParoleProviderPlayer *player);
-gboolean            parole_provider_player_stop         (ParoleProviderPlayer *player);
-gboolean            parole_provider_player_seek         (ParoleProviderPlayer *player,
-                                                         gdouble pos);
-void                parole_provider_player_open_media_chooser
-                                                        (ParoleProviderPlayer *player);
+
struct              ParoleProviderPlayerIface;
+                    ParoleProviderPlayer;
+enum                ParolePluginContainer;
+enum                ParoleState;
+GtkWidget *         parole_provider_player_get_main_window
+                                                        (ParoleProviderPlayer *player);
+void                parole_provider_player_pack         (ParoleProviderPlayer *player,
+                                                         GtkWidget *widget,
+                                                         const gchar *title,
+                                                         ParolePluginContainer container);
+ParoleState         parole_provider_player_get_state    (ParoleProviderPlayer *player);
+const ParoleStream * parole_provider_player_get_stream  (ParoleProviderPlayer *player);
+gboolean            parole_provider_player_play_uri     (ParoleProviderPlayer *player,
+                                                         const gchar *uri);
+gboolean            parole_provider_player_pause        (ParoleProviderPlayer *player);
+gboolean            parole_provider_player_resume       (ParoleProviderPlayer *player);
+gboolean            parole_provider_player_stop         (ParoleProviderPlayer *player);
+gboolean            parole_provider_player_seek         (ParoleProviderPlayer *player,
+                                                         gdouble pos);
+void                parole_provider_player_open_media_chooser
+                                                        (ParoleProviderPlayer *player);
 
-
+

Object Hierarchy

   GInterface
    +----ParoleProviderPlayerIface
 
+
+  GEnum
+   +----ParolePluginContainer
+
+
+  GEnum
+   +----ParoleState
+
-
+

Prerequisites

ParoleProviderPlayerIface requires GObject.

-
+

Signals

-  "state-changed"                                  : Run Last
-  "tag-message"                                    : Run Last
+  "state-changed"                                  : Run Last
+  "tag-message"                                    : Run Last
 
-
+

Description

The player interface that the plugins should use in order to, issue playback @@ -100,23 +102,23 @@ playback status.

-
+

Details

-
-

ParoleProviderPlayerIface

-
typedef struct _ParoleProviderPlayerIface ParoleProviderPlayerIface;
+
+

struct ParoleProviderPlayerIface

+
struct ParoleProviderPlayerIface;


-
+

ParoleProviderPlayer

typedef struct _ParoleProviderPlayer ParoleProviderPlayer;


-
+

enum ParolePluginContainer

typedef enum
 {
@@ -128,7 +130,7 @@
 


-
+

enum ParoleState

typedef enum
 {
@@ -143,319 +145,303 @@
 


-
+

parole_provider_player_get_main_window ()

GtkWidget *         parole_provider_player_get_main_window
-                                                        (ParoleProviderPlayer *player);
+ (ParoleProviderPlayer *player);

-Ask the Player to get the Parole main window.

+Ask the Player to get the Parole main window. +

- - +

player :

a ParoleProviderPlayer +a ParoleProviderPlayer

Returns :

GtkWidget window. - - +GtkWidget window.

Since 0.2


-
+

parole_provider_player_pack ()

-
void                parole_provider_player_pack         (ParoleProviderPlayer *player,
-                                                         GtkWidget *widget,
-                                                         const gchar *title,
-                                                         ParolePluginContainer container);
+
void                parole_provider_player_pack         (ParoleProviderPlayer *player,
+                                                         GtkWidget *widget,
+                                                         const gchar *title,
+                                                         ParolePluginContainer container);

Ask the player to pack a widget in the playlist notebook if PAROLE_PLUGIN_CONTAINER_PLAYLIST is specified or in the main window notebook if PAROLE_PLUGIN_CONTAINER_MAIN_VIEW is specified.

This function can be called once, the Player is responsible on removing the widget in -case the plugin was unloaded.

+case the plugin was unloaded. +

- - + - + - +

player :

a ParoleProviderPlayer +a ParoleProviderPlayer

widget :

a GtkWidget. -a GtkWidget.

title :

title -title

container :

a ParolePluginContainer. -a ParolePluginContainer.

Since 0.2


-
+

parole_provider_player_get_state ()

-
ParoleState         parole_provider_player_get_state    (ParoleProviderPlayer *player);
+
ParoleState         parole_provider_player_get_state    (ParoleProviderPlayer *player);

-Get the current state of the player.

+Get the current state of the player. +

- - +

player :

a ParoleProviderPlayer +a ParoleProviderPlayer

Returns :

a ParoleState. - - -a ParoleState.

Since 0.2


-
+

parole_provider_player_get_stream ()

-
const ParoleStream * parole_provider_player_get_stream  (ParoleProviderPlayer *player);
+
const ParoleStream * parole_provider_player_get_stream  (ParoleProviderPlayer *player);

-Get the ParoleStream object.

+Get the ParoleStream object. +

- - +

player :

a ParoleProviderPlayer +a ParoleProviderPlayer

Returns :

the ParoleStream object. - -the ParoleStream object.

Since 0.2


-
+

parole_provider_player_play_uri ()

-
gboolean            parole_provider_player_play_uri     (ParoleProviderPlayer *player,
-                                                         const gchar *uri);
+
gboolean            parole_provider_player_play_uri     (ParoleProviderPlayer *player,
+                                                         const gchar *uri);

Issue a play command on the backend for the given uri, note this function can be called only of the Parole current state is PAROLE_STATE_STOPPED.

Returning TRUE doesn't mean that the funtion succeeded to change the state of the player, -the state change is indicated asynchronously by "state-changed" signal.

+the state change is indicated asynchronously by "state-changed" signal. +

- - + - +

player :

a ParoleProviderPlayer +a ParoleProviderPlayer

uri :

uri -uri

Returns :

TRUE if the command is processed, FALSE otherwise. - -TRUE if the command is processed, FALSE otherwise.

Since 0.2


-
+

parole_provider_player_pause ()

-
gboolean            parole_provider_player_pause        (ParoleProviderPlayer *player);
+
gboolean            parole_provider_player_pause        (ParoleProviderPlayer *player);

Issue a pause command to the backend, this function can be called when the state of the player is PAROLE_STATE_PLAYING.

Returning TRUE doesn't mean that the funtion succeeded to change the state of the player, -the state change is indicated asynchronously by "state-changed" signal.

+the state change is indicated asynchronously by "state-changed" signal. +

- - +

player :

a ParoleProviderPlayer +a ParoleProviderPlayer

Returns :

TRUE if the command is processed, FALSE otherwise. - - -TRUE if the command is processed, FALSE otherwise.

Since 0.2


-
+

parole_provider_player_resume ()

-
gboolean            parole_provider_player_resume       (ParoleProviderPlayer *player);
+
gboolean            parole_provider_player_resume       (ParoleProviderPlayer *player);

Issue a resume command to the player, this function can be called when the current state of the player is PAROLE_STATE_PAUSED.

Returning TRUE doesn't mean that the funtion succeeded to change the state of the player, -the state change is indicated asynchronously by "state-changed" signal.

+the state change is indicated asynchronously by "state-changed" signal. +

- - +

player :

a ParoleProviderPlayer +a ParoleProviderPlayer

Returns :

TRUE if the command is processed, FALSE otherwise. - - -TRUE if the command is processed, FALSE otherwise.

Since 0.2


-
+

parole_provider_player_stop ()

-
gboolean            parole_provider_player_stop         (ParoleProviderPlayer *player);
+
gboolean            parole_provider_player_stop         (ParoleProviderPlayer *player);

Issue a stop command to the player.

Returning TRUE doesn't mean that the funtion succeeded to change the state of the player, -the state change is indicated asynchronously by "state-changed" signal.

+the state change is indicated asynchronously by "state-changed" signal. +

- - +

player :

a ParoleProviderPlayer +a ParoleProviderPlayer

Returns :

TRUE if the command is processed, FALSE otherwise. - -TRUE if the command is processed, FALSE otherwise.

Since 0.2


-
+

parole_provider_player_seek ()

-
gboolean            parole_provider_player_seek         (ParoleProviderPlayer *player,
-                                                         gdouble pos);
+
gboolean            parole_provider_player_seek         (ParoleProviderPlayer *player,
+                                                         gdouble pos);

-Issue a seek command.

+Issue a seek command. +

- - + - +

player :

a ParoleProviderPlayer +a ParoleProviderPlayer

pos :

position to seek. -position to seek.

Returns :

TRUE if the seek command succeeded, FALSE otherwise. - - -TRUE if the seek command succeeded, FALSE otherwise.

Since 0.2


-
+

parole_provider_player_open_media_chooser ()

void                parole_provider_player_open_media_chooser
-                                                        (ParoleProviderPlayer *player);
+ (ParoleProviderPlayer *player);

-Ask Parole to open its media chooser dialog.

+Ask Parole to open its media chooser dialog. +

Since 0.2

-
+

Signal Details

-
+

The "state-changed" signal

-
void                user_function                      (ParoleProviderPlayerIface *player,
-                                                        ParoleStream              *stream,
-                                                        ParoleState                state,
-                                                        gpointer                   user_data)      : Run Last
+
void                user_function                      (ParoleProviderPlayerIface *player,
+                                                        ParoleStream              *stream,
+                                                        ParoleState                state,
+                                                        gpointer                   user_data)      : Run Last

-Issued when the Parole state changed.

+Issued when the Parole state changed. +

- + - + - + @@ -466,25 +452,24 @@

Since 0.2


-
+

The "tag-message" signal

-
void                user_function                      (ParoleProviderPlayerIface *player,
-                                                        ParoleStream              *stream,
-                                                        gpointer                   user_data)      : Run Last
+
void                user_function                      (ParoleProviderPlayerIface *player,
+                                                        ParoleStream              *stream,
+                                                        gpointer                   user_data)      : Run Last

-Indicated that the stream tags were found and ready to be read.

+Indicated that the stream tags were found and ready to be read. +

player :

the object which received the signal. -the object which received the signal.

stream :

a ParoleStream. -a ParoleStream.

state :

the new state. -the new state.

user_data :

- + - + @@ -498,6 +483,6 @@ + Generated by GTK-Doc V1.17 \ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-provider-plugin.html parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-provider-plugin.html --- parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-provider-plugin.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-provider-plugin.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ ParoleProviderPlugin - + - + - - - - - -

player :

the object which received the signal. -the object which received the signal.

stream :

a ParoleStream. -a ParoleStream.

user_data :

@@ -34,7 +28,7 @@ Object Hierarchy -
+
@@ -45,37 +39,37 @@
-
+

Object Hierarchy

   GInterface
    +----ParoleProviderPlugin
 
-
+

Description

The methods of this interface should be overridden by the plugin, the Parole player calls these methods to determine if the plugin is configurable, to ask the plugin to -open its configuration dialog or to set the ParoleProviderPlayer that the plugin +open its configuration dialog or to set the ParoleProviderPlayer that the plugin can use to get access to various functionalities of the player.

-
+

Details

-
-

ParoleProviderPluginIface

-
typedef struct {
+
+

struct ParoleProviderPluginIface

+
struct ParoleProviderPluginIface {
     GTypeInterface 	__parent__;
     
     gboolean	   	 (*get_is_configurable)			(ParoleProviderPlugin *provider);
@@ -85,87 +79,86 @@
 								 
     void		 (*set_player)				(ParoleProviderPlugin *provider,
 								 ParoleProviderPlayer *player);
-} ParoleProviderPluginIface;
+};
 


-
+

ParoleProviderPlugin

typedef struct _ParoleProviderPlugin ParoleProviderPlugin;


-
+

parole_provider_plugin_get_is_configurable ()

gboolean            parole_provider_plugin_get_is_configurable
-                                                        (ParoleProviderPlugin *provider);
+ (ParoleProviderPlugin *provider);

-Get if the plugin is configurable.

+Get if the plugin is configurable. +

- - +

provider :

a ParoleProviderPlugin +a ParoleProviderPlugin

Returns :

TRUE if the plugin is configurable, FALSE otherwise. - - -TRUE if the plugin is configurable, FALSE otherwise.

Since 0.2


-
+

parole_provider_plugin_configure ()

-
void                parole_provider_plugin_configure    (ParoleProviderPlugin *provider,
-                                                         GtkWidget *parent);
+
void                parole_provider_plugin_configure    (ParoleProviderPlugin *provider,
+                                                         GtkWidget *parent);

-Open the plugin configuration dialog

+Open the plugin configuration dialog +

- - +

provider :

a ParoleProviderPlugin +a ParoleProviderPlugin

parent :

a GtkWidget parent window -a GtkWidget parent window

Since 0.2


-
+

parole_provider_plugin_set_player ()

-
void                parole_provider_plugin_set_player   (ParoleProviderPlugin *provider,
-                                                         ParoleProviderPlayer *player);
+
void                parole_provider_plugin_set_player   (ParoleProviderPlugin *provider,
+                                                         ParoleProviderPlayer *player);

The player calls this method on the iface_init funtion implemented by the plugin -to set the ParoleProviderPlayer, don't take any reference of the Player.

+to set the ParoleProviderPlayer, don't take any reference of the Player. +

- - @@ -173,15 +166,15 @@

Since 0.2

- + Generated by GTK-Doc V1.17 \ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-stream.html parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-stream.html --- parole-0.2.0.2/docs/plugin-api/html/Parole-Plugins-parole-stream.html 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Parole-Plugins-parole-stream.html 2011-04-17 11:55:52.000000000 +0000 @@ -0,0 +1,335 @@ + + + + +ParoleStream + + + + + + + + + +

provider :

a ParoleProviderPlugin +a ParoleProviderPlugin

player :

a ParoleProviderPlayer +a ParoleProviderPlayer
+ + + + + + + + + +
+
+
+ + +
+

ParoleStream

+

ParoleStream — Currently playing stream.

+
+
+

Synopsis

+
enum                ParoleMediaType;
+struct              ParoleStream;
+
+
+
+

Object Hierarchy

+
+  GEnum
+   +----ParoleMediaType
+
+
+  GObject
+   +----ParoleStream
+
+
+
+

Properties

+
+  "absolute-duration"        gint64                : Read / Write
+  "album"                    gchar*                : Read / Write
+  "artist"                   gchar*                : Read / Write
+  "comment"                  gchar*                : Read / Write
+  "disp-par-d"               guint                 : Read / Write
+  "disp-par-n"               guint                 : Read / Write
+  "duration"                 gint64                : Read / Write
+  "has-audio"                gboolean              : Read / Write
+  "has-video"                gboolean              : Read / Write
+  "live"                     gboolean              : Read / Write
+  "media-type"               ParoleMediaType       : Read / Write
+  "num-tracks"               guint                 : Read / Write
+  "seekable"                 gboolean              : Read / Write
+  "subtitles"                gchar*                : Read / Write
+  "tag-available"            gboolean              : Read / Write
+  "title"                    gchar*                : Read / Write
+  "track"                    guint                 : Read / Write
+  "uri"                      gchar*                : Read / Write
+  "video-height"             gint                  : Read / Write
+  "video-width"              gint                  : Read / Write
+  "year"                     gchar*                : Read / Write
+
+
+
+

Description

+

+This object contains all the information describing the current processed stream +by Parole, this object is used with the callback function the "state-changed" +signal of the player, the plugin shouldn't take reference and all the properties are read-only for the plugins.s +

+
+
+

Details

+
+

enum ParoleMediaType

+
typedef enum
+{
+    PAROLE_MEDIA_TYPE_UNKNOWN,
+    PAROLE_MEDIA_TYPE_LOCAL_FILE,
+    PAROLE_MEDIA_TYPE_CDDA,
+    PAROLE_MEDIA_TYPE_VCD,
+    PAROLE_MEDIA_TYPE_SVCD,
+    PAROLE_MEDIA_TYPE_DVD,
+    PAROLE_MEDIA_TYPE_DVB,
+    PAROLE_MEDIA_TYPE_REMOTE
+    
+} ParoleMediaType;
+
+

+

+
+
+
+

struct ParoleStream

+
struct ParoleStream;
+

+

+
+
+
+

Property Details

+
+

The "absolute-duration" property

+
  "absolute-duration"        gint64                : Read / Write
+

Absolution duration.

+

Allowed values: >= 0

+

Default value: 0

+

Since 0.2

+
+
+
+

The "album" property

+
  "album"                    gchar*                : Read / Write
+

Album.

+

Default value: NULL

+

Since 0.2

+
+
+
+

The "artist" property

+
  "artist"                   gchar*                : Read / Write
+

Artist.

+

Default value: NULL

+

Since 0.2

+
+
+
+

The "comment" property

+
  "comment"                  gchar*                : Read / Write
+

+Extra comment block. +

+

Default value: NULL

+

Since 0.2

+
+
+
+

The "disp-par-d" property

+
  "disp-par-d"               guint                 : Read / Write
+

Disp par d.

+

Allowed values: >= 1

+

Default value: 1

+
+
+
+

The "disp-par-n" property

+
  "disp-par-n"               guint                 : Read / Write
+

Disp par n.

+

Allowed values: >= 1

+

Default value: 1

+

Since 0.2

+
+
+
+

The "duration" property

+
  "duration"                 gint64                : Read / Write
+

Duration.

+

Allowed values: >= 0

+

Default value: 0

+

Since 0.2

+
+
+
+

The "has-audio" property

+
  "has-audio"                gboolean              : Read / Write
+

+Whether the stream has audio. +

+

Default value: FALSE

+

Since 0.2

+
+
+
+

The "has-video" property

+
  "has-video"                gboolean              : Read / Write
+

+Whether the stream has video. +

+

Default value: FALSE

+

Since 0.2

+
+
+
+

The "live" property

+
  "live"                     gboolean              : Read / Write
+

+Whether the stream is a live stream. +

+

Default value: FALSE

+

Since 0.2

+
+
+
+

The "media-type" property

+
  "media-type"               ParoleMediaType       : Read / Write
+

+The media type. +

+

Default value: PAROLE_MEDIA_TYPE_UNKNOWN

+

Since 0.2

+
+
+
+

The "num-tracks" property

+
  "num-tracks"               guint                 : Read / Write
+

+Number of tracks in the cdda source, only valid if +ParoleStream:media-type: is PAROLE_MEDIA_TYPE_CDDA. +

+

Allowed values: [1,99]

+

Default value: 1

+

Since 0.2

+
+
+
+

The "seekable" property

+
  "seekable"                 gboolean              : Read / Write
+

+Whether the stream is seekable, for example live +streams are not seekable. +

+

Default value: FALSE

+

Since 0.2

+
+
+
+

The "subtitles" property

+
  "subtitles"                gchar*                : Read / Write
+

+Subtitles path, this is only valid if the property +"media-type" has the value PAROLE_MEDIA_TYPE_LOCAL_FILE. +

+

Default value: NULL

+

Since 0.2

+
+
+
+

The "tag-available" property

+
  "tag-available"            gboolean              : Read / Write
+

+Whether tags information are available on the current stream. +

+

Default value: FALSE

+

Since 0.2

+
+
+
+

The "title" property

+
  "title"                    gchar*                : Read / Write
+

Title.

+

Default value: NULL

+

Since 0.2

+
+
+
+

The "track" property

+
  "track"                    guint                 : Read / Write
+

+Currently playing track, this is only valid if +"media-type": is PAROLE_MEDIA_TYPE_CDDA. +

+

Allowed values: [1,99]

+

Default value: 1

+

Since 0.2

+
+
+
+

The "uri" property

+
  "uri"                      gchar*                : Read / Write
+

+Currently loaded uri. +

+

Default value: NULL

+

Since 0.2

+
+
+
+

The "video-height" property

+
  "video-height"             gint                  : Read / Write
+

Video height.

+

Allowed values: >= 0

+

Default value: 0

+

Since 0.2

+
+
+
+

The "video-width" property

+
  "video-width"              gint                  : Read / Write
+

Video width.

+

Allowed values: >= 0

+

Default value: 0

+

Since 0.2

+
+
+
+

The "year" property

+
  "year"                     gchar*                : Read / Write
+

Year.

+

Default value: NULL

+

Since 0.2

+
+
+
+

See Also

+

+ParoleProviderPlayer +

+
+
+ + + \ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/parole-plugins-tut.html parole-0.2.0.6/docs/plugin-api/html/parole-plugins-tut.html --- parole-0.2.0.2/docs/plugin-api/html/parole-plugins-tut.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/parole-plugins-tut.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,19 +3,13 @@ Part II. Parole Plugin Tutorial - + - + - - - - - - @@ -25,7 +19,7 @@ -
+

Part II. Parole Plugin Tutorial

@@ -37,14 +31,14 @@ plugin.

- As a basics, the plugin needs to implement ParoleProviderPlugin + As a basics, the plugin needs to implement ParoleProviderPlugin interface, That is, the player use this interface to get if the plugin is configurable, to ask it to show - its properties dialog when needed, to set the ParoleProviderPlayer + its properties dialog when needed, to set the ParoleProviderPlayer interface used by plugins to access the the Parole player backend.

-
+

-Plugin structure.

+Plugin structure.
sample-plugin.c
  
@@ -169,6 +163,6 @@
 
+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/ParoleStream.html parole-0.2.0.6/docs/plugin-api/html/ParoleStream.html --- parole-0.2.0.2/docs/plugin-api/html/ParoleStream.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/ParoleStream.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,326 +0,0 @@ - - - - -ParoleStream - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

ParoleStream

-

ParoleStream — Currently playing stream.

-
-
-

Synopsis

-
enum                ParoleMediaType;
-                    ParoleStream;
-
-
-
-

Object Hierarchy

-
-  GObject
-   +----ParoleStream
-
-
-
-

Properties

-
-  "absolute-duration"        gint64                : Read / Write
-  "album"                    gchar*                : Read / Write
-  "artist"                   gchar*                : Read / Write
-  "comment"                  gchar*                : Read / Write
-  "disp-par-d"               guint                 : Read / Write
-  "disp-par-n"               guint                 : Read / Write
-  "duration"                 gint64                : Read / Write
-  "has-audio"                gboolean              : Read / Write
-  "has-video"                gboolean              : Read / Write
-  "live"                     gboolean              : Read / Write
-  "media-type"               ParoleMediaType       : Read / Write
-  "num-tracks"               guint                 : Read / Write
-  "seekable"                 gboolean              : Read / Write
-  "subtitles"                gchar*                : Read / Write
-  "tag-available"            gboolean              : Read / Write
-  "title"                    gchar*                : Read / Write
-  "track"                    guint                 : Read / Write
-  "uri"                      gchar*                : Read / Write
-  "video-height"             gint                  : Read / Write
-  "video-width"              gint                  : Read / Write
-  "year"                     gchar*                : Read / Write
-
-
-
-

Description

-

-This object contains all the information describing the current processed stream -by Parole, this object is used with the callback function the "state-changed" -signal of the player, the plugin shouldn't take reference and all the properties are read-only for the plugins.s -

-
-
-

Details

-
-

enum ParoleMediaType

-
typedef enum
-{
-    PAROLE_MEDIA_TYPE_UNKNOWN,
-    PAROLE_MEDIA_TYPE_LOCAL_FILE,
-    PAROLE_MEDIA_TYPE_CDDA,
-    PAROLE_MEDIA_TYPE_VCD,
-    PAROLE_MEDIA_TYPE_SVCD,
-    PAROLE_MEDIA_TYPE_DVD,
-    PAROLE_MEDIA_TYPE_DVB,
-    PAROLE_MEDIA_TYPE_REMOTE
-    
-} ParoleMediaType;
-
-

-

-
-
-
-

ParoleStream

-
typedef struct _ParoleStream ParoleStream;
-

-

-
-
-
-

Property Details

-
-

The "absolute-duration" property

-
  "absolute-duration"        gint64                : Read / Write
-

Absolution duration.

-

Allowed values: >= 0

-

Default value: 0

-

Since 0.2

-
-
-
-

The "album" property

-
  "album"                    gchar*                : Read / Write
-

Album.

-

Default value: NULL

-

Since 0.2

-
-
-
-

The "artist" property

-
  "artist"                   gchar*                : Read / Write
-

Artist.

-

Default value: NULL

-

Since 0.2

-
-
-
-

The "comment" property

-
  "comment"                  gchar*                : Read / Write
-

-Extra comment block.

-

Default value: NULL

-

Since 0.2

-
-
-
-

The "disp-par-d" property

-
  "disp-par-d"               guint                 : Read / Write
-

Disp par d.

-

Allowed values: >= 1

-

Default value: 1

-
-
-
-

The "disp-par-n" property

-
  "disp-par-n"               guint                 : Read / Write
-

Disp par n.

-

Allowed values: >= 1

-

Default value: 1

-

Since 0.2

-
-
-
-

The "duration" property

-
  "duration"                 gint64                : Read / Write
-

Duration.

-

Allowed values: >= 0

-

Default value: 0

-

Since 0.2

-
-
-
-

The "has-audio" property

-
  "has-audio"                gboolean              : Read / Write
-

-Whether the stream has audio.

-

Default value: FALSE

-

Since 0.2

-
-
-
-

The "has-video" property

-
  "has-video"                gboolean              : Read / Write
-

-Whether the stream has video.

-

Default value: FALSE

-

Since 0.2

-
-
-
-

The "live" property

-
  "live"                     gboolean              : Read / Write
-

-Whether the stream is a live stream.

-

Default value: FALSE

-

Since 0.2

-
-
-
-

The "media-type" property

-
  "media-type"               ParoleMediaType       : Read / Write
-

-The media type.

-

Default value: PAROLE_MEDIA_TYPE_UNKNOWN

-

Since 0.2

-
-
-
-

The "num-tracks" property

-
  "num-tracks"               guint                 : Read / Write
-

-Number of tracks in the cdda source, only valid if -ParoleStream:media-type: is PAROLE_MEDIA_TYPE_CDDA.

-

Allowed values: [1,99]

-

Default value: 1

-

Since 0.2

-
-
-
-

The "seekable" property

-
  "seekable"                 gboolean              : Read / Write
-

-Whether the stream is seekable, for example live -streams are not seekable.

-

Default value: FALSE

-

Since 0.2

-
-
-
-

The "subtitles" property

-
  "subtitles"                gchar*                : Read / Write
-

-Subtitles path, this is only valid if the property -"media-type" has the value PAROLE_MEDIA_TYPE_LOCAL_FILE.

-

Default value: NULL

-

Since 0.2

-
-
-
-

The "tag-available" property

-
  "tag-available"            gboolean              : Read / Write
-

-Whether tags information are available on the current stream.

-

Default value: FALSE

-

Since 0.2

-
-
-
-

The "title" property

-
  "title"                    gchar*                : Read / Write
-

Title.

-

Default value: NULL

-

Since 0.2

-
-
-
-

The "track" property

-
  "track"                    guint                 : Read / Write
-

-Currently playing track, this is only valid if -"media-type": is PAROLE_MEDIA_TYPE_CDDA.

-

Allowed values: [1,99]

-

Default value: 1

-

Since 0.2

-
-
-
-

The "uri" property

-
  "uri"                      gchar*                : Read / Write
-

-Currently loaded uri.

-

Default value: NULL

-

Since 0.2

-
-
-
-

The "video-height" property

-
  "video-height"             gint                  : Read / Write
-

Video height.

-

Allowed values: >= 0

-

Default value: 0

-

Since 0.2

-
-
-
-

The "video-width" property

-
  "video-width"              gint                  : Read / Write
-

Video width.

-

Allowed values: >= 0

-

Default value: 0

-

Since 0.2

-
-
-
-

The "year" property

-
  "year"                     gchar*                : Read / Write
-

Year.

-

Default value: NULL

-

Since 0.2

-
-
-
-

See Also

-

-ParoleProviderPlayer -

-
-
- - - \ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/html/style.css parole-0.2.0.6/docs/plugin-api/html/style.css --- parole-0.2.0.2/docs/plugin-api/html/style.css 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/style.css 2011-04-17 11:55:51.000000000 +0000 @@ -32,8 +32,9 @@ /* this is needed so that the local anchors are displayed below the naviagtion */ div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] { + display: inline-block; position: relative; - padding-top:4.5em; + top:-5em; } /* this seems to be a bug in the xsl style sheets when generating indexes */ div.index div.index @@ -209,21 +210,29 @@ font-weight: normal; } +.annotation +{ + /* tango:aluminium 5 */ + color: #555753; + font-size: 80%; + font-weight: normal; +} + /* code listings */ -.programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ -.programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ -.programlisting .function { color: #000000; font-weight: bold; } -.programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ -.programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ -.programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ -.programlisting .normal { color: #000000; } -.programlisting .number { color: #75507b; } /* tango: plum 2 */ -.programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ -.programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ -.programlisting .type { color: #000000; } -.programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ -.programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ +.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ +.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ +.listing_code .programlisting .function { color: #000000; font-weight: bold; } +.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ +.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ +.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ +.listing_code .programlisting .normal { color: #000000; } +.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ +.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ +.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ +.listing_code .programlisting .type { color: #000000; } +.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ +.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ .listing_frame { /* tango:sky blue 1 */ diff -Nru parole-0.2.0.2/docs/plugin-api/html/Utils.html parole-0.2.0.6/docs/plugin-api/html/Utils.html --- parole-0.2.0.2/docs/plugin-api/html/Utils.html 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/html/Utils.html 2011-04-17 11:55:52.000000000 +0000 @@ -3,29 +3,23 @@ Part V. Parole Utilities - + - + - + - - - - - - - + -
+

Part V. Parole Utilities

@@ -48,6 +42,6 @@
+ Generated by GTK-Doc V1.17
\ No newline at end of file diff -Nru parole-0.2.0.2/docs/plugin-api/Makefile.in parole-0.2.0.6/docs/plugin-api/Makefile.in --- parole-0.2.0.2/docs/plugin-api/Makefile.in 2010-01-25 11:47:26.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/Makefile.in 2011-04-17 11:54:31.000000000 +0000 @@ -68,7 +68,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -92,6 +91,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -181,6 +181,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -206,6 +207,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -229,6 +232,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -262,7 +266,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -371,16 +374,17 @@ # @ENABLE_GTK_DOC_TRUE@GPATH = $(srcdir) @ENABLE_GTK_DOC_TRUE@TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) +@ENABLE_GTK_DOC_TRUE@SETUP_FILES = \ +@ENABLE_GTK_DOC_TRUE@ $(content_files) \ +@ENABLE_GTK_DOC_TRUE@ $(DOC_MAIN_SGML_FILE) \ +@ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-sections.txt \ +@ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-overrides.txt + @ENABLE_GTK_DOC_FALSE@EXTRA_DIST = version.xml.in -@ENABLE_GTK_DOC_TRUE@EXTRA_DIST = $(content_files) $(HTML_IMAGES) \ -@ENABLE_GTK_DOC_TRUE@ $(DOC_MAIN_SGML_FILE) \ -@ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-sections.txt \ -@ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-overrides.txt \ -@ENABLE_GTK_DOC_TRUE@ version.xml.in -@ENABLE_GTK_DOC_TRUE@DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ -@ENABLE_GTK_DOC_TRUE@ pdf-build.stamp \ -@ENABLE_GTK_DOC_TRUE@ $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp \ -@ENABLE_GTK_DOC_TRUE@ $(srcdir)/pdf.stamp +@ENABLE_GTK_DOC_TRUE@EXTRA_DIST = $(SETUP_FILES) version.xml.in +@ENABLE_GTK_DOC_TRUE@DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \ +@ENABLE_GTK_DOC_TRUE@ html-build.stamp pdf-build.stamp \ +@ENABLE_GTK_DOC_TRUE@ setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp @ENABLE_GTK_DOC_TRUE@SCANOBJ_FILES = \ @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE).args \ @@ -608,17 +612,38 @@ @ENABLE_GTK_DOC_TRUE@$(REPORT_FILES): sgml-build.stamp +#### setup #### + +@ENABLE_GTK_DOC_TRUE@setup-build.stamp: +@ENABLE_GTK_DOC_TRUE@ -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ +@ENABLE_GTK_DOC_TRUE@ echo 'gtk-doc: Preparing build'; \ +@ENABLE_GTK_DOC_TRUE@ files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \ +@ENABLE_GTK_DOC_TRUE@ if test "x$$files" != "x" ; then \ +@ENABLE_GTK_DOC_TRUE@ for file in $$files ; do \ +@ENABLE_GTK_DOC_TRUE@ test -f $(abs_srcdir)/$$file && \ +@ENABLE_GTK_DOC_TRUE@ cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \ +@ENABLE_GTK_DOC_TRUE@ done \ +@ENABLE_GTK_DOC_TRUE@ fi; \ +@ENABLE_GTK_DOC_TRUE@ test -f $(abs_srcdir)/tmpl && \ +@ENABLE_GTK_DOC_TRUE@ cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \ +@ENABLE_GTK_DOC_TRUE@ fi +@ENABLE_GTK_DOC_TRUE@ @touch setup-build.stamp + +@ENABLE_GTK_DOC_TRUE@setup.stamp: setup-build.stamp +@ENABLE_GTK_DOC_TRUE@ @true + #### scan #### @ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Scanning header files' -@ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir) -@ENABLE_GTK_DOC_TRUE@ @cd $(srcdir) && \ -@ENABLE_GTK_DOC_TRUE@ gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) -@ENABLE_GTK_DOC_TRUE@ @if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ -@ENABLE_GTK_DOC_TRUE@ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ +@ENABLE_GTK_DOC_TRUE@ @_source_dir='' ; \ +@ENABLE_GTK_DOC_TRUE@ for i in $(DOC_SOURCE_DIR) ; do \ +@ENABLE_GTK_DOC_TRUE@ _source_dir="$${_source_dir} --source-dir=$$i" ; \ +@ENABLE_GTK_DOC_TRUE@ done ; \ +@ENABLE_GTK_DOC_TRUE@ gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) +@ENABLE_GTK_DOC_TRUE@ @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ +@ENABLE_GTK_DOC_TRUE@ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \ @ENABLE_GTK_DOC_TRUE@ else \ -@ENABLE_GTK_DOC_TRUE@ cd $(srcdir) ; \ @ENABLE_GTK_DOC_TRUE@ for i in $(SCANOBJ_FILES) ; do \ @ENABLE_GTK_DOC_TRUE@ test -f $$i || touch $$i ; \ @ENABLE_GTK_DOC_TRUE@ done \ @@ -630,10 +655,14 @@ #### templates #### -@ENABLE_GTK_DOC_TRUE@tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt +@ENABLE_GTK_DOC_TRUE@tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Rebuilding template files' -@ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir) -@ENABLE_GTK_DOC_TRUE@ @cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) +@ENABLE_GTK_DOC_TRUE@ @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) +@ENABLE_GTK_DOC_TRUE@ @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ +@ENABLE_GTK_DOC_TRUE@ if test -w $(abs_srcdir) ; then \ +@ENABLE_GTK_DOC_TRUE@ cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \ +@ENABLE_GTK_DOC_TRUE@ fi \ +@ENABLE_GTK_DOC_TRUE@ fi @ENABLE_GTK_DOC_TRUE@ @touch tmpl-build.stamp @ENABLE_GTK_DOC_TRUE@tmpl.stamp: tmpl-build.stamp @@ -647,8 +676,11 @@ @ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files) @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Building XML' @ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir) -@ENABLE_GTK_DOC_TRUE@ @cd $(srcdir) && \ -@ENABLE_GTK_DOC_TRUE@ gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) +@ENABLE_GTK_DOC_TRUE@ @_source_dir='' ; \ +@ENABLE_GTK_DOC_TRUE@ for i in $(DOC_SOURCE_DIR) ; do \ +@ENABLE_GTK_DOC_TRUE@ _source_dir="$${_source_dir} --source-dir=$$i" ; \ +@ENABLE_GTK_DOC_TRUE@ done ; \ +@ENABLE_GTK_DOC_TRUE@ gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) @ENABLE_GTK_DOC_TRUE@ @touch sgml-build.stamp @ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp @@ -658,26 +690,32 @@ @ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Building HTML' -@ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir) -@ENABLE_GTK_DOC_TRUE@ @rm -rf $(srcdir)/html -@ENABLE_GTK_DOC_TRUE@ @mkdir $(srcdir)/html +@ENABLE_GTK_DOC_TRUE@ @rm -rf html +@ENABLE_GTK_DOC_TRUE@ @mkdir html @ENABLE_GTK_DOC_TRUE@ @mkhtml_options=""; \ @ENABLE_GTK_DOC_TRUE@ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ @ENABLE_GTK_DOC_TRUE@ if test "$(?)" = "0"; then \ -@ENABLE_GTK_DOC_TRUE@ mkhtml_options=--path="$(srcdir)"; \ +@ENABLE_GTK_DOC_TRUE@ mkhtml_options=--path="$(abs_srcdir)"; \ @ENABLE_GTK_DOC_TRUE@ fi; \ -@ENABLE_GTK_DOC_TRUE@ cd $(srcdir)/html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) -@ENABLE_GTK_DOC_TRUE@ @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) +@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) +@ENABLE_GTK_DOC_TRUE@ -@test "x$(HTML_IMAGES)" = "x" || \ +@ENABLE_GTK_DOC_TRUE@ for file in $(HTML_IMAGES) ; do \ +@ENABLE_GTK_DOC_TRUE@ if test -f $(abs_srcdir)/$$file ; then \ +@ENABLE_GTK_DOC_TRUE@ cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ +@ENABLE_GTK_DOC_TRUE@ fi; \ +@ENABLE_GTK_DOC_TRUE@ if test -f $(abs_builddir)/$$file ; then \ +@ENABLE_GTK_DOC_TRUE@ cp $(abs_builddir)/$$file $(abs_builddir)/html; \ +@ENABLE_GTK_DOC_TRUE@ fi; \ +@ENABLE_GTK_DOC_TRUE@ done; @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Fixing cross-references' -@ENABLE_GTK_DOC_TRUE@ @cd $(srcdir) && gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) +@ENABLE_GTK_DOC_TRUE@ @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) @ENABLE_GTK_DOC_TRUE@ @touch html-build.stamp #### pdf #### @ENABLE_GTK_DOC_TRUE@pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Building PDF' -@ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir) -@ENABLE_GTK_DOC_TRUE@ @rm -rf $(srcdir)/$(DOC_MODULE).pdf +@ENABLE_GTK_DOC_TRUE@ @rm -rf $(DOC_MODULE).pdf @ENABLE_GTK_DOC_TRUE@ @mkpdf_imgdirs=""; \ @ENABLE_GTK_DOC_TRUE@ if test "x$(HTML_IMAGES)" != "x"; then \ @ENABLE_GTK_DOC_TRUE@ for img in $(HTML_IMAGES); do \ @@ -688,7 +726,7 @@ @ENABLE_GTK_DOC_TRUE@ fi; \ @ENABLE_GTK_DOC_TRUE@ done; \ @ENABLE_GTK_DOC_TRUE@ fi; \ -@ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) +@ENABLE_GTK_DOC_TRUE@ gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) @ENABLE_GTK_DOC_TRUE@ @touch pdf-build.stamp ############## @@ -698,12 +736,15 @@ @ENABLE_GTK_DOC_TRUE@ rm -rf .libs @ENABLE_GTK_DOC_TRUE@distclean-local: -@ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && \ -@ENABLE_GTK_DOC_TRUE@ rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \ -@ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt +@ENABLE_GTK_DOC_TRUE@ rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ +@ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt +@ENABLE_GTK_DOC_TRUE@ if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ +@ENABLE_GTK_DOC_TRUE@ rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \ +@ENABLE_GTK_DOC_TRUE@ rm -rf tmpl; \ +@ENABLE_GTK_DOC_TRUE@ fi @ENABLE_GTK_DOC_TRUE@maintainer-clean-local: clean -@ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && rm -rf xml html +@ENABLE_GTK_DOC_TRUE@ rm -rf xml html @ENABLE_GTK_DOC_TRUE@install-data-local: @ENABLE_GTK_DOC_TRUE@ @installfiles=`echo $(srcdir)/html/*`; \ @@ -748,11 +789,11 @@ @ENABLE_GTK_DOC_TRUE@dist-hook: dist-check-gtkdoc dist-hook-local @ENABLE_GTK_DOC_TRUE@ mkdir $(distdir)/tmpl @ENABLE_GTK_DOC_TRUE@ mkdir $(distdir)/html -@ENABLE_GTK_DOC_TRUE@ -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl -@ENABLE_GTK_DOC_TRUE@ cp $(srcdir)/html/* $(distdir)/html -@ENABLE_GTK_DOC_TRUE@ -cp $(srcdir)/$(DOC_MODULE).pdf $(distdir)/ -@ENABLE_GTK_DOC_TRUE@ -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ -@ENABLE_GTK_DOC_TRUE@ -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ +@ENABLE_GTK_DOC_TRUE@ -cp $(build)/tmpl/*.sgml $(distdir)/tmpl +@ENABLE_GTK_DOC_TRUE@ cp $(builddir)/html/* $(distdir)/html +@ENABLE_GTK_DOC_TRUE@ -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/ +@ENABLE_GTK_DOC_TRUE@ -cp $(build)/$(DOC_MODULE).types $(distdir)/ +@ENABLE_GTK_DOC_TRUE@ -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/ @ENABLE_GTK_DOC_TRUE@ cd $(distdir) && rm -f $(DISTCLEANFILES) @ENABLE_GTK_DOC_TRUE@ $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html diff -Nru parole-0.2.0.2/docs/plugin-api/Parole-Plugins.types parole-0.2.0.6/docs/plugin-api/Parole-Plugins.types --- parole-0.2.0.2/docs/plugin-api/Parole-Plugins.types 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/Parole-Plugins.types 1970-01-01 00:00:00.000000000 +0000 @@ -1,8 +0,0 @@ -parole_file_get_type -parole_media_type_get_type -parole_pl_format_get_type -parole_plugin_container_get_type -parole_provider_player_get_type -parole_provider_plugin_get_type -parole_state_get_type -parole_stream_get_type diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/parole-debug.sgml parole-0.2.0.6/docs/plugin-api/tmpl/parole-debug.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/parole-debug.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/parole-debug.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,66 +0,0 @@ - -Parole Debug - - - - - - - - - - - - - - - - - - - - - - -@_text: -@_value: -@_type: - - - - - - - -@_value: -@_type: -@...: - - - - - - - -@func: -@file: -@line: -@text: -@v_enum: -@type: - - - - - - - -@func: -@file: -@line: -@v_enum: -@type: -@format: -@Varargs: - - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/parole-enum-types.sgml parole-0.2.0.6/docs/plugin-api/tmpl/parole-enum-types.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/parole-enum-types.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/parole-enum-types.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,79 +0,0 @@ - -parole-enum-types - - - - - - - - - - - - - - - - - - - - - - -@Returns: - - - - - - - - - - - - - - -@Returns: - - - - - - - - - - - - - - -@Returns: - - - - - - - - - - - - - - -@Returns: - - - - - - - - - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/parole-file.sgml parole-0.2.0.6/docs/plugin-api/tmpl/parole-file.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/parole-file.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/parole-file.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,100 +0,0 @@ - -ParoleFile - - -Simple file handling. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@filename: -@Returns: - - - - - - - -@filename: -@display_name: -@Returns: - - - - - - - -@file: -@Returns: - - - - - - - -@file: -@Returns: - - - - - - - -@file: -@Returns: - - - - - - - -@file: -@Returns: - - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/parole-filters.sgml parole-0.2.0.6/docs/plugin-api/tmpl/parole-filters.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/parole-filters.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/parole-filters.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,69 +0,0 @@ - -Parole Filters - - - - - - - - - - - - - - - - - - - - - - -@Returns: - - - - - - - -@Returns: - - - - - - - -@Returns: - - - - - - - -@Returns: - - - - - - - -@Returns: - - - - - - - -@filter: -@file: -@Returns: - - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/parole-marshal.sgml parole-0.2.0.6/docs/plugin-api/tmpl/parole-marshal.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/parole-marshal.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/parole-marshal.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,58 +0,0 @@ - -parole-marshal - - - - - - - - - - - - - - - - - - - - - - -@closure: -@return_value: -@n_param_values: -@param_values: -@invocation_hint: -@marshal_data: - - - - - - - -@closure: -@return_value: -@n_param_values: -@param_values: -@invocation_hint: -@marshal_data: - - - - - - - -@closure: -@return_value: -@n_param_values: -@param_values: -@invocation_hint: -@marshal_data: - - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/parole-pl-parser.sgml parole-0.2.0.6/docs/plugin-api/tmpl/parole-pl-parser.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/parole-pl-parser.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/parole-pl-parser.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,87 +0,0 @@ - -Parole Playlist Parser - - - - - - - - - - - - - - - - - - - - - - -@PAROLE_PL_FORMAT_UNKNOWN: -@PAROLE_PL_FORMAT_M3U: -@PAROLE_PL_FORMAT_PLS: -@PAROLE_PL_FORMAT_ASX: -@PAROLE_PL_FORMAT_XSPF: - - - - - - -@filename: -@Returns: - - - - - - - -@filename: -@Returns: - - - - - - - -@data: -@len: -@Returns: - - - - - - - -@filename: -@Returns: - - - - - - - -@filename: -@Returns: - - - - - - - -@files: -@filename: -@format: -@Returns: - - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/Parole-Plugins-unused.sgml parole-0.2.0.6/docs/plugin-api/tmpl/Parole-Plugins-unused.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/Parole-Plugins-unused.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/Parole-Plugins-unused.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - -Parole Plugin Tutorial - - - This section explains the steps required to write a plugin for Parole using - the C language interface. - - - - A simple example can be found in the parole plugins dir shipped with the source code, the sample - plugin. - - - As a basics, the plugin needs to implement ParoleProviderPlugin - interface, That is, the player use this interface to get if the plugin is configurable, to ask it to show - its properties dialog when needed, to set the ParoleProviderPlayer - interface used by plugins to access the the Parole player backend. - - - - Plugin structure. - sample-plugin.c - - -#include "sample-provider.h" - -/* Avoid a no previous function declaration compiler warning*/ -G_MODULE_EXPORT GType parole_plugin_initialize (ParoleProviderPlugin *plugin); -G_MODULE_EXPORT void parole_plugin_shutdown (void); - -G_MODULE_EXPORT GType -parole_plugin_initialize (ParoleProviderPlugin *plugin) -{ - xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8"); - sample_provider_register_type (plugin); - return SAMPLE_TYPE_PROVIDER; -} - -G_MODULE_EXPORT void -parole_plugin_shutdown (void) -{ - -} - - - sample-provider.h - -#ifndef SAMPLE_PROVIDER_H_ -#define SAMPLE_PROVIDER_H_ - -#include <parole/parole.h> - -G_BEGIN_DECLS - -typedef struct _SampleProviderClass SampleProviderClass; -typedef struct _SampleProvider SampleProvider; - -#define SAMPLE_TYPE_PROVIDER (sample_provider_get_type ()) -#define SAMPLE_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SAMPLE_TYPE_PROVIDER, SampleProvider)) -#define SAMPLE_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SAMPLE_TYPE_PROVIDER, SampleProviderClass)) -#define SAMPLE_IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SAMPLE_TYPE_PROVIDER)) -#define SAMPLE_IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SAMPLE_TYPE_PROVIDER)) -#define SAMPLE_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SAMPLE_TYPE_PROVIDER, SampleProviderClass)) - -GType sample_provider_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL; - -void sample_provider_register_type (ParoleProviderPlugin *plugin); - -G_END_DECLS - - - sample-provider.c - - -#include "sample-provider.h" - -static void sample_provider_iface_init (ParoleProviderPluginIface *iface); -static void sample_provider_finalize (GObject *object); - - -struct _SampleProviderClass -{ - GObjectClass parent_class; -}; - -struct _SampleProvider -{ - GObject parent; - ParoleProviderPlayer *player; -}; - -PAROLE_DEFINE_TYPE_WITH_CODE (SampleProvider, - sample_provider, - G_TYPE_OBJECT, - PAROLE_IMPLEMENT_INTERFACE (PAROLE_TYPE_PROVIDER_PLUGIN, - sample_provider_iface_init)); - -static void sample_provider_configure (ParoleProviderPlugin *provider, GtkWidget *parent) -{ - /*Open the configuration dialog, parent is the window transient for*/ -} - -static gboolean sample_provider_is_configurable (ParoleProviderPlugin *plugin) -{ - return TRUE; /*Returns FALSE and don't override the iface->configure function*/ -} - -static void -sample_provider_set_player (ParoleProviderPlugin *plugin, ParoleProviderPlayer *player) -{ - SampleProvider *provider; - provider = SAMPLE_PROVIDER (plugin); - - provider->player = player; -} - -static void -sample_provider_iface_init (ParoleProviderPluginIface *iface) -{ - iface->get_is_configurable = sample_provider_is_configurable; - iface->configure = sample_provider_configure; - iface->set_player = sample_provider_set_player; -} - -static void sample_provider_class_init (SampleProviderClass *klass) -{ - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - - gobject_class->finalize = sample_provider_finalize; -} - -static void sample_provider_init (SampleProvider *provider) -{ - provider->player = NULL; -} - -static void sample_provider_finalize (GObject *object) -{ - G_OBJECT_CLASS (sample_provider_parent_class)->finalize (object); -} - - - - - - - - - - - - -@o: - - - - - - -@o: - - - - - - -@PAROLE_FILE_UNKNOWN: -@PAROLE_FILE_AUDIO: -@PAROLE_FILE_VIDEO: -@PAROLE_FILE_PLAYLIST: - - - - - - -@file: -@Returns: - - - - - - -@stream: - - - - - - -@Returns: - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/parole-provider-player.sgml parole-0.2.0.6/docs/plugin-api/tmpl/parole-provider-player.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/parole-provider-player.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/parole-provider-player.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,161 +0,0 @@ - -ParoleProviderPlayer - - -The interface of the player. - - - -The player interface that the plugins should use in order to, issue playback -commands to the Parole GStreamer backend or to get information about the current -playback status. - - - - - - - - - - - - - - - - - - - - - -@paroleproviderplayeriface: the object which received the signal. -@arg1: -@arg2: - - - - - - -@paroleproviderplayeriface: the object which received the signal. -@arg1: - - - - - - - - - - - - -@PAROLE_PLUGIN_CONTAINER_PLAYLIST: -@PAROLE_PLUGIN_CONTAINER_MAIN_VIEW: - - - - - - -@PAROLE_STATE_STOPPED: -@PAROLE_STATE_PLAYBACK_FINISHED: -@PAROLE_STATE_PAUSED: -@PAROLE_STATE_PLAYING: - - - - - - -@player: -@Returns: - - - - - - - -@player: -@widget: -@title: -@container: - - - - - - - -@player: -@Returns: - - - - - - - -@player: -@Returns: - - - - - - - -@player: -@uri: -@Returns: - - - - - - - -@player: -@Returns: - - - - - - - -@player: -@Returns: - - - - - - - -@player: -@Returns: - - - - - - - -@player: -@pos: -@Returns: - - - - - - - -@player: - - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/parole-provider-plugin.sgml parole-0.2.0.6/docs/plugin-api/tmpl/parole-provider-plugin.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/parole-provider-plugin.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/parole-provider-plugin.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,65 +0,0 @@ - -ParoleProviderPlugin - - -The interface of the plugin type registration. - - - -The methods of this interface should be overridden by the plugin, the Parole player -calls these methods to determine if the plugin is configurable, to ask the plugin to -open its configuration dialog or to set the #ParoleProviderPlayer that the plugin -can use to get access to various functionalities of the player. - - - - -#ParoleProviderPlayer. - - - - - - - - - - -@__parent__: -@get_is_configurable: -@configure: -@set_player: - - - - - - - - - - - - -@provider: -@Returns: - - - - - - - -@provider: -@parent: - - - - - - - -@provider: -@player: - - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/parole.sgml parole-0.2.0.6/docs/plugin-api/tmpl/parole.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/parole.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/parole.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,113 +0,0 @@ - -Parole - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@major: -@minor: -@micro: - - - - - - - -@TN: -@t_n: -@T_P: - - - - - - - -@TN: -@t_n: -@T_P: -@_f_: -@_C_: - - - - - - - -@TN: -@t_n: -@T_P: -@_C_: - - - - - - - -@TN: -@t_n: -@T_P: - - - - - - - -@TN: -@t_n: -@T_P: -@_C_: - - - - - - - -@TYPE_IFACE: -@iface_init: - - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/parole-stream.sgml parole-0.2.0.6/docs/plugin-api/tmpl/parole-stream.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/parole-stream.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/parole-stream.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,147 +0,0 @@ - -ParoleStream - - -Currently playing stream. - - - -This object contains all the information describing the current processed stream -by Parole, this object is used with the callback function the #ParoleProviderPlayerIface::state-changed -signal of the player, the plugin shouldn't take reference and all the properties are read-only for the plugins.s - - - - - -#ParoleProviderPlayer - - - - - - - - - - -@PAROLE_MEDIA_TYPE_UNKNOWN: -@PAROLE_MEDIA_TYPE_LOCAL_FILE: -@PAROLE_MEDIA_TYPE_CDDA: -@PAROLE_MEDIA_TYPE_VCD: -@PAROLE_MEDIA_TYPE_SVCD: -@PAROLE_MEDIA_TYPE_DVD: -@PAROLE_MEDIA_TYPE_DVB: -@PAROLE_MEDIA_TYPE_REMOTE: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -Nru parole-0.2.0.2/docs/plugin-api/tmpl/stamp-enum-types.sgml parole-0.2.0.6/docs/plugin-api/tmpl/stamp-enum-types.sgml --- parole-0.2.0.2/docs/plugin-api/tmpl/stamp-enum-types.sgml 2010-01-25 11:50:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/tmpl/stamp-enum-types.sgml 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ - -stamp-enum-types - - - - - - - - - - - - - - - - - diff -Nru parole-0.2.0.2/docs/plugin-api/version.xml parole-0.2.0.6/docs/plugin-api/version.xml --- parole-0.2.0.2/docs/plugin-api/version.xml 2010-01-25 11:47:37.000000000 +0000 +++ parole-0.2.0.6/docs/plugin-api/version.xml 2011-04-17 11:54:49.000000000 +0000 @@ -1 +1 @@ -0.2.0.2 +0.2.0.6 diff -Nru parole-0.2.0.2/gst/gst-enum-types.c parole-0.2.0.6/gst/gst-enum-types.c --- parole-0.2.0.2/gst/gst-enum-types.c 2010-01-25 11:48:09.000000000 +0000 +++ parole-0.2.0.6/gst/gst-enum-types.c 2011-04-17 11:55:01.000000000 +0000 @@ -1,5 +1,5 @@ -/* Generated data (by glib-mkenums) */ + #include "gst-enum-types.h" @@ -42,5 +42,5 @@ return etype; } -/* Generated data ends here */ + diff -Nru parole-0.2.0.2/gst/gst-enum-types.h parole-0.2.0.6/gst/gst-enum-types.h --- parole-0.2.0.2/gst/gst-enum-types.h 2010-01-25 11:23:15.000000000 +0000 +++ parole-0.2.0.6/gst/gst-enum-types.h 2011-04-17 11:55:01.000000000 +0000 @@ -1,5 +1,5 @@ -/* Generated data (by glib-mkenums) */ + #ifndef __GST_ENUM_TYPE_H__ #define __GST_ENUM_TYPE_H__ @@ -14,5 +14,5 @@ #endif /* __GST_ENUM_TYPE_H__ */ -/* Generated data ends here */ + diff -Nru parole-0.2.0.2/gst/gstmarshal.c parole-0.2.0.6/gst/gstmarshal.c --- parole-0.2.0.2/gst/gstmarshal.c 2010-01-25 11:23:15.000000000 +0000 +++ parole-0.2.0.6/gst/gstmarshal.c 2011-04-17 11:55:00.000000000 +0000 @@ -22,6 +22,7 @@ #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) #define g_marshal_value_peek_object(v) g_value_get_object (v) +#define g_marshal_value_peek_variant(v) g_value_get_variant (v) #else /* !G_ENABLE_DEBUG */ /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. * Do not access GValues directly in your code. Instead, use the @@ -45,6 +46,7 @@ #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer +#define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer #endif /* !G_ENABLE_DEBUG */ diff -Nru parole-0.2.0.2/gst/Makefile.in parole-0.2.0.6/gst/Makefile.in --- parole-0.2.0.2/gst/Makefile.in 2010-01-25 11:47:26.000000000 +0000 +++ parole-0.2.0.6/gst/Makefile.in 2011-04-17 11:54:31.000000000 +0000 @@ -100,7 +100,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -124,6 +123,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -213,6 +213,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -238,6 +239,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -261,6 +264,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -294,7 +298,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/gst/parole-gst.c parole-0.2.0.6/gst/parole-gst.c --- parole-0.2.0.2/gst/parole-gst.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/gst/parole-gst.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -33,6 +33,9 @@ #include +#ifdef XFCE_DISABLE_DEPRECATED +#undef XFCE_DISABLE_DEPRECATED +#endif #include #include @@ -47,6 +50,8 @@ #include "gst-enum-types.h" #include "gstmarshal.h" + + #define HIDE_WINDOW_CURSOR_TIMEOUT 3.0f #define PAROLE_GST_GET_PRIVATE(o) \ @@ -560,6 +565,28 @@ g_free (path); } +static void +parole_gst_query_capabilities (ParoleGst *gst) +{ + GstQuery *query; + gboolean seekable; + + query = gst_query_new_seeking (GST_FORMAT_TIME); + + if ( gst_element_query (gst->priv->playbin, query) ) + { + gst_query_parse_seeking (query, + NULL, + &seekable, + NULL, + NULL); + g_object_set (G_OBJECT (gst->priv->stream), + "seekable", seekable, + NULL); + } + gst_query_unref (query); +} + static gboolean parole_gst_tick_timeout (gpointer data) { @@ -569,11 +596,16 @@ GstFormat format = GST_FORMAT_TIME; gint64 value; gboolean video; + gboolean seekable; + gint64 duration; + gst = PAROLE_GST (data); g_object_get (G_OBJECT (gst->priv->stream), "has-video", &video, + "seekable", &seekable, + "duration", &duration, NULL); gst_element_query_position (gst->priv->playbin, &format, &pos); @@ -583,6 +615,11 @@ if ( gst->priv->state == GST_STATE_PLAYING ) { + if (duration != 0 && seekable == FALSE) + { + parole_gst_query_capabilities (gst); + } + value = pos / GST_SECOND; if ( G_LIKELY (value > 0) ) @@ -615,28 +652,6 @@ } static void -parole_gst_query_capabilities (ParoleGst *gst) -{ - GstQuery *query; - gboolean seekable; - - query = gst_query_new_seeking (GST_FORMAT_TIME); - - if ( gst_element_query (gst->priv->playbin, query) ) - { - gst_query_parse_seeking (query, - NULL, - &seekable, - NULL, - NULL); - g_object_set (G_OBJECT (gst->priv->stream), - "seekable", seekable, - NULL); - } - gst_query_unref (query); -} - -static void parole_gst_query_duration (ParoleGst *gst) { gint64 absolute_duration = 0; @@ -655,7 +670,7 @@ duration = absolute_duration / GST_SECOND; live = ( absolute_duration == 0 ); - TRACE ("Duration %lld is_live=%d", duration, live); + TRACE ("Duration %" G_GINT64_FORMAT "is_live=%d", duration, live); g_object_set (G_OBJECT (gst->priv->stream), "absolute-duration", absolute_duration, @@ -2169,7 +2184,7 @@ if ( gst_element_query_position (gst->priv->playbin, &format, &pos) ) { - TRACE ("Pos %lld", pos); + TRACE ("Pos %" G_GINT64_FORMAT, pos); ret_val = (gint) pos; } diff -Nru parole-0.2.0.2/gst/parole-gst.h parole-0.2.0.6/gst/parole-gst.h --- parole-0.2.0.2/gst/parole-gst.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/gst/parole-gst.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/gst/parole-gst-iface.c parole-0.2.0.6/gst/parole-gst-iface.c --- parole-0.2.0.2/gst/parole-gst-iface.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/gst/parole-gst-iface.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/gst/parole-gst-iface.h parole-0.2.0.6/gst/parole-gst-iface.h --- parole-0.2.0.2/gst/parole-gst-iface.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/gst/parole-gst-iface.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/gtk-doc.make parole-0.2.0.6/gtk-doc.make --- parole-0.2.0.2/gtk-doc.make 2010-01-25 11:47:16.000000000 +0000 +++ parole-0.2.0.6/gtk-doc.make 2011-04-17 11:54:15.000000000 +0000 @@ -23,17 +23,18 @@ TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) -EXTRA_DIST = \ +SETUP_FILES = \ $(content_files) \ - $(HTML_IMAGES) \ $(DOC_MAIN_SGML_FILE) \ $(DOC_MODULE)-sections.txt \ $(DOC_MODULE)-overrides.txt -DOC_STAMPS=scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ - pdf-build.stamp \ - $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp \ - $(srcdir)/pdf.stamp +EXTRA_DIST = \ + $(SETUP_FILES) + +DOC_STAMPS=setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \ + html-build.stamp pdf-build.stamp \ + setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp SCANOBJ_FILES = \ $(DOC_MODULE).args \ @@ -70,17 +71,40 @@ $(REPORT_FILES): sgml-build.stamp +#### setup #### + +setup-build.stamp: + -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ + echo 'gtk-doc: Preparing build'; \ + files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \ + if test "x$$files" != "x" ; then \ + for file in $$files ; do \ + test -f $(abs_srcdir)/$$file && \ + cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \ + done \ + fi; \ + test -f $(abs_srcdir)/tmpl && \ + cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \ + fi + @touch setup-build.stamp + + +setup.stamp: setup-build.stamp + @true + + #### scan #### scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) @echo 'gtk-doc: Scanning header files' - @-chmod -R u+w $(srcdir) - @cd $(srcdir) && \ - gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) - @if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ - CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ + @_source_dir='' ; \ + for i in $(DOC_SOURCE_DIR) ; do \ + _source_dir="$${_source_dir} --source-dir=$$i" ; \ + done ; \ + gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) + @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ + CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \ else \ - cd $(srcdir) ; \ for i in $(SCANOBJ_FILES) ; do \ test -f $$i || touch $$i ; \ done \ @@ -92,10 +116,14 @@ #### templates #### -tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt +tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt @echo 'gtk-doc: Rebuilding template files' - @-chmod -R u+w $(srcdir) - @cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) + @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) + @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ + if test -w $(abs_srcdir) ; then \ + cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \ + fi \ + fi @touch tmpl-build.stamp tmpl.stamp: tmpl-build.stamp @@ -109,8 +137,11 @@ sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files) @echo 'gtk-doc: Building XML' @-chmod -R u+w $(srcdir) - @cd $(srcdir) && \ - gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) + @_source_dir='' ; \ + for i in $(DOC_SOURCE_DIR) ; do \ + _source_dir="$${_source_dir} --source-dir=$$i" ; \ + done ; \ + gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) @touch sgml-build.stamp sgml.stamp: sgml-build.stamp @@ -120,26 +151,32 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @echo 'gtk-doc: Building HTML' - @-chmod -R u+w $(srcdir) - @rm -rf $(srcdir)/html - @mkdir $(srcdir)/html + @rm -rf html + @mkdir html @mkhtml_options=""; \ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ if test "$(?)" = "0"; then \ - mkhtml_options=--path="$(srcdir)"; \ + mkhtml_options=--path="$(abs_srcdir)"; \ fi; \ - cd $(srcdir)/html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) - @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) + cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) + -@test "x$(HTML_IMAGES)" = "x" || \ + for file in $(HTML_IMAGES) ; do \ + if test -f $(abs_srcdir)/$$file ; then \ + cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ + fi; \ + if test -f $(abs_builddir)/$$file ; then \ + cp $(abs_builddir)/$$file $(abs_builddir)/html; \ + fi; \ + done; @echo 'gtk-doc: Fixing cross-references' - @cd $(srcdir) && gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) + @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) @touch html-build.stamp #### pdf #### pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @echo 'gtk-doc: Building PDF' - @-chmod -R u+w $(srcdir) - @rm -rf $(srcdir)/$(DOC_MODULE).pdf + @rm -rf $(DOC_MODULE).pdf @mkpdf_imgdirs=""; \ if test "x$(HTML_IMAGES)" != "x"; then \ for img in $(HTML_IMAGES); do \ @@ -150,7 +187,7 @@ fi; \ done; \ fi; \ - cd $(srcdir) && gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) + gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) @touch pdf-build.stamp ############## @@ -160,12 +197,15 @@ rm -rf .libs distclean-local: - cd $(srcdir) && \ - rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \ - $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt + rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ + $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt + if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ + rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \ + rm -rf tmpl; \ + fi maintainer-clean-local: clean - cd $(srcdir) && rm -rf xml html + rm -rf xml html install-data-local: @installfiles=`echo $(srcdir)/html/*`; \ @@ -213,11 +253,11 @@ dist-hook: dist-check-gtkdoc dist-hook-local mkdir $(distdir)/tmpl mkdir $(distdir)/html - -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl - cp $(srcdir)/html/* $(distdir)/html - -cp $(srcdir)/$(DOC_MODULE).pdf $(distdir)/ - -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ - -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ + -cp $(build)/tmpl/*.sgml $(distdir)/tmpl + cp $(builddir)/html/* $(distdir)/html + -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/ + -cp $(build)/$(DOC_MODULE).types $(distdir)/ + -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/ cd $(distdir) && rm -f $(DISTCLEANFILES) $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html diff -Nru parole-0.2.0.2/ltmain.sh parole-0.2.0.6/ltmain.sh --- parole-0.2.0.2/ltmain.sh 2010-01-25 11:47:16.000000000 +0000 +++ parole-0.2.0.6/ltmain.sh 2011-04-17 11:54:14.000000000 +0000 @@ -1,9 +1,9 @@ -# Generated from ltmain.m4sh. -# ltmain.sh (GNU libtool) 2.2.6b +# libtool (GNU libtool) 2.4 # Written by Gordon Matzigkeit , 1996 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, +# 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -32,50 +32,56 @@ # # 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 +# --config show all configuration variables +# --debug enable verbose shell tracing +# -n, --dry-run display commands without modifying any files +# --features display basic configuration information and exit +# --mode=MODE use operation mode MODE +# --preserve-dup-deps don't remove duplicate dependency libraries +# --quiet, --silent don't print informational messages +# --no-quiet, --no-silent +# print informational messages (default) +# --tag=TAG use configuration variables from tag TAG +# -v, --verbose print more informational messages than default +# --no-verbose don't print the extra informational messages +# --version print version information +# -h, --help, --help-all print short, long, or detailed help message # # MODE must be one of the following: # -# clean remove files from the build directory -# compile compile a source file into a libtool object -# execute automatically set library path, then run a program -# finish complete the installation of libtool libraries -# install install libraries or executables -# link create a library or an executable -# uninstall remove libraries from an installed directory +# 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. +# MODE-ARGS vary depending on the MODE. When passed as first option, +# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. # Try `$progname --help --mode=MODE' for a more detailed description of MODE. # # When reporting a bug, please describe a test case to reproduce it and # include the following information: # -# host-triplet: $host -# shell: $SHELL -# compiler: $LTCC -# compiler flags: $LTCFLAGS -# linker: $LD (gnu? $with_gnu_ld) -# $progname: (GNU libtool) 2.2.6b -# automake: $automake_version -# autoconf: $autoconf_version +# host-triplet: $host +# shell: $SHELL +# compiler: $LTCC +# compiler flags: $LTCFLAGS +# linker: $LD (gnu? $with_gnu_ld) +# $progname: (GNU libtool) 2.4 +# automake: $automake_version +# autoconf: $autoconf_version # # Report bugs to . +# GNU libtool home page: . +# General help using GNU software: . -PROGRAM=ltmain.sh +PROGRAM=libtool PACKAGE=libtool -VERSION=2.2.6b +VERSION=2.4 TIMESTAMP="" -package_revision=1.3017 +package_revision=1.3293 # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then @@ -91,10 +97,15 @@ BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + # NLS nuisances: We save the old values to restore during execute mode. -# 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 @@ -107,24 +118,33 @@ lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" fi" done +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL $lt_unset CDPATH +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" : ${CP="cp -f"} -: ${ECHO="echo"} -: ${EGREP="/bin/grep -E"} -: ${FGREP="/bin/grep -F"} -: ${GREP="/bin/grep"} +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} +: ${EGREP="grep -E"} +: ${FGREP="grep -F"} +: ${GREP="grep"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} -: ${SED="/bin/sed"} +: ${SED="sed"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} : ${Xsed="$SED -e 1s/^X//"} @@ -144,6 +164,27 @@ dirname="s,/[^/]*$,," basename="s,^.*/,," +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} # func_dirname may be replaced by extended shell implementation + + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "${1}" | $SED "$basename"` +} # func_basename may be replaced by extended shell implementation + + # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: @@ -158,33 +199,183 @@ # 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"` + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` +} # func_dirname_and_basename may be replaced by extended shell implementation + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname may be replaced by extended shell implementation + + +# These SED scripts presuppose an absolute path with a trailing slash. +pathcar='s,^/\([^/]*\).*$,\1,' +pathcdr='s,^/[^/]*,,' +removedotparts=':dotsl + s@/\./@/@g + t dotsl + s,/\.$,/,' +collapseslashes='s@/\{1,\}@/@g' +finalslash='s,/*$,/,' + +# func_normal_abspath PATH +# Remove doubled-up and trailing slashes, "." path components, +# and cancel out any ".." path components in PATH after making +# it an absolute path. +# value returned in "$func_normal_abspath_result" +func_normal_abspath () +{ + # Start from root dir and reassemble the path. + func_normal_abspath_result= + func_normal_abspath_tpath=$1 + func_normal_abspath_altnamespace= + case $func_normal_abspath_tpath in + "") + # Empty path, that just means $cwd. + func_stripname '' '/' "`pwd`" + func_normal_abspath_result=$func_stripname_result + return + ;; + # The next three entries are used to spot a run of precisely + # two leading slashes without using negated character classes; + # we take advantage of case's first-match behaviour. + ///*) + # Unusual form of absolute path, do nothing. + ;; + //*) + # Not necessarily an ordinary path; POSIX reserves leading '//' + # and for example Cygwin uses it to access remote file shares + # over CIFS/SMB, so we conserve a leading double slash if found. + func_normal_abspath_altnamespace=/ + ;; + /*) + # Absolute path, do nothing. + ;; + *) + # Relative path, prepend $cwd. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath + ;; + esac + # Cancel out all the simple stuff to save iterations. We also want + # the path to end with a slash for ease of parsing, so make sure + # there is one (and only one) here. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` + while :; do + # Processed it all yet? + if test "$func_normal_abspath_tpath" = / ; then + # If we ascended to the root using ".." the result may be empty now. + if test -z "$func_normal_abspath_result" ; then + func_normal_abspath_result=/ + fi + break + fi + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcar"` + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcdr"` + # Figure out what to do with it + case $func_normal_abspath_tcomponent in + "") + # Trailing empty path component, ignore it. + ;; + ..) + # Parent dir; strip last assembled component from result. + func_dirname "$func_normal_abspath_result" + func_normal_abspath_result=$func_dirname_result + ;; + *) + # Actual path component, append it. + func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent + ;; + esac + done + # Restore leading double-slash if one was found on entry. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result } -# Generated shell functions inserted here. +# func_relative_path SRCDIR DSTDIR +# generates a relative path from SRCDIR to DSTDIR, with a trailing +# slash if non-empty, suitable for immediately appending a filename +# without needing to append a separator. +# value returned in "$func_relative_path_result" +func_relative_path () +{ + func_relative_path_result= + func_normal_abspath "$1" + func_relative_path_tlibdir=$func_normal_abspath_result + func_normal_abspath "$2" + func_relative_path_tbindir=$func_normal_abspath_result + + # Ascend the tree starting from libdir + while :; do + # check if we have found a prefix of bindir + case $func_relative_path_tbindir in + $func_relative_path_tlibdir) + # found an exact match + func_relative_path_tcancelled= + break + ;; + $func_relative_path_tlibdir*) + # found a matching prefix + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" + func_relative_path_tcancelled=$func_stripname_result + if test -z "$func_relative_path_result"; then + func_relative_path_result=. + fi + break + ;; + *) + func_dirname $func_relative_path_tlibdir + func_relative_path_tlibdir=${func_dirname_result} + if test "x$func_relative_path_tlibdir" = x ; then + # Have to descend all the way to the root! + func_relative_path_result=../$func_relative_path_result + func_relative_path_tcancelled=$func_relative_path_tbindir + break + fi + func_relative_path_result=../$func_relative_path_result + ;; + esac + done + + # Now calculate path; take care to avoid doubling-up slashes. + func_stripname '' '/' "$func_relative_path_result" + func_relative_path_result=$func_stripname_result + func_stripname '/' '/' "$func_relative_path_tcancelled" + if test "x$func_stripname_result" != x ; then + func_relative_path_result=${func_relative_path_result}/${func_stripname_result} + fi -# 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" + # Normalisation. If bindir is libdir, return empty string, + # else relative path ending with a slash; either way, target + # file name can be directly appended. + if test ! -z "$func_relative_path_result"; then + func_stripname './' '' "$func_relative_path_result/" + func_relative_path_result=$func_stripname_result + fi +} # The name of this program: -# 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 @@ -215,6 +406,15 @@ # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' +# Sed substitution that turns a string into a regex matching for the +# string literally. +sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' + +# Sed substitution that converts a w32 file name or path +# which contains forward slashes, into one that contains +# (escaped) backslashes. A very naive implementation. +lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + # Re-`\' parameter expansions in output of double_quote_subst that were # `\'-ed in input to the same. If an odd number of `\' preceded a '$' # in input to double_quote_subst, that '$' was protected from expansion. @@ -243,7 +443,7 @@ # name if it has been set yet. func_echo () { - $ECHO "$progname${mode+: }$mode: $*" + $ECHO "$progname: ${opt_mode+$opt_mode: }$*" } # func_verbose arg... @@ -258,18 +458,25 @@ : } +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + # func_error arg... # Echo program name prefixed message to standard error. func_error () { - $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2 + $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 } # func_warning arg... # Echo program name prefixed warning message to standard error. func_warning () { - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 + $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 # bash bug again: : @@ -326,9 +533,9 @@ 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"` + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` done - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` save_mkdir_p_IFS="$IFS"; IFS=':' for my_dir in $my_dir_list; do @@ -378,7 +585,7 @@ func_fatal_error "cannot create temporary directory \`$my_tmpdir'" fi - $ECHO "X$my_tmpdir" | $Xsed + $ECHO "$my_tmpdir" } @@ -392,7 +599,7 @@ { case $1 in *[\\\`\"\$]*) - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; *) func_quote_for_eval_unquoted_result="$1" ;; esac @@ -419,7 +626,7 @@ { case $1 in *[\\\`\"]*) - my_arg=`$ECHO "X$1" | $Xsed \ + my_arg=`$ECHO "$1" | $SED \ -e "$double_quote_subst" -e "$sed_double_backslash"` ;; *) my_arg="$1" ;; @@ -488,15 +695,39 @@ fi } - - +# func_tr_sh +# Turn $1 into a string suitable for a shell variable name. +# Result is stored in $func_tr_sh_result. All characters +# not in the set a-zA-Z0-9_ are replaced with '_'. Further, +# if $1 begins with a digit, a '_' is prepended as well. +func_tr_sh () +{ + case $1 in + [0-9]* | *[!a-zA-Z0-9_]*) + func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` + ;; + * ) + func_tr_sh_result=$1 + ;; + esac +} # func_version # Echo version message to standard output and exit. func_version () { - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { + $opt_debug + + $SED -n '/(C)/!b go + :more + /\./!{ + N + s/\n# / / + b more + } + :go + /^# '$PROGRAM' (GNU /,/# warranty; / { s/^# // s/^# *$// s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ @@ -509,22 +740,28 @@ # Echo short help message to standard output and exit. func_usage () { - $SED -n '/^# Usage:/,/# -h/ { + $opt_debug + + $SED -n '/^# Usage:/,/^# *.*--help/ { s/^# // s/^# *$// s/\$progname/'$progname'/ p }' < "$progpath" - $ECHO + echo $ECHO "run \`$progname --help | more' for full usage" exit $? } -# func_help -# Echo long help message to standard output and exit. +# func_help [NOEXIT] +# Echo long help message to standard output and exit, +# unless 'noexit' is passed as argument. func_help () { + $opt_debug + $SED -n '/^# Usage:/,/# Report bugs to/ { + :print s/^# // s/^# *$// s*\$progname*'$progname'* @@ -537,8 +774,15 @@ s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ p - }' < "$progpath" - exit $? + d + } + /^# .* home page:/b print + /^# General help using/b print + ' < "$progpath" + ret=$? + if test -z "$1"; then + exit $ret + fi } # func_missing_arg argname @@ -546,63 +790,106 @@ # exit_cmd. func_missing_arg () { - func_error "missing argument for $1" + $opt_debug + + func_error "missing argument for $1." exit_cmd=exit } -exit_cmd=: +# func_split_short_opt shortopt +# Set func_split_short_opt_name and func_split_short_opt_arg shell +# variables after splitting SHORTOPT after the 2nd character. +func_split_short_opt () +{ + my_sed_short_opt='1s/^\(..\).*$/\1/;q' + my_sed_short_rest='1s/^..\(.*\)$/\1/;q' + + func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` + func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` +} # func_split_short_opt may be replaced by extended shell implementation + + +# func_split_long_opt longopt +# Set func_split_long_opt_name and func_split_long_opt_arg shell +# variables after splitting LONGOPT at the `=' sign. +func_split_long_opt () +{ + my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' + my_sed_long_arg='1s/^--[^=]*=//' + + func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` + func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` +} # func_split_long_opt may be replaced by extended shell implementation +exit_cmd=: -# 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 || echo $max_cmd_len` +} # func_len may be replaced by extended shell implementation + + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` +} # func_lo2o may be replaced by extended shell implementation + + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` +} # func_xform may be replaced by extended shell implementation + + # func_fatal_configuration arg... # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. @@ -636,16 +923,16 @@ # Display the features supported by this script. func_features () { - $ECHO "host: $host" + echo "host: $host" if test "$build_libtool_libs" = yes; then - $ECHO "enable shared libraries" + echo "enable shared libraries" else - $ECHO "disable shared libraries" + echo "disable shared libraries" fi if test "$build_old_libs" = yes; then - $ECHO "enable static libraries" + echo "enable static libraries" else - $ECHO "disable static libraries" + echo "disable static libraries" fi exit $? @@ -692,117 +979,204 @@ esac } -# Parse options once, thoroughly. This comes as soon as possible in -# the script to make things like `libtool --version' happen quickly. +# func_check_version_match +# Ensure that we are using m4 macros, and libtool script from the same +# release of libtool. +func_check_version_match () { + if test "$package_revision" != "$macro_revision"; then + if test "$VERSION" != "$macro_version"; then + if test -z "$macro_version"; then + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from an older release. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + fi + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, +$progname: but the definition of this LT_INIT comes from revision $macro_revision. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision +$progname: of $PACKAGE $VERSION and run autoconf again. +_LT_EOF + fi + + exit $EXIT_MISMATCH + fi +} + + +# Shorthand for --mode=foo, only valid as the first argument +case $1 in +clean|clea|cle|cl) + shift; set dummy --mode clean ${1+"$@"}; shift + ;; +compile|compil|compi|comp|com|co|c) + shift; set dummy --mode compile ${1+"$@"}; shift + ;; +execute|execut|execu|exec|exe|ex|e) + shift; set dummy --mode execute ${1+"$@"}; shift + ;; +finish|finis|fini|fin|fi|f) + shift; set dummy --mode finish ${1+"$@"}; shift + ;; +install|instal|insta|inst|ins|in|i) + shift; set dummy --mode install ${1+"$@"}; shift + ;; +link|lin|li|l) + shift; set dummy --mode link ${1+"$@"}; shift + ;; +uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) + shift; set dummy --mode uninstall ${1+"$@"}; shift + ;; +esac - # 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 + +# Option defaults: +opt_debug=: +opt_dry_run=false +opt_config=false +opt_preserve_dup_deps=false +opt_features=false +opt_finish=false +opt_help=false +opt_help_all=false +opt_silent=: +opt_verbose=: +opt_silent=false +opt_verbose=false + + +# Parse options once, thoroughly. This comes as soon as possible in the +# script to make things like `--version' happen as quickly as we can. +{ + # this just eases exit handling + while test $# -gt 0; do opt="$1" shift - case $opt in - --config) func_config ;; - - --debug) preserve_args="$preserve_args $opt" + --debug|-x) opt_debug='set -x' 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|--dryrun|-n) + opt_dry_run=: ;; - - --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" + --config) + opt_config=: +func_config + ;; + --dlopen|-dlopen) + optarg="$1" + opt_dlopen="${opt_dlopen+$opt_dlopen +}$optarg" shift ;; - --preserve-dup-deps) - opt_duplicate_deps=: ;; - - --quiet|--silent) preserve_args="$preserve_args $opt" - opt_silent=: + opt_preserve_dup_deps=: ;; - - --verbose| -v) preserve_args="$preserve_args $opt" + --features) + opt_features=: +func_features + ;; + --finish) + opt_finish=: +set dummy --mode finish ${1+"$@"}; shift + ;; + --help) + opt_help=: + ;; + --help-all) + opt_help_all=: +opt_help=': help-all' + ;; + --mode) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_mode="$optarg" +case $optarg in + # Valid mode arguments: + clean|compile|execute|finish|install|link|relink|uninstall) ;; + + # Catch anything else as an error + *) func_error "invalid argument for $opt" + exit_cmd=exit + break + ;; +esac + shift + ;; + --no-silent|--no-quiet) opt_silent=false +func_append preserve_args " $opt" ;; - - --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break - preserve_args="$preserve_args $opt $1" - func_enable_tag "$1" # tagname is set here + --no-verbose) + opt_verbose=false +func_append preserve_args " $opt" + ;; + --silent|--quiet) + opt_silent=: +func_append preserve_args " $opt" + opt_verbose=false + ;; + --verbose|-v) + opt_verbose=: +func_append preserve_args " $opt" +opt_silent=false + ;; + --tag) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_tag="$optarg" +func_append preserve_args " $opt $optarg" +func_enable_tag "$optarg" shift ;; + -\?|-h) func_usage ;; + --help) func_help ;; + --version) func_version ;; + # Separate optargs to long options: - -dlopen=*|--mode=*|--tag=*) - func_opt_split "$opt" - set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"} + --*=*) + func_split_long_opt "$opt" + set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} shift ;; - -\?|-h) func_usage ;; - --help) opt_help=: ;; - --version) func_version ;; - - -*) func_fatal_help "unrecognized option \`$opt'" ;; - - *) nonopt="$opt" - break + # Separate non-argument short options: + -\?*|-h*|-n*|-v*) + func_split_short_opt "$opt" + set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} + shift ;; + + --) break ;; + -*) func_fatal_help "unrecognized option \`$opt'" ;; + *) set dummy "$opt" ${1+"$@"}; shift; break ;; esac done + # Validate options: + + # save first non-option argument + if test "$#" -gt 0; then + nonopt="$opt" + shift + fi + + # preserve --debug + test "$opt_debug" = : || func_append preserve_args " --debug" case $host in *cygwin* | *mingw* | *pw32* | *cegcc*) @@ -810,82 +1184,44 @@ opt_duplicate_compiler_generated_deps=: ;; *) - opt_duplicate_compiler_generated_deps=$opt_duplicate_deps + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps ;; esac - # Having warned about all mis-specified options, bail out if - # anything was wrong. - $exit_cmd $EXIT_FAILURE -} + $opt_help || { + # Sanity checks first: + func_check_version_match -# 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 + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then + func_fatal_configuration "not configured to build any kind of library" fi - exit $EXIT_MISMATCH - fi -} - + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" -## ----------- ## -## 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 + # Only execute mode is allowed to have -dlopen flags. + if test -n "$opt_dlopen" && test "$opt_mode" != execute; then + func_error "unrecognized option \`-dlopen'" + $ECHO "$help" 1>&2 + exit $EXIT_FAILURE + fi - test -z "$mode" && func_fatal_error "error: you must specify a MODE." + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$progname --help --mode=$opt_mode' for more information." + } - # Darwin sucks - eval std_shrext=\"$shrext_cmds\" + # Bail if the options were screwed + $exit_cmd $EXIT_FAILURE +} - # 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." -} +## ----------- ## +## Main. ## +## ----------- ## # func_lalib_p file # True iff FILE is a libtool `.la' library or `.lo' object file. @@ -950,12 +1286,9 @@ # 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_dirname_and_basename "$1" "" "." + func_stripname '' '.exe' "$func_basename_result" + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" } # func_ltwrapper_p file @@ -1001,6 +1334,37 @@ } +# func_resolve_sysroot PATH +# Replace a leading = in PATH with a sysroot. Store the result into +# func_resolve_sysroot_result +func_resolve_sysroot () +{ + func_resolve_sysroot_result=$1 + case $func_resolve_sysroot_result in + =*) + func_stripname '=' '' "$func_resolve_sysroot_result" + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result + ;; + esac +} + +# func_replace_sysroot PATH +# If PATH begins with the sysroot, replace it with = and +# store the result into func_replace_sysroot_result. +func_replace_sysroot () +{ + case "$lt_sysroot:$1" in + ?*:"$lt_sysroot"*) + func_stripname "$lt_sysroot" '' "$1" + func_replace_sysroot_result="=$func_stripname_result" + ;; + *) + # Including no sysroot. + func_replace_sysroot_result=$1 + ;; + esac +} + # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. @@ -1013,13 +1377,15 @@ 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" + func_append_quoted CC_quoted "$arg" done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) @@ -1030,11 +1396,13 @@ 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" + func_append_quoted CC_quoted "$arg" done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` case "$@ " in - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. @@ -1097,6 +1465,486 @@ } } + +################################################## +# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS # +################################################## + +# func_convert_core_file_wine_to_w32 ARG +# Helper function used by file name conversion functions when $build is *nix, +# and $host is mingw, cygwin, or some other w32 environment. Relies on a +# correctly configured wine environment available, with the winepath program +# in $build's $PATH. +# +# ARG is the $build file name to be converted to w32 format. +# Result is available in $func_convert_core_file_wine_to_w32_result, and will +# be empty on error (or when ARG is empty) +func_convert_core_file_wine_to_w32 () +{ + $opt_debug + func_convert_core_file_wine_to_w32_result="$1" + if test -n "$1"; then + # 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_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null` + if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | + $SED -e "$lt_sed_naive_backslashify"` + else + func_convert_core_file_wine_to_w32_result= + fi + fi +} +# end: func_convert_core_file_wine_to_w32 + + +# func_convert_core_path_wine_to_w32 ARG +# Helper function used by path conversion functions when $build is *nix, and +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly +# configured wine environment available, with the winepath program in $build's +# $PATH. Assumes ARG has no leading or trailing path separator characters. +# +# ARG is path to be converted from $build format to win32. +# Result is available in $func_convert_core_path_wine_to_w32_result. +# Unconvertible file (directory) names in ARG are skipped; if no directory names +# are convertible, then the result may be empty. +func_convert_core_path_wine_to_w32 () +{ + $opt_debug + # unfortunately, winepath doesn't convert paths, only file names + func_convert_core_path_wine_to_w32_result="" + if test -n "$1"; then + oldIFS=$IFS + IFS=: + for func_convert_core_path_wine_to_w32_f in $1; do + IFS=$oldIFS + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" + if test -n "$func_convert_core_file_wine_to_w32_result" ; then + if test -z "$func_convert_core_path_wine_to_w32_result"; then + func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" + else + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" + fi + fi + done + IFS=$oldIFS + fi +} +# end: func_convert_core_path_wine_to_w32 + + +# func_cygpath ARGS... +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or +# (2), returns the Cygwin file name or path in func_cygpath_result (input +# file name or path is assumed to be in w32 format, as previously converted +# from $build's *nix or MSYS format). In case (3), returns the w32 file name +# or path in func_cygpath_result (input file name or path is assumed to be in +# Cygwin format). Returns an empty string on error. +# +# ARGS are passed to cygpath, with the last one being the file name or path to +# be converted. +# +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH +# environment variable; do not put it in $PATH. +func_cygpath () +{ + $opt_debug + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` + if test "$?" -ne 0; then + # on failure, ensure result is empty + func_cygpath_result= + fi + else + func_cygpath_result= + func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" + fi +} +#end: func_cygpath + + +# func_convert_core_msys_to_w32 ARG +# Convert file name or path ARG from MSYS format to w32 format. Return +# result in func_convert_core_msys_to_w32_result. +func_convert_core_msys_to_w32 () +{ + $opt_debug + # awkward: cmd appends spaces to result + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` +} +#end: func_convert_core_msys_to_w32 + + +# func_convert_file_check ARG1 ARG2 +# Verify that ARG1 (a file name in $build format) was converted to $host +# format in ARG2. Otherwise, emit an error message, but continue (resetting +# func_to_host_file_result to ARG1). +func_convert_file_check () +{ + $opt_debug + if test -z "$2" && test -n "$1" ; then + func_error "Could not determine host file name corresponding to" + func_error " \`$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback: + func_to_host_file_result="$1" + fi +} +# end func_convert_file_check + + +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH +# Verify that FROM_PATH (a path in $build format) was converted to $host +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting +# func_to_host_file_result to a simplistic fallback value (see below). +func_convert_path_check () +{ + $opt_debug + if test -z "$4" && test -n "$3"; then + func_error "Could not determine the host path corresponding to" + func_error " \`$3'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback. This is a deliberately simplistic "conversion" and + # should not be "improved". See libtool.info. + if test "x$1" != "x$2"; then + lt_replace_pathsep_chars="s|$1|$2|g" + func_to_host_path_result=`echo "$3" | + $SED -e "$lt_replace_pathsep_chars"` + else + func_to_host_path_result="$3" + fi + fi +} +# end func_convert_path_check + + +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT +# and appending REPL if ORIG matches BACKPAT. +func_convert_path_front_back_pathsep () +{ + $opt_debug + case $4 in + $1 ) func_to_host_path_result="$3$func_to_host_path_result" + ;; + esac + case $4 in + $2 ) func_append func_to_host_path_result "$3" + ;; + esac +} +# end func_convert_path_front_back_pathsep + + +################################################## +# $build to $host FILE NAME CONVERSION FUNCTIONS # +################################################## +# invoked via `$to_host_file_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# Result will be available in $func_to_host_file_result. + + +# func_to_host_file ARG +# Converts the file name ARG from $build format to $host format. Return result +# in func_to_host_file_result. +func_to_host_file () +{ + $opt_debug + $to_host_file_cmd "$1" +} +# end func_to_host_file + + +# func_to_tool_file ARG LAZY +# converts the file name ARG from $build format to toolchain format. Return +# result in func_to_tool_file_result. If the conversion in use is listed +# in (the comma separated) LAZY, no conversion takes place. +func_to_tool_file () +{ + $opt_debug + case ,$2, in + *,"$to_tool_file_cmd",*) + func_to_tool_file_result=$1 + ;; + *) + $to_tool_file_cmd "$1" + func_to_tool_file_result=$func_to_host_file_result + ;; + esac +} +# end func_to_tool_file + + +# func_convert_file_noop ARG +# Copy ARG to func_to_host_file_result. +func_convert_file_noop () +{ + func_to_host_file_result="$1" +} +# end func_convert_file_noop + + +# func_convert_file_msys_to_w32 ARG +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_file_result. +func_convert_file_msys_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_to_host_file_result="$func_convert_core_msys_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_w32 + + +# func_convert_file_cygwin_to_w32 ARG +# Convert file name ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_file_cygwin_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use + # LT_CYGPATH in this case. + func_to_host_file_result=`cygpath -m "$1"` + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_cygwin_to_w32 + + +# func_convert_file_nix_to_w32 ARG +# Convert file name ARG from *nix to w32 format. Requires a wine environment +# and a working winepath. Returns result in func_to_host_file_result. +func_convert_file_nix_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_file_wine_to_w32 "$1" + func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_w32 + + +# func_convert_file_msys_to_cygwin ARG +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_file_msys_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_cygpath -u "$func_convert_core_msys_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_cygwin + + +# func_convert_file_nix_to_cygwin ARG +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result +# in func_to_host_file_result. +func_convert_file_nix_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. + func_convert_core_file_wine_to_w32 "$1" + func_cygpath -u "$func_convert_core_file_wine_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_cygwin + + +############################################# +# $build to $host PATH CONVERSION FUNCTIONS # +############################################# +# invoked via `$to_host_path_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# The result will be available in $func_to_host_path_result. +# +# Path separators are also converted from $build format to $host format. If +# ARG begins or ends with a path separator character, it is preserved (but +# converted to $host format) on output. +# +# All path conversion functions are named using the following convention: +# file name conversion function : func_convert_file_X_to_Y () +# path conversion function : func_convert_path_X_to_Y () +# where, for any given $build/$host combination the 'X_to_Y' value is the +# same. If conversion functions are added for new $build/$host combinations, +# the two new functions must follow this pattern, or func_init_to_host_path_cmd +# will break. + + +# func_init_to_host_path_cmd +# Ensures that function "pointer" variable $to_host_path_cmd is set to the +# appropriate value, based on the value of $to_host_file_cmd. +to_host_path_cmd= +func_init_to_host_path_cmd () +{ + $opt_debug + if test -z "$to_host_path_cmd"; then + func_stripname 'func_convert_file_' '' "$to_host_file_cmd" + to_host_path_cmd="func_convert_path_${func_stripname_result}" + fi +} + + +# func_to_host_path ARG +# Converts the path ARG from $build format to $host format. Return result +# in func_to_host_path_result. +func_to_host_path () +{ + $opt_debug + func_init_to_host_path_cmd + $to_host_path_cmd "$1" +} +# end func_to_host_path + + +# func_convert_path_noop ARG +# Copy ARG to func_to_host_path_result. +func_convert_path_noop () +{ + func_to_host_path_result="$1" +} +# end func_convert_path_noop + + +# func_convert_path_msys_to_w32 ARG +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_path_result. +func_convert_path_msys_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from ARG. MSYS + # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; + # and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_msys_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_msys_to_w32 + + +# func_convert_path_cygwin_to_w32 ARG +# Convert path ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_path_cygwin_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_cygwin_to_w32 + + +# func_convert_path_nix_to_w32 ARG +# Convert path ARG from *nix to w32 format. Requires a wine environment and +# a working winepath. Returns result in func_to_host_file_result. +func_convert_path_nix_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_nix_to_w32 + + +# func_convert_path_msys_to_cygwin ARG +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_path_msys_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_msys_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_msys_to_cygwin + + +# func_convert_path_nix_to_cygwin ARG +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in +# func_to_host_file_result. +func_convert_path_nix_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from + # ARG. msys behavior is inconsistent here, cygpath turns them + # into '.;' and ';.', and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_nix_to_cygwin + + # func_mode_compile arg... func_mode_compile () { @@ -1137,12 +1985,12 @@ ;; -pie | -fpie | -fPIE) - pie_flag="$pie_flag $arg" + func_append pie_flag " $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) - later="$later $arg" + func_append later " $arg" continue ;; @@ -1163,15 +2011,14 @@ save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" - func_quote_for_eval "$arg" - lastarg="$lastarg $func_quote_for_eval_result" + func_append_quoted lastarg "$arg" done IFS="$save_ifs" func_stripname ' ' '' "$lastarg" lastarg=$func_stripname_result # Add the arguments to base_compile. - base_compile="$base_compile $lastarg" + func_append base_compile " $lastarg" continue ;; @@ -1187,8 +2034,7 @@ esac # case $arg_mode # Aesthetically quote the previous argument. - func_quote_for_eval "$lastarg" - base_compile="$base_compile $func_quote_for_eval_result" + func_append_quoted base_compile "$lastarg" done # for arg case $arg_mode in @@ -1213,7 +2059,7 @@ *.[cCFSifmso] | \ *.ada | *.adb | *.ads | *.asm | \ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ - *.[fF][09]? | *.for | *.java | *.obj | *.sx) + *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup) func_xform "$libobj" libobj=$func_xform_result ;; @@ -1288,7 +2134,7 @@ # 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} + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" else output_obj= @@ -1319,17 +2165,16 @@ $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi - removelist="$removelist $output_obj" + func_append removelist " $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist - removelist="$removelist $lockfile" + func_append 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_to_tool_file "$srcfile" func_convert_file_msys_to_w32 + srcfile=$func_to_tool_file_result func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result @@ -1349,7 +2194,7 @@ if test -z "$output_obj"; then # Place PIC objects in $objdir - command="$command -o $lobj" + func_append command " -o $lobj" fi func_show_eval_locale "$command" \ @@ -1396,11 +2241,11 @@ command="$base_compile $qsrcfile $pic_flag" fi if test "$compiler_c_o" = yes; then - command="$command -o $obj" + func_append command " -o $obj" fi # Suppress compiler output if we already did a PIC compilation. - command="$command$suppress_output" + func_append command "$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' @@ -1445,13 +2290,13 @@ } $opt_help || { -test "$mode" = compile && func_mode_compile ${1+"$@"} + test "$opt_mode" = compile && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. - case $mode in + case $opt_mode in "") # Generic help is extracted from the usage comments # at the start of this file. @@ -1482,10 +2327,11 @@ -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 + -prefer-pic try to build PIC objects only + -prefer-non-pic try to build non-PIC objects only -shared do not build a \`.o' file suitable for static linking -static only build a \`.o' file suitable for static linking + -Wc,FLAG pass FLAG directly to the compiler COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. @@ -1538,7 +2384,7 @@ The following components of INSTALL-COMMAND are treated specially: - -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." @@ -1558,6 +2404,8 @@ -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible + -bindir BINDIR specify path to binaries directory (for systems where + libraries must be found in the PATH setting at runtime) -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) @@ -1586,6 +2434,11 @@ -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface + -Wc,FLAG + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler + -Wl,FLAG + -Xlinker FLAG pass linker-specific FLAG directly to the linker + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) All other options (arguments beginning with \`-') are ignored. @@ -1619,18 +2472,44 @@ ;; *) - func_fatal_help "invalid operation mode \`$mode'" + func_fatal_help "invalid operation mode \`$opt_mode'" ;; esac - $ECHO + 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 +# Now that we've collected a possible --mode arg, show help if necessary +if $opt_help; then + if test "$opt_help" = :; then + func_mode_help + else + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + func_mode_help + done + } | sed -n '1p; 2,$s/^Usage:/ or: /p' + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + echo + func_mode_help + done + } | + sed '1d + /^When reporting/,/^Report/{ + H + d + } + $x + /information about other modes/d + /more detailed .*MODE/d + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' + fi + exit $? +fi # func_mode_execute arg... @@ -1643,13 +2522,16 @@ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. - for file in $execute_dlfiles; do + for file in $opt_dlopen; do test -f "$file" \ || func_fatal_help "\`$file' is not a file" dir= case $file in *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$lib' is not a valid libtool archive" @@ -1671,7 +2553,7 @@ dir="$func_dirname_result" if test -f "$dir/$objdir/$dlname"; then - dir="$dir/$objdir" + func_append dir "/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" @@ -1712,7 +2594,7 @@ for file do case $file in - -*) ;; + -* | *.la | *.lo ) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then @@ -1728,8 +2610,7 @@ ;; esac # Quote arguments (to preserve shell metacharacters). - func_quote_for_eval "$file" - args="$args $func_quote_for_eval_result" + func_append_quoted args "$file" done if test "X$opt_dry_run" = Xfalse; then @@ -1754,29 +2635,66 @@ # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" - $ECHO "export $shlibpath_var" + echo "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS fi } -test "$mode" = execute && func_mode_execute ${1+"$@"} +test "$opt_mode" = execute && func_mode_execute ${1+"$@"} + + +# func_mode_finish arg... +func_mode_finish () +{ + $opt_debug + libs= + libdirs= + admincmds= + + for opt in "$nonopt" ${1+"$@"} + do + if test -d "$opt"; then + func_append libdirs " $opt" + + elif test -f "$opt"; then + if func_lalib_unsafe_p "$opt"; then + func_append libs " $opt" + else + func_warning "\`$opt' is not a valid libtool archive" + fi + + else + func_fatal_error "invalid argument \`$opt'" + fi + done + if test -n "$libs"; then + if test -n "$lt_sysroot"; then + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" + else + sysroot_cmd= + fi -# func_mode_finish arg... -func_mode_finish () -{ - $opt_debug - libdirs="$nonopt" - admincmds= + # Remove sysroot references + if $opt_dry_run; then + for lib in $libs; do + echo "removing references to $lt_sysroot and \`=' prefixes from $lib" + done + else + tmpdir=`func_mktempdir` + for lib in $libs; do + sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ + > $tmpdir/tmp-la + mv -f $tmpdir/tmp-la $lib + done + ${RM}r "$tmpdir" + fi + fi if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - for dir - do - libdirs="$libdirs $dir" - done - for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. @@ -1786,7 +2704,7 @@ if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" - $opt_dry_run || eval "$cmds" || admincmds="$admincmds + $opt_dry_run || eval "$cmds" || func_append admincmds " $cmds" fi done @@ -1795,53 +2713,55 @@ # 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\" + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + echo "----------------------------------------------------------------------" + echo "Libraries have been installed in:" + for libdir in $libdirs; do + $ECHO " $libdir" + done + echo + echo "If you ever happen to want to link against installed libraries" + echo "in a given directory, LIBDIR, you must either use libtool, and" + echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + echo " during execution" + fi + if test -n "$runpath_var"; then + echo " - add LIBDIR to the \`$runpath_var' environment variable" + echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" - $ECHO " - use the \`$flag' linker flag" - fi - if test -n "$admincmds"; then - $ECHO " - have your system administrator run these commands:$admincmds" - fi - if test -f /etc/ld.so.conf; then - $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" - fi - $ECHO + $ECHO " - 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 + echo "See any operating system documentation about shared libraries for" + case $host in + solaris2.[6789]|solaris2.1[0-9]) + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" + echo "pages." + ;; + *) + echo "more information, such as the ld(1) and ld.so(8) manual pages." + ;; + esac + echo "----------------------------------------------------------------------" + fi exit $EXIT_SUCCESS } -test "$mode" = finish && func_mode_finish ${1+"$@"} +test "$opt_mode" = finish && func_mode_finish ${1+"$@"} # func_mode_install arg... @@ -1852,7 +2772,7 @@ # 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 + case $nonopt in *shtool*) :;; *) false;; esac; then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " @@ -1866,7 +2786,12 @@ # 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" + func_append install_prog "$func_quote_for_eval_result" + install_shared_prog=$install_prog + case " $install_prog " in + *[\\\ /]cp\ *) install_cp=: ;; + *) install_cp=false ;; + esac # We need to accept at least all the BSD install flags. dest= @@ -1876,10 +2801,12 @@ install_type= isdir=no stripme= + no_mode=: for arg do + arg2= if test -n "$dest"; then - files="$files $dest" + func_append files " $dest" dest=$arg continue fi @@ -1887,10 +2814,9 @@ case $arg in -d) isdir=yes ;; -f) - case " $install_prog " in - *[\\\ /]cp\ *) ;; - *) prev=$arg ;; - esac + if $install_cp; then :; else + prev=$arg + fi ;; -g | -m | -o) prev=$arg @@ -1904,6 +2830,10 @@ *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then + if test "x$prev" = x-m && test -n "$install_override_mode"; then + arg2=$install_override_mode + no_mode=false + fi prev= else dest=$arg @@ -1914,7 +2844,11 @@ # Aesthetically quote the argument. func_quote_for_eval "$arg" - install_prog="$install_prog $func_quote_for_eval_result" + func_append install_prog " $func_quote_for_eval_result" + if test -n "$arg2"; then + func_quote_for_eval "$arg2" + fi + func_append install_shared_prog " $func_quote_for_eval_result" done test -z "$install_prog" && \ @@ -1923,6 +2857,13 @@ test -n "$prev" && \ func_fatal_help "the \`$prev' option requires an argument" + if test -n "$install_override_mode" && $no_mode; then + if $install_cp; then :; else + func_quote_for_eval "$install_override_mode" + func_append install_shared_prog " -m $func_quote_for_eval_result" + fi + fi + if test -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" @@ -1977,10 +2918,13 @@ case $file in *.$libext) # Do the static libraries later. - staticlibs="$staticlibs $file" + func_append staticlibs " $file" ;; *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$file' is not a valid libtool archive" @@ -1994,23 +2938,23 @@ if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; - *) current_libdirs="$current_libdirs $libdir" ;; + *) func_append current_libdirs " $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; - *) future_libdirs="$future_libdirs $libdir" ;; + *) func_append future_libdirs " $libdir" ;; esac fi func_dirname "$file" "/" "" dir="$func_dirname_result" - dir="$dir$objdir" + func_append dir "$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that @@ -2023,9 +2967,9 @@ 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%"` + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"` + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi func_warning "relinking \`$file'" @@ -2043,7 +2987,7 @@ test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. - func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \ + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme="$stripme" case $host_os in @@ -2083,7 +3027,7 @@ func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" + test -n "$old_library" && func_append staticlibs " $dir/$old_library" ;; *.lo) @@ -2183,7 +3127,7 @@ if test -f "$lib"; then func_source "$lib" fi - libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test + libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then func_warning "\`$lib' has not been installed in \`$libdir'" finalize=no @@ -2202,7 +3146,7 @@ file="$func_basename_result" outputname="$tmpdir/$file" # Replace the output file specification. - relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_silent || { func_quote_for_expand "$relink_command" @@ -2221,7 +3165,7 @@ } else # Install the binary that we compiled earlier. - file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi @@ -2280,7 +3224,7 @@ fi } -test "$mode" = install && func_mode_install ${1+"$@"} +test "$opt_mode" = install && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p @@ -2323,6 +3267,22 @@ extern \"C\" { #endif +#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" +#endif + +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + /* External symbol declarations for the compiler. */\ " @@ -2332,10 +3292,11 @@ $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` + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$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'" + func_to_tool_file "$progfile" func_convert_file_msys_to_w32 + func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" + $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then @@ -2371,7 +3332,7 @@ eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in - *cygwin | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; @@ -2384,10 +3345,52 @@ 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'" - } + case $host in + *cygwin* | *mingw* | *cegcc* ) + # if an import library, we need to obtain dlname + if func_win32_import_lib_p "$dlprefile"; then + func_tr_sh "$dlprefile" + eval "curr_lafile=\$libfile_$func_tr_sh_result" + dlprefile_dlbasename="" + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then + # Use subshell, to avoid clobbering current variable values + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` + if test -n "$dlprefile_dlname" ; then + func_basename "$dlprefile_dlname" + dlprefile_dlbasename="$func_basename_result" + else + # no lafile. user explicitly requested -dlpreopen . + $sharedlib_from_linklib_cmd "$dlprefile" + dlprefile_dlbasename=$sharedlib_from_linklib_result + fi + fi + $opt_dry_run || { + if test -n "$dlprefile_dlbasename" ; then + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' + else + func_warning "Could not compute DLL name from $name" + eval '$ECHO ": $name " >> "$nlist"' + fi + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + } + else # not an import lib + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + fi + ;; + *) + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + ;; + esac done $opt_dry_run || { @@ -2415,36 +3418,19 @@ if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else - $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" + echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi - $ECHO >> "$output_objdir/$my_dlsyms" "\ + 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 +extern LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[]; -$lt_dlsym_const lt_dlsymlist +LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = {\ { \"$my_originator\", (void *) 0 }," @@ -2457,7 +3443,7 @@ eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac - $ECHO >> "$output_objdir/$my_dlsyms" "\ + echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; @@ -2500,7 +3486,7 @@ for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; - *) symtab_cflags="$symtab_cflags $arg" ;; + *) func_append symtab_cflags " $arg" ;; esac done @@ -2515,16 +3501,16 @@ 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%"` + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "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%"` + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; @@ -2538,8 +3524,8 @@ # 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@%%"` + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } @@ -2549,6 +3535,7 @@ # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. +# Despite the name, also deal with 64 bit binaries. func_win32_libid () { $opt_debug @@ -2559,9 +3546,11 @@ win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | - $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then - win32_nmres=`eval $NM -f posix -A $1 | + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then + func_to_tool_file "$1" func_convert_file_msys_to_w32 + win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | $SED -n -e ' 1,100{ / I /{ @@ -2590,6 +3579,131 @@ $ECHO "$win32_libid_type" } +# func_cygming_dll_for_implib ARG +# +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib () +{ + $opt_debug + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` +} + +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs +# +# The is the core of a fallback implementation of a +# platform-specific function to extract the name of the +# DLL associated with the specified import library LIBNAME. +# +# SECTION_NAME is either .idata$6 or .idata$7, depending +# on the platform and compiler that created the implib. +# +# Echos the name of the DLL associated with the +# specified import library. +func_cygming_dll_for_implib_fallback_core () +{ + $opt_debug + match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` + $OBJDUMP -s --section "$1" "$2" 2>/dev/null | + $SED '/^Contents of section '"$match_literal"':/{ + # Place marker at beginning of archive member dllname section + s/.*/====MARK====/ + p + d + } + # These lines can sometimes be longer than 43 characters, but + # are always uninteresting + /:[ ]*file format pe[i]\{,1\}-/d + /^In archive [^:]*:/d + # Ensure marker is printed + /^====MARK====/p + # Remove all lines with less than 43 characters + /^.\{43\}/!d + # From remaining lines, remove first 43 characters + s/^.\{43\}//' | + $SED -n ' + # Join marker and all lines until next marker into a single line + /^====MARK====/ b para + H + $ b para + b + :para + x + s/\n//g + # Remove the marker + s/^====MARK====// + # Remove trailing dots and whitespace + s/[\. \t]*$// + # Print + /./p' | + # we now have a list, one entry per line, of the stringified + # contents of the appropriate section of all members of the + # archive which possess that section. Heuristic: eliminate + # all those which have a first or second character that is + # a '.' (that is, objdump's representation of an unprintable + # character.) This should work for all archives with less than + # 0x302f exports -- but will fail for DLLs whose name actually + # begins with a literal '.' or a single character followed by + # a '.'. + # + # Of those that remain, print the first one. + $SED -e '/^\./d;/^.\./d;q' +} + +# func_cygming_gnu_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is a GNU/binutils-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_gnu_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` + test -n "$func_cygming_gnu_implib_tmp" +} + +# func_cygming_ms_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is an MS-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_ms_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` + test -n "$func_cygming_ms_implib_tmp" +} + +# func_cygming_dll_for_implib_fallback ARG +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# +# This fallback implementation is for use when $DLLTOOL +# does not support the --identify-strict option. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib_fallback () +{ + $opt_debug + if func_cygming_gnu_implib_p "$1" ; then + # binutils import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` + elif func_cygming_ms_implib_p "$1" ; then + # ms-generated import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` + else + # unknown + sharedlib_from_linklib_result="" + fi +} # func_extract_an_archive dir oldlib @@ -2598,7 +3712,18 @@ $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 test "$lock_old_archive_extraction" = yes; then + lockfile=$f_ex_an_ar_oldlib.lock + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + fi + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ + 'stat=$?; rm -f "$lockfile"; exit $stat' + if test "$lock_old_archive_extraction" = yes; then + $opt_dry_run || rm -f "$lockfile" + fi if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else @@ -2669,7 +3794,7 @@ darwin_file= darwin_files= for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ @@ -2684,25 +3809,30 @@ func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result="$my_oldobjs" } - -# func_emit_wrapper_part1 [arg=no] +# func_emit_wrapper [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 +# Emit a libtool wrapper script on stdout. +# Don't directly open a file because we may want to +# incorporate the script contents within a cygwin/mingw +# wrapper executable. Must ONLY be called from within +# func_mode_link because it depends on a number of variables +# set therein. +# +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR +# variable will take. If 'yes', then the emitted script +# will assume that the directory in which it is stored is +# the $objdir directory. This is a cygwin/mingw-specific +# behavior. +func_emit_wrapper () +{ + func_emit_wrapper_arg1=${1-no} $ECHO "\ #! $SHELL @@ -2718,7 +3848,6 @@ # 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 @@ -2749,31 +3878,132 @@ 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\ + file=\"\$0\"" + + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` + $ECHO "\ + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + ECHO=\"$qECHO\" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ which is used only on +# windows platforms, and (c) all begin with the string "--lt-" +# (application programs are unlikely to have options which match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's $0 value, followed by "$@". +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=\$0 + shift + for lt_opt + do + case \"\$lt_opt\" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` + cat \"\$lt_dump_D/\$lt_dump_F\" + exit 0 + ;; + --lt-*) + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n \"\$lt_option_debug\"; then + echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ " - $ECHO "\ + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2* | *-cegcc*) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $ECHO "\ + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from \$@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done + func_exec_program_core \${1+\"\$@\"} +} + + # Parse options + func_parse_lt_options \"\$0\" \${1+\"\$@\"} # Find the directory that this script lives in. - thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` while test -n \"\$file\"; do - destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then @@ -2783,30 +4013,13 @@ esac fi - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` + file=\`\$ECHO \"\$file\" | $SED '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 + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then @@ -2814,7 +4027,7 @@ fi # remove .libs from thisdir case \"\$thisdir\" in - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi @@ -2869,6 +4082,18 @@ if test -f \"\$progdir/\$program\"; then" + # fixup the dll searchpath if we need to. + # + # Fix the DLL searchpath if we need to. Do this before prepending + # to shlibpath, because on Windows, both are PATH and uninstalled + # libraries must come first. + if test -n "$dllsearchpath"; then + $ECHO "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ @@ -2877,253 +4102,28 @@ # 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/::*\$//'\` + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED '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 + func_exec_program \${1+\"\$@\"} fi else # The program doesn't exist. \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 - $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 - exit 1 - fi -fi\ -" -} -# 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 + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 + exit 1 fi +fi\ +" } -# end: func_to_host_pathlist + # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout @@ -3141,31 +4141,23 @@ This wrapper executable should never be moved out of the build directory. If it is, it will not operate correctly. - - Currently, it simply execs the wrapper *script* "$SHELL $output", - but could eventually absorb all of the scripts functionality and - exec $objdir/$outputname directly. */ EOF cat <<"EOF" +#ifdef _MSC_VER +# define _CRT_SECURE_NO_DEPRECATE 1 +#endif #include #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 @@ -3177,6 +4169,44 @@ #include #include +/* declarations of non-ANSI functions */ +#if defined(__MINGW32__) +# ifdef __STRICT_ANSI__ +int _putenv (const char *); +# endif +#elif defined(__CYGWIN__) +# ifdef __STRICT_ANSI__ +char *realpath (const char *, char *); +int putenv (char *); +int setenv (const char *, const char *, int); +# endif +/* #elif defined (other platforms) ... */ +#endif + +/* portability defines, excluding path handling macros */ +#if defined(_MSC_VER) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +# define S_IXUSR _S_IEXEC +# ifndef _INTPTR_T_DEFINED +# define _INTPTR_T_DEFINED +# define intptr_t int +# endif +#elif defined(__MINGW32__) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +#elif defined(__CYGWIN__) +# define HAVE_SETENV +# define FOPEN_WB "wb" +/* #elif defined (other platforms) ... */ +#endif + #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) @@ -3192,14 +4222,7 @@ # 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 - +/* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' @@ -3230,10 +4253,6 @@ # 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 @@ -3246,22 +4265,13 @@ 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); -} +#if defined(LT_DEBUGWRAPPER) +static int lt_debug = 1; #else -# define LTWRAPPER_DEBUGPRINTF(args) +static int lt_debug = 0; #endif -const char *program_name = NULL; +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); @@ -3271,41 +4281,27 @@ 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_debugprintf (const char *file, int line, const char *fmt, ...); +void lt_fatal (const char *file, int line, const char *message, ...); +static const char *nonnull (const char *s); +static const char *nonempty (const char *s); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); -void lt_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 <"))); + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n", + nonnull (lt_argv_zero)); for (i = 0; i < newargc; i++) { - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n", + i, nonnull (newargz[i])); } EOF @@ -3560,11 +4517,14 @@ mingw*) cat <<"EOF" /* execv doesn't actually work on mingw as expected on unix */ + newargz = prepare_spawn (newargz); 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)); + lt_debugprintf (__FILE__, __LINE__, + "(main) failed to launch target \"%s\": %s\n", + lt_argv_zero, nonnull (strerror (errno))); return 127; } return rval; @@ -3586,7 +4546,7 @@ { void *p = (void *) malloc (num); if (!p) - lt_fatal ("Memory exhausted"); + lt_fatal (__FILE__, __LINE__, "memory exhausted"); return p; } @@ -3620,8 +4580,8 @@ { struct stat st; - LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n", + nonempty (path)); if ((!path) || (!*path)) return 0; @@ -3638,8 +4598,8 @@ int rval = 0; struct stat st; - LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", + nonempty (path)); if ((!path) || (!*path)) return 0; @@ -3665,8 +4625,8 @@ int tmp_len; char *concat_name; - LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n", - wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!")); + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", + nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; @@ -3719,7 +4679,8 @@ { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); @@ -3744,7 +4705,8 @@ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); @@ -3770,8 +4732,9 @@ int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { - LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n", - tmp_pathspec)); + lt_debugprintf (__FILE__, __LINE__, + "checking path component for symlinks: %s\n", + tmp_pathspec); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) @@ -3793,8 +4756,9 @@ } else { - char *errstr = strerror (errno); - lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr); + lt_fatal (__FILE__, __LINE__, + "error accessing file \"%s\": %s", + tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); @@ -3807,7 +4771,8 @@ tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { - lt_fatal ("Could not follow symlinks for %s", pathspec); + lt_fatal (__FILE__, __LINE__, + "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif @@ -3833,11 +4798,25 @@ return str; } +void +lt_debugprintf (const char *file, int line, const char *fmt, ...) +{ + va_list args; + if (lt_debug) + { + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); + va_start (args, fmt); + (void) vfprintf (stderr, fmt, args); + va_end (args); + } +} + static void -lt_error_core (int exit_status, const char *mode, +lt_error_core (int exit_status, const char *file, + int line, const char *mode, const char *message, va_list ap) { - fprintf (stderr, "%s: %s: ", program_name, mode); + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); @@ -3846,20 +4825,32 @@ } void -lt_fatal (const char *message, ...) +lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); - lt_error_core (EXIT_FAILURE, "FATAL", message, ap); + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); va_end (ap); } +static const char * +nonnull (const char *s) +{ + return s ? s : "(null)"; +} + +static const char * +nonempty (const char *s) +{ + return (s && !*s) ? "(empty)" : nonnull (s); +} + void lt_setenv (const char *name, const char *value) { - LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n", - (name ? name : ""), - (value ? value : ""))); + lt_debugprintf (__FILE__, __LINE__, + "(lt_setenv) setting '%s' to '%s'\n", + nonnull (name), nonnull (value)); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ @@ -3904,95 +4895,12 @@ 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 : ""))); + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); if (name && *name && value && *value) { @@ -4011,9 +4919,9 @@ 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 : ""))); + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); if (name && *name && value && *value) { @@ -4023,11 +4931,152 @@ } } +EOF + case $host_os in + mingw*) + cat <<"EOF" + +/* Prepares an argument vector before calling spawn(). + Note that spawn() does not by itself call the command interpreter + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); + GetVersionEx(&v); + v.dwPlatformId == VER_PLATFORM_WIN32_NT; + }) ? "cmd.exe" : "command.com"). + Instead it simply concatenates the arguments, separated by ' ', and calls + CreateProcess(). We must quote the arguments since Win32 CreateProcess() + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a + special way: + - Space and tab are interpreted as delimiters. They are not treated as + delimiters if they are surrounded by double quotes: "...". + - Unescaped double quotes are removed from the input. Their only effect is + that within double quotes, space and tab are treated like normal + characters. + - Backslashes not followed by double quotes are not special. + - But 2*n+1 backslashes followed by a double quote become + n backslashes followed by a double quote (n >= 0): + \" -> " + \\\" -> \" + \\\\\" -> \\" + */ +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +char ** +prepare_spawn (char **argv) +{ + size_t argc; + char **new_argv; + size_t i; + + /* Count number of arguments. */ + for (argc = 0; argv[argc] != NULL; argc++) + ; + + /* Allocate new argument vector. */ + new_argv = XMALLOC (char *, argc + 1); + + /* Put quoted arguments into the new argument vector. */ + for (i = 0; i < argc; i++) + { + const char *string = argv[i]; + + if (string[0] == '\0') + new_argv[i] = xstrdup ("\"\""); + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) + { + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); + size_t length; + unsigned int backslashes; + const char *s; + char *quoted_string; + char *p; + + length = 0; + backslashes = 0; + if (quote_around) + length++; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + length += backslashes + 1; + length++; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + length += backslashes + 1; + + quoted_string = XMALLOC (char, length + 1); + + p = quoted_string; + backslashes = 0; + if (quote_around) + *p++ = '"'; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + { + unsigned int j; + for (j = backslashes + 1; j > 0; j--) + *p++ = '\\'; + } + *p++ = c; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + { + unsigned int j; + for (j = backslashes; j > 0; j--) + *p++ = '\\'; + *p++ = '"'; + } + *p = '\0'; + + new_argv[i] = quoted_string; + } + else + new_argv[i] = (char *) string; + } + new_argv[argc] = NULL; + + return new_argv; +} +EOF + ;; + esac + + cat <<"EOF" +void lt_dump_script (FILE* f) +{ +EOF + func_emit_wrapper yes | + $SED -e 's/\([\\"]\)/\\\1/g' \ + -e 's/^/ fputs ("/' -e 's/$/\\n", f);/' + cat <<"EOF" +} EOF } # end: func_emit_cwrapperexe_src +# func_win32_import_lib_p ARG +# True if ARG is an import lib, as indicated by $file_magic_cmd +func_win32_import_lib_p () +{ + $opt_debug + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in + *import*) : ;; + *) false ;; + esac +} + # func_mode_link arg... func_mode_link () { @@ -4072,6 +5121,7 @@ new_inherited_linker_flags= avoid_version=no + bindir= dlfiles= dlprefiles= dlself=no @@ -4164,6 +5214,11 @@ esac case $prev in + bindir) + bindir="$arg" + prev= + continue + ;; dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. @@ -4195,9 +5250,9 @@ ;; *) if test "$prev" = dlfiles; then - dlfiles="$dlfiles $arg" + func_append dlfiles " $arg" else - dlprefiles="$dlprefiles $arg" + func_append dlprefiles " $arg" fi prev= continue @@ -4221,7 +5276,7 @@ *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; - *) deplibs="$deplibs $qarg.ltframework" # this is fixed later + *) func_append deplibs " $qarg.ltframework" # this is fixed later ;; esac ;; @@ -4240,7 +5295,7 @@ moreargs= for fil in `cat "$save_arg"` do -# moreargs="$moreargs $fil" +# func_append moreargs " $fil" arg=$fil # A libtool-controlled object. @@ -4269,7 +5324,7 @@ if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" + func_append dlfiles " $pic_object" prev= continue else @@ -4281,7 +5336,7 @@ # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" + func_append dlprefiles " $pic_object" prev= fi @@ -4351,12 +5406,12 @@ if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; - *) rpath="$rpath $arg" ;; + *) func_append rpath " $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; - *) xrpath="$xrpath $arg" ;; + *) func_append xrpath " $arg" ;; esac fi prev= @@ -4368,28 +5423,28 @@ continue ;; weak) - weak_libs="$weak_libs $arg" + func_append weak_libs " $arg" prev= continue ;; xcclinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $qarg" + func_append linker_flags " $qarg" + func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) - compiler_flags="$compiler_flags $qarg" + func_append 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" + func_append linker_flags " $qarg" + func_append compiler_flags " $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append finalize_command " $wl$qarg" @@ -4425,6 +5480,11 @@ continue ;; + -bindir) + prev=bindir + continue + ;; + -dlopen) prev=dlfiles continue @@ -4475,15 +5535,16 @@ ;; -L*) - func_stripname '-L' '' "$arg" - dir=$func_stripname_result - if test -z "$dir"; then + func_stripname "-L" '' "$arg" + if test -z "$func_stripname_result"; then if test "$#" -gt 0; then func_fatal_error "require no space between \`-L' and \`$1'" else func_fatal_error "need path for \`-L' option" fi fi + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; @@ -4495,24 +5556,30 @@ ;; esac case "$deplibs " in - *" -L$dir "*) ;; + *" -L$dir "* | *" $arg "*) + # Will only happen for absolute or sysroot arguments + ;; *) - deplibs="$deplibs -L$dir" - lib_search_path="$lib_search_path $dir" + # Preserve sysroot, but never include relative directories + case $dir in + [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; + *) func_append deplibs " -L$dir" ;; + esac + func_append lib_search_path " $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; - *) dllsearchpath="$dllsearchpath:$dir";; + *) func_append dllsearchpath ":$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; + *) func_append dllsearchpath ":$testbindir";; esac ;; esac @@ -4522,7 +5589,7 @@ -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; @@ -4536,7 +5603,7 @@ ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework - deplibs="$deplibs System.ltframework" + func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) @@ -4556,7 +5623,7 @@ ;; esac fi - deplibs="$deplibs $arg" + func_append deplibs " $arg" continue ;; @@ -4568,8 +5635,8 @@ # 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" + -model|-arch|-isysroot|--sysroot) + func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler @@ -4577,12 +5644,12 @@ ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - compiler_flags="$compiler_flags $arg" + func_append 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" ;; + * ) func_append new_inherited_linker_flags " $arg" ;; esac continue ;; @@ -4649,13 +5716,17 @@ # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; + =*) + func_stripname '=' '' "$dir" + dir=$lt_sysroot$func_stripname_result + ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; + *) func_append xrpath " $dir" ;; esac continue ;; @@ -4708,8 +5779,8 @@ 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" + func_append arg " $func_quote_for_eval_result" + func_append compiler_flags " $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" @@ -4724,9 +5795,9 @@ 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" + func_append arg " $wl$func_quote_for_eval_result" + func_append compiler_flags " $wl$func_quote_for_eval_result" + func_append linker_flags " $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" @@ -4754,23 +5825,27 @@ 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 + # Flags to be passed through unchanged, with rationale: + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler + # -r[0-9][0-9]* specify processor for the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler + # +DA*, +DD* enable 64-bit mode for the HP compiler + # -q* compiler args for the IBM compiler + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC + # -F/path path to uninstalled frameworks, gcc on darwin + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC + # @file GCC response files + # -tp=* Portland pgcc target processor selection + # --sysroot=* for sysroot support + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ + -O*|-flto*|-fwhopr*|-fuse-linker-plugin) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" func_append compile_command " $arg" func_append finalize_command " $arg" - compiler_flags="$compiler_flags $arg" + func_append compiler_flags " $arg" continue ;; @@ -4782,7 +5857,7 @@ *.$objext) # A standard object. - objs="$objs $arg" + func_append objs " $arg" ;; *.lo) @@ -4813,7 +5888,7 @@ if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" + func_append dlfiles " $pic_object" prev= continue else @@ -4825,7 +5900,7 @@ # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" + func_append dlprefiles " $pic_object" prev= fi @@ -4870,24 +5945,25 @@ *.$libext) # An archive. - deplibs="$deplibs $arg" - old_deplibs="$old_deplibs $arg" + func_append deplibs " $arg" + func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. + func_resolve_sysroot "$arg" if test "$prev" = dlfiles; then # This library was specified with -dlopen. - dlfiles="$dlfiles $arg" + func_append dlfiles " $func_resolve_sysroot_result" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. - dlprefiles="$dlprefiles $arg" + func_append dlprefiles " $func_resolve_sysroot_result" prev= else - deplibs="$deplibs $arg" + func_append deplibs " $func_resolve_sysroot_result" fi continue ;; @@ -4925,7 +6001,7 @@ 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\'\` + eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` else shlib_search_path= fi @@ -4934,6 +6010,8 @@ func_dirname "$output" "/" "" output_objdir="$func_dirname_result$objdir" + func_to_tool_file "$output_objdir/" + tool_output_objdir=$func_to_tool_file_result # Create the object directory. func_mkdir_p "$output_objdir" @@ -4954,12 +6032,12 @@ # 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 + if $opt_preserve_dup_deps ; then case "$libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi - libs="$libs $deplib" + func_append libs " $deplib" done if test "$linkmode" = lib; then @@ -4972,9 +6050,9 @@ 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" ;; + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; esac - pre_post_deps="$pre_post_deps $pre_post_dep" + func_append pre_post_deps " $pre_post_dep" done fi pre_post_deps= @@ -5041,17 +6119,19 @@ for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= + func_resolve_sysroot "$lib" case $lib in - *.la) func_source "$lib" ;; + *.la) func_source "$func_resolve_sysroot_result" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do - deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` + func_basename "$deplib" + deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; - *) deplibs="$deplibs $deplib" ;; + *) func_append deplibs " $deplib" ;; esac done done @@ -5072,11 +6152,11 @@ compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else - compiler_flags="$compiler_flags $deplib" + func_append compiler_flags " $deplib" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi @@ -5161,7 +6241,7 @@ if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi @@ -5174,7 +6254,8 @@ test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test "$pass" = conv; then @@ -5188,7 +6269,8 @@ finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" ;; *) func_warning "\`-L' is ignored for archives/objects" @@ -5199,17 +6281,21 @@ -R*) if test "$pass" = link; then func_stripname '-R' '' "$deplib" - dir=$func_stripname_result + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; + *) func_append xrpath " $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; - *.la) lib="$deplib" ;; + *.la) + func_resolve_sysroot "$deplib" + lib=$func_resolve_sysroot_result + ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" @@ -5227,7 +6313,7 @@ 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 \ + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi @@ -5237,15 +6323,15 @@ ;; esac if test "$valid_a_lib" != yes; then - $ECHO + 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." + 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 $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" @@ -5272,11 +6358,11 @@ 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" + func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else - newdlfiles="$newdlfiles $deplib" + func_append newdlfiles " $deplib" fi fi continue @@ -5318,20 +6404,20 @@ # 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'` + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; - *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";; + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; esac done fi - dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then - test -n "$dlopen" && dlfiles="$dlfiles $dlopen" - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" + test -n "$dlopen" && func_append dlfiles " $dlopen" + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test "$pass" = conv; then @@ -5342,20 +6428,20 @@ 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" + func_append convenience " $ladir/$objdir/$old_library" + func_append old_convenience " $ladir/$objdir/$old_library" elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" fi tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" - if $opt_duplicate_deps ; then + if $opt_preserve_dup_deps ; then case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi - tmp_libs="$tmp_libs $deplib" + func_append tmp_libs " $deplib" done continue fi # $pass = conv @@ -5363,9 +6449,15 @@ # Get the name of the library we link against. linklib= - for l in $old_library $library_names; do - linklib="$l" - done + if test -n "$old_library" && + { test "$prefer_static_libs" = yes || + test "$prefer_static_libs,$installed" = "built,no"; }; then + linklib=$old_library + else + for l in $old_library $library_names; do + linklib="$l" + done + fi if test -z "$linklib"; then func_fatal_error "cannot find name of link library for \`$lib'" fi @@ -5382,9 +6474,9 @@ # 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" + func_append dlprefiles " $lib $dependency_libs" else - newdlfiles="$newdlfiles $lib" + func_append newdlfiles " $lib" fi continue fi # $pass = dlopen @@ -5406,14 +6498,14 @@ # 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 + if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library \`$lib' was moved." dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else - dir="$libdir" - absdir="$libdir" + dir="$lt_sysroot$libdir" + absdir="$lt_sysroot$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else @@ -5421,12 +6513,12 @@ dir="$ladir" absdir="$abs_ladir" # Remove this search path later - notinst_path="$notinst_path $abs_ladir" + func_append notinst_path " $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later - notinst_path="$notinst_path $abs_ladir" + func_append notinst_path " $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" @@ -5437,20 +6529,46 @@ 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 + case "$host" in + # special handling for platforms with PE-DLLs. + *cygwin* | *mingw* | *cegcc* ) + # Linker will automatically link against shared library if both + # static and shared are present. Therefore, ensure we extract + # symbols from the import library if a shared library is present + # (otherwise, the dlopen module name will be incorrect). We do + # this by putting the import library name into $newdlprefiles. + # We recover the dlopen module name by 'saving' the la file + # name in a special purpose variable, and (later) extracting the + # dlname from the la file. + if test -n "$dlname"; then + func_tr_sh "$dir/$linklib" + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" + func_append newdlprefiles " $dir/$linklib" + else + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + fi + ;; + * ) + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + func_append newdlprefiles " $dir/$dlname" + else + func_append newdlprefiles " $dir/$linklib" + fi + ;; + esac fi # $pass = dlpreopen if test -z "$libdir"; then @@ -5468,7 +6586,7 @@ if test "$linkmode" = prog && test "$pass" != link; then - newlib_search_path="$newlib_search_path $ladir" + func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=no @@ -5481,7 +6599,8 @@ for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? @@ -5492,12 +6611,12 @@ # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi - if $opt_duplicate_deps ; then + if $opt_preserve_dup_deps ; then case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi - tmp_libs="$tmp_libs $deplib" + func_append tmp_libs " $deplib" done # for deplib continue fi # $linkmode = prog... @@ -5512,7 +6631,7 @@ # Make sure the rpath contains only unique directories. case "$temp_rpath:" in *"$absdir:"*) ;; - *) temp_rpath="$temp_rpath$absdir:" ;; + *) func_append temp_rpath "$absdir:" ;; esac fi @@ -5524,7 +6643,7 @@ *) case "$compile_rpath " in *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" + *) func_append compile_rpath " $absdir" ;; esac ;; esac @@ -5533,7 +6652,7 @@ *) case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" + *) func_append finalize_rpath " $libdir" ;; esac ;; esac @@ -5558,12 +6677,12 @@ case $host in *cygwin* | *mingw* | *cegcc*) # No point in relinking DLLs because paths are not encoded - notinst_deplibs="$notinst_deplibs $lib" + func_append notinst_deplibs " $lib" need_relink=no ;; *) if test "$installed" = no; then - notinst_deplibs="$notinst_deplibs $lib" + func_append notinst_deplibs " $lib" need_relink=yes fi ;; @@ -5580,7 +6699,7 @@ fi done if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then - $ECHO + echo if test "$linkmode" = prog; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else @@ -5598,7 +6717,7 @@ *) case "$compile_rpath " in *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" + *) func_append compile_rpath " $absdir" ;; esac ;; esac @@ -5607,7 +6726,7 @@ *) case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" + *) func_append finalize_rpath " $libdir" ;; esac ;; esac @@ -5661,7 +6780,7 @@ linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" - if test "$linkmode" = prog || test "$mode" != relink; then + if test "$linkmode" = prog || test "$opt_mode" != relink; then add_shlibpath= add_dir= add= @@ -5683,9 +6802,9 @@ 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" + 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 @@ -5717,7 +6836,7 @@ if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" + func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi @@ -5739,7 +6858,7 @@ if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; + *) func_append compile_shlibpath "$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then @@ -5753,13 +6872,13 @@ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi - if test "$linkmode" = prog || test "$mode" = relink; then + if test "$linkmode" = prog || test "$opt_mode" = relink; then add_shlibpath= add_dir= add= @@ -5773,7 +6892,7 @@ elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + *) func_append finalize_shlibpath "$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then @@ -5790,7 +6909,7 @@ if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" + func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi @@ -5825,21 +6944,21 @@ # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. - $ECHO + 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." + 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." + 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." + 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 @@ -5867,37 +6986,46 @@ temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; - *) xrpath="$xrpath $temp_xrpath";; + *) func_append xrpath " $temp_xrpath";; esac;; - *) temp_deplibs="$temp_deplibs $libdir";; + *) func_append temp_deplibs " $libdir";; esac done dependency_libs="$temp_deplibs" fi - newlib_search_path="$newlib_search_path $absdir" + func_append newlib_search_path " $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" - if $opt_duplicate_deps ; then + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result";; + *) func_resolve_sysroot "$deplib" ;; + esac + if $opt_preserve_dup_deps ; then case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + *" $func_resolve_sysroot_result "*) + func_append specialdeplibs " $func_resolve_sysroot_result" ;; esac fi - tmp_libs="$tmp_libs $deplib" + func_append tmp_libs " $func_resolve_sysroot_result" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do + path= case $deplib in -L*) path="$deplib" ;; *.la) + func_resolve_sysroot "$deplib" + deplib=$func_resolve_sysroot_result func_dirname "$deplib" "" "." - dir="$func_dirname_result" + dir=$func_dirname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; @@ -5924,8 +7052,8 @@ 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}" + func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" + func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}" path= fi fi @@ -5958,7 +7086,7 @@ 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'` + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs="$newdependency_libs" @@ -5975,7 +7103,7 @@ for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; - *) lib_search_path="$lib_search_path $dir" ;; + *) func_append lib_search_path " $dir" ;; esac done newlib_search_path= @@ -6033,10 +7161,10 @@ -L*) case " $tmp_libs " in *" $deplib "*) ;; - *) tmp_libs="$tmp_libs $deplib" ;; + *) func_append tmp_libs " $deplib" ;; esac ;; - *) tmp_libs="$tmp_libs $deplib" ;; + *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" @@ -6052,7 +7180,7 @@ ;; esac if test -n "$i" ; then - tmp_libs="$tmp_libs $i" + func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs @@ -6093,7 +7221,7 @@ # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" - objs="$objs$old_deplibs" + func_append objs "$old_deplibs" ;; lib) @@ -6126,10 +7254,10 @@ 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 $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" - libobjs="$libobjs $objs" + func_append libobjs " $objs" fi fi @@ -6194,7 +7322,7 @@ age="$number_minor" revision="$number_revision" ;; - freebsd-aout|freebsd-elf|sunos) + freebsd-aout|freebsd-elf|qnx|sunos) current="$number_major" revision="$number_minor" age="0" @@ -6327,7 +7455,7 @@ done # Make executables depend on our current version. - verstring="$verstring:${current}.0" + func_append verstring ":${current}.0" ;; qnx) @@ -6395,10 +7523,10 @@ fi func_generate_dlsyms "$libname" "$libname" "yes" - libobjs="$libobjs $symfileobj" + func_append libobjs " $symfileobj" test "X$libobjs" = "X " && libobjs= - if test "$mode" != relink; then + if test "$opt_mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= @@ -6414,7 +7542,7 @@ continue fi fi - removelist="$removelist $p" + func_append removelist " $p" ;; *) ;; esac @@ -6425,27 +7553,28 @@ # 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" + func_append oldlibs " $output_objdir/$libname.$libext" # Transform .lo files to .o files. - oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do - # lib_search_path=`$ECHO "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"` + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do - temp_xrpath="$temp_xrpath -R$libdir" + func_replace_sysroot "$libdir" + func_append temp_xrpath " -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; + *) func_append finalize_rpath " $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then @@ -6459,7 +7588,7 @@ for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; - *) dlfiles="$dlfiles $lib" ;; + *) func_append dlfiles " $lib" ;; esac done @@ -6469,19 +7598,19 @@ for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; - *) dlprefiles="$dlprefiles $lib" ;; + *) func_append dlprefiles " $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework - deplibs="$deplibs System.ltframework" + func_append deplibs " System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. @@ -6498,7 +7627,7 @@ *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then - deplibs="$deplibs -lc" + func_append deplibs " -lc" fi ;; esac @@ -6547,7 +7676,7 @@ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $i "*) - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" i="" ;; esac @@ -6558,21 +7687,21 @@ set dummy $deplib_matches; shift deplib_match=$1 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" else droppeddeps=yes - $ECHO + echo $ECHO "*** Warning: dynamic linker does not accept needed library $i." - $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 I believe you do not have" - $ECHO "*** because a test_compile did reveal that the linker did not use it for" - $ECHO "*** its dynamic dependency list that programs get resolved with at runtime." + 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 I believe you do not have" + echo "*** because a test_compile did reveal that the linker did not use it for" + echo "*** its dynamic dependency list that programs get resolved with at runtime." fi fi ;; *) - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" ;; esac done @@ -6590,7 +7719,7 @@ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $i "*) - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" i="" ;; esac @@ -6601,29 +7730,29 @@ set dummy $deplib_matches; shift deplib_match=$1 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" else droppeddeps=yes - $ECHO + echo $ECHO "*** Warning: dynamic linker does not accept needed library $i." - $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 a test_compile did reveal that the linker did not use this one" - $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime." + 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 a test_compile did reveal that the linker did not use this one" + echo "*** as a dynamic dependency that programs can get resolved with at runtime." fi fi else droppeddeps=yes - $ECHO + echo $ECHO "*** Warning! Library $i is needed by this library but I was not able to" - $ECHO "*** make it link in! You will probably need to install it or some" - $ECHO "*** library that it depends on before this library will be fully" - $ECHO "*** functional. Installing it before continuing would be even better." + echo "*** make it link in! You will probably need to install it or some" + echo "*** library that it depends on before this library will be fully" + echo "*** functional. Installing it before continuing would be even better." fi ;; *) - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" ;; esac done @@ -6640,15 +7769,27 @@ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval "\\$ECHO \"$libname_spec\""` + if test -n "$file_magic_glob"; then + libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob` + else + libnameglob=$libname + fi + test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do - potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + if test "$want_nocaseglob" = yes; then + shopt -s nocaseglob + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + $nocaseglob + else + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + fi for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null | @@ -6665,13 +7806,13 @@ potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; - *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; + *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" a_deplib="" break 2 fi @@ -6680,12 +7821,12 @@ fi if test -n "$a_deplib" ; then droppeddeps=yes - $ECHO + 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" + 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 @@ -6696,7 +7837,7 @@ ;; *) # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. @@ -6712,7 +7853,7 @@ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" a_deplib="" ;; esac @@ -6723,9 +7864,9 @@ 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 | \ + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" a_deplib="" break 2 fi @@ -6734,12 +7875,12 @@ fi if test -n "$a_deplib" ; then droppeddeps=yes - $ECHO + 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" + 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 @@ -6750,32 +7891,32 @@ ;; *) # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" + func_append 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'` + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' - tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"` + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` done fi - if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' | - $GREP . >/dev/null; then - $ECHO + case $tmp_deplibs in + *[!\ \ ]*) + echo if test "X$deplibs_check_method" = "Xnone"; then - $ECHO "*** Warning: inter-library dependencies are not supported in this platform." + echo "*** Warning: inter-library dependencies are not supported in this platform." else - $ECHO "*** Warning: inter-library dependencies are not known to be supported." + echo "*** Warning: inter-library dependencies are not known to be supported." fi - $ECHO "*** All declared inter-library dependencies are being dropped." + echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes - fi + ;; + esac ;; esac versuffix=$versuffix_save @@ -6787,23 +7928,23 @@ 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 /'` + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then - $ECHO - $ECHO "*** Warning: libtool could not satisfy all declared inter-library" + echo + 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." + 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." + 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" @@ -6813,16 +7954,16 @@ 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." + 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." + 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 @@ -6839,9 +7980,9 @@ # 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'` + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac @@ -6854,7 +7995,7 @@ *) case " $deplibs " in *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; + func_append new_libs " -L$path/$objdir" ;; esac ;; esac @@ -6864,10 +8005,10 @@ -L*) case " $new_libs " in *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; + *) func_append new_libs " $deplib" ;; esac ;; - *) new_libs="$new_libs $deplib" ;; + *) func_append new_libs " $deplib" ;; esac done deplibs="$new_libs" @@ -6884,10 +8025,12 @@ hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" - test "$mode" != relink && rpath="$compile_rpath$rpath" + test "$opt_mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then + func_replace_sysroot "$libdir" + libdir=$func_replace_sysroot_result if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else @@ -6896,18 +8039,18 @@ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" - dep_rpath="$dep_rpath $flag" + func_append dep_rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; + *) func_apped perm_rpath " $libdir" ;; esac fi done @@ -6925,7 +8068,7 @@ # We should set the runpath_var. rpath= for dir in $perm_rpath; do - rpath="$rpath$dir:" + func_append rpath "$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi @@ -6933,7 +8076,7 @@ fi shlibpath="$finalize_shlibpath" - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi @@ -6959,18 +8102,18 @@ linknames= for link do - linknames="$linknames $link" + func_append linknames " $link" done # Use standard objects if they are pic - test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols="$output_objdir/$libname.uexp" - delfiles="$delfiles $export_symbols" + func_append delfiles " $export_symbols" fi orig_export_symbols= @@ -7001,13 +8144,45 @@ $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do + for cmd1 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 + # Take the normal branch if the nm_file_list_spec branch + # doesn't work or if tool conversion is not needed. + case $nm_file_list_spec~$to_tool_file_cmd in + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) + try_normal_branch=yes + eval cmd=\"$cmd1\" + func_len " $cmd" + len=$func_len_result + ;; + *) + try_normal_branch=no + ;; + esac + if test "$try_normal_branch" = yes \ + && { test "$len" -lt "$max_cmd_len" \ + || test "$max_cmd_len" -le -1; } + then + func_show_eval "$cmd" 'exit $?' + skipped_export=false + elif test -n "$nm_file_list_spec"; then + func_basename "$output" + output_la=$func_basename_result + save_libobjs=$libobjs + save_output=$output + output=${output_objdir}/${output_la}.nm + func_to_tool_file "$output" + libobjs=$nm_file_list_spec$func_to_tool_file_result + func_append delfiles " $output" + func_verbose "creating $NM input file list: $output" + for obj in $save_libobjs; do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > "$output" + eval cmd=\"$cmd1\" func_show_eval "$cmd" 'exit $?' + output=$save_output + libobjs=$save_libobjs skipped_export=false else # The command line is too long to execute in one step. @@ -7029,7 +8204,7 @@ 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"' + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then @@ -7041,7 +8216,7 @@ # 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" + func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi @@ -7051,7 +8226,7 @@ case " $convenience " in *" $test_deplib "*) ;; *) - tmp_deplibs="$tmp_deplibs $test_deplib" + func_append tmp_deplibs " $test_deplib" ;; esac done @@ -7071,21 +8246,21 @@ test "X$libobjs" = "X " && libobjs= else gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" + func_append generated " $gentop" func_extract_archives $gentop $convenience - libobjs="$libobjs $func_extract_archives_result" + func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" - linker_flags="$linker_flags $flag" + func_append linker_flags " $flag" fi # Make a backup of the uninstalled library when relinking - if test "$mode" = relink; then + if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi @@ -7130,7 +8305,8 @@ save_libobjs=$libobjs fi save_output=$output - output_la=`$ECHO "X$output" | $Xsed -e "$basename"` + func_basename "$output" + output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. @@ -7143,13 +8319,16 @@ 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 + echo 'INPUT (' > $output for obj in $save_libobjs do - $ECHO "$obj" >> $output + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output done - $ECHO ')' >> $output - delfiles="$delfiles $output" + echo ')' >> $output + func_append delfiles " $output" + func_to_tool_file "$output" + output=$func_to_tool_file_result elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then output=${output_objdir}/${output_la}.lnk func_verbose "creating linker input file list: $output" @@ -7163,10 +8342,12 @@ fi for obj do - $ECHO "$obj" >> $output + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output done - delfiles="$delfiles $output" - output=$firstobj\"$file_list_spec$output\" + func_append delfiles " $output" + func_to_tool_file "$output" + output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." @@ -7190,17 +8371,19 @@ # 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\" + reload_objs=$objlist + eval concat_cmds=\"$reload_cmds\" 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\" + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-${k}.$objext - objlist=$obj + objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result @@ -7210,11 +8393,12 @@ # 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\" + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\${concat_cmds}$reload_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" fi - delfiles="$delfiles $output" + func_append delfiles " $output" else output= @@ -7248,7 +8432,7 @@ lt_exit=$? # Restore the uninstalled library and exit - if test "$mode" = relink; then + if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) @@ -7269,7 +8453,7 @@ 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"' + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then @@ -7281,7 +8465,7 @@ # 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" + func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi @@ -7322,10 +8506,10 @@ # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" + func_append generated " $gentop" func_extract_archives $gentop $dlprefiles - libobjs="$libobjs $func_extract_archives_result" + func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi @@ -7341,7 +8525,7 @@ lt_exit=$? # Restore the uninstalled library and exit - if test "$mode" = relink; then + if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) @@ -7353,7 +8537,7 @@ IFS="$save_ifs" # Restore the uninstalled library and exit - if test "$mode" = relink; then + if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then @@ -7434,18 +8618,21 @@ 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'` + reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` else gentop="$output_objdir/${obj}x" - generated="$generated $gentop" + func_append generated " $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi + # If we're not building shared, we need to use non_pic_objs + test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" + # Create the old-style object. - reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" func_execute_cmds "$reload_cmds" 'exit $?' @@ -7505,8 +8692,8 @@ 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 /'` + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac @@ -7517,14 +8704,14 @@ 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" + func_append compile_command " ${wl}-bind_at_load" + func_append finalize_command " ${wl}-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac @@ -7538,7 +8725,7 @@ *) case " $compile_deplibs " in *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; + func_append new_libs " -L$path/$objdir" ;; esac ;; esac @@ -7548,17 +8735,17 @@ -L*) case " $new_libs " in *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; + *) func_append new_libs " $deplib" ;; esac ;; - *) new_libs="$new_libs $deplib" ;; + *) func_append new_libs " $deplib" ;; esac done compile_deplibs="$new_libs" - compile_command="$compile_command $compile_deplibs" - finalize_command="$finalize_command $finalize_deplibs" + func_append compile_command " $compile_deplibs" + func_append finalize_command " $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. @@ -7566,7 +8753,7 @@ # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; + *) func_append finalize_rpath " $libdir" ;; esac done fi @@ -7585,18 +8772,18 @@ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" + func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; + *) func_append perm_rpath " $libdir" ;; esac fi case $host in @@ -7605,12 +8792,12 @@ case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; - *) dllsearchpath="$dllsearchpath:$libdir";; + *) func_append dllsearchpath ":$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; + *) func_append dllsearchpath ":$testbindir";; esac ;; esac @@ -7636,18 +8823,18 @@ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" + func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; + *) func_append finalize_perm_rpath " $libdir" ;; esac fi done @@ -7661,8 +8848,8 @@ 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` + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" "no" @@ -7674,15 +8861,15 @@ wrappers_required=yes case $host in + *cegcc* | *mingw32ce*) + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. + wrappers_required=no + ;; *cygwin* | *mingw* ) if test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; - *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 @@ -7691,13 +8878,19 @@ esac if test "$wrappers_required" = no; then # Replace the output file specification. - compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + # Delete the generated files. if test -f "$output_objdir/${outputname}S.${objext}"; then func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' @@ -7720,7 +8913,7 @@ # We should set the runpath_var. rpath= for dir in $perm_rpath; do - rpath="$rpath$dir:" + func_append rpath "$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi @@ -7728,7 +8921,7 @@ # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do - rpath="$rpath$dir:" + func_append rpath "$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi @@ -7738,11 +8931,18 @@ # 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'` + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + exit $EXIT_SUCCESS fi @@ -7757,7 +8957,7 @@ 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'` + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= @@ -7769,13 +8969,19 @@ fi # Replace the output file specification. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' + if test -n "$postlink_cmds"; then + func_to_tool_file "$output_objdir/$outputname" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + # Now create the wrapper script. func_verbose "creating $output" @@ -7793,18 +8999,7 @@ 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"` + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. @@ -7884,7 +9079,7 @@ else oldobjs="$old_deplibs $non_pic_objects" if test "$preload" = yes && test -f "$symfileobj"; then - oldobjs="$oldobjs $symfileobj" + func_append oldobjs " $symfileobj" fi fi addlibs="$old_convenience" @@ -7892,10 +9087,10 @@ if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" + func_append generated " $gentop" func_extract_archives $gentop $addlibs - oldobjs="$oldobjs $func_extract_archives_result" + func_append oldobjs " $func_extract_archives_result" fi # Do each command in the archive commands. @@ -7906,10 +9101,10 @@ # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" + func_append generated " $gentop" func_extract_archives $gentop $dlprefiles - oldobjs="$oldobjs $func_extract_archives_result" + func_append oldobjs " $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have @@ -7925,9 +9120,9 @@ done | sort | sort -uc >/dev/null 2>&1); then : else - $ECHO "copying selected object files to avoid basename conflicts..." + echo "copying selected object files to avoid basename conflicts..." gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" + func_append generated " $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= @@ -7951,9 +9146,9 @@ esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" - oldobjs="$oldobjs $gentop/$newobj" + func_append oldobjs " $gentop/$newobj" ;; - *) oldobjs="$oldobjs $obj" ;; + *) func_append oldobjs " $obj" ;; esac done fi @@ -7963,6 +9158,16 @@ len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds + elif test -n "$archiver_list_spec"; then + func_verbose "using command file archive linking..." + for obj in $oldobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > $output_objdir/$libname.libcmd + func_to_tool_file "$output_objdir/$libname.libcmd" + oldobjs=" $archiver_list_spec$func_to_tool_file_result" + cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." @@ -8036,7 +9241,7 @@ 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"` + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi @@ -8059,9 +9264,19 @@ 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" + func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" + ;; + -L*) + func_stripname -L '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -L$func_replace_sysroot_result" ;; - *) newdependency_libs="$newdependency_libs $deplib" ;; + -R*) + func_stripname -R '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -R$func_replace_sysroot_result" + ;; + *) func_append newdependency_libs " $deplib" ;; esac done dependency_libs="$newdependency_libs" @@ -8075,9 +9290,9 @@ 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" + func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" ;; - *) newdlfiles="$newdlfiles $lib" ;; + *) func_append newdlfiles " $lib" ;; esac done dlfiles="$newdlfiles" @@ -8094,7 +9309,7 @@ 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" + func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" ;; esac done @@ -8106,7 +9321,7 @@ [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac - newdlfiles="$newdlfiles $abs" + func_append newdlfiles " $abs" done dlfiles="$newdlfiles" newdlprefiles= @@ -8115,15 +9330,33 @@ [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac - newdlprefiles="$newdlprefiles $abs" + func_append newdlprefiles " $abs" done dlprefiles="$newdlprefiles" fi $RM $output # place dlname in correct position for cygwin + # In fact, it would be nice if we could use this code for all target + # systems that can't hard-code library paths into their executables + # and that have no shared library path variable independent of PATH, + # but it turns out we can't easily determine that from inspecting + # libtool variables, so we have to hard-code the OSs to which it + # applies here; at the moment, that means platforms that use the PE + # object format with DLL files. See the long comment at the top of + # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) + # If a -bindir argument was supplied, place the dll there. + if test "x$bindir" != x ; + then + func_relative_path "$install_libdir" "$bindir" + tdlname=$func_relative_path_result$dlname + else + # Otherwise fall back on heuristic. + tdlname=../bin/$dlname + fi + ;; esac $ECHO > $output "\ # $outputname - a libtool library file @@ -8182,7 +9415,7 @@ exit $EXIT_SUCCESS } -{ test "$mode" = link || test "$mode" = relink; } && +{ test "$opt_mode" = link || test "$opt_mode" = relink; } && func_mode_link ${1+"$@"} @@ -8202,9 +9435,9 @@ for arg do case $arg in - -f) RM="$RM $arg"; rmforce=yes ;; - -*) RM="$RM $arg" ;; - *) files="$files $arg" ;; + -f) func_append RM " $arg"; rmforce=yes ;; + -*) func_append RM " $arg" ;; + *) func_append files " $arg" ;; esac done @@ -8213,24 +9446,23 @@ rmdirs= - origobjdir="$objdir" for file in $files; do func_dirname "$file" "" "." dir="$func_dirname_result" if test "X$dir" = X.; then - objdir="$origobjdir" + odir="$objdir" else - objdir="$dir/$origobjdir" + odir="$dir/$objdir" fi func_basename "$file" name="$func_basename_result" - test "$mode" = uninstall && objdir="$dir" + test "$opt_mode" = uninstall && odir="$dir" - # Remember objdir for removal later, being careful to avoid duplicates - if test "$mode" = clean; then + # Remember odir for removal later, being careful to avoid duplicates + if test "$opt_mode" = clean; then case " $rmdirs " in - *" $objdir "*) ;; - *) rmdirs="$rmdirs $objdir" ;; + *" $odir "*) ;; + *) func_append rmdirs " $odir" ;; esac fi @@ -8256,18 +9488,17 @@ # Delete the libtool libraries and symlinks. for n in $library_names; do - rmfiles="$rmfiles $objdir/$n" + func_append rmfiles " $odir/$n" done - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" + test -n "$old_library" && func_append rmfiles " $odir/$old_library" - case "$mode" in + case "$opt_mode" in clean) - case " $library_names " in - # " " in the beginning catches empty $dlname + case " $library_names " in *" $dlname "*) ;; - *) rmfiles="$rmfiles $objdir/$dlname" ;; + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; esac - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then @@ -8295,19 +9526,19 @@ # 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" + func_append rmfiles " $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test "$non_pic_object" != none; then - rmfiles="$rmfiles $dir/$non_pic_object" + func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) - if test "$mode" = clean ; then + if test "$opt_mode" = clean ; then noexename=$name case $file in *.exe) @@ -8317,7 +9548,7 @@ noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe - rmfiles="$rmfiles $file" + func_append rmfiles " $file" ;; esac # Do a test to see if this is a libtool program. @@ -8326,7 +9557,7 @@ func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result - rmfiles="$rmfiles $func_ltwrapper_scriptname_result" + func_append rmfiles " $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename @@ -8334,12 +9565,12 @@ # 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}" + func_append rmfiles " $odir/$name $odir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then - rmfiles="$rmfiles $objdir/lt-$name" + func_append rmfiles " $odir/lt-$name" fi if test "X$noexename" != "X$name" ; then - rmfiles="$rmfiles $objdir/lt-${noexename}.c" + func_append rmfiles " $odir/lt-${noexename}.c" fi fi fi @@ -8347,7 +9578,6 @@ 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 @@ -8359,16 +9589,16 @@ exit $exit_status } -{ test "$mode" = uninstall || test "$mode" = clean; } && +{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && func_mode_uninstall ${1+"$@"} -test -z "$mode" && { +test -z "$opt_mode" && { help="$generic_help" func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ - func_fatal_help "invalid operation mode \`$mode'" + func_fatal_help "invalid operation mode \`$opt_mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" diff -Nru parole-0.2.0.2/Makefile.am parole-0.2.0.6/Makefile.am --- parole-0.2.0.2/Makefile.am 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/Makefile.am 2011-04-17 11:53:19.000000000 +0000 @@ -1,7 +1,3 @@ -if ENABLE_BROWSER_PLUGIN -browser_plugin_dir = browser-plugin -endif - SUBDIRS = \ data \ parole \ @@ -10,7 +6,6 @@ dbus \ src \ plugins \ - $(browser_plugin_dir) \ docs \ po diff -Nru parole-0.2.0.2/Makefile.in parole-0.2.0.6/Makefile.in --- parole-0.2.0.2/Makefile.in 2010-01-25 11:47:27.000000000 +0000 +++ parole-0.2.0.6/Makefile.in 2011-04-17 11:54:33.000000000 +0000 @@ -71,8 +71,7 @@ distdir dist dist-all distcheck ETAGS = etags CTAGS = ctags -DIST_SUBDIRS = data parole common gst dbus src plugins browser-plugin \ - docs po +DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) @@ -118,7 +117,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -142,6 +140,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -231,6 +230,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -256,6 +256,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -279,6 +281,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -312,7 +315,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -329,7 +331,6 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -@ENABLE_BROWSER_PLUGIN_TRUE@browser_plugin_dir = browser-plugin SUBDIRS = \ data \ parole \ @@ -338,7 +339,6 @@ dbus \ src \ plugins \ - $(browser_plugin_dir) \ docs \ po diff -Nru parole-0.2.0.2/parole/Makefile.in parole-0.2.0.6/parole/Makefile.in --- parole-0.2.0.2/parole/Makefile.in 2010-01-25 11:47:26.000000000 +0000 +++ parole-0.2.0.6/parole/Makefile.in 2011-04-17 11:54:32.000000000 +0000 @@ -127,7 +127,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -151,6 +150,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -240,6 +240,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -265,6 +266,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -288,6 +291,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -321,7 +325,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/parole/parole-debug.c parole-0.2.0.6/parole/parole-debug.c --- parole-0.2.0.2/parole/parole-debug.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-debug.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2008-2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-debug.h parole-0.2.0.6/parole/parole-debug.h --- parole-0.2.0.2/parole/parole-debug.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-debug.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2008-2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-enum-types.c parole-0.2.0.6/parole/parole-enum-types.c --- parole-0.2.0.2/parole/parole-enum-types.c 2010-01-25 11:48:09.000000000 +0000 +++ parole-0.2.0.6/parole/parole-enum-types.c 2011-04-17 11:54:52.000000000 +0000 @@ -1,5 +1,5 @@ -/* Generated data (by glib-mkenums) */ + #include "parole-enum-types.h" @@ -83,5 +83,5 @@ return etype; } -/* Generated data ends here */ + diff -Nru parole-0.2.0.2/parole/parole-enum-types.h parole-0.2.0.6/parole/parole-enum-types.h --- parole-0.2.0.2/parole/parole-enum-types.h 2010-01-25 11:23:09.000000000 +0000 +++ parole-0.2.0.6/parole/parole-enum-types.h 2011-04-17 11:54:52.000000000 +0000 @@ -1,5 +1,5 @@ -/* Generated data (by glib-mkenums) */ + #ifndef __PAROLE_ENUM_TYPE_H__ #define __PAROLE_ENUM_TYPE_H__ @@ -20,5 +20,5 @@ #endif /* __PAROLE_ENUM_TYPE_H__ */ -/* Generated data ends here */ + diff -Nru parole-0.2.0.2/parole/parole-file.c parole-0.2.0.6/parole/parole-file.c --- parole-0.2.0.2/parole/parole-file.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-file.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-file.h parole-0.2.0.6/parole/parole-file.h --- parole-0.2.0.2/parole/parole-file.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-file.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-filters.c parole-0.2.0.6/parole/parole-filters.c --- parole-0.2.0.2/parole/parole-filters.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-filters.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-filters.h parole-0.2.0.6/parole/parole-filters.h --- parole-0.2.0.2/parole/parole-filters.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-filters.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole.h parole-0.2.0.6/parole/parole.h --- parole-0.2.0.2/parole/parole.h 2010-01-25 11:47:37.000000000 +0000 +++ parole-0.2.0.6/parole/parole.h 2011-04-17 11:54:49.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -37,7 +37,7 @@ #define PAROLE_MAJOR_VERSION 0 #define PAROLE_MINOR_VERSION 2 -#define PAROLE_MICRO_VERSION 0.2 +#define PAROLE_MICRO_VERSION 0.6 /** * PAROLE_CHECK_VERSION: diff -Nru parole-0.2.0.2/parole/parole.h.in parole-0.2.0.6/parole/parole.h.in --- parole-0.2.0.2/parole/parole.h.in 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole.h.in 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-marshal.c parole-0.2.0.6/parole/parole-marshal.c --- parole-0.2.0.2/parole/parole-marshal.c 2010-01-25 11:23:09.000000000 +0000 +++ parole-0.2.0.6/parole/parole-marshal.c 2011-04-17 11:54:52.000000000 +0000 @@ -22,6 +22,7 @@ #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) #define g_marshal_value_peek_object(v) g_value_get_object (v) +#define g_marshal_value_peek_variant(v) g_value_get_variant (v) #else /* !G_ENABLE_DEBUG */ /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. * Do not access GValues directly in your code. Instead, use the @@ -45,6 +46,7 @@ #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer +#define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer #endif /* !G_ENABLE_DEBUG */ diff -Nru parole-0.2.0.2/parole/parole-pl-parser.c parole-0.2.0.6/parole/parole-pl-parser.c --- parole-0.2.0.2/parole/parole-pl-parser.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-pl-parser.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-pl-parser.h parole-0.2.0.6/parole/parole-pl-parser.h --- parole-0.2.0.2/parole/parole-pl-parser.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-pl-parser.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-provider-player.c parole-0.2.0.6/parole/parole-provider-player.c --- parole-0.2.0.2/parole/parole-provider-player.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-provider-player.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-provider-player.h parole-0.2.0.6/parole/parole-provider-player.h --- parole-0.2.0.2/parole/parole-provider-player.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-provider-player.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-provider-plugin.c parole-0.2.0.6/parole/parole-provider-plugin.c --- parole-0.2.0.2/parole/parole-provider-plugin.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-provider-plugin.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-provider-plugin.h parole-0.2.0.6/parole/parole-provider-plugin.h --- parole-0.2.0.2/parole/parole-provider-plugin.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-provider-plugin.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/parole/parole-stream.c parole-0.2.0.6/parole/parole-stream.c --- parole-0.2.0.2/parole/parole-stream.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-stream.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -452,7 +452,7 @@ * Since: 0.2 **/ g_object_class_install_property (object_class, - PROP_SEEKABLE, + PROP_TAG_AVAILABLE, g_param_spec_boolean ("tag-available", "Tag available", "Tag available", diff -Nru parole-0.2.0.2/parole/parole-stream.h parole-0.2.0.6/parole/parole-stream.h --- parole-0.2.0.2/parole/parole-stream.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/parole/parole-stream.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/Makefile.in parole-0.2.0.6/plugins/Makefile.in --- parole-0.2.0.2/plugins/Makefile.in 2010-01-25 11:47:26.000000000 +0000 +++ parole-0.2.0.6/plugins/Makefile.in 2011-04-17 11:54:32.000000000 +0000 @@ -105,7 +105,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -129,6 +128,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -218,6 +218,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -243,6 +244,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -266,6 +269,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -299,7 +303,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/plugins/power-manager/Makefile.in parole-0.2.0.6/plugins/power-manager/Makefile.in --- parole-0.2.0.2/plugins/power-manager/Makefile.in 2010-01-25 11:47:26.000000000 +0000 +++ parole-0.2.0.6/plugins/power-manager/Makefile.in 2011-04-17 11:54:32.000000000 +0000 @@ -122,7 +122,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -146,6 +145,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -235,6 +235,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -260,6 +261,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -283,6 +286,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -316,7 +320,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/plugins/power-manager/power-manager-plugin.c parole-0.2.0.6/plugins/power-manager/power-manager-plugin.c --- parole-0.2.0.2/plugins/power-manager/power-manager-plugin.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/power-manager/power-manager-plugin.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/power-manager/power-manager-provider.c parole-0.2.0.6/plugins/power-manager/power-manager-provider.c --- parole-0.2.0.2/plugins/power-manager/power-manager-provider.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/power-manager/power-manager-provider.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/power-manager/power-manager-provider.h parole-0.2.0.6/plugins/power-manager/power-manager-provider.h --- parole-0.2.0.2/plugins/power-manager/power-manager-provider.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/power-manager/power-manager-provider.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/properties/Makefile.in parole-0.2.0.6/plugins/properties/Makefile.in --- parole-0.2.0.2/plugins/properties/Makefile.in 2010-01-25 11:47:26.000000000 +0000 +++ parole-0.2.0.6/plugins/properties/Makefile.in 2011-04-17 11:54:32.000000000 +0000 @@ -122,7 +122,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -146,6 +145,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -235,6 +235,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -260,6 +261,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -283,6 +286,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -316,7 +320,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/plugins/properties/stream-properties-plugin.c parole-0.2.0.6/plugins/properties/stream-properties-plugin.c --- parole-0.2.0.2/plugins/properties/stream-properties-plugin.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/properties/stream-properties-plugin.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/properties/stream-properties-provider.c parole-0.2.0.6/plugins/properties/stream-properties-provider.c --- parole-0.2.0.2/plugins/properties/stream-properties-provider.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/properties/stream-properties-provider.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/properties/stream-properties-provider.h parole-0.2.0.6/plugins/properties/stream-properties-provider.h --- parole-0.2.0.2/plugins/properties/stream-properties-provider.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/properties/stream-properties-provider.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/sample/Makefile.in parole-0.2.0.6/plugins/sample/Makefile.in --- parole-0.2.0.2/plugins/sample/Makefile.in 2010-01-25 11:47:27.000000000 +0000 +++ parole-0.2.0.6/plugins/sample/Makefile.in 2011-04-17 11:54:32.000000000 +0000 @@ -96,7 +96,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -120,6 +119,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -209,6 +209,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -234,6 +235,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -257,6 +260,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -290,7 +294,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/plugins/sample/sample-plugin.c parole-0.2.0.6/plugins/sample/sample-plugin.c --- parole-0.2.0.2/plugins/sample/sample-plugin.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/sample/sample-plugin.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/sample/sample-provider.c parole-0.2.0.6/plugins/sample/sample-provider.c --- parole-0.2.0.2/plugins/sample/sample-provider.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/sample/sample-provider.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/sample/sample-provider.h parole-0.2.0.6/plugins/sample/sample-provider.h --- parole-0.2.0.2/plugins/sample/sample-provider.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/sample/sample-provider.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/tray/Makefile.in parole-0.2.0.6/plugins/tray/Makefile.in --- parole-0.2.0.2/plugins/tray/Makefile.in 2010-01-25 11:47:27.000000000 +0000 +++ parole-0.2.0.6/plugins/tray/Makefile.in 2011-04-17 11:54:33.000000000 +0000 @@ -120,7 +120,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -144,6 +143,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -233,6 +233,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -258,6 +259,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -281,6 +284,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -314,7 +318,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/plugins/tray/tray-plugin.c parole-0.2.0.6/plugins/tray/tray-plugin.c --- parole-0.2.0.2/plugins/tray/tray-plugin.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/tray/tray-plugin.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/tray/tray-provider.c parole-0.2.0.6/plugins/tray/tray-provider.c --- parole-0.2.0.2/plugins/tray/tray-provider.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/tray/tray-provider.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -31,8 +31,9 @@ #include #endif -#include + #include +#include #include "tray-provider.h" @@ -42,6 +43,9 @@ static void tray_provider_finalize (GObject *object); +extern GdkPixbuf *parole_icon_load (const gchar *icon_name, gint size); + + struct _TrayProviderClass { GObjectClass parent_class; @@ -195,6 +199,23 @@ } static void +close_notification (TrayProvider *tray) +{ + if ( tray->n ) + { + GError *error = NULL; + notify_notification_close (tray->n, &error); + if ( error ) + { + g_warning ("Failed to close notification : %s", error->message); + g_error_free (error); + } + g_object_unref (tray->n); + tray->n = NULL; + } +} + +static void notify_playing (TrayProvider *tray, const ParoleStream *stream) { GdkPixbuf *pix; @@ -260,13 +281,25 @@ } message = g_strdup_printf ("%s %s %s %s", _("Playing:"), title, _("Duration:"), timestring); - + +#ifdef NOTIFY_CHECK_VERSION +#if NOTIFY_CHECK_VERSION (0, 7, 0) + tray->n = notify_notification_new (title, message, NULL); +#else + tray->n = notify_notification_new (title, message, NULL, NULL); +#endif +#else tray->n = notify_notification_new (title, message, NULL, NULL); +#endif g_free (title); g_free (message); +#ifdef NOTIFY_CHECK_VERSION +#if !NOTIFY_CHECK_VERSION (0, 7, 0) notify_notification_attach_to_status_icon (tray->n, tray->tray); - pix = xfce_themed_icon_load (has_video ? "video" : "audio-x-generic", 48); +#endif +#endif + pix = parole_icon_load (has_video ? "video" : "audio-x-generic", 48); if ( pix ) { notify_notification_set_icon_from_pixbuf (tray->n, pix); @@ -286,10 +319,6 @@ static void state_changed_cb (ParoleProviderPlayer *player, const ParoleStream *stream, ParoleState state, TrayProvider *tray) { -#ifdef HAVE_LIBNOTIFY - gboolean tag; -#endif - tray->state = state; if ( tray->menu ) @@ -303,47 +332,17 @@ if ( state == PAROLE_STATE_PLAYING ) { - g_object_get (G_OBJECT (stream), - "tag-available", &tag, - NULL); - - if ( tag ) - notify_playing (tray, stream); + notify_playing (tray, stream); } else if ( state <= PAROLE_STATE_PAUSED ) { - if ( tray->n ) - { - GError *error = NULL; - notify_notification_close (tray->n, &error); - if ( error ) - { - g_warning ("Failed to close notification : %s", error->message); - g_error_free (error); - } - g_object_unref (tray->n); - tray->n = NULL; - } + close_notification (tray); if ( state < PAROLE_STATE_PAUSED ) tray->notify = TRUE; } #endif } -static void -tag_message_cb (ParoleProviderPlayer *player, const ParoleStream *stream, TrayProvider *tray) -{ -#ifdef HAVE_LIBNOTIFY - ParoleState state; - - state = parole_provider_player_get_state (player); - - if (state == PAROLE_STATE_PLAYING ) - notify_playing (tray, stream); - -#endif -} - static gboolean read_entry_bool (const gchar *entry, gboolean fallback) { @@ -573,7 +572,7 @@ tray->notify = TRUE; #endif - pix = xfce_themed_icon_load ("parole", 48); + pix = parole_icon_load ("parole", 48); if ( pix ) { @@ -592,10 +591,6 @@ g_signal_connect (player, "state_changed", G_CALLBACK (state_changed_cb), tray); - - g_signal_connect (player, "tag-message", - G_CALLBACK (tag_message_cb), tray); - } static void @@ -634,6 +629,10 @@ if ( GTK_IS_WIDGET (tray->window) && g_signal_handler_is_connected (tray->window, tray->sig) ) g_signal_handler_disconnect (tray->window, tray->sig); + +#ifdef HAVE_LIBNOTIFY + close_notification (tray); +#endif g_object_unref (G_OBJECT (tray->tray)); diff -Nru parole-0.2.0.2/plugins/tray/tray-provider.h parole-0.2.0.6/plugins/tray/tray-provider.h --- parole-0.2.0.2/plugins/tray/tray-provider.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/tray/tray-provider.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/window-title/Makefile.in parole-0.2.0.6/plugins/window-title/Makefile.in --- parole-0.2.0.2/plugins/window-title/Makefile.in 2010-01-25 11:47:27.000000000 +0000 +++ parole-0.2.0.6/plugins/window-title/Makefile.in 2011-04-17 11:54:33.000000000 +0000 @@ -120,7 +120,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -144,6 +143,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -233,6 +233,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -258,6 +259,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -281,6 +284,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -314,7 +318,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/plugins/window-title/window-title-plugin.c parole-0.2.0.6/plugins/window-title/window-title-plugin.c --- parole-0.2.0.2/plugins/window-title/window-title-plugin.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/window-title/window-title-plugin.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/window-title/window-title-provider.c parole-0.2.0.6/plugins/window-title/window-title-provider.c --- parole-0.2.0.2/plugins/window-title/window-title-provider.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/window-title/window-title-provider.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/plugins/window-title/window-title-provider.h parole-0.2.0.6/plugins/window-title/window-title-provider.h --- parole-0.2.0.2/plugins/window-title/window-title-provider.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/plugins/window-title/window-title-provider.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/po/de.po parole-0.2.0.6/po/de.po --- parole-0.2.0.2/po/de.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/de.po 2011-04-17 11:53:19.000000000 +0000 @@ -2,12 +2,12 @@ # Copyright (C) 2009 Parole's COPYRIGHT HOLDER # This file is distributed under the same license as the Parole package. # Mario Blättermann , 2009. -# +# msgid "" msgstr "" "Project-Id-Version: parole master\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-12-10 14:17+0100\n" +"POT-Creation-Date: 2010-08-22 10:04+0000\n" "PO-Revision-Date: 2009-12-10 17:46+0100\n" "Last-Translator: Christoph Wickert \n" "Language-Team: German \n" @@ -43,89 +43,93 @@ msgstr "Kapitelmenü" #: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 msgid "DVD Menu" msgstr "DVD-Menü" -#: ../data/interfaces/parole.ui.h:8 +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "Aus ISO-Abbild" + +#: ../data/interfaces/parole.ui.h:10 msgid "Media player" msgstr "Medien-Abspieler" -#: ../data/interfaces/parole.ui.h:9 +#: ../data/interfaces/parole.ui.h:11 msgid "Mute" msgstr "Stumm" -#: ../data/interfaces/parole.ui.h:10 -#: ../src/parole-player.c:1098 +#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1197 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "Nächstes Kapitel/Film" -#: ../data/interfaces/parole.ui.h:11 +#: ../data/interfaces/parole.ui.h:13 msgid "None" msgstr "Kein" -#: ../data/interfaces/parole.ui.h:12 -#: ../data/desktop/parole.desktop.in.in.h:1 -#: ../src/parole-about.c:70 -#: ../plugins/window-title/window-title-provider.c:58 +#: ../data/interfaces/parole.ui.h:14 ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Parole Medien-Abspieler" -#: ../data/interfaces/parole.ui.h:13 +#: ../data/interfaces/parole.ui.h:15 msgid "Plugins" msgstr "Erweiterungen" -#: ../data/interfaces/parole.ui.h:14 -#: ../src/parole-player.c:1110 +#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1209 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "Vorheriges Kapitel/Film" -#: ../data/interfaces/parole.ui.h:15 +#: ../data/interfaces/parole.ui.h:17 msgid "Repeat" msgstr "Endlosschleife" -#: ../data/interfaces/parole.ui.h:16 +#: ../data/interfaces/parole.ui.h:18 msgid "Select Track" msgstr "Titel auswählen" -#: ../data/interfaces/parole.ui.h:17 +#: ../data/interfaces/parole.ui.h:19 msgid "Shuffle" msgstr "Zufallsmodus" -#: ../data/interfaces/parole.ui.h:18 +#: ../data/interfaces/parole.ui.h:20 msgid "Sound" msgstr "Audio" -#: ../data/interfaces/parole.ui.h:19 +#: ../data/interfaces/parole.ui.h:21 msgid "Square" msgstr "Quadratisch" -#: ../data/interfaces/parole.ui.h:20 +#: ../data/interfaces/parole.ui.h:22 msgid "Volume Down" msgstr "Leiser" -#: ../data/interfaces/parole.ui.h:21 +#: ../data/interfaces/parole.ui.h:23 msgid "Volume Up" msgstr "Lauter" -#: ../data/interfaces/parole.ui.h:22 +#: ../data/interfaces/parole.ui.h:24 msgid "_Edit" msgstr "_Bearbeiten" -#: ../data/interfaces/parole.ui.h:23 +#: ../data/interfaces/parole.ui.h:25 msgid "_Help" msgstr "_Hilfe" -#: ../data/interfaces/parole.ui.h:24 +#: ../data/interfaces/parole.ui.h:26 msgid "_Media" msgstr "_Medien" -#: ../data/interfaces/parole.ui.h:25 +#: ../data/interfaces/parole.ui.h:27 msgid "_Open location" msgstr "_Ort öffnen" -#: ../data/interfaces/parole.ui.h:26 +#: ../data/interfaces/parole.ui.h:28 msgid "_View" msgstr "_Ansicht" @@ -237,19 +241,19 @@ msgid "Select File Types (By Extension)" msgstr "Dateitypen auswählen (nach Erweiterung)" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "The stream is taking too much time to load" msgstr "Der Stream benötigt zu viel Zeit zum Laden" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "Stop" msgstr "Stop" -#: ../gst/parole-gst.c:1683 +#: ../gst/parole-gst.c:1700 msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" msgstr "Playbin-GStreamer-Plugin kann nicht geladen werden, überprüfen Sie Ihre GStreamer-Installation" -#: ../gst/parole-gst.c:1703 +#: ../gst/parole-gst.c:1720 msgid "Unable to load video GStreamer plugin, check your GStreamer installation" msgstr "Video-GStreamer-Plugin kann nicht geladen werden, überprüfen Sie Ihre GStreamer-Installation" @@ -274,71 +278,71 @@ "Lizensiert unter der GNU GPL.\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " msgstr "Unbekanntes Argument" -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "Eine neue Instanz öffnen" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" msgstr "Keine Erweiterungen laden" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" msgstr "Pfad des Audio-CD/VCD/DVD Gerätes angeben" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" msgstr "Wiedergabe (oder Pause, falls Wiedergabe läuft)" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "Wiedergabe anhalten" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "Nachfolgender Titel" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "Vorheriger Titel" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" msgstr "Vorspulen" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" msgstr "Zurückspulen" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "Lautstärke erhöhen" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "Lautstärke senken" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "Stummschalten" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "Versionsinformation" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" msgstr "XV-Unterstützung aktivieren/deaktivieren" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Medien zum Abspielen" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "Parole läuft bereits, verwenden Sie -i, um eine neue Instanz zu öffnen\n" @@ -363,8 +367,7 @@ msgid "Unknown playlist format, Please select a support playlist format" msgstr "Unbekanntes Wiedergabelistenformat, bitte wählen Sie ein unterstütztes Format" -#: ../src/parole-medialist.c:514 -#: ../src/parole-player.c:1852 +#: ../src/parole-medialist.c:514 ../src/parole-player.c:1973 msgid "Playlist" msgstr "Wiedergabeliste" @@ -392,37 +395,43 @@ msgid "Media list" msgstr "Medienliste" -#: ../src/parole-player.c:318 +#: ../src/parole-player.c:333 msgid "Hide playlist" msgstr "Wiedergabeliste verbergen" -#: ../src/parole-player.c:327 +#: ../src/parole-player.c:342 msgid "Show playlist" msgstr "Wiedergabeliste anzeigen" -#: ../src/parole-player.c:543 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:297 +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "ISO-Abbild öffnen" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "CD-Abbild" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "DVD-Abbild" + +#: ../src/parole-player.c:641 msgid "Media stream is not seekable" msgstr "Medien-Stream ist nicht durchsuchbar" -#. #. * Next chapter menu item -#. -#: ../src/parole-player.c:1098 -#: ../src/parole-disc-menu.c:122 +#. +#: ../src/parole-player.c:1197 ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "Nachfolgender Titel" -#. #. * Previous chapter menu item -#. -#: ../src/parole-player.c:1110 -#: ../src/parole-disc-menu.c:123 +#. +#: ../src/parole-player.c:1209 ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "Vorheriger Titel" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:590 msgid "Buffering" msgstr "Puffervorgang" @@ -434,8 +443,7 @@ msgid "Finished" msgstr "Beendet" -#: ../src/parole-statusbar.c:114 -#: ../src/parole-statusbar.c:124 +#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 msgid "Paused" msgstr "Pause" @@ -443,7 +451,7 @@ msgid "Playing" msgstr "Wiedergabe" -#: ../src/parole-statusbar.c:145 +#: ../src/parole-statusbar.c:170 ../src/parole-statusbar.c:174 msgid "Live stream:" msgstr "Live-Stream:" @@ -456,7 +464,7 @@ msgid "Translator (%s)" msgstr "Ãœbersetzer (%s)" -#: ../src/parole-disc.c:202 +#: ../src/parole-disc.c:227 msgid "Play Disc" msgstr "Medium abspielen" @@ -464,10 +472,8 @@ msgid "Current Locale" msgstr "Derzeitige Standorteinstellungen" -#: ../src/parole-subtitle-encoding.c:168 -#: ../src/parole-subtitle-encoding.c:170 -#: ../src/parole-subtitle-encoding.c:172 -#: ../src/parole-subtitle-encoding.c:174 +#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 msgid "Arabic" msgstr "Arabisch" @@ -475,8 +481,7 @@ msgid "Armenian" msgstr "Armenisch" -#: ../src/parole-subtitle-encoding.c:180 -#: ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 #: ../src/parole-subtitle-encoding.c:184 msgid "Baltic" msgstr "Baltisch" @@ -485,22 +490,17 @@ msgid "Celtic" msgstr "Keltisch" -#: ../src/parole-subtitle-encoding.c:190 -#: ../src/parole-subtitle-encoding.c:192 -#: ../src/parole-subtitle-encoding.c:194 -#: ../src/parole-subtitle-encoding.c:196 +#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 msgid "Central European" msgstr "Mitteleuropäisch" -#: ../src/parole-subtitle-encoding.c:199 -#: ../src/parole-subtitle-encoding.c:201 -#: ../src/parole-subtitle-encoding.c:203 -#: ../src/parole-subtitle-encoding.c:205 +#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 msgid "Chinese Simplified" msgstr "Chinesisch (vereinfacht)" -#: ../src/parole-subtitle-encoding.c:208 -#: ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 #: ../src/parole-subtitle-encoding.c:212 msgid "Chinese Traditional" msgstr "Chinesisch (traditionell)" @@ -509,12 +509,9 @@ msgid "Croatian" msgstr "Kroatisch" -#: ../src/parole-subtitle-encoding.c:218 -#: ../src/parole-subtitle-encoding.c:220 -#: ../src/parole-subtitle-encoding.c:222 -#: ../src/parole-subtitle-encoding.c:224 -#: ../src/parole-subtitle-encoding.c:226 -#: ../src/parole-subtitle-encoding.c:228 +#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 msgid "Cyrillic" msgstr "Kyrillisch" @@ -522,8 +519,7 @@ msgid "Cyrillic/Russian" msgstr "Kyrillisch/Russisch" -#: ../src/parole-subtitle-encoding.c:234 -#: ../src/parole-subtitle-encoding.c:236 +#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 msgid "Cyrillic/Ukrainian" msgstr "Kyrillisch/Ukrainisch" @@ -531,8 +527,7 @@ msgid "Georgian" msgstr "Georgisch" -#: ../src/parole-subtitle-encoding.c:242 -#: ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 #: ../src/parole-subtitle-encoding.c:246 msgid "Greek" msgstr "Griechisch" @@ -545,10 +540,8 @@ msgid "Gurmukhi" msgstr "Gurmukhi" -#: ../src/parole-subtitle-encoding.c:255 -#: ../src/parole-subtitle-encoding.c:257 -#: ../src/parole-subtitle-encoding.c:259 -#: ../src/parole-subtitle-encoding.c:261 +#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 msgid "Hebrew" msgstr "Hebräisch" @@ -564,16 +557,13 @@ msgid "Icelandic" msgstr "Isländisch" -#: ../src/parole-subtitle-encoding.c:273 -#: ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 #: ../src/parole-subtitle-encoding.c:277 msgid "Japanese" msgstr "Japanisch" -#: ../src/parole-subtitle-encoding.c:280 -#: ../src/parole-subtitle-encoding.c:282 -#: ../src/parole-subtitle-encoding.c:284 -#: ../src/parole-subtitle-encoding.c:286 +#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 msgid "Korean" msgstr "Koreanisch" @@ -585,8 +575,7 @@ msgid "Persian" msgstr "Persisch" -#: ../src/parole-subtitle-encoding.c:295 -#: ../src/parole-subtitle-encoding.c:297 +#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 msgid "Romanian" msgstr "Rumänisch" @@ -598,31 +587,24 @@ msgid "Thai" msgstr "Thai" -#: ../src/parole-subtitle-encoding.c:306 -#: ../src/parole-subtitle-encoding.c:308 -#: ../src/parole-subtitle-encoding.c:310 -#: ../src/parole-subtitle-encoding.c:312 +#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 msgid "Turkish" msgstr "Türkisch" -#: ../src/parole-subtitle-encoding.c:315 -#: ../src/parole-subtitle-encoding.c:317 -#: ../src/parole-subtitle-encoding.c:319 -#: ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 #: ../src/parole-subtitle-encoding.c:323 msgid "Unicode" msgstr "Unicode" -#: ../src/parole-subtitle-encoding.c:326 -#: ../src/parole-subtitle-encoding.c:328 -#: ../src/parole-subtitle-encoding.c:330 -#: ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 #: ../src/parole-subtitle-encoding.c:334 msgid "Western" msgstr "Westlich" -#: ../src/parole-subtitle-encoding.c:337 -#: ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 #: ../src/parole-subtitle-encoding.c:341 msgid "Vietnamese" msgstr "Vietnamesisch" @@ -648,8 +630,7 @@ msgid "Track %i" msgstr "Titel %i" -#: ../src/parole-plugins-manager.c:297 -#: ../src/parole-plugins-manager.c:433 +#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 msgid "Visit Website" msgstr "Web-Seite besuchen" @@ -770,11 +751,8 @@ msgstr "Symbol im Benachrichtigungsfeld" #: ../plugins/window-title/window-title.desktop.in.h:1 -#, fuzzy msgid "Set the main window name to the current playing media name." -msgstr "" -"Titel des Hauptfensters auf den Namen des \n" -"derzeit abgespielten Mediums setzen." +msgstr "Titel des Hauptfensters auf den Namen des derzeit abgespielten Mediums setzen." #: ../plugins/window-title/window-title.desktop.in.h:2 msgid "Window Title" @@ -784,44 +762,35 @@ msgid "Inhibit Power Manager from suspending the machine while playing DVD." msgstr "Hindert die Energieverwaltung am Herunterfahren des Computers, während eine DVD wiedergegeben wird." -# 'Energieverwaltungserweiterung' ist zu lang und die anderen Plugins haben auch nicht 'Plugin' im Namen. +# 'Energieverwaltungserweiterung' ist zu lang und die anderen Plugins haben +# auch nicht 'Plugin' im Namen. #: ../plugins/power-manager/power-manager.desktop.in.h:2 msgid "Power Manager Plugin" msgstr "Energieverwaltung" -#: ../browser-plugin/media-plugin/main.c:72 -msgid "socket" -msgstr "Socket" - -#: ../browser-plugin/media-plugin/main.c:72 -msgid "SOCKET ID" -msgstr "SOCKET ID" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "url to play" -msgstr "URL zum Abspielen" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "URL" -msgstr "URL" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:138 -msgid "Leave fullscreen" -msgstr "Vollbild verlassen" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:143 -msgid "Fullscreen" -msgstr "Vollbild" - -#. -#. * Copy url -#. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:452 -msgid "Copy url" -msgstr "URL kopieren" +#~ msgid "socket" +#~ msgstr "Socket" + +#~ msgid "SOCKET ID" +#~ msgstr "SOCKET ID" + +#~ msgid "url to play" +#~ msgstr "URL zum Abspielen" + +#~ msgid "URL" +#~ msgstr "URL" + +#~ msgid "Leave fullscreen" +#~ msgstr "Vollbild verlassen" + +#~ msgid "Fullscreen" +#~ msgstr "Vollbild" + +#~ msgid "Copy url" +#~ msgstr "URL kopieren" #~ msgid "Enabled" #~ msgstr "Aktiviert" + #~ msgid "Plugin" #~ msgstr "Erweiterung" - diff -Nru parole-0.2.0.2/po/el.po parole-0.2.0.6/po/el.po --- parole-0.2.0.2/po/el.po 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/po/el.po 2011-04-17 11:53:19.000000000 +0000 @@ -0,0 +1,839 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: parole\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-03-30 16:03+0000\n" +"PO-Revision-Date: 2010-03-30 23:39+0200\n" +"Last-Translator: George Vlahavas \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Greek\n" +"X-Poedit-Country: GREECE\n" +"X-Poedit-SourceCharset: utf-8\n" + +#: ../data/interfaces/parole.ui.h:1 +msgid "16:9 (Widescreen)" +msgstr "16:9 (ΕυÏεία οθόνη)" + +#: ../data/interfaces/parole.ui.h:2 +msgid "20:9 (DVB)" +msgstr "20:9 (DVB)" + +#: ../data/interfaces/parole.ui.h:3 +msgid "4:3 (TV)" +msgstr "4:3 (ΤηλεόÏαση)" + +#: ../data/interfaces/parole.ui.h:4 +msgid "Aspect Ratio" +msgstr "Αναλογία οθόνης" + +#: ../data/interfaces/parole.ui.h:5 +msgid "Auto" +msgstr "Αυτόματο" + +#: ../data/interfaces/parole.ui.h:6 +msgid "Chapter Menu" +msgstr "ÎœÎµÎ½Î¿Ï ÎºÎµÏ†Î±Î»Î±Î¯Ï‰Î½" + +#: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 +msgid "DVD Menu" +msgstr "ÎœÎµÎ½Î¿Ï DVD" + +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "Από εικόνα ISO" + +#: ../data/interfaces/parole.ui.h:10 +msgid "Media player" +msgstr "ΕφαÏμογή αναπαÏαγωγής πολυμέσων" + +#: ../data/interfaces/parole.ui.h:11 +msgid "Mute" +msgstr "Σίγαση" + +#: ../data/interfaces/parole.ui.h:12 +#: ../src/parole-player.c:1197 +#: ../src/parole-disc-menu.c:113 +msgid "Next Chapter" +msgstr "Επόμενο κεφάλαιο" + +#: ../data/interfaces/parole.ui.h:13 +msgid "None" +msgstr "Κανένα" + +#: ../data/interfaces/parole.ui.h:14 +#: ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 +#: ../plugins/window-title/window-title-provider.c:58 +msgid "Parole Media Player" +msgstr "ΕφαÏμογή αναπαÏαγωγής πολυμέσων Parole" + +#: ../data/interfaces/parole.ui.h:15 +msgid "Plugins" +msgstr "ΠÏόσθετα" + +#: ../data/interfaces/parole.ui.h:16 +#: ../src/parole-player.c:1209 +#: ../src/parole-disc-menu.c:114 +msgid "Previous Chapter" +msgstr "ΠÏοηγοÏμενο κεφάλαιο" + +#: ../data/interfaces/parole.ui.h:17 +msgid "Repeat" +msgstr "Επανάληψη" + +#: ../data/interfaces/parole.ui.h:18 +msgid "Select Track" +msgstr "Επιλογή κομματιοÏ" + +#: ../data/interfaces/parole.ui.h:19 +msgid "Shuffle" +msgstr "Τυχαία αναπαÏαγωγή" + +#: ../data/interfaces/parole.ui.h:20 +msgid "Sound" +msgstr "Ήχος" + +#: ../data/interfaces/parole.ui.h:21 +msgid "Square" +msgstr "ΤετÏάγωνο" + +#: ../data/interfaces/parole.ui.h:22 +msgid "Volume Down" +msgstr "Μείωση έντασης" + +#: ../data/interfaces/parole.ui.h:23 +msgid "Volume Up" +msgstr "ΑÏξηση έντασης" + +#: ../data/interfaces/parole.ui.h:24 +msgid "_Edit" +msgstr "_ΕπεξεÏγασία" + +#: ../data/interfaces/parole.ui.h:25 +msgid "_Help" +msgstr "_Βοήθεια" + +#: ../data/interfaces/parole.ui.h:26 +msgid "_Media" +msgstr "_Πολυμέσα" + +#: ../data/interfaces/parole.ui.h:27 +msgid "_Open location" +msgstr "Άνοιγμα _τοποθεσίας" + +#: ../data/interfaces/parole.ui.h:28 +msgid "_View" +msgstr "_Εμφάνιση" + +#: ../data/interfaces/mediachooser.ui.h:1 +msgid "Replace playlist with opened files" +msgstr "Αντικατάσταση της λίστας αναπαÏαγωγής με ανοιγμένα αÏχεία" + +#: ../data/interfaces/mediachooser.ui.h:2 +msgid "Scan folders recursively" +msgstr "ΣάÏωση των καταλόγων αναδÏομικά" + +#: ../data/interfaces/mediachooser.ui.h:3 +msgid "Start playing opened files" +msgstr "Εκκίνιση αναπαÏαγωγής ανοιγμένων αÏχείων" + +#: ../data/interfaces/plugins.ui.h:1 +msgid "Author:" +msgstr "ΣυγγÏαφέας:" + +#: ../data/interfaces/plugins.ui.h:2 +msgid "Description:" +msgstr "ΠεÏιγÏαφή:" + +#: ../data/interfaces/plugins.ui.h:3 +msgid "Site:" +msgstr "Ιστοσελίδα:" + +#: ../data/interfaces/plugins.ui.h:4 +msgid "Media Player plugins" +msgstr "ΠÏόσθετα εφαÏμογής αναπαÏαγωγής πολυμέσων" + +#: ../data/interfaces/plugins.ui.h:5 +msgid "Parole Plugins" +msgstr "ΠÏόσθετα του Parole" + +#: ../data/interfaces/parole-settings.ui.h:1 +msgid "Audio" +msgstr "Ήχος" + +#: ../data/interfaces/parole-settings.ui.h:2 +msgid "Display" +msgstr "Εμφάνιση" + +#: ../data/interfaces/parole-settings.ui.h:3 +msgid "Subtitles" +msgstr "Υπότιτλοι" + +#: ../data/interfaces/parole-settings.ui.h:4 +msgid "Video" +msgstr "Εικόνα" + +#: ../data/interfaces/parole-settings.ui.h:5 +msgid "Automatically load subtitles when playing movie file" +msgstr "Αυτόματο άνοιγμα υποτίτλων με την αναπαÏαγωγή ταινίας" + +#: ../data/interfaces/parole-settings.ui.h:6 +msgid "Brightness:" +msgstr "Φωτεινότητα:" + +#: ../data/interfaces/parole-settings.ui.h:7 +msgid "Contrast:" +msgstr "Αντίθεση:" + +#: ../data/interfaces/parole-settings.ui.h:8 +msgid "Disable screen saver while playing movies" +msgstr "ΑπενεÏγοποίηση της Ï€Ïοστασίας οθόνης όταν γίνεται αναπαÏαγωγή ταινιών" + +#: ../data/interfaces/parole-settings.ui.h:9 +msgid "Enable visualization when playing audio file" +msgstr "ΕνεÏγοποίηση οπτικών εφέ όταν γίνεται αναπαÏαγωγή αÏχείων ήχου" + +#: ../data/interfaces/parole-settings.ui.h:10 +msgid "Encoding: " +msgstr "Κωδικοποίηση:" + +#: ../data/interfaces/parole-settings.ui.h:11 +msgid "Font:" +msgstr "ΓÏαμματοσειÏά:" + +#: ../data/interfaces/parole-settings.ui.h:12 +msgid "Hue:" +msgstr "ΑπόχÏωση:" + +#: ../data/interfaces/parole-settings.ui.h:13 +msgid "Media Player Settings" +msgstr "Ρυθμίσεις εφαÏμογής αναπαÏαγωγής πολυμέσων" + +#: ../data/interfaces/parole-settings.ui.h:14 +msgid "Parole Settings" +msgstr "Ρυθμίσεις του Parole" + +#: ../data/interfaces/parole-settings.ui.h:15 +msgid "Reset To Defaults" +msgstr "ΕπαναφοÏά αÏχικών τιμών" + +#: ../data/interfaces/parole-settings.ui.h:16 +msgid "Saturation:" +msgstr "ΚοÏεσμός:" + +#: ../data/interfaces/parole-settings.ui.h:17 +msgid "Visualization type:" +msgstr "Είδος Î¿Ï€Ï„Î¹ÎºÎ¿Ï ÎµÏ†Î­:" + +#: ../data/interfaces/save-playlist.ui.h:1 +msgid "By Extension" +msgstr "Κατά επέκταση" + +#: ../data/interfaces/save-playlist.ui.h:2 +msgid "Select File Types (By Extension)" +msgstr "Επιλογή Ï„Ïπων αÏχείων (κατά επέκταση)" + +#: ../gst/parole-gst.c:1511 +msgid "The stream is taking too much time to load" +msgstr "Η Ïοή απαιτεί Ï€Î¿Î»Ï Ï‡Ïόνο για να φοÏτωθεί" + +#: ../gst/parole-gst.c:1511 +msgid "Stop" +msgstr "Σταμάτημα" + +#: ../gst/parole-gst.c:1700 +msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgstr "Δεν ήταν δυνατό να φοÏτωθεί το Ï€Ïόσθετο GStreamer playbin, ελέγξτε την εγκατάσταση του GStreamer" + +#: ../gst/parole-gst.c:1720 +msgid "Unable to load video GStreamer plugin, check your GStreamer installation" +msgstr "Δεν ήταν δυνατό να φοÏτωθεί το Ï€Ïόσθετο Gstreamer video, ελέξτε την εγκατάσταση του GStreamer" + +#: ../src/main.c:54 +#, c-format +msgid "" +"\n" +"Parole Media Player %s\n" +"\n" +"Part of the Xfce Goodies Project\n" +"http://goodies.xfce.org\n" +"\n" +"Licensed under the GNU GPL.\n" +"\n" +msgstr "" +"\n" +"ΕφαÏμογή ΑναπαÏαγωγής Πολυμέσων Parole %s\n" +"\n" +"ΜέÏος του ΈÏγου Xfce Goodies\n" +"http://goodies.xfce.org\n" +"\n" +"Αδειοδοτημένο με χÏήση της GNU GPL.\n" +"\n" + +#: ../src/main.c:187 +msgid "Unknown argument " +msgstr "Άγνωστη παÏάμετÏος" + +#: ../src/main.c:224 +msgid "Open a new instance" +msgstr "Άνοιγμα νέου παÏαθÏÏου" + +#: ../src/main.c:225 +msgid "Do not load plugins" +msgstr "ΆÏνηση φόÏτωσης Ï€Ïόσθετων" + +#: ../src/main.c:226 +msgid "Set Audio-CD/VCD/DVD device path" +msgstr "ΟÏισμός της διαδÏομής της συσκευής Audio-CD/VCD/DVD" + +#: ../src/main.c:227 +msgid "Play or pause if already playing" +msgstr "ΑναπαÏαγωγή ή παÏση αν γίνεται ήδη αναπαÏαγωγή" + +#: ../src/main.c:228 +msgid "Stop playing" +msgstr "Σταμάτημα αναπαÏαγωγής" + +#: ../src/main.c:229 +msgid "Next track" +msgstr "Επόμενο κομμάτι" + +#: ../src/main.c:230 +msgid "Previous track" +msgstr "ΠÏοηγοÏμενο κομμάτι" + +#: ../src/main.c:231 +msgid "Seek forward" +msgstr "Αναζήτηση μπÏοστά" + +#: ../src/main.c:232 +msgid "Seek Backward" +msgstr "Αναζήτηση πίσω" + +#: ../src/main.c:233 +msgid "Raise volume" +msgstr "ΑÏξηση έντασης ήχου" + +#: ../src/main.c:234 +msgid "Lower volume" +msgstr "Μείωση έντασης ήχου" + +#: ../src/main.c:235 +msgid "Mute volume" +msgstr "Σίγαση ήχου" + +#: ../src/main.c:236 +msgid "Version information" +msgstr "ΠληÏοφοÏίες έκδοσης" + +#: ../src/main.c:237 +msgid "Enabled/Disable XV support" +msgstr "ΕνεÏγοποίηση/ΑπενεÏγοποίηση υποστήÏιξης XV" + +#: ../src/main.c:239 +msgid "Media to play" +msgstr "Πολυμέσα Ï€Ïος αναπαÏαγωγή" + +#: ../src/main.c:276 +#, c-format +msgid "Parole is already running, use -i to open a new instance\n" +msgstr "Το Parole ήδη εκτελείται, χÏησιμοποιήστε το -i για να ανοίξετε νέο παÏάθυÏο\n" + +#: ../src/parole-mediachooser.c:213 +msgid "Add media files" +msgstr "ΠÏοσθήκη αÏχείων πολυμέσων" + +#: ../src/parole-mediachooser.c:246 +msgid "Add" +msgstr "ΠÏοσθήκη" + +#: ../src/parole-medialist.c:437 +msgid "Error saving playlist file" +msgstr "Σφάλμα κατά την αποθήκευση της λίστας αναπαÏαγωγής" + +#: ../src/parole-medialist.c:437 +msgid "Permission denied" +msgstr "ΆÏνηση Ï€Ïόσβασης" + +#: ../src/parole-medialist.c:446 +msgid "Unknown playlist format, Please select a support playlist format" +msgstr "Άγνωστο είδος λίστας αναπαÏαγωγής, παÏακαλοÏμε επιλέξτε ένα υποστηÏιζόμενο είδος" + +#: ../src/parole-medialist.c:514 +#: ../src/parole-player.c:1973 +msgid "Playlist" +msgstr "Λίστα αναπαÏαγωγής" + +#: ../src/parole-medialist.c:521 +msgid "M3U Playlists" +msgstr "Λίστες αναπαÏαγωγής M3U" + +#: ../src/parole-medialist.c:529 +msgid "PLS Playlists" +msgstr "Λίστες αναπαÏαγωγής PLS" + +#: ../src/parole-medialist.c:537 +msgid "Advanced Stream Redirector" +msgstr "ΠÏοχωÏημένη Ï€Ïοώθηση Ïοής" + +#: ../src/parole-medialist.c:545 +msgid "Shareable Playlist" +msgstr "Λίστα αναπαÏαγωγής με δυνατότητα διαμοιÏασμοÏ" + +#: ../src/parole-medialist.c:860 +msgid "Remember playlist" +msgstr "Îα θυμάσαι τη λίστα αναπαÏαγωγής" + +#: ../src/parole-medialist.c:1012 +msgid "Media list" +msgstr "Λίστα αÏχείων πολυμέσων" + +#: ../src/parole-player.c:333 +msgid "Hide playlist" +msgstr "ΑπόκÏυψη λίστας αναπαÏαγωγής" + +#: ../src/parole-player.c:342 +msgid "Show playlist" +msgstr "Εμφάνιση λίστας αναπαÏαγωγη" + +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "Άνοιγμα εικόνας ISO" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "Εικόνα CD" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "Εικόνα DVD" + +#: ../src/parole-player.c:641 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:300 +msgid "Media stream is not seekable" +msgstr "Η Ïοή πολυμέσων δεν υποστηÏίζει αναζήτηση" + +#. +#. * Next chapter menu item +#. +#: ../src/parole-player.c:1197 +#: ../src/parole-disc-menu.c:122 +msgid "Next Track" +msgstr "Επόμενο κομμάτι" + +#. +#. * Previous chapter menu item +#. +#: ../src/parole-player.c:1209 +#: ../src/parole-disc-menu.c:123 +msgid "Previous Track" +msgstr "ΠÏοηγοÏμενο κομμάτι" + +#: ../src/parole-statusbar.c:61 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:593 +msgid "Buffering" +msgstr "ΦόÏτωση" + +#: ../src/parole-statusbar.c:100 +msgid "Stopped" +msgstr "Σταματημένο" + +#: ../src/parole-statusbar.c:104 +msgid "Finished" +msgstr "Τελειωμένο" + +#: ../src/parole-statusbar.c:114 +#: ../src/parole-statusbar.c:124 +msgid "Paused" +msgstr "Σε παÏση" + +#: ../src/parole-statusbar.c:114 +msgid "Playing" +msgstr "Σε αναπαÏαγωγή" + +#: ../src/parole-statusbar.c:170 +#: ../src/parole-statusbar.c:174 +msgid "Live stream:" +msgstr "Ζωντανή Ïοή:" + +#: ../src/parole-about.c:75 +msgid "Author/Maintainer" +msgstr "ΣυγγÏαφέας/ΣυντηÏητής" + +#: ../src/parole-about.c:81 +#, c-format +msgid "Translator (%s)" +msgstr "ΜεταφÏαστής (%s)" + +#: ../src/parole-disc.c:227 +msgid "Play Disc" +msgstr "ΑναπαÏαγωγή δίσκου" + +#: ../src/parole-subtitle-encoding.c:165 +msgid "Current Locale" +msgstr "ΤÏέχουσα γλώσσα" + +#: ../src/parole-subtitle-encoding.c:168 +#: ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 +#: ../src/parole-subtitle-encoding.c:174 +msgid "Arabic" +msgstr "ΑÏαβικά" + +#: ../src/parole-subtitle-encoding.c:177 +msgid "Armenian" +msgstr "ΑÏμένικα" + +#: ../src/parole-subtitle-encoding.c:180 +#: ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:184 +msgid "Baltic" +msgstr "Βαλτικά" + +#: ../src/parole-subtitle-encoding.c:187 +msgid "Celtic" +msgstr "Κέλτικα" + +#: ../src/parole-subtitle-encoding.c:190 +#: ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 +#: ../src/parole-subtitle-encoding.c:196 +msgid "Central European" +msgstr "ΚεντÏικής ΕυÏώπης" + +#: ../src/parole-subtitle-encoding.c:199 +#: ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 +#: ../src/parole-subtitle-encoding.c:205 +msgid "Chinese Simplified" +msgstr "Κινέζικα Απλοποιημένα" + +#: ../src/parole-subtitle-encoding.c:208 +#: ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:212 +msgid "Chinese Traditional" +msgstr "Κινέζικα ΠαÏαδοσιακά" + +#: ../src/parole-subtitle-encoding.c:215 +msgid "Croatian" +msgstr "ΚÏοάτικα" + +#: ../src/parole-subtitle-encoding.c:218 +#: ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 +#: ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 +#: ../src/parole-subtitle-encoding.c:228 +msgid "Cyrillic" +msgstr "ΚυÏιλλικά" + +#: ../src/parole-subtitle-encoding.c:231 +msgid "Cyrillic/Russian" +msgstr "ΚυÏιλλικά/Ρωσία" + +#: ../src/parole-subtitle-encoding.c:234 +#: ../src/parole-subtitle-encoding.c:236 +msgid "Cyrillic/Ukrainian" +msgstr "ΚυÏιλλικά/ΟυκÏανία" + +#: ../src/parole-subtitle-encoding.c:239 +msgid "Georgian" +msgstr "ΓεωÏγιανά" + +#: ../src/parole-subtitle-encoding.c:242 +#: ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:246 +msgid "Greek" +msgstr "Ελληνικά" + +#: ../src/parole-subtitle-encoding.c:249 +msgid "Gujarati" +msgstr "ΓκουαÏάτι" + +#: ../src/parole-subtitle-encoding.c:252 +msgid "Gurmukhi" +msgstr "ΓκουÏμοÏκι" + +#: ../src/parole-subtitle-encoding.c:255 +#: ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 +#: ../src/parole-subtitle-encoding.c:261 +msgid "Hebrew" +msgstr "ΕβÏαϊκά" + +#: ../src/parole-subtitle-encoding.c:264 +msgid "Hebrew Visual" +msgstr "ΕβÏαϊκά Οπτικά" + +#: ../src/parole-subtitle-encoding.c:267 +msgid "Hindi" +msgstr "Ινδικά" + +#: ../src/parole-subtitle-encoding.c:270 +msgid "Icelandic" +msgstr "Ισλανδικά" + +#: ../src/parole-subtitle-encoding.c:273 +#: ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:277 +msgid "Japanese" +msgstr "Ιαπωνικά" + +#: ../src/parole-subtitle-encoding.c:280 +#: ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 +#: ../src/parole-subtitle-encoding.c:286 +msgid "Korean" +msgstr "ΚοÏεάτικα" + +#: ../src/parole-subtitle-encoding.c:289 +msgid "Nordic" +msgstr "ÎοÏβηγικά" + +#: ../src/parole-subtitle-encoding.c:292 +msgid "Persian" +msgstr "ΠέÏσικα" + +#: ../src/parole-subtitle-encoding.c:295 +#: ../src/parole-subtitle-encoding.c:297 +msgid "Romanian" +msgstr "Ρουμάνικα" + +#: ../src/parole-subtitle-encoding.c:300 +msgid "South European" +msgstr "Îότιας ΕυÏώπης" + +#: ../src/parole-subtitle-encoding.c:303 +msgid "Thai" +msgstr "Ταϊλανδέζικα" + +#: ../src/parole-subtitle-encoding.c:306 +#: ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 +#: ../src/parole-subtitle-encoding.c:312 +msgid "Turkish" +msgstr "ΤοÏÏκικα" + +#: ../src/parole-subtitle-encoding.c:315 +#: ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 +#: ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:323 +msgid "Unicode" +msgstr "Unicode" + +#: ../src/parole-subtitle-encoding.c:326 +#: ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 +#: ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:334 +msgid "Western" +msgstr "Δυτικά" + +#: ../src/parole-subtitle-encoding.c:337 +#: ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:341 +msgid "Vietnamese" +msgstr "Βιετναμέζικα" + +#: ../src/parole-open-location.c:181 +msgid "Open location..." +msgstr "Άνοιγμα τοποθεσίας..." + +#: ../src/parole-open-location.c:186 +msgid "Open location of media file or live stream:" +msgstr "Άνοιγμα τοποθεσίας αÏχείου ή ζωντανής Ïοής:" + +#: ../src/parole-open-location.c:205 +msgid "Clear history" +msgstr "ΕκκαθάÏιση ιστοÏικοÏ" + +#: ../src/parole-disc-menu.c:130 +msgid "Playing Track" +msgstr "ΑναπαÏαγωγή κομματιοÏ" + +#: ../src/parole-disc-menu.c:194 +#, c-format +msgid "Track %i" +msgstr "Κομμάτι %i" + +#: ../src/parole-plugins-manager.c:297 +#: ../src/parole-plugins-manager.c:433 +msgid "Visit Website" +msgstr "Επίσκεψη στην ιστοσελίδα" + +#: ../src/parole-plugins-manager.c:373 +#: ../plugins/properties/stream-properties-provider.c:140 +#: ../plugins/properties/stream-properties-provider.c:141 +#: ../plugins/properties/stream-properties-provider.c:142 +#: ../plugins/properties/stream-properties-provider.c:143 +msgid "Unknown" +msgstr "Άγνωστο" + +#: ../src/parole-plugins-manager.c:412 +msgid "No installed plugins found on this system" +msgstr "Δεν βÏέθηκαν εγκατεστημένα Ï€Ïόσθετα στο σÏστημα" + +#: ../parole/parole-filters.c:64 +msgid "Audio" +msgstr "Ήχος" + +#: ../parole/parole-filters.c:90 +msgid "Video" +msgstr "Εικόνα" + +#: ../parole/parole-filters.c:115 +msgid "Audio and video" +msgstr "Ήχος και εικόνα" + +#: ../parole/parole-filters.c:144 +msgid "All supported files" +msgstr "Όλα τα υποστηÏιζόμενα αÏχεία" + +#: ../parole/parole-filters.c:171 +msgid "Playlist files" +msgstr "ΑÏχεία λίστας αναπαÏαγωγής" + +#: ../plugins/properties/stream-properties-provider.c:254 +msgid "Title:" +msgstr "Τίτλος:" + +#: ../plugins/properties/stream-properties-provider.c:277 +msgid "Artist:" +msgstr "Καλλιτέχνης:" + +#: ../plugins/properties/stream-properties-provider.c:300 +msgid "Album:" +msgstr "Άλμπουμ:" + +#: ../plugins/properties/stream-properties-provider.c:323 +msgid "Year:" +msgstr "Έτος:" + +#: ../plugins/properties/stream-properties-provider.c:341 +msgid "General" +msgstr "Γενικά" + +#: ../plugins/properties/stream-properties-provider.c:392 +msgid "Stream doesn't support tags changes" +msgstr "Η Ïοή δεν υποστηÏίζει αλλαγές στις ετικέτες" + +#: ../plugins/properties/stream-properties-provider.c:399 +msgid "Save media tags changes" +msgstr "Αποθήκευση αλλαγών ετικετών πολυμέσων" + +#: ../plugins/properties/stream-properties-provider.c:524 +msgid "Properties" +msgstr "Ιδιότητες" + +#: ../plugins/properties/stream-properties.desktop.in.h:1 +msgid "Read media properties" +msgstr "Διάβασμα ιδιοτήτων πολυμέσων" + +#: ../plugins/properties/stream-properties.desktop.in.h:2 +msgid "Stream Properties" +msgstr "Ιδιότητες Ïοής" + +#: ../plugins/tray/tray-provider.c:262 +msgid "Playing:" +msgstr "ΑναπαÏαγωγή:" + +#: ../plugins/tray/tray-provider.c:262 +msgid "Duration:" +msgstr "ΔιάÏκεια:" + +#: ../plugins/tray/tray-provider.c:420 +msgid "Tray icon plugin" +msgstr "ΠÏόσθετο πεÏιοχής ειδοποιήσεων" + +#: ../plugins/tray/tray-provider.c:430 +msgid "Enable notification" +msgstr "ΕνεÏγοποίηση ειδοποιήσεων" + +#: ../plugins/tray/tray-provider.c:439 +msgid "Always minimize to tray when window is closed" +msgstr "Îα γίνεται πάντα ελαχιστοποίηση στην πεÏιοχή ειδοποιήσεων όταν κλείνει το παÏάθυÏο" + +#: ../plugins/tray/tray-provider.c:478 +msgid "Minimize to tray?" +msgstr "Ελαχιστοποίηση στην πεÏιοχή ειδοποιήσεων;" + +#: ../plugins/tray/tray-provider.c:484 +msgid "Minimize to tray" +msgstr "Ελαχιστοποίηση στην πεÏιοχή ειδοποιήσεων" + +#: ../plugins/tray/tray-provider.c:500 +msgid "Are you sure you want to quit Parole" +msgstr "Είστε βέβαιοι ότι θέλετε να κλείσετε το Parole" + +#: ../plugins/tray/tray-provider.c:504 +msgid "Remember my choice" +msgstr "Îα θυμάσαι την επιλογή μου" + +#: ../plugins/tray/system-tray.desktop.in.h:1 +msgid "Show icon in the system tray" +msgstr "Εμφάνιση εικονιδίου στην πεÏιοχή ειδοποιήσεων" + +#: ../plugins/tray/system-tray.desktop.in.h:2 +msgid "Tray icon" +msgstr "Εικονίδιο πεÏιοχής ειδοποιήσεων" + +#: ../plugins/window-title/window-title.desktop.in.h:1 +msgid "Set the main window name to the current playing media name." +msgstr "ΟÏισμός του ονόματος του αÏχείου πολυμέσων που αναπαÏάγεται ως ονόματος του κυÏίως παÏαθÏÏου" + +#: ../plugins/window-title/window-title.desktop.in.h:2 +msgid "Window Title" +msgstr "Τίτλος παÏαθÏÏου" + +#: ../plugins/power-manager/power-manager.desktop.in.h:1 +msgid "Inhibit Power Manager from suspending the machine while playing DVD." +msgstr "ΑποτÏοπή της αδÏανοποίησης του συστήματος από το ΔιαχειÏιστή ΕνέÏγειας όταν γίνεται αναπαÏαγωγή DVD" + +#: ../plugins/power-manager/power-manager.desktop.in.h:2 +msgid "Power Manager Plugin" +msgstr "ΠÏόσθετο ΔιαχείÏισης ΕνέÏγειας" + +#: ../browser-plugin/media-plugin/main.c:72 +msgid "socket" +msgstr "Ï€Ïίζα" + +#: ../browser-plugin/media-plugin/main.c:72 +msgid "SOCKET ID" +msgstr "SOCKET ID" + +#: ../browser-plugin/media-plugin/main.c:73 +msgid "url to play" +msgstr "ΔιεÏθυνση (URL) Ï€Ïος αναπαÏαγωγή" + +#: ../browser-plugin/media-plugin/main.c:73 +msgid "URL" +msgstr "ΔιεÏθυνση (URL)" + +#: ../browser-plugin/media-plugin/parole-plugin-player.c:138 +msgid "Leave fullscreen" +msgstr "Έξοδος από πλήÏη οθόνη" + +#: ../browser-plugin/media-plugin/parole-plugin-player.c:143 +msgid "Fullscreen" +msgstr "ΠλήÏης οθόνη" + +#. +#. * Copy url +#. +#: ../browser-plugin/media-plugin/parole-plugin-player.c:455 +msgid "Copy url" +msgstr "ΑντιγÏαφή διεÏθυνσης (URL)" + diff -Nru parole-0.2.0.2/po/en_GB.po parole-0.2.0.6/po/en_GB.po --- parole-0.2.0.2/po/en_GB.po 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/po/en_GB.po 2011-04-17 11:53:19.000000000 +0000 @@ -0,0 +1,770 @@ +# en_GB translation for parole. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Jeff Bailes , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-12-19 05:04+0000\n" +"PO-Revision-Date: 2010-12-19 19:32+1100\n" +"Last-Translator: Jeff Bailes \n" +"Language-Team: en_GB\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../data/interfaces/parole.ui.h:1 +msgid "16:9 (Widescreen)" +msgstr "16:9 (Widescreen)" + +#: ../data/interfaces/parole.ui.h:2 +msgid "20:9 (DVB)" +msgstr "20:9 (DVB)" + +#: ../data/interfaces/parole.ui.h:3 +msgid "4:3 (TV)" +msgstr "4:3 (TV)" + +#: ../data/interfaces/parole.ui.h:4 +msgid "Aspect Ratio" +msgstr "Aspect Ratio" + +#: ../data/interfaces/parole.ui.h:5 +msgid "Auto" +msgstr "Auto" + +#: ../data/interfaces/parole.ui.h:6 +msgid "Chapter Menu" +msgstr "Chapter Menu" + +#: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 +msgid "DVD Menu" +msgstr "DVD Menu" + +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "From ISO image" + +#: ../data/interfaces/parole.ui.h:10 +msgid "Media player" +msgstr "Media player" + +#: ../data/interfaces/parole.ui.h:11 +msgid "Mute" +msgstr "Mute" + +#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1197 +#: ../src/parole-disc-menu.c:113 +msgid "Next Chapter" +msgstr "Next Chapter" + +#: ../data/interfaces/parole.ui.h:13 +msgid "None" +msgstr "None" + +#: ../data/interfaces/parole.ui.h:14 ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 +msgid "Parole Media Player" +msgstr "Parole Media Player" + +#: ../data/interfaces/parole.ui.h:15 +msgid "Plugins" +msgstr "Plugins" + +#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1209 +#: ../src/parole-disc-menu.c:114 +msgid "Previous Chapter" +msgstr "Previous Chapter" + +#: ../data/interfaces/parole.ui.h:17 +msgid "Repeat" +msgstr "Repeat" + +#: ../data/interfaces/parole.ui.h:18 +msgid "Select Track" +msgstr "Select Track" + +#: ../data/interfaces/parole.ui.h:19 +msgid "Shuffle" +msgstr "Shuffle" + +#: ../data/interfaces/parole.ui.h:20 +msgid "Sound" +msgstr "Sound" + +#: ../data/interfaces/parole.ui.h:21 +msgid "Square" +msgstr "Square" + +#: ../data/interfaces/parole.ui.h:22 +msgid "Volume Down" +msgstr "Volume Down" + +#: ../data/interfaces/parole.ui.h:23 +msgid "Volume Up" +msgstr "Volume Up" + +#: ../data/interfaces/parole.ui.h:24 +msgid "_Edit" +msgstr "_Edit" + +#: ../data/interfaces/parole.ui.h:25 +msgid "_Help" +msgstr "_Help" + +#: ../data/interfaces/parole.ui.h:26 +msgid "_Media" +msgstr "_Media" + +#: ../data/interfaces/parole.ui.h:27 +msgid "_Open location" +msgstr "_Open location" + +#: ../data/interfaces/parole.ui.h:28 +msgid "_View" +msgstr "_View" + +#: ../data/interfaces/mediachooser.ui.h:1 +msgid "Replace playlist with opened files" +msgstr "Replace playlist with opened files" + +#: ../data/interfaces/mediachooser.ui.h:2 +msgid "Scan folders recursively" +msgstr "Scan folders recursively" + +#: ../data/interfaces/mediachooser.ui.h:3 +msgid "Start playing opened files" +msgstr "Start playing opened files" + +#: ../data/interfaces/plugins.ui.h:1 +msgid "Author:" +msgstr "Author:" + +#: ../data/interfaces/plugins.ui.h:2 +msgid "Description:" +msgstr "Description:" + +#: ../data/interfaces/plugins.ui.h:3 +msgid "Site:" +msgstr "Site:" + +#: ../data/interfaces/plugins.ui.h:4 +msgid "Media Player plugins" +msgstr "Media Player plugins" + +#: ../data/interfaces/plugins.ui.h:5 +msgid "Parole Plugins" +msgstr "Parole Plugins" + +#: ../data/interfaces/parole-settings.ui.h:1 +msgid "Audio" +msgstr "Audio" + +#: ../data/interfaces/parole-settings.ui.h:2 +msgid "Display" +msgstr "Display" + +#: ../data/interfaces/parole-settings.ui.h:3 +msgid "Subtitles" +msgstr "Subtitles" + +#: ../data/interfaces/parole-settings.ui.h:4 +msgid "Video" +msgstr "Video" + +#: ../data/interfaces/parole-settings.ui.h:5 +msgid "Automatically load subtitles when playing movie file" +msgstr "Automatically load subtitles when playing movie file" + +#: ../data/interfaces/parole-settings.ui.h:6 +msgid "Brightness:" +msgstr "Brightness:" + +#: ../data/interfaces/parole-settings.ui.h:7 +msgid "Contrast:" +msgstr "Contrast:" + +#: ../data/interfaces/parole-settings.ui.h:8 +msgid "Disable screen saver while playing movies" +msgstr "Disable screen saver while playing movies" + +#: ../data/interfaces/parole-settings.ui.h:9 +msgid "Enable visualization when playing audio file" +msgstr "Enable visualisation when playing audio file" + +#: ../data/interfaces/parole-settings.ui.h:10 +msgid "Encoding: " +msgstr "Encoding: " + +#: ../data/interfaces/parole-settings.ui.h:11 +msgid "Font:" +msgstr "Font:" + +#: ../data/interfaces/parole-settings.ui.h:12 +msgid "Hue:" +msgstr "Hue:" + +#: ../data/interfaces/parole-settings.ui.h:13 +msgid "Media Player Settings" +msgstr "Media Player Settings" + +#: ../data/interfaces/parole-settings.ui.h:14 +msgid "Parole Settings" +msgstr "Parole Settings" + +#: ../data/interfaces/parole-settings.ui.h:15 +msgid "Reset To Defaults" +msgstr "Reset To Defaults" + +#: ../data/interfaces/parole-settings.ui.h:16 +msgid "Saturation:" +msgstr "Saturation:" + +#: ../data/interfaces/parole-settings.ui.h:17 +msgid "Visualization type:" +msgstr "Visualisation type:" + +#: ../data/interfaces/save-playlist.ui.h:1 +msgid "By Extension" +msgstr "By Extension" + +#: ../data/interfaces/save-playlist.ui.h:2 +msgid "Select File Types (By Extension)" +msgstr "Select File Types (By Extension)" + +#: ../gst/parole-gst.c:1511 +msgid "The stream is taking too much time to load" +msgstr "The stream is taking too much time to load" + +#: ../gst/parole-gst.c:1511 +msgid "Stop" +msgstr "Stop" + +#: ../gst/parole-gst.c:1700 +msgid "" +"Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgstr "" +"Unable to load playbin GStreamer plugin, check your GStreamer installation" + +#: ../gst/parole-gst.c:1720 +msgid "" +"Unable to load video GStreamer plugin, check your GStreamer installation" +msgstr "" +"Unable to load video GStreamer plugin, check your GStreamer installation" + +#: ../src/main.c:54 +#, c-format +msgid "" +"\n" +"Parole Media Player %s\n" +"\n" +"Part of the Xfce Goodies Project\n" +"http://goodies.xfce.org\n" +"\n" +"Licensed under the GNU GPL.\n" +"\n" +msgstr "" +"\n" +"Parole Media Player %s\n" +"\n" +"Part of the Xfce Goodies Project\n" +"http://goodies.xfce.org\n" +"\n" +"Licensed under the GNU GPL.\n" +"\n" + +#: ../src/main.c:187 +msgid "Unknown argument " +msgstr "Unknown argument " + +#: ../src/main.c:224 +msgid "Open a new instance" +msgstr "Open a new instance" + +#: ../src/main.c:225 +msgid "Do not load plugins" +msgstr "Do not load plugins" + +#: ../src/main.c:226 +msgid "Set Audio-CD/VCD/DVD device path" +msgstr "Set Audio-CD/VCD/DVD device path" + +#: ../src/main.c:227 +msgid "Play or pause if already playing" +msgstr "Play or pause if already playing" + +#: ../src/main.c:228 +msgid "Stop playing" +msgstr "Stop playing" + +#: ../src/main.c:229 +msgid "Next track" +msgstr "Next track" + +#: ../src/main.c:230 +msgid "Previous track" +msgstr "Previous track" + +#: ../src/main.c:231 +msgid "Seek forward" +msgstr "Seek forwards" + +#: ../src/main.c:232 +msgid "Seek Backward" +msgstr "Seek backwards" + +#: ../src/main.c:233 +msgid "Raise volume" +msgstr "Raise volume" + +#: ../src/main.c:234 +msgid "Lower volume" +msgstr "Lower volume" + +#: ../src/main.c:235 +msgid "Mute volume" +msgstr "Mute volume" + +#: ../src/main.c:236 +msgid "Version information" +msgstr "Version information" + +#: ../src/main.c:237 +msgid "Enabled/Disable XV support" +msgstr "Enabled/Disable XV support" + +#: ../src/main.c:239 +msgid "Media to play" +msgstr "Media to play" + +#: ../src/main.c:276 +#, c-format +msgid "Parole is already running, use -i to open a new instance\n" +msgstr "Parole is already running, use -i to open a new instance\n" + +#: ../src/parole-mediachooser.c:213 +msgid "Add media files" +msgstr "Add media files" + +#: ../src/parole-mediachooser.c:246 +msgid "Add" +msgstr "Add" + +#: ../src/parole-medialist.c:437 +msgid "Error saving playlist file" +msgstr "Error saving playlist file" + +#: ../src/parole-medialist.c:437 +msgid "Permission denied" +msgstr "Permission denied" + +#: ../src/parole-medialist.c:446 +msgid "Unknown playlist format, Please select a support playlist format" +msgstr "Unknown playlist format, Please select a support playlist format" + +#: ../src/parole-medialist.c:514 ../src/parole-player.c:1973 +msgid "Playlist" +msgstr "Playlist" + +#: ../src/parole-medialist.c:521 +msgid "M3U Playlists" +msgstr "M3U Playlists" + +#: ../src/parole-medialist.c:529 +msgid "PLS Playlists" +msgstr "PLS Playlists" + +#: ../src/parole-medialist.c:537 +msgid "Advanced Stream Redirector" +msgstr "Advanced Stream Redirector" + +#: ../src/parole-medialist.c:545 +msgid "Shareable Playlist" +msgstr "Shareable Playlist" + +#: ../src/parole-medialist.c:860 +msgid "Remember playlist" +msgstr "Remember playlist" + +#: ../src/parole-medialist.c:1012 +msgid "Media list" +msgstr "Media list" + +#: ../src/parole-player.c:333 +msgid "Hide playlist" +msgstr "Hide playlist" + +#: ../src/parole-player.c:342 +msgid "Show playlist" +msgstr "Show playlist" + +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "Open ISO image" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "CD image" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "DVD image" + +#: ../src/parole-player.c:641 +msgid "Media stream is not seekable" +msgstr "Media stream is not seekable" + +#. +#. * Next chapter menu item +#. +#: ../src/parole-player.c:1197 ../src/parole-disc-menu.c:122 +msgid "Next Track" +msgstr "Next Track" + +#. +#. * Previous chapter menu item +#. +#: ../src/parole-player.c:1209 ../src/parole-disc-menu.c:123 +msgid "Previous Track" +msgstr "Previous Track" + +#: ../src/parole-statusbar.c:61 +msgid "Buffering" +msgstr "Buffering" + +#: ../src/parole-statusbar.c:100 +msgid "Stopped" +msgstr "Stopped" + +#: ../src/parole-statusbar.c:104 +msgid "Finished" +msgstr "Finished" + +#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 +msgid "Paused" +msgstr "Paused" + +#: ../src/parole-statusbar.c:114 +msgid "Playing" +msgstr "Playing" + +#: ../src/parole-statusbar.c:170 ../src/parole-statusbar.c:174 +msgid "Live stream:" +msgstr "Live stream:" + +#: ../src/parole-about.c:75 +msgid "Author/Maintainer" +msgstr "Author/Maintainer" + +#: ../src/parole-about.c:81 +#, c-format +msgid "Translator (%s)" +msgstr "Translator (%s)" + +#: ../src/parole-disc.c:227 +msgid "Play Disc" +msgstr "Play Disc" + +#: ../src/parole-subtitle-encoding.c:165 +msgid "Current Locale" +msgstr "Current Locale" + +#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 +msgid "Arabic" +msgstr "Arabic" + +#: ../src/parole-subtitle-encoding.c:177 +msgid "Armenian" +msgstr "Armenian" + +#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:184 +msgid "Baltic" +msgstr "Baltic" + +#: ../src/parole-subtitle-encoding.c:187 +msgid "Celtic" +msgstr "Celtic" + +#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 +msgid "Central European" +msgstr "Central European" + +#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 +msgid "Chinese Simplified" +msgstr "Chinese Simplified" + +#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:212 +msgid "Chinese Traditional" +msgstr "Chinese Traditional" + +#: ../src/parole-subtitle-encoding.c:215 +msgid "Croatian" +msgstr "Croatian" + +#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 +msgid "Cyrillic" +msgstr "Cyrillic" + +#: ../src/parole-subtitle-encoding.c:231 +msgid "Cyrillic/Russian" +msgstr "Cyrillic/Russian" + +#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 +msgid "Cyrillic/Ukrainian" +msgstr "Cyrillic/Ukrainian" + +#: ../src/parole-subtitle-encoding.c:239 +msgid "Georgian" +msgstr "Georgian" + +#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:246 +msgid "Greek" +msgstr "Greek" + +#: ../src/parole-subtitle-encoding.c:249 +msgid "Gujarati" +msgstr "Gujarati" + +#: ../src/parole-subtitle-encoding.c:252 +msgid "Gurmukhi" +msgstr "Gurmukhi" + +#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 +msgid "Hebrew" +msgstr "Hebrew" + +#: ../src/parole-subtitle-encoding.c:264 +msgid "Hebrew Visual" +msgstr "Hebrew Visual" + +#: ../src/parole-subtitle-encoding.c:267 +msgid "Hindi" +msgstr "Hindi" + +#: ../src/parole-subtitle-encoding.c:270 +msgid "Icelandic" +msgstr "Icelandic" + +#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:277 +msgid "Japanese" +msgstr "Japanese" + +#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 +msgid "Korean" +msgstr "Korean" + +#: ../src/parole-subtitle-encoding.c:289 +msgid "Nordic" +msgstr "Nordic" + +#: ../src/parole-subtitle-encoding.c:292 +msgid "Persian" +msgstr "Persian" + +#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 +msgid "Romanian" +msgstr "Romanian" + +#: ../src/parole-subtitle-encoding.c:300 +msgid "South European" +msgstr "South European" + +#: ../src/parole-subtitle-encoding.c:303 +msgid "Thai" +msgstr "Thai" + +#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 +msgid "Turkish" +msgstr "Turkish" + +#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:323 +msgid "Unicode" +msgstr "Unicode" + +#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:334 +msgid "Western" +msgstr "Western" + +#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:341 +msgid "Vietnamese" +msgstr "Vietnamese" + +#: ../src/parole-open-location.c:181 +msgid "Open location..." +msgstr "Open location..." + +#: ../src/parole-open-location.c:186 +msgid "Open location of media file or live stream:" +msgstr "Open location of media file or live stream:" + +#: ../src/parole-open-location.c:205 +msgid "Clear history" +msgstr "Clear history" + +#: ../src/parole-disc-menu.c:130 +msgid "Playing Track" +msgstr "Playing Track" + +#: ../src/parole-disc-menu.c:194 +#, c-format +msgid "Track %i" +msgstr "Track %i" + +#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 +msgid "Visit Website" +msgstr "Visit Website" + +#: ../src/parole-plugins-manager.c:373 +#: ../plugins/properties/stream-properties-provider.c:140 +#: ../plugins/properties/stream-properties-provider.c:141 +#: ../plugins/properties/stream-properties-provider.c:142 +#: ../plugins/properties/stream-properties-provider.c:143 +msgid "Unknown" +msgstr "Unknown" + +#: ../src/parole-plugins-manager.c:412 +msgid "No installed plugins found on this system" +msgstr "No installed plugins found on this system" + +#: ../parole/parole-filters.c:64 +msgid "Audio" +msgstr "Audio" + +#: ../parole/parole-filters.c:90 +msgid "Video" +msgstr "Video" + +#: ../parole/parole-filters.c:115 +msgid "Audio and video" +msgstr "Audio and video" + +#: ../parole/parole-filters.c:144 +msgid "All supported files" +msgstr "All supported files" + +#: ../parole/parole-filters.c:171 +msgid "Playlist files" +msgstr "Playlist files" + +#: ../plugins/properties/stream-properties-provider.c:254 +msgid "Title:" +msgstr "Title:" + +#: ../plugins/properties/stream-properties-provider.c:277 +msgid "Artist:" +msgstr "Artist:" + +#: ../plugins/properties/stream-properties-provider.c:300 +msgid "Album:" +msgstr "Album:" + +#: ../plugins/properties/stream-properties-provider.c:323 +msgid "Year:" +msgstr "Year:" + +#: ../plugins/properties/stream-properties-provider.c:341 +msgid "General" +msgstr "General" + +#: ../plugins/properties/stream-properties-provider.c:392 +msgid "Stream doesn't support tags changes" +msgstr "Stream doesn't support tags changes" + +#: ../plugins/properties/stream-properties-provider.c:399 +msgid "Save media tags changes" +msgstr "Save media tags changes" + +#: ../plugins/properties/stream-properties-provider.c:524 +msgid "Properties" +msgstr "Properties" + +#: ../plugins/properties/stream-properties.desktop.in.h:1 +msgid "Read media properties" +msgstr "Read media properties" + +#: ../plugins/properties/stream-properties.desktop.in.h:2 +msgid "Stream Properties" +msgstr "Stream Properties" + +#: ../plugins/tray/tray-provider.c:262 +msgid "Playing:" +msgstr "Playing:" + +#: ../plugins/tray/tray-provider.c:262 +msgid "Duration:" +msgstr "Duration:" + +#: ../plugins/tray/tray-provider.c:420 +msgid "Tray icon plugin" +msgstr "Tray icon plugin" + +#: ../plugins/tray/tray-provider.c:430 +msgid "Enable notification" +msgstr "Enable notification" + +#: ../plugins/tray/tray-provider.c:439 +msgid "Always minimize to tray when window is closed" +msgstr "Always minimise to tray when window is closed" + +#: ../plugins/tray/tray-provider.c:478 +msgid "Minimize to tray?" +msgstr "Minimise to tray?" + +#: ../plugins/tray/tray-provider.c:484 +msgid "Minimize to tray" +msgstr "Minimise to tray" + +#: ../plugins/tray/tray-provider.c:500 +msgid "Are you sure you want to quit Parole" +msgstr "Are you sure you want to quit Parole" + +#: ../plugins/tray/tray-provider.c:504 +msgid "Remember my choice" +msgstr "Remember my choice" + +#: ../plugins/tray/system-tray.desktop.in.h:1 +msgid "Show icon in the system tray" +msgstr "Show icon in the system tray" + +#: ../plugins/tray/system-tray.desktop.in.h:2 +msgid "Tray icon" +msgstr "Tray icon" + +#: ../plugins/window-title/window-title.desktop.in.h:1 +msgid "Set the main window name to the current playing media name." +msgstr "Set the main window name to the current playing media name." + +#: ../plugins/window-title/window-title.desktop.in.h:2 +msgid "Window Title" +msgstr "Window Title" + +#: ../plugins/power-manager/power-manager.desktop.in.h:1 +msgid "Inhibit Power Manager from suspending the machine while playing DVD." +msgstr "Inhibit Power Manager from suspending the machine while playing DVD." + +#: ../plugins/power-manager/power-manager.desktop.in.h:2 +msgid "Power Manager Plugin" +msgstr "Power Manager Plugin" diff -Nru parole-0.2.0.2/po/es.po parole-0.2.0.6/po/es.po --- parole-0.2.0.2/po/es.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/es.po 2011-04-17 11:53:19.000000000 +0000 @@ -7,9 +7,9 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-12-10 14:17+0100\n" -"PO-Revision-Date: 2009-12-11 17:39-0300\n" -"Last-Translator: elega \n" +"POT-Creation-Date: 2010-01-27 06:03+0100\n" +"PO-Revision-Date: 2010-01-27 09:13-0800\n" +"Last-Translator: Javier Sánchez \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -40,89 +40,97 @@ msgstr "Menú del capítulo" #: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 msgid "DVD Menu" msgstr "Menú DVD" -#: ../data/interfaces/parole.ui.h:8 +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "Desde imagen ISO" + +#: ../data/interfaces/parole.ui.h:10 msgid "Media player" msgstr "Reproductor de medios" -#: ../data/interfaces/parole.ui.h:9 +#: ../data/interfaces/parole.ui.h:11 msgid "Mute" msgstr "Silencio" -#: ../data/interfaces/parole.ui.h:10 -#: ../src/parole-player.c:1098 +#: ../data/interfaces/parole.ui.h:12 +#: ../src/parole-player.c:1198 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "Capítulo suguiente" -#: ../data/interfaces/parole.ui.h:11 +#: ../data/interfaces/parole.ui.h:13 msgid "None" msgstr "Ninguno" -#: ../data/interfaces/parole.ui.h:12 +#: ../data/interfaces/parole.ui.h:14 #: ../data/desktop/parole.desktop.in.in.h:1 #: ../src/parole-about.c:70 #: ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Reproductor de medios Parole" -#: ../data/interfaces/parole.ui.h:13 +#: ../data/interfaces/parole.ui.h:15 msgid "Plugins" msgstr "Complementos" -#: ../data/interfaces/parole.ui.h:14 -#: ../src/parole-player.c:1110 +#: ../data/interfaces/parole.ui.h:16 +#: ../src/parole-player.c:1210 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "Capítulo anterior" -#: ../data/interfaces/parole.ui.h:15 +#: ../data/interfaces/parole.ui.h:17 msgid "Repeat" msgstr "Repetir" -#: ../data/interfaces/parole.ui.h:16 +#: ../data/interfaces/parole.ui.h:18 msgid "Select Track" msgstr "Seleccionar pista" -#: ../data/interfaces/parole.ui.h:17 +#: ../data/interfaces/parole.ui.h:19 msgid "Shuffle" msgstr "Aleatorio" -#: ../data/interfaces/parole.ui.h:18 +#: ../data/interfaces/parole.ui.h:20 msgid "Sound" msgstr "Sonido" -#: ../data/interfaces/parole.ui.h:19 +#: ../data/interfaces/parole.ui.h:21 msgid "Square" msgstr "Cuadrado" -#: ../data/interfaces/parole.ui.h:20 +#: ../data/interfaces/parole.ui.h:22 msgid "Volume Down" msgstr "Bajar volumen" -#: ../data/interfaces/parole.ui.h:21 +#: ../data/interfaces/parole.ui.h:23 msgid "Volume Up" msgstr "Subir volumen" -#: ../data/interfaces/parole.ui.h:22 +#: ../data/interfaces/parole.ui.h:24 msgid "_Edit" msgstr "_Editar" -#: ../data/interfaces/parole.ui.h:23 +#: ../data/interfaces/parole.ui.h:25 msgid "_Help" msgstr "_Ayuda" -#: ../data/interfaces/parole.ui.h:24 +#: ../data/interfaces/parole.ui.h:26 msgid "_Media" msgstr "_Medios" -#: ../data/interfaces/parole.ui.h:25 +#: ../data/interfaces/parole.ui.h:27 msgid "_Open location" msgstr "_Abrir una ubicación" -#: ../data/interfaces/parole.ui.h:26 +#: ../data/interfaces/parole.ui.h:28 msgid "_View" msgstr "_Ver" @@ -234,19 +242,19 @@ msgid "Select File Types (By Extension)" msgstr "Seleccionar tipos de archivo (por extensión)" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "The stream is taking too much time to load" msgstr "El stream está demorando demasiado tiempo para cargar" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "Stop" msgstr "Detener" -#: ../gst/parole-gst.c:1683 +#: ../gst/parole-gst.c:1700 msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" msgstr "No se puede cargar el complemento playbin GStreamer, compruebe su instalación de GStreamer" -#: ../gst/parole-gst.c:1703 +#: ../gst/parole-gst.c:1720 msgid "Unable to load video GStreamer plugin, check your GStreamer installation" msgstr "No se puede cargar el complemento de vídeo GStreamer, compruebe su instalación de GStreamer" @@ -271,71 +279,71 @@ "Licenciado bajo GNU GPL.\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " msgstr "Argumento desconocido" -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "Abrir una nueva instancia" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" msgstr "No cargar complementos" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" msgstr "Establecer ruta de dispositivo Audio-CD/VCD/DVD" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" msgstr "Reproducir o pausar, si ya se está reproduciendo" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "Detener repoducción" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "Siguiente pista" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "Anterior pista" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" msgstr "Avanzar" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" msgstr "Retroceder" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "Elevar volumen" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "Menor volumen" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "Silenciar" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "Información de la versión" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" msgstr "Activar/Desactivar soporte XV" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Medios a reproducir" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "Parole ya se está ejecutando, utilice -i para abrir una nueva instancia\n" @@ -361,7 +369,7 @@ msgstr "Formato de lista de reproducción desconocido, por favor seleccione un formato soportado de lista de reproducción" #: ../src/parole-medialist.c:514 -#: ../src/parole-player.c:1852 +#: ../src/parole-player.c:1974 msgid "Playlist" msgstr "Lista de reproducción" @@ -389,23 +397,35 @@ msgid "Media list" msgstr "Lista de medios" -#: ../src/parole-player.c:318 +#: ../src/parole-player.c:333 msgid "Hide playlist" msgstr "Ocultar lista de reproducción" -#: ../src/parole-player.c:327 +#: ../src/parole-player.c:342 msgid "Show playlist" msgstr "Mostrar lista de repoducción" -#: ../src/parole-player.c:543 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:297 +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "Abrir imagen ISO" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "imagen de CD" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "imagen de DVD" + +#: ../src/parole-player.c:643 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:300 msgid "Media stream is not seekable" msgstr "Stream de medios no se puede buscar" #. #. * Next chapter menu item #. -#: ../src/parole-player.c:1098 +#: ../src/parole-player.c:1198 #: ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "Siguiente" @@ -413,13 +433,13 @@ #. #. * Previous chapter menu item #. -#: ../src/parole-player.c:1110 +#: ../src/parole-player.c:1210 #: ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "Anterior" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:590 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:593 msgid "Buffering" msgstr "Almacenando en el búfer" @@ -440,7 +460,7 @@ msgid "Playing" msgstr "Reproduciendo" -#: ../src/parole-statusbar.c:145 +#: ../src/parole-statusbar.c:168 msgid "Live stream:" msgstr "Stream en vivo:" @@ -453,7 +473,7 @@ msgid "Translator (%s)" msgstr "Traductor (%s)" -#: ../src/parole-disc.c:202 +#: ../src/parole-disc.c:227 msgid "Play Disc" msgstr "Reproducir disco" @@ -809,7 +829,7 @@ #. #. * Copy url #. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:452 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:455 msgid "Copy url" msgstr "Copiar url" diff -Nru parole-0.2.0.2/po/eu.po parole-0.2.0.6/po/eu.po --- parole-0.2.0.2/po/eu.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/eu.po 2011-04-17 11:53:19.000000000 +0000 @@ -1,20 +1,20 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. -# +# # Piarres Beobide , 2009. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-12-10 14:17+0100\n" +"POT-Creation-Date: 2010-01-29 06:03+0100\n" "PO-Revision-Date: 2009-12-15 12:26+0100\n" "Last-Translator: Piarres Beobide \n" "Language-Team: Basque \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 1.0\n" #: ../data/interfaces/parole.ui.h:1 msgid "16:9 (Widescreen)" @@ -41,85 +41,93 @@ msgstr "Kapitulu menua" #: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 msgid "DVD Menu" msgstr "DVD menua" -#: ../data/interfaces/parole.ui.h:8 +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "ISO irudi batetatik" + +#: ../data/interfaces/parole.ui.h:10 msgid "Media player" msgstr "Media erreproduzigailua" -#: ../data/interfaces/parole.ui.h:9 +#: ../data/interfaces/parole.ui.h:11 msgid "Mute" msgstr "Mutu" -#: ../data/interfaces/parole.ui.h:10 ../src/parole-player.c:1098 +#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1198 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "Hurrengo kapitulua" -#: ../data/interfaces/parole.ui.h:11 +#: ../data/interfaces/parole.ui.h:13 msgid "None" msgstr "Batez" -#: ../data/interfaces/parole.ui.h:12 ../data/desktop/parole.desktop.in.in.h:1 +#: ../data/interfaces/parole.ui.h:14 ../data/desktop/parole.desktop.in.in.h:1 #: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Parole media erreproduzigailua" -#: ../data/interfaces/parole.ui.h:13 +#: ../data/interfaces/parole.ui.h:15 msgid "Plugins" msgstr "Plugin-ak" -#: ../data/interfaces/parole.ui.h:14 ../src/parole-player.c:1110 +#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1210 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "Aurreko kapitulua" -#: ../data/interfaces/parole.ui.h:15 +#: ../data/interfaces/parole.ui.h:17 msgid "Repeat" msgstr "Errepikatu" -#: ../data/interfaces/parole.ui.h:16 +#: ../data/interfaces/parole.ui.h:18 msgid "Select Track" msgstr "Hautatu pista" -#: ../data/interfaces/parole.ui.h:17 +#: ../data/interfaces/parole.ui.h:19 msgid "Shuffle" msgstr "Ausaz" -#: ../data/interfaces/parole.ui.h:18 +#: ../data/interfaces/parole.ui.h:20 msgid "Sound" msgstr "Soinua" -#: ../data/interfaces/parole.ui.h:19 +#: ../data/interfaces/parole.ui.h:21 msgid "Square" msgstr "Karratua" -#: ../data/interfaces/parole.ui.h:20 +#: ../data/interfaces/parole.ui.h:22 msgid "Volume Down" msgstr "Bolumena jaitsi" -#: ../data/interfaces/parole.ui.h:21 +#: ../data/interfaces/parole.ui.h:23 msgid "Volume Up" msgstr "Bolumena igo" -#: ../data/interfaces/parole.ui.h:22 +#: ../data/interfaces/parole.ui.h:24 msgid "_Edit" msgstr "_Editatu" -#: ../data/interfaces/parole.ui.h:23 +#: ../data/interfaces/parole.ui.h:25 msgid "_Help" msgstr "_Laguntza" -#: ../data/interfaces/parole.ui.h:24 +#: ../data/interfaces/parole.ui.h:26 msgid "_Media" msgstr "_Euskarria" -#: ../data/interfaces/parole.ui.h:25 +#: ../data/interfaces/parole.ui.h:27 msgid "_Open location" msgstr "Ireki _kokalekua" -#: ../data/interfaces/parole.ui.h:26 +#: ../data/interfaces/parole.ui.h:28 msgid "_View" msgstr "_Ikusi" @@ -231,25 +239,21 @@ msgid "Select File Types (By Extension)" msgstr "Hautatu fitxategi motak (luzapenez)" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "The stream is taking too much time to load" msgstr "Korrontea debora asko tardatzen ari da kargatzeko" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "Stop" msgstr "Gelditu" -#: ../gst/parole-gst.c:1683 -msgid "" -"Unable to load playbin GStreamer plugin, check your GStreamer installation" -msgstr "" -"Ezin da playbin GStreamer plugina kargatu, egiaztatu GStreamer instalazioa" - -#: ../gst/parole-gst.c:1703 -msgid "" -"Unable to load video GStreamer plugin, check your GStreamer installation" -msgstr "" -"Ezin da bideo GStreamer plugina kargatu, egiaztatu GStreamer instalazioa" +#: ../gst/parole-gst.c:1700 +msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgstr "Ezin da playbin GStreamer plugina kargatu, egiaztatu GStreamer instalazioa" + +#: ../gst/parole-gst.c:1720 +msgid "Unable to load video GStreamer plugin, check your GStreamer installation" +msgstr "Ezin da bideo GStreamer plugina kargatu, egiaztatu GStreamer instalazioa" #: ../src/main.c:54 #, c-format @@ -272,76 +276,74 @@ "GNU GPL lizentziapean argitaratua.\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " msgstr "Argumentu ezezaguna " -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "Ireki instantzia berri bat" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" msgstr "Ez kargatu pluginak" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" msgstr "Ezarri Audio-CD/VCD/DVD gailu bidea" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" msgstr "Erreproduzitu edo gelditu martxan badago" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "Gelditu erreprodukzioa" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "Hurrengo pista" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "Aurreko pista" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" msgstr "Aurreratu" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" msgstr "Atzeratu" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "Igo bolumena" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "Jaitsi bolumena" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "Mututu bolumena" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "Bertsio argibideak" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" msgstr "Gaitu/desgaitu XV onarpena" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Erreproduzitzeko euskarria" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" -msgstr "" -"Parole dagoeneko exekutatzen ari da, -i erabili instantzia berri bat " -"irekitzeko\n" +msgstr "Parole dagoeneko exekutatzen ari da, -i erabili instantzia berri bat irekitzeko\n" #: ../src/parole-mediachooser.c:213 msgid "Add media files" @@ -361,11 +363,9 @@ #: ../src/parole-medialist.c:446 msgid "Unknown playlist format, Please select a support playlist format" -msgstr "" -"Erreprodukzio-zerrenda formatu ezezaguna, mesedez hautatu onartzen den " -"erreprodukzio-zerrenda formatu bat" +msgstr "Erreprodukzio-zerrenda formatu ezezaguna, mesedez hautatu onartzen den erreprodukzio-zerrenda formatu bat" -#: ../src/parole-medialist.c:514 ../src/parole-player.c:1852 +#: ../src/parole-medialist.c:514 ../src/parole-player.c:1974 msgid "Playlist" msgstr "Erreprodukzio-zerrenda " @@ -393,35 +393,45 @@ msgid "Media list" msgstr "Euskarri zerrenda" -#: ../src/parole-player.c:318 +#: ../src/parole-player.c:333 msgid "Hide playlist" msgstr "Ezkutatu erreprodukzio-zerrenda" -#: ../src/parole-player.c:327 +#: ../src/parole-player.c:342 msgid "Show playlist" msgstr "Ikusi erreprodukzio-zerrenda" -#: ../src/parole-player.c:543 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:297 +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "Ireki ISO irudia" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "CD irudia" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "DVD irudia" + +#: ../src/parole-player.c:643 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:300 msgid "Media stream is not seekable" msgstr "Euskarri korrontean ezin da salto egin" -#. #. * Next chapter menu item -#. -#: ../src/parole-player.c:1098 ../src/parole-disc-menu.c:122 +#. +#: ../src/parole-player.c:1198 ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "Hurrengo pista" -#. #. * Previous chapter menu item -#. -#: ../src/parole-player.c:1110 ../src/parole-disc-menu.c:123 +#. +#: ../src/parole-player.c:1210 ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "Aurreko pista" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:590 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:593 msgid "Buffering" msgstr "Bufferra betetzen" @@ -441,7 +451,7 @@ msgid "Playing" msgstr "Erreproduzitzen" -#: ../src/parole-statusbar.c:145 +#: ../src/parole-statusbar.c:168 msgid "Live stream:" msgstr "Sare bidezko korrontea:" @@ -454,7 +464,7 @@ msgid "Translator (%s)" msgstr "Itzultzailea (%s)" -#: ../src/parole-disc.c:202 +#: ../src/parole-disc.c:227 msgid "Play Disc" msgstr "Erreproduzitu diskoa" @@ -605,8 +615,7 @@ #: ../src/parole-open-location.c:186 msgid "Open location of media file or live stream:" -msgstr "" -"Ireki euskarri fitxategiaren kokalekua edo sare bidezko korrontea:" +msgstr "Ireki euskarri fitxategiaren kokalekua edo sare bidezko korrontea:" #: ../src/parole-open-location.c:205 msgid "Clear history" @@ -743,8 +752,7 @@ #: ../plugins/window-title/window-title.desktop.in.h:1 msgid "Set the main window name to the current playing media name." -msgstr "" -"Ezarri leiho nagusiaren izenburua erreproduzitzen ari den euskarri izenetik." +msgstr "Ezarri leiho nagusiaren izenburua erreproduzitzen ari den euskarri izenetik." #: ../plugins/window-title/window-title.desktop.in.h:2 msgid "Window Title" @@ -782,10 +790,9 @@ msgid "Fullscreen" msgstr "Pantaila-osoa" -#. #. * Copy url -#. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:452 +#. +#: ../browser-plugin/media-plugin/parole-plugin-player.c:455 msgid "Copy url" msgstr "Kopiatu url-a" diff -Nru parole-0.2.0.2/po/fr.po parole-0.2.0.6/po/fr.po --- parole-0.2.0.2/po/fr.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/fr.po 2011-04-17 11:53:19.000000000 +0000 @@ -2,12 +2,14 @@ # Copyright (C) 2009 the parole-media-player's copyright holder # This file is distributed under the same license as the parole-media-player package. # Steve Dodier +# Douart Patrick 2010. +# msgid "" msgstr "" "Project-Id-Version: ast\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-01-13 19:55+0100\n" -"PO-Revision-Date: 2009-12-03 11:49+0100\n" +"POT-Creation-Date: 2010-02-11 12:03+0100\n" +"PO-Revision-Date: 2010-02-11 15:23+0100\n" "Last-Translator: Douart Patrick \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -60,7 +62,8 @@ msgid "Mute" msgstr "Mettre en sourdine" -#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1198 +#: ../data/interfaces/parole.ui.h:12 +#: ../src/parole-player.c:1197 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "Chapitre Suivant" @@ -69,8 +72,10 @@ msgid "None" msgstr "Aucun" -#: ../data/interfaces/parole.ui.h:14 ../data/desktop/parole.desktop.in.in.h:1 -#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 +#: ../data/interfaces/parole.ui.h:14 +#: ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 +#: ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Lecteur Média Parole" @@ -78,7 +83,8 @@ msgid "Plugins" msgstr "Greffons" -#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1210 +#: ../data/interfaces/parole.ui.h:16 +#: ../src/parole-player.c:1209 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "Chapitre Précédent" @@ -239,20 +245,19 @@ msgid "Select File Types (By Extension)" msgstr "Sélectionner des Types de Fichiers (Par Extension)" -#: ../gst/parole-gst.c:1498 -#, fuzzy +#: ../gst/parole-gst.c:1511 msgid "The stream is taking too much time to load" msgstr "Le flux met trop de temps à se charger" -#: ../gst/parole-gst.c:1498 +#: ../gst/parole-gst.c:1511 msgid "Stop" msgstr "Arrêt" -#: ../gst/parole-gst.c:1687 +#: ../gst/parole-gst.c:1700 msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" msgstr "Impossible de charger le greffon de lecture GStreamer, vérifiez votre installation de GStreamer" -#: ../gst/parole-gst.c:1707 +#: ../gst/parole-gst.c:1720 msgid "Unable to load video GStreamer plugin, check your GStreamer installation" msgstr "Impossible de charger le greffon vidéo GStreamer, vérifiez votre installation de GStreamer" @@ -277,71 +282,71 @@ "Sous licence GNU GPL.\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " msgstr "Argument inconnu" -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "Ouvrir une nouvelle instance" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" msgstr "Ne chargez pas les plugins" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" msgstr "Sélectionner le chemin vers le périphérique Audio-CD/VCD/DVD" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" msgstr "Lecture ou pause si lecture en cours" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "Stopper la lecture" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "Piste suivante" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "Piste précédente" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" msgstr "Avancer" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" msgstr "Reculer" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "Augmenter le volume" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "Baisser le volume" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "Couper le volume" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "Information de version" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" msgstr "Activer/Désactiver le support XV" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Média à lire" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "Parole est déjà en cours de fonctionnement. Utilisez -i pour ouvrir une nouvelle instance\n" @@ -366,7 +371,8 @@ msgid "Unknown playlist format, Please select a support playlist format" msgstr "Format de liste de lecture inconnu, Veuillez sélectionner un format de liste de lecture pris en charge" -#: ../src/parole-medialist.c:514 ../src/parole-player.c:1974 +#: ../src/parole-medialist.c:514 +#: ../src/parole-player.c:1973 msgid "Playlist" msgstr "Liste de lecture" @@ -379,7 +385,6 @@ msgstr "Listes de lecture PLS" #: ../src/parole-medialist.c:537 -#, fuzzy msgid "Advanced Stream Redirector" msgstr "Redirecteur de Flux Avancé" @@ -415,21 +420,24 @@ msgid "DVD image" msgstr "Image DVD" -#: ../src/parole-player.c:643 +#: ../src/parole-player.c:641 #: ../browser-plugin/media-plugin/parole-plugin-player.c:300 -#, fuzzy msgid "Media stream is not seekable" -msgstr "Le flux média ne peut être parcouru" +msgstr "Le flux média ne peut être recherché" +#. #. * Next chapter menu item -#. -#: ../src/parole-player.c:1198 ../src/parole-disc-menu.c:122 +#. +#: ../src/parole-player.c:1197 +#: ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "Piste Suivante" +#. #. * Previous chapter menu item -#. -#: ../src/parole-player.c:1210 ../src/parole-disc-menu.c:123 +#. +#: ../src/parole-player.c:1209 +#: ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "Piste Précédente" @@ -446,7 +454,8 @@ msgid "Finished" msgstr "Fini" -#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 +#: ../src/parole-statusbar.c:114 +#: ../src/parole-statusbar.c:124 msgid "Paused" msgstr "Mis en pause" @@ -454,7 +463,8 @@ msgid "Playing" msgstr "Piste en Cours de Lecture" -#: ../src/parole-statusbar.c:168 +#: ../src/parole-statusbar.c:170 +#: ../src/parole-statusbar.c:174 msgid "Live stream:" msgstr "Flux live :" @@ -475,8 +485,10 @@ msgid "Current Locale" msgstr "Langue Actuelle" -#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 -#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 +#: ../src/parole-subtitle-encoding.c:168 +#: ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 +#: ../src/parole-subtitle-encoding.c:174 msgid "Arabic" msgstr "Arabe" @@ -484,7 +496,8 @@ msgid "Armenian" msgstr "Arménien" -#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:180 +#: ../src/parole-subtitle-encoding.c:182 #: ../src/parole-subtitle-encoding.c:184 msgid "Baltic" msgstr "Baltique" @@ -493,17 +506,22 @@ msgid "Celtic" msgstr "Celtique" -#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 -#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 +#: ../src/parole-subtitle-encoding.c:190 +#: ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 +#: ../src/parole-subtitle-encoding.c:196 msgid "Central European" msgstr "Europe Centrale" -#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 -#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 +#: ../src/parole-subtitle-encoding.c:199 +#: ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 +#: ../src/parole-subtitle-encoding.c:205 msgid "Chinese Simplified" msgstr "Chinois Simplifié" -#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:208 +#: ../src/parole-subtitle-encoding.c:210 #: ../src/parole-subtitle-encoding.c:212 msgid "Chinese Traditional" msgstr "Chinois Traditionnel" @@ -512,9 +530,12 @@ msgid "Croatian" msgstr "Croate" -#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 -#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 -#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 +#: ../src/parole-subtitle-encoding.c:218 +#: ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 +#: ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 +#: ../src/parole-subtitle-encoding.c:228 msgid "Cyrillic" msgstr "Cyrillique" @@ -522,7 +543,8 @@ msgid "Cyrillic/Russian" msgstr "Cyrillique / Russe " -#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 +#: ../src/parole-subtitle-encoding.c:234 +#: ../src/parole-subtitle-encoding.c:236 msgid "Cyrillic/Ukrainian" msgstr "Cyrillique / Ukrainien" @@ -530,7 +552,8 @@ msgid "Georgian" msgstr "Géorgien" -#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:242 +#: ../src/parole-subtitle-encoding.c:244 #: ../src/parole-subtitle-encoding.c:246 msgid "Greek" msgstr "Grec" @@ -543,8 +566,10 @@ msgid "Gurmukhi" msgstr "GurmukhÄ«" -#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 -#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 +#: ../src/parole-subtitle-encoding.c:255 +#: ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 +#: ../src/parole-subtitle-encoding.c:261 msgid "Hebrew" msgstr "Hébreux" @@ -560,13 +585,16 @@ msgid "Icelandic" msgstr "Islandais" -#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:273 +#: ../src/parole-subtitle-encoding.c:275 #: ../src/parole-subtitle-encoding.c:277 msgid "Japanese" msgstr "Japonais" -#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 -#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 +#: ../src/parole-subtitle-encoding.c:280 +#: ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 +#: ../src/parole-subtitle-encoding.c:286 msgid "Korean" msgstr "Coréen" @@ -578,7 +606,8 @@ msgid "Persian" msgstr "Perse" -#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 +#: ../src/parole-subtitle-encoding.c:295 +#: ../src/parole-subtitle-encoding.c:297 msgid "Romanian" msgstr "Roumain" @@ -590,24 +619,31 @@ msgid "Thai" msgstr "Thaï" -#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 -#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 +#: ../src/parole-subtitle-encoding.c:306 +#: ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 +#: ../src/parole-subtitle-encoding.c:312 msgid "Turkish" msgstr "Turc" -#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 -#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:315 +#: ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 +#: ../src/parole-subtitle-encoding.c:321 #: ../src/parole-subtitle-encoding.c:323 msgid "Unicode" msgstr "Unicode" -#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 -#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:326 +#: ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 +#: ../src/parole-subtitle-encoding.c:332 #: ../src/parole-subtitle-encoding.c:334 msgid "Western" msgstr "Occident" -#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:337 +#: ../src/parole-subtitle-encoding.c:339 #: ../src/parole-subtitle-encoding.c:341 msgid "Vietnamese" msgstr "Vietnamien" @@ -617,7 +653,6 @@ msgstr "Ouvrir un emplacement..." #: ../src/parole-open-location.c:186 -#, fuzzy msgid "Open location of media file or live stream:" msgstr "Ouvrir l'emplacement d'un média ou d'un flux :" @@ -634,7 +669,8 @@ msgid "Track %i" msgstr "Piste %i" -#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 +#: ../src/parole-plugins-manager.c:297 +#: ../src/parole-plugins-manager.c:433 msgid "Visit Website" msgstr "Visiter le Site Web" @@ -695,7 +731,6 @@ msgstr "Le flux ne prend pas les changements de tags en charge" #: ../plugins/properties/stream-properties-provider.c:399 -#, fuzzy msgid "Save media tags changes" msgstr "Sauvegarder les changements de tags" @@ -708,7 +743,6 @@ msgstr "Lire les propriétés du média" #: ../plugins/properties/stream-properties.desktop.in.h:2 -#, fuzzy msgid "Stream Properties" msgstr "Propriétés du flux" @@ -796,8 +830,9 @@ msgid "Fullscreen" msgstr "Plein écran" +#. #. * Copy url -#. +#. #: ../browser-plugin/media-plugin/parole-plugin-player.c:455 msgid "Copy url" msgstr "Copier l'URL" diff -Nru parole-0.2.0.2/po/gl.po parole-0.2.0.6/po/gl.po --- parole-0.2.0.2/po/gl.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/gl.po 2011-04-17 11:53:19.000000000 +0000 @@ -1,18 +1,18 @@ # Galician translation of notification-daemon-xfce -# Copyright (C) 2009 Leandro Regueiro. +# Copyright (C) 2009, 2010 Leandro Regueiro. # This file is distributed under the same license as the Xfce package. -# -# Leandro Regueiro , 2009. -# +# +# Leandro Regueiro , 2009, 2010. +# # Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas # colaborar connosco, podes atopar máis información en -# +# msgid "" msgstr "" "Project-Id-Version: Parole 0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-01-14 12:06+0100\n" -"PO-Revision-Date: 2009-12-18 15:09+0100\n" +"POT-Creation-Date: 2010-02-19 12:06+0100\n" +"PO-Revision-Date: 2010-10-20 09:48+0100\n" "Last-Translator: Leandro Regueiro \n" "Language-Team: Galician \n" "MIME-Version: 1.0\n" @@ -64,7 +64,8 @@ msgid "Mute" msgstr "Silencio" -#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1198 +#: ../data/interfaces/parole.ui.h:12 +#: ../src/parole-player.c:1197 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "Capítulo seguinte" @@ -73,8 +74,10 @@ msgid "None" msgstr "Ningunha" -#: ../data/interfaces/parole.ui.h:14 ../data/desktop/parole.desktop.in.in.h:1 -#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 +#: ../data/interfaces/parole.ui.h:14 +#: ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 +#: ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Reprodutor multimedia Parole" @@ -82,7 +85,8 @@ msgid "Plugins" msgstr "Engadidos" -#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1210 +#: ../data/interfaces/parole.ui.h:16 +#: ../src/parole-player.c:1209 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "Capítulo anterior" @@ -280,71 +284,71 @@ "Licenciado baixo a GNU GPL.\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " msgstr "Argumento descoñecido" -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "Abrir unha nova instancia" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" msgstr "Non cargar engadidos" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" msgstr "Definir a ruta do dispositivo de Audio-CD/VCD/DVD" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" msgstr "Reproducir ou pausar se xa se estaba reproducindo" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "Deter a reprodución" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "Seguinte pista" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "Pista anterior" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" msgstr "Avanzar" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" msgstr "Retroceder" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "Subir o volume" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "Baixar o volume" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "Silenciar" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "Información de versión" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" msgstr "Activar/desactivar soporte XV" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Soporte a reproducir" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "Parole xa se está executando, use -i para abrir unha nova instancia\n" @@ -369,7 +373,8 @@ msgid "Unknown playlist format, Please select a support playlist format" msgstr "Tipo de lista de reprodución descoñecido. Seleccione un formato de lista de reprodución soportado." -#: ../src/parole-medialist.c:514 ../src/parole-player.c:1974 +#: ../src/parole-medialist.c:514 +#: ../src/parole-player.c:1973 msgid "Playlist" msgstr "Lista de reprodución" @@ -381,9 +386,10 @@ msgid "PLS Playlists" msgstr "Listas de reprodución PLS" +# Non se traduce: The Advanced Stream Redirector (ASX) format is a type of XML metafile designed to store a list of Windows Media files to play during a multimedia presentation. #: ../src/parole-medialist.c:537 msgid "Advanced Stream Redirector" -msgstr "" +msgstr "Advanced Stream Redirector" #: ../src/parole-medialist.c:545 msgid "Shareable Playlist" @@ -417,20 +423,24 @@ msgid "DVD image" msgstr "Imaxe de DVD" -#: ../src/parole-player.c:643 +#: ../src/parole-player.c:641 #: ../browser-plugin/media-plugin/parole-plugin-player.c:300 msgid "Media stream is not seekable" -msgstr "" +msgstr "O fluxo do soporte non é posicionable" +#. #. * Next chapter menu item -#. -#: ../src/parole-player.c:1198 ../src/parole-disc-menu.c:122 +#. +#: ../src/parole-player.c:1197 +#: ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "Seguinte pista" +#. #. * Previous chapter menu item -#. -#: ../src/parole-player.c:1210 ../src/parole-disc-menu.c:123 +#. +#: ../src/parole-player.c:1209 +#: ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "Pista anterior" @@ -447,7 +457,8 @@ msgid "Finished" msgstr "Finalizado" -#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 +#: ../src/parole-statusbar.c:114 +#: ../src/parole-statusbar.c:124 msgid "Paused" msgstr "Pausado" @@ -455,7 +466,8 @@ msgid "Playing" msgstr "Reproducindo" -#: ../src/parole-statusbar.c:168 +#: ../src/parole-statusbar.c:170 +#: ../src/parole-statusbar.c:174 msgid "Live stream:" msgstr "Fluxo en tempo real:" @@ -476,8 +488,10 @@ msgid "Current Locale" msgstr "Configuración rexional actual" -#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 -#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 +#: ../src/parole-subtitle-encoding.c:168 +#: ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 +#: ../src/parole-subtitle-encoding.c:174 msgid "Arabic" msgstr "Ãrabe" @@ -485,7 +499,8 @@ msgid "Armenian" msgstr "Armenio" -#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:180 +#: ../src/parole-subtitle-encoding.c:182 #: ../src/parole-subtitle-encoding.c:184 msgid "Baltic" msgstr "Báltico" @@ -494,17 +509,22 @@ msgid "Celtic" msgstr "Celta" -#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 -#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 +#: ../src/parole-subtitle-encoding.c:190 +#: ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 +#: ../src/parole-subtitle-encoding.c:196 msgid "Central European" msgstr "Centroeuropeo" -#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 -#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 +#: ../src/parole-subtitle-encoding.c:199 +#: ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 +#: ../src/parole-subtitle-encoding.c:205 msgid "Chinese Simplified" msgstr "Chinés simplificado" -#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:208 +#: ../src/parole-subtitle-encoding.c:210 #: ../src/parole-subtitle-encoding.c:212 msgid "Chinese Traditional" msgstr "Chinés tradicional" @@ -513,9 +533,12 @@ msgid "Croatian" msgstr "Croata" -#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 -#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 -#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 +#: ../src/parole-subtitle-encoding.c:218 +#: ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 +#: ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 +#: ../src/parole-subtitle-encoding.c:228 msgid "Cyrillic" msgstr "Cirílico" @@ -523,7 +546,8 @@ msgid "Cyrillic/Russian" msgstr "Cirílico/Ruso" -#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 +#: ../src/parole-subtitle-encoding.c:234 +#: ../src/parole-subtitle-encoding.c:236 msgid "Cyrillic/Ukrainian" msgstr "Cirílico/Ucraíno" @@ -531,7 +555,8 @@ msgid "Georgian" msgstr "Xeorxiano" -#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:242 +#: ../src/parole-subtitle-encoding.c:244 #: ../src/parole-subtitle-encoding.c:246 msgid "Greek" msgstr "Grego" @@ -542,10 +567,12 @@ #: ../src/parole-subtitle-encoding.c:252 msgid "Gurmukhi" -msgstr "" +msgstr "Gurmukhi" -#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 -#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 +#: ../src/parole-subtitle-encoding.c:255 +#: ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 +#: ../src/parole-subtitle-encoding.c:261 msgid "Hebrew" msgstr "Hebreo" @@ -561,13 +588,16 @@ msgid "Icelandic" msgstr "Islandés" -#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:273 +#: ../src/parole-subtitle-encoding.c:275 #: ../src/parole-subtitle-encoding.c:277 msgid "Japanese" msgstr "Xaponés" -#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 -#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 +#: ../src/parole-subtitle-encoding.c:280 +#: ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 +#: ../src/parole-subtitle-encoding.c:286 msgid "Korean" msgstr "Coreano" @@ -579,7 +609,8 @@ msgid "Persian" msgstr "Persa" -#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 +#: ../src/parole-subtitle-encoding.c:295 +#: ../src/parole-subtitle-encoding.c:297 msgid "Romanian" msgstr "Romanés" @@ -591,24 +622,31 @@ msgid "Thai" msgstr "Tailandés" -#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 -#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 +#: ../src/parole-subtitle-encoding.c:306 +#: ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 +#: ../src/parole-subtitle-encoding.c:312 msgid "Turkish" msgstr "Turco" -#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 -#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:315 +#: ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 +#: ../src/parole-subtitle-encoding.c:321 #: ../src/parole-subtitle-encoding.c:323 msgid "Unicode" msgstr "Unicode" -#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 -#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:326 +#: ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 +#: ../src/parole-subtitle-encoding.c:332 #: ../src/parole-subtitle-encoding.c:334 msgid "Western" msgstr "Occidental" -#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:337 +#: ../src/parole-subtitle-encoding.c:339 #: ../src/parole-subtitle-encoding.c:341 msgid "Vietnamese" msgstr "Vietnamita" @@ -634,7 +672,8 @@ msgid "Track %i" msgstr "Pista %i" -#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 +#: ../src/parole-plugins-manager.c:297 +#: ../src/parole-plugins-manager.c:433 msgid "Visit Website" msgstr "Visitar o sitio web" @@ -728,7 +767,7 @@ #: ../plugins/tray/tray-provider.c:439 msgid "Always minimize to tray when window is closed" -msgstr "Sempre minimizar á zona de notificación cando se pecha a fiestra" +msgstr "Sempre minimizar á zona de notificación cando se pecha a xanela" #: ../plugins/tray/tray-provider.c:478 msgid "Minimize to tray?" @@ -756,11 +795,11 @@ #: ../plugins/window-title/window-title.desktop.in.h:1 msgid "Set the main window name to the current playing media name." -msgstr "Poñer o nome do soporte que se está reproducindo como nome da fiestra principal." +msgstr "Poñer o nome do soporte que se está reproducindo como nome da xanela principal." #: ../plugins/window-title/window-title.desktop.in.h:2 msgid "Window Title" -msgstr "Título da fiestra" +msgstr "Título da xanela" #: ../plugins/power-manager/power-manager.desktop.in.h:1 msgid "Inhibit Power Manager from suspending the machine while playing DVD." @@ -794,20 +833,19 @@ msgid "Fullscreen" msgstr "Pantalla completa" +#. #. * Copy url -#. +#. #: ../browser-plugin/media-plugin/parole-plugin-player.c:455 msgid "Copy url" msgstr "Copiar o url" #~ msgid "Plugin" #~ msgstr "Engadidos" - #~ msgid "gtk-close" #~ msgstr "Pechar composición" - #~ msgid "gtk-properties" #~ msgstr "Propiedades do menú" - #~ msgid "Visite Website" #~ msgstr "Visite o sitio web" + diff -Nru parole-0.2.0.2/po/hu.po parole-0.2.0.6/po/hu.po --- parole-0.2.0.2/po/hu.po 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/po/hu.po 2011-04-17 11:53:19.000000000 +0000 @@ -0,0 +1,769 @@ +# Hungarian translation of Parole +# Copyright (C) 2010. Free Software Foundation, Inc. +# This file is distributed under the same license as the Parole package. +# +# Gabor Kelemen , 2010. +msgid "" +msgstr "" +"Project-Id-Version: Parole master\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-11-03 11:03+0000\n" +"PO-Revision-Date: 2010-12-01 03:40+0100\n" +"Last-Translator: Gabor Kelemen \n" +"Language-Team: Hungarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../data/interfaces/parole.ui.h:1 +msgid "16:9 (Widescreen)" +msgstr "16:9 (szélesvásznú)" + +#: ../data/interfaces/parole.ui.h:2 +msgid "20:9 (DVB)" +msgstr "20:9 (DVB)" + +#: ../data/interfaces/parole.ui.h:3 +msgid "4:3 (TV)" +msgstr "4:3 (TV)" + +#: ../data/interfaces/parole.ui.h:4 +msgid "Aspect Ratio" +msgstr "Méretarány" + +#: ../data/interfaces/parole.ui.h:5 +msgid "Auto" +msgstr "Auto" + +#: ../data/interfaces/parole.ui.h:6 +msgid "Chapter Menu" +msgstr "Fejezet menü" + +#: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 +msgid "DVD Menu" +msgstr "DVD menü" + +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "ISO-lemezképbÅ‘l" + +#: ../data/interfaces/parole.ui.h:10 +msgid "Media player" +msgstr "Médialejátszó" + +#: ../data/interfaces/parole.ui.h:11 +msgid "Mute" +msgstr "Némítás" + +#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1197 +#: ../src/parole-disc-menu.c:113 +msgid "Next Chapter" +msgstr "KövetkezÅ‘ fejezet" + +#: ../data/interfaces/parole.ui.h:13 +msgid "None" +msgstr "Nincs" + +#: ../data/interfaces/parole.ui.h:14 ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 +msgid "Parole Media Player" +msgstr "Parole médialejátszó" + +#: ../data/interfaces/parole.ui.h:15 +msgid "Plugins" +msgstr "BÅ‘vítmények" + +#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1209 +#: ../src/parole-disc-menu.c:114 +msgid "Previous Chapter" +msgstr "ElÅ‘zÅ‘ fejezet" + +#: ../data/interfaces/parole.ui.h:17 +msgid "Repeat" +msgstr "Ismétlés" + +#: ../data/interfaces/parole.ui.h:18 +msgid "Select Track" +msgstr "Válasszon sávot" + +#: ../data/interfaces/parole.ui.h:19 +msgid "Shuffle" +msgstr "Keverés" + +#: ../data/interfaces/parole.ui.h:20 +msgid "Sound" +msgstr "Hang" + +#: ../data/interfaces/parole.ui.h:21 +msgid "Square" +msgstr "Négyzet" + +#: ../data/interfaces/parole.ui.h:22 +msgid "Volume Down" +msgstr "HangerÅ‘ le" + +#: ../data/interfaces/parole.ui.h:23 +msgid "Volume Up" +msgstr "HangerÅ‘ fel" + +#: ../data/interfaces/parole.ui.h:24 +msgid "_Edit" +msgstr "S_zerkesztés" + +#: ../data/interfaces/parole.ui.h:25 +msgid "_Help" +msgstr "_Súgó" + +#: ../data/interfaces/parole.ui.h:26 +msgid "_Media" +msgstr "_Média" + +#: ../data/interfaces/parole.ui.h:27 +msgid "_Open location" +msgstr "_Hely megnyitása" + +#: ../data/interfaces/parole.ui.h:28 +msgid "_View" +msgstr "_Nézet" + +#: ../data/interfaces/mediachooser.ui.h:1 +msgid "Replace playlist with opened files" +msgstr "Lejátszólista cseréje a megnyitott fájlokkal" + +#: ../data/interfaces/mediachooser.ui.h:2 +msgid "Scan folders recursively" +msgstr "Almappák beolvasása" + +#: ../data/interfaces/mediachooser.ui.h:3 +msgid "Start playing opened files" +msgstr "Megnyitott fájlok lejátszásának megkezdése" + +#: ../data/interfaces/plugins.ui.h:1 +msgid "Author:" +msgstr "SzerzÅ‘:" + +#: ../data/interfaces/plugins.ui.h:2 +msgid "Description:" +msgstr "Leírás:" + +#: ../data/interfaces/plugins.ui.h:3 +msgid "Site:" +msgstr "Webhely:" + +#: ../data/interfaces/plugins.ui.h:4 +msgid "Media Player plugins" +msgstr "Médialejátszó-bÅ‘vítmények" + +#: ../data/interfaces/plugins.ui.h:5 +msgid "Parole Plugins" +msgstr "Parole bÅ‘vítmények" + +#: ../data/interfaces/parole-settings.ui.h:1 +msgid "Audio" +msgstr "Hang" + +#: ../data/interfaces/parole-settings.ui.h:2 +msgid "Display" +msgstr "Megjelenítés" + +#: ../data/interfaces/parole-settings.ui.h:3 +msgid "Subtitles" +msgstr "Feliratok" + +#: ../data/interfaces/parole-settings.ui.h:4 +msgid "Video" +msgstr "Videó" + +#: ../data/interfaces/parole-settings.ui.h:5 +msgid "Automatically load subtitles when playing movie file" +msgstr "Feliratok automatikus betöltése filmek lejátszásakor" + +#: ../data/interfaces/parole-settings.ui.h:6 +msgid "Brightness:" +msgstr "FényerÅ‘:" + +#: ../data/interfaces/parole-settings.ui.h:7 +msgid "Contrast:" +msgstr "Kontraszt:" + +#: ../data/interfaces/parole-settings.ui.h:8 +msgid "Disable screen saver while playing movies" +msgstr "KépernyÅ‘védÅ‘ kikapcsolása filmek lejátszásakor" + +#: ../data/interfaces/parole-settings.ui.h:9 +msgid "Enable visualization when playing audio file" +msgstr "Vizualizáció bekapcsolása hangfájlok lejátszásakor" + +#: ../data/interfaces/parole-settings.ui.h:10 +msgid "Encoding: " +msgstr "Kódolás: " + +#: ../data/interfaces/parole-settings.ui.h:11 +msgid "Font:" +msgstr "Betűkészlet:" + +#: ../data/interfaces/parole-settings.ui.h:12 +msgid "Hue:" +msgstr "Színárnyalat:" + +#: ../data/interfaces/parole-settings.ui.h:13 +msgid "Media Player Settings" +msgstr "Médialejátszó beállításai" + +#: ../data/interfaces/parole-settings.ui.h:14 +msgid "Parole Settings" +msgstr "Parole beállításai" + +#: ../data/interfaces/parole-settings.ui.h:15 +msgid "Reset To Defaults" +msgstr "Visszaállítás alapértékekre" + +#: ../data/interfaces/parole-settings.ui.h:16 +msgid "Saturation:" +msgstr "Telítettség:" + +#: ../data/interfaces/parole-settings.ui.h:17 +msgid "Visualization type:" +msgstr "Vizualizáció típusa:" + +#: ../data/interfaces/save-playlist.ui.h:1 +msgid "By Extension" +msgstr "Kiterjesztés szerint" + +#: ../data/interfaces/save-playlist.ui.h:2 +msgid "Select File Types (By Extension)" +msgstr "Válasszon fájltípusokat (kiterjesztés szerint)" + +#: ../gst/parole-gst.c:1511 +msgid "The stream is taking too much time to load" +msgstr "A műsor betöltése túl sokáig tart" + +#: ../gst/parole-gst.c:1511 +msgid "Stop" +msgstr "Leállítás" + +#: ../gst/parole-gst.c:1700 +msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgstr "Nem tölthetÅ‘ be a playbin GStreamer bÅ‘vítmény, ellenÅ‘rizze a GStreamer telepítést" + +#: ../gst/parole-gst.c:1720 +msgid "Unable to load video GStreamer plugin, check your GStreamer installation" +msgstr "Nem tölthetÅ‘ be a video GStreamer bÅ‘vítmény, ellenÅ‘rizze a GStreamer telepítést" + +#: ../src/main.c:54 +#, c-format +msgid "" +"\n" +"Parole Media Player %s\n" +"\n" +"Part of the Xfce Goodies Project\n" +"http://goodies.xfce.org\n" +"\n" +"Licensed under the GNU GPL.\n" +"\n" +msgstr "" +"\n" +"Parole médialejátszó %s\n" +"\n" +"Az Xfce Goodies Project része\n" +"http://goodies.xfce.org\n" +"\n" +"Licenc: GNU GPL.\n" +"\n" + +#: ../src/main.c:187 +msgid "Unknown argument " +msgstr "Ismeretlen argumentum " + +#: ../src/main.c:224 +msgid "Open a new instance" +msgstr "Új példány megnyitása" + +#: ../src/main.c:225 +msgid "Do not load plugins" +msgstr "Ne töltse be a bÅ‘vítményeket" + +#: ../src/main.c:226 +msgid "Set Audio-CD/VCD/DVD device path" +msgstr "Hang CD/VCD/DVD eszköz útvonalának beállítása" + +#: ../src/main.c:227 +msgid "Play or pause if already playing" +msgstr "Lejátszás vagy szünet, ha már lejátszik" + +#: ../src/main.c:228 +msgid "Stop playing" +msgstr "Lejátszás leállítása" + +#: ../src/main.c:229 +msgid "Next track" +msgstr "KövetkezÅ‘ szám" + +#: ../src/main.c:230 +msgid "Previous track" +msgstr "ElÅ‘zÅ‘ szám" + +#: ../src/main.c:231 +msgid "Seek forward" +msgstr "ElÅ‘retekerés" + +#: ../src/main.c:232 +msgid "Seek Backward" +msgstr "Visszatekerés" + +#: ../src/main.c:233 +msgid "Raise volume" +msgstr "HangerÅ‘ növelése" + +#: ../src/main.c:234 +msgid "Lower volume" +msgstr "HangerÅ‘ csökkentése" + +#: ../src/main.c:235 +msgid "Mute volume" +msgstr "HangerÅ‘ némítása" + +#: ../src/main.c:236 +msgid "Version information" +msgstr "Verzióinformációk" + +#: ../src/main.c:237 +msgid "Enabled/Disable XV support" +msgstr "XV-támogatás be/kikapcsolása" + +#: ../src/main.c:239 +msgid "Media to play" +msgstr "Lejátszandó média" + +#: ../src/main.c:276 +#, c-format +msgid "Parole is already running, use -i to open a new instance\n" +msgstr "A Parole már fut, új példány nyitásához használja a -i kapcsolót\n" + +#: ../src/parole-mediachooser.c:213 +msgid "Add media files" +msgstr "Médiafájlok hozzáadása" + +#: ../src/parole-mediachooser.c:246 +msgid "Add" +msgstr "Hozzáadás" + +#: ../src/parole-medialist.c:437 +msgid "Error saving playlist file" +msgstr "Hiba a lejátszólistafájl mentésekor" + +#: ../src/parole-medialist.c:437 +msgid "Permission denied" +msgstr "Hozzáférés megtagadva" + +#: ../src/parole-medialist.c:446 +msgid "Unknown playlist format, Please select a support playlist format" +msgstr "Ismeretlen lejátszólista-formátum, válasszon támogatott lejátszólista-formátumot" + +#: ../src/parole-medialist.c:514 ../src/parole-player.c:1973 +msgid "Playlist" +msgstr "Lejátszólista" + +#: ../src/parole-medialist.c:521 +msgid "M3U Playlists" +msgstr "M3U lejátszólisták" + +#: ../src/parole-medialist.c:529 +msgid "PLS Playlists" +msgstr "PLS lejátszólisták" + +#: ../src/parole-medialist.c:537 +msgid "Advanced Stream Redirector" +msgstr "ASX" + +#: ../src/parole-medialist.c:545 +msgid "Shareable Playlist" +msgstr "Megosztható lejátszólista" + +#: ../src/parole-medialist.c:860 +msgid "Remember playlist" +msgstr "Lejátszólista megjegyzése" + +#: ../src/parole-medialist.c:1012 +msgid "Media list" +msgstr "Médialista" + +#: ../src/parole-player.c:333 +msgid "Hide playlist" +msgstr "Lejátszólista elrejtése" + +#: ../src/parole-player.c:342 +msgid "Show playlist" +msgstr "Lejátszólista megjelenítése" + +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "ISO-lemezkép megnyitása" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "CD-lemezkép" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "DVD-lemezkép" + +#: ../src/parole-player.c:641 +msgid "Media stream is not seekable" +msgstr "A médiafolyamban nem lehet tekerni" + +#. +#. * Next chapter menu item +#. +#: ../src/parole-player.c:1197 ../src/parole-disc-menu.c:122 +msgid "Next Track" +msgstr "KövetkezÅ‘ sáv" + +#. +#. * Previous chapter menu item +#. +#: ../src/parole-player.c:1209 ../src/parole-disc-menu.c:123 +msgid "Previous Track" +msgstr "ElÅ‘zÅ‘ sáv" + +#: ../src/parole-statusbar.c:61 +msgid "Buffering" +msgstr "Pufferelés" + +#: ../src/parole-statusbar.c:100 +msgid "Stopped" +msgstr "Leállítva" + +#: ../src/parole-statusbar.c:104 +msgid "Finished" +msgstr "BefejezÅ‘dött" + +#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 +msgid "Paused" +msgstr "Szüneteltetve" + +#: ../src/parole-statusbar.c:114 +msgid "Playing" +msgstr "Lejátszás" + +#: ../src/parole-statusbar.c:170 ../src/parole-statusbar.c:174 +msgid "Live stream:" +msgstr "ÉlÅ‘ műsor" + +#: ../src/parole-about.c:75 +msgid "Author/Maintainer" +msgstr "SzerzÅ‘/karbantartó" + +#: ../src/parole-about.c:81 +#, c-format +msgid "Translator (%s)" +msgstr "Fordító (%s)" + +#: ../src/parole-disc.c:227 +msgid "Play Disc" +msgstr "Lemez lejátszása" + +#: ../src/parole-subtitle-encoding.c:165 +msgid "Current Locale" +msgstr "Jelenlegi területi beállítás" + +#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 +msgid "Arabic" +msgstr "Arab" + +#: ../src/parole-subtitle-encoding.c:177 +msgid "Armenian" +msgstr "Örmény" + +#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:184 +msgid "Baltic" +msgstr "Balti" + +#: ../src/parole-subtitle-encoding.c:187 +msgid "Celtic" +msgstr "Kelta" + +#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 +msgid "Central European" +msgstr "Közép-európai" + +#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 +msgid "Chinese Simplified" +msgstr "Egyszerűsített kínai" + +#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:212 +msgid "Chinese Traditional" +msgstr "Hagyományos kínai" + +#: ../src/parole-subtitle-encoding.c:215 +msgid "Croatian" +msgstr "Horvát" + +#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 +msgid "Cyrillic" +msgstr "Cirill" + +#: ../src/parole-subtitle-encoding.c:231 +msgid "Cyrillic/Russian" +msgstr "Cirill/orosz" + +#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 +msgid "Cyrillic/Ukrainian" +msgstr "Cirill/ukrán" + +#: ../src/parole-subtitle-encoding.c:239 +msgid "Georgian" +msgstr "Grúz" + +#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:246 +msgid "Greek" +msgstr "Görög" + +#: ../src/parole-subtitle-encoding.c:249 +msgid "Gujarati" +msgstr "Gudzsarati" + +#: ../src/parole-subtitle-encoding.c:252 +msgid "Gurmukhi" +msgstr "Gurmukhi" + +#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 +msgid "Hebrew" +msgstr "Héber" + +#: ../src/parole-subtitle-encoding.c:264 +msgid "Hebrew Visual" +msgstr "Héber (vizuális)" + +#: ../src/parole-subtitle-encoding.c:267 +msgid "Hindi" +msgstr "Hindi" + +#: ../src/parole-subtitle-encoding.c:270 +msgid "Icelandic" +msgstr "Izlandi" + +#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:277 +msgid "Japanese" +msgstr "Japán" + +#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 +msgid "Korean" +msgstr "Koreai" + +#: ../src/parole-subtitle-encoding.c:289 +msgid "Nordic" +msgstr "Északi" + +#: ../src/parole-subtitle-encoding.c:292 +msgid "Persian" +msgstr "Perzsa" + +#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 +msgid "Romanian" +msgstr "Román" + +#: ../src/parole-subtitle-encoding.c:300 +msgid "South European" +msgstr "Dél-európai" + +#: ../src/parole-subtitle-encoding.c:303 +msgid "Thai" +msgstr "Thai" + +#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 +msgid "Turkish" +msgstr "Török" + +#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:323 +msgid "Unicode" +msgstr "Unicode" + +#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:334 +msgid "Western" +msgstr "Nyugati" + +#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:341 +msgid "Vietnamese" +msgstr "Vietnami" + +#: ../src/parole-open-location.c:181 +msgid "Open location..." +msgstr "Hely megnyitása…" + +#: ../src/parole-open-location.c:186 +msgid "Open location of media file or live stream:" +msgstr "Médiafájl vagy élÅ‘ műsor helyének megnyitása:" + +#: ../src/parole-open-location.c:205 +msgid "Clear history" +msgstr "ElÅ‘zmények törlése" + +#: ../src/parole-disc-menu.c:130 +msgid "Playing Track" +msgstr "Sáv lejátszása" + +#: ../src/parole-disc-menu.c:194 +#, c-format +msgid "Track %i" +msgstr "%i. sáv" + +#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 +msgid "Visit Website" +msgstr "Honlap felkeresése" + +#: ../src/parole-plugins-manager.c:373 +#: ../plugins/properties/stream-properties-provider.c:140 +#: ../plugins/properties/stream-properties-provider.c:141 +#: ../plugins/properties/stream-properties-provider.c:142 +#: ../plugins/properties/stream-properties-provider.c:143 +msgid "Unknown" +msgstr "Ismeretlen" + +#: ../src/parole-plugins-manager.c:412 +msgid "No installed plugins found on this system" +msgstr "Nem találhatók telepített bÅ‘vítmények a rendszeren" + +#: ../parole/parole-filters.c:64 +msgid "Audio" +msgstr "Hang" + +#: ../parole/parole-filters.c:90 +msgid "Video" +msgstr "Videó" + +#: ../parole/parole-filters.c:115 +msgid "Audio and video" +msgstr "Hang és videó" + +#: ../parole/parole-filters.c:144 +msgid "All supported files" +msgstr "Minden támogatott fájl" + +#: ../parole/parole-filters.c:171 +msgid "Playlist files" +msgstr "Lejátszólista-fájlok" + +#: ../plugins/properties/stream-properties-provider.c:254 +msgid "Title:" +msgstr "Cím:" + +#: ../plugins/properties/stream-properties-provider.c:277 +msgid "Artist:" +msgstr "ElÅ‘adó:" + +#: ../plugins/properties/stream-properties-provider.c:300 +msgid "Album:" +msgstr "Album:" + +#: ../plugins/properties/stream-properties-provider.c:323 +msgid "Year:" +msgstr "Év:" + +#: ../plugins/properties/stream-properties-provider.c:341 +msgid "General" +msgstr "Ãltalános" + +#: ../plugins/properties/stream-properties-provider.c:392 +msgid "Stream doesn't support tags changes" +msgstr "Az adatfolyam nem támogatja a címkék módosítását" + +#: ../plugins/properties/stream-properties-provider.c:399 +msgid "Save media tags changes" +msgstr "Médiacímkék módosításainak mentése" + +#: ../plugins/properties/stream-properties-provider.c:524 +msgid "Properties" +msgstr "Tulajdonságok" + +#: ../plugins/properties/stream-properties.desktop.in.h:1 +msgid "Read media properties" +msgstr "Média tulajdonságainak olvasása" + +#: ../plugins/properties/stream-properties.desktop.in.h:2 +msgid "Stream Properties" +msgstr "Adatfolyam-tulajdonságok" + +#: ../plugins/tray/tray-provider.c:262 +msgid "Playing:" +msgstr "Lejátszás:" + +#: ../plugins/tray/tray-provider.c:262 +msgid "Duration:" +msgstr "Hossz:" + +#: ../plugins/tray/tray-provider.c:420 +msgid "Tray icon plugin" +msgstr "Tálcaikon-bÅ‘vítmény" + +#: ../plugins/tray/tray-provider.c:430 +msgid "Enable notification" +msgstr "Értesítések bekapcsolása" + +#: ../plugins/tray/tray-provider.c:439 +msgid "Always minimize to tray when window is closed" +msgstr "Mindig tálcára zsugorítás az ablak bezárásakor" + +#: ../plugins/tray/tray-provider.c:478 +msgid "Minimize to tray?" +msgstr "Tálcára zsugorítja?" + +#: ../plugins/tray/tray-provider.c:484 +msgid "Minimize to tray" +msgstr "Tálcára zsugorítás" + +#: ../plugins/tray/tray-provider.c:500 +msgid "Are you sure you want to quit Parole" +msgstr "Biztosan ki akar lépni a Paroleból?" + +#: ../plugins/tray/tray-provider.c:504 +msgid "Remember my choice" +msgstr "Válasz megjegyzése" + +#: ../plugins/tray/system-tray.desktop.in.h:1 +msgid "Show icon in the system tray" +msgstr "Ikon megjelenítése a rendszertálcán" + +#: ../plugins/tray/system-tray.desktop.in.h:2 +msgid "Tray icon" +msgstr "Tálcaikon" + +#: ../plugins/window-title/window-title.desktop.in.h:1 +msgid "Set the main window name to the current playing media name." +msgstr "Az ablaknév beállítása az éppen lejátszott média nevére." + +#: ../plugins/window-title/window-title.desktop.in.h:2 +msgid "Window Title" +msgstr "Ablakcím" + +#: ../plugins/power-manager/power-manager.desktop.in.h:1 +msgid "Inhibit Power Manager from suspending the machine while playing DVD." +msgstr "A gép felfüggesztésének megtiltása az energiakezelÅ‘nek DVD lejátszásakor." + +#: ../plugins/power-manager/power-manager.desktop.in.h:2 +msgid "Power Manager Plugin" +msgstr "EnergiakezelÅ‘ bÅ‘vítmény" + diff -Nru parole-0.2.0.2/po/it.po parole-0.2.0.6/po/it.po --- parole-0.2.0.2/po/it.po 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/po/it.po 2011-04-17 11:53:19.000000000 +0000 @@ -0,0 +1,820 @@ +# Italian translation of Parole. +# Copyright (C) YEAR THE Parole'S COPYRIGHT HOLDER +# This file is distributed under the same license as the Parole package. +# Cristian Marchi , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: Parole\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-04-15 16:08+0000\n" +"PO-Revision-Date: 2010-02-19 09:04+0100\n" +"Last-Translator: Cristian Marchi \n" +"Language-Team: Italian Translation Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Italian\n" +"X-Poedit-Country: ITALY\n" + +# GLOSSARIO +# finish terminare +# media = contenuto +# play = riprodurre +# playlist = scaletta +# stop = fermare +# stream = flusso +# track = traccia +#: ../data/interfaces/parole.ui.h:1 +msgid "16:9 (Widescreen)" +msgstr "16:9 (Widescreen)" + +#: ../data/interfaces/parole.ui.h:2 +msgid "20:9 (DVB)" +msgstr "20:9 (DVB)" + +#: ../data/interfaces/parole.ui.h:3 +msgid "4:3 (TV)" +msgstr "4:3 (TV)" + +#: ../data/interfaces/parole.ui.h:4 +msgid "Aspect Ratio" +msgstr "Rapporto d'aspetto" + +#: ../data/interfaces/parole.ui.h:5 +msgid "Auto" +msgstr "Auto" + +#: ../data/interfaces/parole.ui.h:6 +msgid "Chapter Menu" +msgstr "Menu dei capitoli" + +#: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 +msgid "DVD Menu" +msgstr "Menu del DVD" + +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "Da immagine ISO" + +#: ../data/interfaces/parole.ui.h:10 +msgid "Media player" +msgstr "Media player" + +#: ../data/interfaces/parole.ui.h:11 +msgid "Mute" +msgstr "Muto" + +#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1215 +#: ../src/parole-disc-menu.c:113 +msgid "Next Chapter" +msgstr "Capitolo successivo" + +#: ../data/interfaces/parole.ui.h:13 +msgid "None" +msgstr "Nessuno" + +#: ../data/interfaces/parole.ui.h:14 ../src/parole-about.c:74 +#: ../plugins/window-title/window-title-provider.c:58 +msgid "Parole Media Player" +msgstr "Media player Parole" + +#: ../data/interfaces/parole.ui.h:15 +msgid "Plugins" +msgstr "Plugin" + +#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1227 +#: ../src/parole-disc-menu.c:114 +msgid "Previous Chapter" +msgstr "Capitolo precedente" + +#: ../data/interfaces/parole.ui.h:17 ../src/parole-medialist.c:1264 +msgid "Repeat" +msgstr "Ripeti" + +#: ../data/interfaces/parole.ui.h:18 +msgid "Select Track" +msgstr "Selezione traccia" + +#: ../data/interfaces/parole.ui.h:19 ../src/parole-medialist.c:1280 +msgid "Shuffle" +msgstr "Casuale" + +#: ../data/interfaces/parole.ui.h:20 +msgid "Sound" +msgstr "Audio" + +#: ../data/interfaces/parole.ui.h:21 +msgid "Square" +msgstr "Quadrato" + +#: ../data/interfaces/parole.ui.h:22 +msgid "Volume Down" +msgstr "Abbassa volume" + +#: ../data/interfaces/parole.ui.h:23 +msgid "Volume Up" +msgstr "Alza volume" + +#: ../data/interfaces/parole.ui.h:24 +msgid "_Edit" +msgstr "_Modifica" + +#: ../data/interfaces/parole.ui.h:25 +msgid "_Help" +msgstr "A_iuto" + +#: ../data/interfaces/parole.ui.h:26 +msgid "_Media" +msgstr "_Contenuti" + +#: ../data/interfaces/parole.ui.h:27 +msgid "_Open location" +msgstr "Apri p_osizione" + +#: ../data/interfaces/parole.ui.h:28 +msgid "_View" +msgstr "_Visualizza" + +#: ../data/interfaces/mediachooser.ui.h:1 +msgid "Add" +msgstr "Aggiungi" + +#: ../data/interfaces/mediachooser.ui.h:2 +msgid "Open media files" +msgstr "Apertura dei contenuti" + +#: ../data/interfaces/mediachooser.ui.h:3 +msgid "Parole Media Chooser" +msgstr "Selezionatore di contenuti di Parole" + +#: ../data/interfaces/mediachooser.ui.h:4 +msgid "Replace playlist with opened files" +msgstr "Sostituisci la scaletta con i file aperti" + +#: ../data/interfaces/mediachooser.ui.h:5 +msgid "Scan folders recursively" +msgstr "Analizza le cartelle ricorsivamente" + +#: ../data/interfaces/mediachooser.ui.h:6 +msgid "Start playing opened files" +msgstr "Avvia la riproduzione dei file aperti" + +#: ../data/interfaces/plugins.ui.h:1 +msgid "Author:" +msgstr "Autore:" + +#: ../data/interfaces/plugins.ui.h:2 +msgid "Description:" +msgstr "Descrizione:" + +#: ../data/interfaces/plugins.ui.h:3 +msgid "Site:" +msgstr "Sito:" + +#: ../data/interfaces/plugins.ui.h:4 +msgid "Media Player plugins" +msgstr "Plugin del media player" + +#: ../data/interfaces/plugins.ui.h:5 +msgid "Parole Plugins" +msgstr "Plugin di Parole" + +#: ../data/interfaces/parole-settings.ui.h:1 +msgid "Audio" +msgstr "Audio" + +#: ../data/interfaces/parole-settings.ui.h:2 +msgid "Display" +msgstr "Schermo" + +#: ../data/interfaces/parole-settings.ui.h:3 +msgid "Subtitles" +msgstr "Sottotitoli" + +#: ../data/interfaces/parole-settings.ui.h:4 +msgid "Video" +msgstr "Video" + +#: ../data/interfaces/parole-settings.ui.h:5 +msgid "Automatically load subtitles when playing movie file" +msgstr "Carica automaticamente i sottotitoli durante la riproduzione di un filmato" + +#: ../data/interfaces/parole-settings.ui.h:6 +msgid "Brightness:" +msgstr "Luminosità:" + +#: ../data/interfaces/parole-settings.ui.h:7 +msgid "Contrast:" +msgstr "Contrasto:" + +#: ../data/interfaces/parole-settings.ui.h:8 +msgid "Disable screen saver while playing movies" +msgstr "Disabilita il salvaschermo durante la riproduzione dei filmati" + +#: ../data/interfaces/parole-settings.ui.h:9 +msgid "Enable visualization when playing audio file" +msgstr "Abilita la visualizzazione durante la riproduzione di un file audio" + +#: ../data/interfaces/parole-settings.ui.h:10 +msgid "Encoding: " +msgstr "Codifica:" + +#: ../data/interfaces/parole-settings.ui.h:11 +msgid "Font:" +msgstr "Carattere:" + +#: ../data/interfaces/parole-settings.ui.h:12 +msgid "Hue:" +msgstr "Colore:" + +#: ../data/interfaces/parole-settings.ui.h:13 +msgid "Media Player Settings" +msgstr "Impostazioni del media player" + +#: ../data/interfaces/parole-settings.ui.h:14 +msgid "Parole Settings" +msgstr "Impostazioni di Parole" + +#: ../data/interfaces/parole-settings.ui.h:15 +msgid "Reset To Defaults" +msgstr "Ripristina i valori predefiniti" + +#: ../data/interfaces/parole-settings.ui.h:16 +msgid "Saturation:" +msgstr "Saturazione:" + +#: ../data/interfaces/parole-settings.ui.h:17 +msgid "Visualization type:" +msgstr "Tipo di visualizzazione:" + +#: ../data/interfaces/save-playlist.ui.h:1 +msgid "By Extension" +msgstr "Per estensione" + +#: ../data/interfaces/save-playlist.ui.h:2 +msgid "Select File Types (By Extension)" +msgstr "Seleziona i tipi di file (per estensione)" + +#: ../data/desktop/parole.desktop.in.in.h:1 +msgid "Parole" +msgstr "Parole" + +#: ../gst/parole-gst.c:1526 +msgid "The stream is taking too much time to load" +msgstr "Il flusso sta impiegando troppo tempo per il caricamento" + +#: ../gst/parole-gst.c:1526 +msgid "Stop" +msgstr "Ferma" + +#: ../gst/parole-gst.c:1715 +msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgstr "Impossibile caricare il plugin playbin di GStreamer; controllare la propria installazione di GStreamer" + +#: ../gst/parole-gst.c:1735 +msgid "Unable to load video GStreamer plugin, check your GStreamer installation" +msgstr "Impossibile caricare il plugin video di GStreamer; controllare la propria installazione di GStreamer" + +#: ../src/main.c:54 +#, c-format +msgid "" +"\n" +"Parole Media Player %s\n" +"\n" +"Part of the Xfce Goodies Project\n" +"http://goodies.xfce.org\n" +"\n" +"Licensed under the GNU GPL.\n" +"\n" +msgstr "" +"\n" +"Media Player Parole %s\n" +"\n" +"Parte del progetto Xfce Goodies\n" +"http://goodies.xfce.org\n" +"\n" +"Rilasciato con licenza GNU GPL.\n" +"\n" + +#: ../src/main.c:187 +msgid "Unknown argument " +msgstr "Argomento sconosciuto" + +#: ../src/main.c:224 +msgid "Open a new instance" +msgstr "Apre una nuova istanza" + +#: ../src/main.c:225 +msgid "Do not load plugins" +msgstr "Non carica i plugin" + +#: ../src/main.c:226 +msgid "Set Audio-CD/VCD/DVD device path" +msgstr "Imposta il percorso del dispositivo Audio-CD/VCD/DVD" + +#: ../src/main.c:227 +msgid "Play or pause if already playing" +msgstr "Avvia la riproduzione o mette in pausa se già in riproduzione" + +#: ../src/main.c:228 +msgid "Stop playing" +msgstr "Ferma la riproduzione" + +#: ../src/main.c:229 +msgid "Next track" +msgstr "Traccia successiva" + +#: ../src/main.c:230 +msgid "Previous track" +msgstr "Traccia precedente" + +#: ../src/main.c:231 +msgid "Seek forward" +msgstr "Salta in avanti" + +#: ../src/main.c:232 +msgid "Seek Backward" +msgstr "Salta indietro" + +#: ../src/main.c:233 +msgid "Raise volume" +msgstr "Aumenta il volume" + +#: ../src/main.c:234 +msgid "Lower volume" +msgstr "Diminuisce il volume" + +#: ../src/main.c:235 +msgid "Mute volume" +msgstr "Esclude l'audio" + +#: ../src/main.c:236 +msgid "Version information" +msgstr "Informazioni di versione" + +#: ../src/main.c:237 +msgid "Enabled/Disable XV support" +msgstr "Abilita o disabilita il supporto a XV" + +#: ../src/main.c:239 +msgid "Media to play" +msgstr "Contenuto da riprodurre" + +#: ../src/main.c:276 +#, c-format +msgid "Parole is already running, use -i to open a new instance\n" +msgstr "Parole è già in esecuzione; utilizzare l'opzione -i per avviare una nuova istanza\n" + +#: ../src/parole-medialist.c:501 +msgid "Permission denied" +msgstr "Permesso negato" + +#: ../src/parole-medialist.c:503 +msgid "Error saving playlist file" +msgstr "Errore nel salvataggio del file della scaletta" + +#: ../src/parole-medialist.c:515 +msgid "Unknown playlist format" +msgstr "Formato scaletta sconosciuto" + +#: ../src/parole-medialist.c:516 +msgid "Please chooser a supported playlist format" +msgstr "Selezionare un formato di scaletta supportato" + +#: ../src/parole-medialist.c:568 ../src/parole-plugins-manager.c:377 +#: ../plugins/properties/stream-properties-provider.c:140 +#: ../plugins/properties/stream-properties-provider.c:141 +#: ../plugins/properties/stream-properties-provider.c:142 +#: ../plugins/properties/stream-properties-provider.c:143 +msgid "Unknown" +msgstr "Sconosciuto" + +#: ../src/parole-medialist.c:642 ../src/parole-player.c:1991 +msgid "Playlist" +msgstr "Scaletta" + +#: ../src/parole-medialist.c:649 +msgid "M3U Playlists" +msgstr "Scaletta M3U" + +#: ../src/parole-medialist.c:657 +msgid "PLS Playlists" +msgstr "Scaletta PLS" + +#: ../src/parole-medialist.c:665 +msgid "Advanced Stream Redirector" +msgstr "Redirettore avanzato di flusso" + +#: ../src/parole-medialist.c:673 +msgid "Shareable Playlist" +msgstr "Scaletta condivisibile" + +#. Clear +#: ../src/parole-medialist.c:1152 +msgid "Open Containing Folder" +msgstr "Apri cartella" + +#: ../src/parole-medialist.c:1303 +msgid "Replace playlist when opening files" +msgstr "Sostituisci la scaletta all'apertura dei file" + +#: ../src/parole-medialist.c:1319 +msgid "Play opened files" +msgstr "Avvia la riproduzione dei file aperti" + +#. * +#. * Remember media list entries +#. * +#: ../src/parole-medialist.c:1331 +msgid "Remember playlist" +msgstr "Ricorda scaletta" + +#: ../src/parole-medialist.c:1502 +msgid "Media list" +msgstr "Elenco contenuti" + +#: ../src/parole-player.c:336 +msgid "Hide playlist" +msgstr "Nascondi scaletta" + +#: ../src/parole-player.c:345 +msgid "Show playlist" +msgstr "Mostra scaletta" + +#: ../src/parole-player.c:378 +msgid "Open ISO image" +msgstr "Apri immagine ISO" + +#: ../src/parole-player.c:395 +msgid "CD image" +msgstr "Immagine CD" + +#: ../src/parole-player.c:395 +msgid "DVD image" +msgstr "Immagine DVD" + +#: ../src/parole-player.c:551 ../src/parole-player.c:659 +msgid "Media stream is not seekable" +msgstr "Il contenuto in streaming non è raggiungibile" + +#. * Next chapter menu item +#. +#: ../src/parole-player.c:1215 ../src/parole-disc-menu.c:122 +msgid "Next Track" +msgstr "Traccia seguente" + +#. * Previous chapter menu item +#. +#: ../src/parole-player.c:1227 ../src/parole-disc-menu.c:123 +msgid "Previous Track" +msgstr "Traccia precedente" + +#: ../src/parole-statusbar.c:61 +msgid "Buffering" +msgstr "Buffering" + +#: ../src/parole-statusbar.c:100 +msgid "Stopped" +msgstr "Fermato" + +#: ../src/parole-statusbar.c:104 +msgid "Finished" +msgstr "Terminato" + +#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 +msgid "Paused" +msgstr "In pausa" + +#: ../src/parole-statusbar.c:114 +msgid "Playing" +msgstr "In riproduzione" + +#: ../src/parole-statusbar.c:170 ../src/parole-statusbar.c:174 +msgid "Live stream:" +msgstr "Flusso in diretta:" + +#: ../src/parole-about.c:79 +msgid "Author/Maintainer" +msgstr "Autore/mantenitore" + +#: ../src/parole-about.c:85 +#, c-format +msgid "Translator (%s)" +msgstr "Traduttore (%s)" + +#: ../src/parole-disc.c:227 +msgid "Play Disc" +msgstr "Riproduci disco" + +#: ../src/parole-subtitle-encoding.c:165 +msgid "Current Locale" +msgstr "Locale corrente" + +#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 +msgid "Arabic" +msgstr "Arabo" + +#: ../src/parole-subtitle-encoding.c:177 +msgid "Armenian" +msgstr "Armeno" + +#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:184 +msgid "Baltic" +msgstr "Baltico" + +#: ../src/parole-subtitle-encoding.c:187 +msgid "Celtic" +msgstr "Celtico" + +#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 +msgid "Central European" +msgstr "Europa centrale" + +#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 +msgid "Chinese Simplified" +msgstr "Cinese semplificato" + +#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:212 +msgid "Chinese Traditional" +msgstr "Cinese tradizionale" + +#: ../src/parole-subtitle-encoding.c:215 +msgid "Croatian" +msgstr "Croato" + +#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 +msgid "Cyrillic" +msgstr "Cirillico" + +#: ../src/parole-subtitle-encoding.c:231 +msgid "Cyrillic/Russian" +msgstr "Cirillico/Russo" + +#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 +msgid "Cyrillic/Ukrainian" +msgstr "Cirillico/Ucraino" + +#: ../src/parole-subtitle-encoding.c:239 +msgid "Georgian" +msgstr "Georgiano" + +#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:246 +msgid "Greek" +msgstr "Greco" + +#: ../src/parole-subtitle-encoding.c:249 +msgid "Gujarati" +msgstr "Gujarati" + +#: ../src/parole-subtitle-encoding.c:252 +msgid "Gurmukhi" +msgstr "Gurmukhi" + +#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 +msgid "Hebrew" +msgstr "Ebraico" + +#: ../src/parole-subtitle-encoding.c:264 +msgid "Hebrew Visual" +msgstr "Ebreo visuale" + +#: ../src/parole-subtitle-encoding.c:267 +msgid "Hindi" +msgstr "Hindi" + +#: ../src/parole-subtitle-encoding.c:270 +msgid "Icelandic" +msgstr "Islandese" + +#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:277 +msgid "Japanese" +msgstr "Giapponese" + +#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 +msgid "Korean" +msgstr "Coreano" + +#: ../src/parole-subtitle-encoding.c:289 +msgid "Nordic" +msgstr "Nordico" + +#: ../src/parole-subtitle-encoding.c:292 +msgid "Persian" +msgstr "Persiano" + +#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 +msgid "Romanian" +msgstr "Romeno" + +#: ../src/parole-subtitle-encoding.c:300 +msgid "South European" +msgstr "Europa del sud" + +#: ../src/parole-subtitle-encoding.c:303 +msgid "Thai" +msgstr "Tailandese" + +#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 +msgid "Turkish" +msgstr "Turco" + +#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:323 +msgid "Unicode" +msgstr "Unicode" + +#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:334 +msgid "Western" +msgstr "Occidentale" + +#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:341 +msgid "Vietnamese" +msgstr "Vietnamita" + +#: ../src/parole-disc-menu.c:130 +msgid "Playing Track" +msgstr "Traccia in riproduzione" + +#: ../src/parole-disc-menu.c:194 +#, c-format +msgid "Track %i" +msgstr "Traccia %i" + +#: ../src/parole-plugins-manager.c:301 ../src/parole-plugins-manager.c:437 +msgid "Visit Website" +msgstr "Visita il sito" + +#: ../src/parole-plugins-manager.c:416 +msgid "No installed plugins found on this system" +msgstr "Non sono installati plugin in questo sistema" + +#: ../parole/parole-filters.c:64 +msgid "Audio" +msgstr "Audio" + +#: ../parole/parole-filters.c:90 +msgid "Video" +msgstr "Video" + +#: ../parole/parole-filters.c:115 +msgid "Audio and video" +msgstr "Audio e video" + +#: ../parole/parole-filters.c:144 +msgid "All supported files" +msgstr "Tutti i file supportati" + +#: ../parole/parole-filters.c:171 +msgid "Playlist files" +msgstr "File della scaletta" + +#: ../plugins/properties/stream-properties-provider.c:254 +msgid "Title:" +msgstr "Titolo:" + +#: ../plugins/properties/stream-properties-provider.c:277 +msgid "Artist:" +msgstr "Artista:" + +#: ../plugins/properties/stream-properties-provider.c:300 +msgid "Album:" +msgstr "Album:" + +#: ../plugins/properties/stream-properties-provider.c:323 +msgid "Year:" +msgstr "Anno:" + +#: ../plugins/properties/stream-properties-provider.c:341 +msgid "General" +msgstr "Generali" + +#: ../plugins/properties/stream-properties-provider.c:392 +msgid "Stream doesn't support tags changes" +msgstr "Il flusso non supporta la modifica dei tag" + +#: ../plugins/properties/stream-properties-provider.c:399 +msgid "Save media tags changes" +msgstr "Salva i cambiamenti ai tag del contenuto" + +#: ../plugins/properties/stream-properties-provider.c:524 +msgid "Properties" +msgstr "Proprietà" + +#: ../plugins/properties/stream-properties.desktop.in.h:1 +msgid "Read media properties" +msgstr "Legge le proprietà del contenuto" + +#: ../plugins/properties/stream-properties.desktop.in.h:2 +msgid "Stream Properties" +msgstr "Proprietà del flusso" + +#: ../plugins/tray/tray-provider.c:283 +msgid "Playing:" +msgstr "In riproduzione:" + +#: ../plugins/tray/tray-provider.c:283 +msgid "Duration:" +msgstr "Durata:" + +#: ../plugins/tray/tray-provider.c:419 +msgid "Tray icon plugin" +msgstr "Plugin dell'icona di vassoio" + +#: ../plugins/tray/tray-provider.c:429 +msgid "Enable notification" +msgstr "Abilita notifiche" + +#: ../plugins/tray/tray-provider.c:438 +msgid "Always minimize to tray when window is closed" +msgstr "Minimizza nel vassoio quando la finestra viene chiusa" + +#: ../plugins/tray/tray-provider.c:477 +msgid "Minimize to tray?" +msgstr "Minimizzare nel vassoio?" + +#: ../plugins/tray/tray-provider.c:483 +msgid "Minimize to tray" +msgstr "Minimizza nel vassoio" + +#: ../plugins/tray/tray-provider.c:499 +msgid "Are you sure you want to quit Parole" +msgstr "Uscire davvero da Parole?" + +#: ../plugins/tray/tray-provider.c:503 +msgid "Remember my choice" +msgstr "Ricorda la scelta" + +#: ../plugins/tray/system-tray.desktop.in.h:1 +msgid "Show icon in the system tray" +msgstr "Mostra l'icona nel vassoio di sistema" + +#: ../plugins/tray/system-tray.desktop.in.h:2 +msgid "Tray icon" +msgstr "Icona di vassoio" + +#: ../plugins/window-title/window-title.desktop.in.h:1 +msgid "Set the main window name to the current playing media name." +msgstr "Imposta il nome della finestra principale a quello del contenuto in riproduzione" + +#: ../plugins/window-title/window-title.desktop.in.h:2 +msgid "Window Title" +msgstr "Titolo della finestra" + +#: ../plugins/power-manager/power-manager.desktop.in.h:1 +msgid "Inhibit Power Manager from suspending the machine while playing DVD." +msgstr "Impedisce al gestore dell'energia di sospendere la macchina durante la riproduzione di un DVD" + +#: ../plugins/power-manager/power-manager.desktop.in.h:2 +msgid "Power Manager Plugin" +msgstr "Plugin del gestore dell'energia" + +#~ msgid "Open location..." +#~ msgstr "Apri posizione..." + +#~ msgid "Open location of media file or live stream:" +#~ msgstr "Apri posizione di un contenuto o di un flusso:" + +#~ msgid "Clear history" +#~ msgstr "Svuota cronologia" + +#~ msgid "socket" +#~ msgstr "socket" + +#~ msgid "SOCKET ID" +#~ msgstr "ID SOCKET" + +#~ msgid "url to play" +#~ msgstr "url da riprodurre" + +#~ msgid "URL" +#~ msgstr "URL" + +#~ msgid "Leave fullscreen" +#~ msgstr "Abbandona schermo intero" + +#~ msgid "Fullscreen" +#~ msgstr "Schermo intero" + +#~ msgid "Copy url" +#~ msgstr "Copia url" diff -Nru parole-0.2.0.2/po/ja.po parole-0.2.0.6/po/ja.po --- parole-0.2.0.2/po/ja.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/ja.po 2011-04-17 11:53:19.000000000 +0000 @@ -8,10 +8,11 @@ msgstr "" "Project-Id-Version: parole 0.1.90\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-01-18 16:52+0900\n" -"PO-Revision-Date: 2010-01-18 16:52+0900\n" +"POT-Creation-Date: 2011-04-16 17:00+0900\n" +"PO-Revision-Date: 2011-04-16 17:00+0900\n" "Last-Translator: Masato Hashimoto \n" "Language-Team: Japanese \n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -62,7 +63,8 @@ msgid "Mute" msgstr "ミュート" -#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1198 +#: ../data/interfaces/parole.ui.h:12 +#: ../src/parole-player.c:1215 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "次ã®ãƒãƒ£ãƒ—ター" @@ -71,8 +73,9 @@ msgid "None" msgstr "ãªã—" -#: ../data/interfaces/parole.ui.h:14 ../data/desktop/parole.desktop.in.in.h:1 -#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 +#: ../data/interfaces/parole.ui.h:14 +#: ../src/parole-about.c:74 +#: ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Parole Media Player" @@ -80,12 +83,14 @@ msgid "Plugins" msgstr "プラグイン" -#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1210 +#: ../data/interfaces/parole.ui.h:16 +#: ../src/parole-player.c:1227 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "å‰ã®ãƒãƒ£ãƒ—ター" #: ../data/interfaces/parole.ui.h:17 +#: ../src/parole-medialist.c:1264 msgid "Repeat" msgstr "ç¹°ã‚Šè¿”ã—" @@ -94,6 +99,7 @@ msgstr "トラックã®é¸æŠž" #: ../data/interfaces/parole.ui.h:19 +#: ../src/parole-medialist.c:1280 msgid "Shuffle" msgstr "シャッフル" @@ -134,14 +140,27 @@ msgstr "表示(_V)" #: ../data/interfaces/mediachooser.ui.h:1 +msgid "Add" +msgstr "追加" + +# Sub title of Media Chooser (Open files dialog) +#: ../data/interfaces/mediachooser.ui.h:2 +msgid "Open media files" +msgstr "メディアファイルを開ãã¾ã™" + +#: ../data/interfaces/mediachooser.ui.h:3 +msgid "Parole Media Chooser" +msgstr "Parole Media Chooser" + +#: ../data/interfaces/mediachooser.ui.h:4 msgid "Replace playlist with opened files" msgstr "é–‹ã„ãŸãƒ•ã‚¡ã‚¤ãƒ«ã§ãƒ—レイリストを置ãæ›ãˆã‚‹" -#: ../data/interfaces/mediachooser.ui.h:2 +#: ../data/interfaces/mediachooser.ui.h:5 msgid "Scan folders recursively" msgstr "フォルダをå†å¸°çš„ã«ã‚¹ã‚­ãƒ£ãƒ³ã™ã‚‹" -#: ../data/interfaces/mediachooser.ui.h:3 +#: ../data/interfaces/mediachooser.ui.h:6 msgid "Start playing opened files" msgstr "é–‹ã„ãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’å†ç”Ÿã™ã‚‹" @@ -241,27 +260,45 @@ msgid "Select File Types (By Extension)" msgstr "ファイルタイプã®é¸æŠž (æ‹¡å¼µå­ã§)" -#: ../gst/parole-gst.c:1511 +#: ../data/interfaces/open-location.ui.h:1 +msgid "Clear history" +msgstr "履歴ã®ã‚¯ãƒªã‚¢" + +#: ../data/interfaces/open-location.ui.h:2 +msgid "Enter the address of a location to open" +msgstr "é–‹ã場所ã®ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’入力ã—ã¦ãã ã•ã„" + +#: ../data/interfaces/open-location.ui.h:3 +msgid "Open location of media file or live stream" +msgstr "メディアファイルã¾ãŸã¯ãƒ©ã‚¤ãƒ–ストリームã®å ´æ‰€ã‚’é–‹ãã¾ã™" + +#: ../data/desktop/parole.desktop.in.in.h:1 +msgid "Parole" +msgstr "Parole" + +#: ../common/parole-common.c:67 +msgid "Message" +msgstr "メッセージ" + +#: ../common/parole-common.c:72 +msgid "Error" +msgstr "エラー" + +#: ../gst/parole-gst.c:1526 msgid "The stream is taking too much time to load" msgstr "ã“ã®ã‚¹ãƒˆãƒªãƒ¼ãƒ ã‚’読ã¿è¾¼ã‚€ã«ã¯ã‹ãªã‚Šæ™‚é–“ãŒã‹ã‹ã‚Šã¾ã™" -#: ../gst/parole-gst.c:1511 +#: ../gst/parole-gst.c:1526 msgid "Stop" msgstr "åœæ­¢" -#: ../gst/parole-gst.c:1700 -msgid "" -"Unable to load playbin GStreamer plugin, check your GStreamer installation" -msgstr "" -"playbin GStreamer プラグインを読ã¿è¾¼ã‚ã¾ã›ã‚“。GStreamer ãŒæ­£ã—ãインストール" -"ã•ã‚Œã¦ã„ã‚‹ã“ã¨ã‚’確èªã—ã¦ãã ã•ã„。" - -#: ../gst/parole-gst.c:1720 -msgid "" -"Unable to load video GStreamer plugin, check your GStreamer installation" -msgstr "" -"video GStreamer プラグインを読ã¿è¾¼ã‚ã¾ã›ã‚“。GStreamer ãŒãŸã ã—ãインストール" -"ã•ã‚Œã¦ã„ã‚‹ã“ã¨ã‚’確èªã—ã¦ãã ã•ã„。" +#: ../gst/parole-gst.c:1715 +msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgstr "playbin GStreamer プラグインを読ã¿è¾¼ã‚ã¾ã›ã‚“。GStreamer ãŒæ­£ã—ãインストールã•ã‚Œã¦ã„ã‚‹ã“ã¨ã‚’確èªã—ã¦ãã ã•ã„。" + +#: ../gst/parole-gst.c:1735 +msgid "Unable to load video GStreamer plugin, check your GStreamer installation" +msgstr "video GStreamer プラグインを読ã¿è¾¼ã‚ã¾ã›ã‚“。GStreamer ãŒãŸã ã—ãインストールã•ã‚Œã¦ã„ã‚‹ã“ã¨ã‚’確èªã—ã¦ãã ã•ã„。" #: ../src/main.c:54 #, c-format @@ -288,162 +325,187 @@ msgid "Unknown argument " msgstr "ä¸æ˜Žãªå¼•æ•°" -#: ../src/main.c:224 +#: ../src/main.c:225 msgid "Open a new instance" msgstr "æ–°ã—ã„インスタンスを開ã" -#: ../src/main.c:225 +#: ../src/main.c:226 msgid "Do not load plugins" msgstr "プラグインをロードã—ãªã„" -#: ../src/main.c:226 +#: ../src/main.c:227 msgid "Set Audio-CD/VCD/DVD device path" msgstr "音楽 CD/VCD/DVD デãƒã‚¤ã‚¹ãƒ‘スを指定ã™ã‚‹" -#: ../src/main.c:227 +#: ../src/main.c:228 msgid "Play or pause if already playing" msgstr "å†ç”Ÿä¸­ã®ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ã®å†ç”Ÿ/一時åœæ­¢" -#: ../src/main.c:228 +#: ../src/main.c:229 msgid "Stop playing" msgstr "å†ç”Ÿã®åœæ­¢" -#: ../src/main.c:229 +#: ../src/main.c:230 msgid "Next track" msgstr "次ã®ãƒˆãƒ©ãƒƒã‚¯" -#: ../src/main.c:230 +#: ../src/main.c:231 msgid "Previous track" msgstr "å‰ã®ãƒˆãƒ©ãƒƒã‚¯" -#: ../src/main.c:231 +#: ../src/main.c:232 msgid "Seek forward" msgstr "å‰æ–¹ã‚·ãƒ¼ã‚¯" -#: ../src/main.c:232 +#: ../src/main.c:233 msgid "Seek Backward" msgstr "後方シーク" -#: ../src/main.c:233 +#: ../src/main.c:234 msgid "Raise volume" msgstr "ボリュームを上ã’ã‚‹" -#: ../src/main.c:234 +#: ../src/main.c:235 msgid "Lower volume" msgstr "ボリュームを下ã’ã‚‹" -#: ../src/main.c:235 +#: ../src/main.c:236 msgid "Mute volume" msgstr "ミュート" -#: ../src/main.c:236 +#: ../src/main.c:237 msgid "Version information" msgstr "ãƒãƒ¼ã‚¸ãƒ§ãƒ³æƒ…å ±" -#: ../src/main.c:237 +#: ../src/main.c:238 +msgid "Start in fullscreen mode" +msgstr "フルスクリーンモードã§èµ·å‹•ã™ã‚‹" + +#: ../src/main.c:239 msgid "Enabled/Disable XV support" msgstr "XV サãƒãƒ¼ãƒˆã‚’有効/無効ã«ã™ã‚‹" -#: ../src/main.c:239 +#: ../src/main.c:241 msgid "Media to play" msgstr "å†ç”Ÿã™ã‚‹ãƒ¡ãƒ‡ã‚£ã‚¢" -#: ../src/main.c:276 +#: ../src/main.c:278 #, c-format msgid "Parole is already running, use -i to open a new instance\n" -msgstr "" -"Parole ã¯æ—¢ã«èµ·å‹•ã—ã¦ã„ã¾ã™ã€‚æ–°ã—ã„インスタンスを開ãã«ã¯ -i を使用ã—ã¦ãã ã•" -"ã„\n" +msgstr "Parole ã¯æ—¢ã«èµ·å‹•ã—ã¦ã„ã¾ã™ã€‚æ–°ã—ã„インスタンスを開ãã«ã¯ -i を使用ã—ã¦ãã ã•ã„\n" -#: ../src/parole-mediachooser.c:213 -msgid "Add media files" -msgstr "メディアファイルã®è¿½åŠ " - -#: ../src/parole-mediachooser.c:246 -msgid "Add" -msgstr "追加" +#: ../src/parole-medialist.c:501 +msgid "Permission denied" +msgstr "アクセス権ãŒã‚ã‚Šã¾ã›ã‚“" -#: ../src/parole-medialist.c:437 +#: ../src/parole-medialist.c:503 msgid "Error saving playlist file" msgstr "プレイリストファイルã®ä¿å­˜ã§ã‚¨ãƒ©ãƒ¼ã§ã™" -#: ../src/parole-medialist.c:437 -msgid "Permission denied" -msgstr "アクセス権ãŒã‚ã‚Šã¾ã›ã‚“" +#: ../src/parole-medialist.c:515 +msgid "Unknown playlist format" +msgstr "未知ã®ãƒ—レイリスト形å¼" + +#: ../src/parole-medialist.c:516 +msgid "Please chooser a supported playlist format" +msgstr "サãƒãƒ¼ãƒˆã•ã‚Œã¦ã„るプレイリスト形å¼ã‚’é¸æŠžã—ã¦ãã ã•ã„" -#: ../src/parole-medialist.c:446 -msgid "Unknown playlist format, Please select a support playlist format" -msgstr "未知ã®ãƒ—レイリスト形å¼ã§ã™ã€‚サãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã‚‹å½¢å¼ã‚’é¸æŠžã—ã¦ãã ã•ã„。" +#: ../src/parole-medialist.c:568 +#: ../src/parole-plugins-manager.c:377 +#: ../plugins/properties/stream-properties-provider.c:140 +#: ../plugins/properties/stream-properties-provider.c:141 +#: ../plugins/properties/stream-properties-provider.c:142 +#: ../plugins/properties/stream-properties-provider.c:143 +msgid "Unknown" +msgstr "ä¸æ˜Ž" -#: ../src/parole-medialist.c:514 ../src/parole-player.c:1974 +#: ../src/parole-medialist.c:642 +#: ../src/parole-player.c:1991 msgid "Playlist" msgstr "プレイリスト" -#: ../src/parole-medialist.c:521 +#: ../src/parole-medialist.c:649 msgid "M3U Playlists" msgstr "M3U プレイリスト" -#: ../src/parole-medialist.c:529 +#: ../src/parole-medialist.c:657 msgid "PLS Playlists" msgstr "PLS プレイリスト" -#: ../src/parole-medialist.c:537 +#: ../src/parole-medialist.c:665 msgid "Advanced Stream Redirector" msgstr "Advanced Stream Redirector" -#: ../src/parole-medialist.c:545 +#: ../src/parole-medialist.c:673 msgid "Shareable Playlist" msgstr "共有プレイリスト" -#: ../src/parole-medialist.c:860 +#. Clear +#: ../src/parole-medialist.c:1152 +msgid "Open Containing Folder" +msgstr "ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã®ã‚るフォルダを開ã" + +#: ../src/parole-medialist.c:1303 +msgid "Replace playlist when opening files" +msgstr "ファイルを開ã„ãŸã¨ãã«ãƒ—レイリストを置ãæ›ãˆã‚‹" + +#: ../src/parole-medialist.c:1319 +msgid "Play opened files" +msgstr "é–‹ã„ãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’å†ç”Ÿã™ã‚‹" + +#. * +#. * Remember media list entries +#. * +#: ../src/parole-medialist.c:1331 msgid "Remember playlist" -msgstr "プレイリストを記憶" +msgstr "プレイリストを記憶ã™ã‚‹" -#: ../src/parole-medialist.c:1012 +#: ../src/parole-medialist.c:1502 msgid "Media list" msgstr "メディアリスト" -#: ../src/parole-player.c:333 +#: ../src/parole-player.c:336 msgid "Hide playlist" msgstr "プレイリストを隠ã™" -#: ../src/parole-player.c:342 +#: ../src/parole-player.c:345 msgid "Show playlist" msgstr "プレイリストを表示" -#: ../src/parole-player.c:375 +#: ../src/parole-player.c:378 msgid "Open ISO image" msgstr "ISO イメージを開ã" -#: ../src/parole-player.c:392 +#: ../src/parole-player.c:395 msgid "CD image" msgstr "CD イメージ" -#: ../src/parole-player.c:392 +#: ../src/parole-player.c:395 msgid "DVD image" msgstr "DVD イメージ" -#: ../src/parole-player.c:643 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:300 +#: ../src/parole-player.c:551 +#: ../src/parole-player.c:659 msgid "Media stream is not seekable" msgstr "メディアストリームã¯ã‚·ãƒ¼ã‚¯ã§ãã¾ã›ã‚“" #. #. * Next chapter menu item #. -#: ../src/parole-player.c:1198 ../src/parole-disc-menu.c:122 +#: ../src/parole-player.c:1215 +#: ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "次ã®ãƒˆãƒ©ãƒƒã‚¯" #. #. * Previous chapter menu item #. -#: ../src/parole-player.c:1210 ../src/parole-disc-menu.c:123 +#: ../src/parole-player.c:1227 +#: ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "å‰ã®ãƒˆãƒ©ãƒƒã‚¯" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:593 msgid "Buffering" msgstr "ãƒãƒƒãƒ•ã‚¡ã—ã¦ã„ã¾ã™" @@ -455,7 +517,8 @@ msgid "Finished" msgstr "終了" -#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 +#: ../src/parole-statusbar.c:114 +#: ../src/parole-statusbar.c:124 msgid "Paused" msgstr "一時åœæ­¢" @@ -463,15 +526,16 @@ msgid "Playing" msgstr "å†ç”Ÿä¸­" -#: ../src/parole-statusbar.c:168 +#: ../src/parole-statusbar.c:170 +#: ../src/parole-statusbar.c:174 msgid "Live stream:" msgstr "ライブストリーム:" -#: ../src/parole-about.c:75 +#: ../src/parole-about.c:79 msgid "Author/Maintainer" msgstr "作者/メンテナ" -#: ../src/parole-about.c:81 +#: ../src/parole-about.c:85 #, c-format msgid "Translator (%s)" msgstr "翻訳者 (%s)" @@ -484,8 +548,10 @@ msgid "Current Locale" msgstr "ç¾åœ¨ã®å ´æ‰€" -#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 -#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 +#: ../src/parole-subtitle-encoding.c:168 +#: ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 +#: ../src/parole-subtitle-encoding.c:174 msgid "Arabic" msgstr "アラビア語" @@ -493,7 +559,8 @@ msgid "Armenian" msgstr "アルメニア語" -#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:180 +#: ../src/parole-subtitle-encoding.c:182 #: ../src/parole-subtitle-encoding.c:184 msgid "Baltic" msgstr "ãƒãƒ«ãƒˆèªž" @@ -502,17 +569,22 @@ msgid "Celtic" msgstr "ケルト語" -#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 -#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 +#: ../src/parole-subtitle-encoding.c:190 +#: ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 +#: ../src/parole-subtitle-encoding.c:196 msgid "Central European" msgstr "中央ヨーロッパ" -#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 -#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 +#: ../src/parole-subtitle-encoding.c:199 +#: ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 +#: ../src/parole-subtitle-encoding.c:205 msgid "Chinese Simplified" msgstr "中国語簡体字" -#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:208 +#: ../src/parole-subtitle-encoding.c:210 #: ../src/parole-subtitle-encoding.c:212 msgid "Chinese Traditional" msgstr "中国語ç¹ä½“å­—" @@ -521,9 +593,12 @@ msgid "Croatian" msgstr "クロアãƒã‚¢èªž" -#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 -#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 -#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 +#: ../src/parole-subtitle-encoding.c:218 +#: ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 +#: ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 +#: ../src/parole-subtitle-encoding.c:228 msgid "Cyrillic" msgstr "キリル文字" @@ -531,7 +606,8 @@ msgid "Cyrillic/Russian" msgstr "キリル文字/ロシア" -#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 +#: ../src/parole-subtitle-encoding.c:234 +#: ../src/parole-subtitle-encoding.c:236 msgid "Cyrillic/Ukrainian" msgstr "キリル文字/ウクライナ" @@ -539,7 +615,8 @@ msgid "Georgian" msgstr "グルジア語" -#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:242 +#: ../src/parole-subtitle-encoding.c:244 #: ../src/parole-subtitle-encoding.c:246 msgid "Greek" msgstr "ギリシャ語" @@ -552,8 +629,10 @@ msgid "Gurmukhi" msgstr "グルムキー文字" -#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 -#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 +#: ../src/parole-subtitle-encoding.c:255 +#: ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 +#: ../src/parole-subtitle-encoding.c:261 msgid "Hebrew" msgstr "ヘブライ語" @@ -569,13 +648,16 @@ msgid "Icelandic" msgstr "アイスランド語" -#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:273 +#: ../src/parole-subtitle-encoding.c:275 #: ../src/parole-subtitle-encoding.c:277 msgid "Japanese" msgstr "日本語" -#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 -#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 +#: ../src/parole-subtitle-encoding.c:280 +#: ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 +#: ../src/parole-subtitle-encoding.c:286 msgid "Korean" msgstr "韓国語" @@ -587,7 +669,8 @@ msgid "Persian" msgstr "ペルシャ語" -#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 +#: ../src/parole-subtitle-encoding.c:295 +#: ../src/parole-subtitle-encoding.c:297 msgid "Romanian" msgstr "ルーマニア語" @@ -599,40 +682,35 @@ msgid "Thai" msgstr "タイ語" -#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 -#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 +#: ../src/parole-subtitle-encoding.c:306 +#: ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 +#: ../src/parole-subtitle-encoding.c:312 msgid "Turkish" msgstr "トルコ語" -#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 -#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:315 +#: ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 +#: ../src/parole-subtitle-encoding.c:321 #: ../src/parole-subtitle-encoding.c:323 msgid "Unicode" msgstr "Unicode" -#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 -#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:326 +#: ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 +#: ../src/parole-subtitle-encoding.c:332 #: ../src/parole-subtitle-encoding.c:334 msgid "Western" msgstr "西ヨーロッパ" -#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:337 +#: ../src/parole-subtitle-encoding.c:339 #: ../src/parole-subtitle-encoding.c:341 msgid "Vietnamese" msgstr "ベトナム語" -#: ../src/parole-open-location.c:181 -msgid "Open location..." -msgstr "場所を開ã..." - -#: ../src/parole-open-location.c:186 -msgid "Open location of media file or live stream:" -msgstr "メディアファイルã¾ãŸã¯ãƒ©ã‚¤ãƒ–ストリームã®å ´æ‰€ã‚’é–‹ãã¾ã™:" - -#: ../src/parole-open-location.c:205 -msgid "Clear history" -msgstr "履歴ã®ã‚¯ãƒªã‚¢" - #: ../src/parole-disc-menu.c:130 msgid "Playing Track" msgstr "å†ç”Ÿä¸­ã®ãƒˆãƒ©ãƒƒã‚¯" @@ -642,19 +720,12 @@ msgid "Track %i" msgstr "トラック %i" -#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 +#: ../src/parole-plugins-manager.c:301 +#: ../src/parole-plugins-manager.c:437 msgid "Visit Website" msgstr "ウェブサイトã¸" -#: ../src/parole-plugins-manager.c:373 -#: ../plugins/properties/stream-properties-provider.c:140 -#: ../plugins/properties/stream-properties-provider.c:141 -#: ../plugins/properties/stream-properties-provider.c:142 -#: ../plugins/properties/stream-properties-provider.c:143 -msgid "Unknown" -msgstr "ä¸æ˜Ž" - -#: ../src/parole-plugins-manager.c:412 +#: ../src/parole-plugins-manager.c:416 msgid "No installed plugins found on this system" msgstr "インストールã•ã‚Œã¦ã„るプラグインãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“" @@ -718,39 +789,39 @@ msgid "Stream Properties" msgstr "ストリームã®ãƒ—ロパティ" -#: ../plugins/tray/tray-provider.c:262 +#: ../plugins/tray/tray-provider.c:283 msgid "Playing:" msgstr "å†ç”Ÿä¸­:" -#: ../plugins/tray/tray-provider.c:262 +#: ../plugins/tray/tray-provider.c:283 msgid "Duration:" msgstr "時間:" -#: ../plugins/tray/tray-provider.c:420 +#: ../plugins/tray/tray-provider.c:419 msgid "Tray icon plugin" msgstr "トレイアイコンプラグイン" -#: ../plugins/tray/tray-provider.c:430 +#: ../plugins/tray/tray-provider.c:429 msgid "Enable notification" msgstr "通知を有効ã«ã™ã‚‹" -#: ../plugins/tray/tray-provider.c:439 +#: ../plugins/tray/tray-provider.c:438 msgid "Always minimize to tray when window is closed" msgstr "ウィンドウãŒé–‰ã˜ã‚‰ã‚ŒãŸæ™‚ã€å¸¸ã«ãƒˆãƒ¬ã‚¤ã«æœ€å°åŒ–ã™ã‚‹" -#: ../plugins/tray/tray-provider.c:478 +#: ../plugins/tray/tray-provider.c:477 msgid "Minimize to tray?" msgstr "トレイã«æœ€å°åŒ–ã—ã¾ã™ã‹?" -#: ../plugins/tray/tray-provider.c:484 +#: ../plugins/tray/tray-provider.c:483 msgid "Minimize to tray" msgstr "トレイã«æœ€å°åŒ–" -#: ../plugins/tray/tray-provider.c:500 +#: ../plugins/tray/tray-provider.c:499 msgid "Are you sure you want to quit Parole" msgstr "Parole を終了ã—ã¦ã‚‚よã‚ã—ã„ã§ã™ã‹?" -#: ../plugins/tray/tray-provider.c:504 +#: ../plugins/tray/tray-provider.c:503 msgid "Remember my choice" msgstr "é¸æŠžã‚’記憶ã™ã‚‹" @@ -778,33 +849,23 @@ msgid "Power Manager Plugin" msgstr "é›»æºç®¡ç†ãƒ—ラグイン" -#: ../browser-plugin/media-plugin/main.c:72 -msgid "socket" -msgstr "ソケット" - -#: ../browser-plugin/media-plugin/main.c:72 -msgid "SOCKET ID" -msgstr "SOCKET ID" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "url to play" -msgstr "å†ç”Ÿã™ã‚‹ URL" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "URL" -msgstr "URL" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:138 -msgid "Leave fullscreen" -msgstr "å…ƒã«æˆ»ã™" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:143 -msgid "Fullscreen" -msgstr "全画é¢åŒ–" +#~ msgid "Open location..." +#~ msgstr "場所を開ã..." -#. -#. * Copy url -#. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:455 -msgid "Copy url" -msgstr "URL ã®ã‚³ãƒ”ー" +#~ msgid "socket" +#~ msgstr "ソケット" + +#~ msgid "SOCKET ID" +#~ msgstr "SOCKET ID" + +#~ msgid "url to play" +#~ msgstr "å†ç”Ÿã™ã‚‹ URL" + +#~ msgid "URL" +#~ msgstr "URL" + +#~ msgid "Fullscreen" +#~ msgstr "全画é¢åŒ–" + +#~ msgid "Copy url" +#~ msgstr "URL ã®ã‚³ãƒ”ー" diff -Nru parole-0.2.0.2/po/lv.po parole-0.2.0.6/po/lv.po --- parole-0.2.0.2/po/lv.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/lv.po 2011-04-17 11:53:19.000000000 +0000 @@ -5,17 +5,16 @@ # Rihards Prieditis , 2009. msgid "" msgstr "" -"Project-Id-Version:parole\n" +"Project-Id-Version: parole\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-12-10 14:17+0100\n" -"PO-Revision-Date: 2009-10-16 14:24+0100\n" -"Last-Translator: Rihards Prieditis \n" +"POT-Creation-Date: 2010-03-25 18:03+0100\n" +"PO-Revision-Date: 2010-03-25 21:58+0100\n" +"Last-Translator: Rihards PriedÄ«tis \n" "Language-Team: Latvian \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%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " -"2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" "X-Poedit-Language: Latvian\n" "X-Poedit-Country: Latvia\n" "X-Generator: Lokalize 1.0\n" @@ -45,100 +44,111 @@ msgstr "Nodaļu izvÄ“lne" #: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 msgid "DVD Menu" msgstr "DVD izvÄ“lne" -#: ../data/interfaces/parole.ui.h:8 +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "No ISO attÄ“la" + +#: ../data/interfaces/parole.ui.h:10 msgid "Media player" msgstr "Multimediju atskaņotÄjs" -#: ../data/interfaces/parole.ui.h:9 +#: ../data/interfaces/parole.ui.h:11 msgid "Mute" msgstr "ApklusinÄt" -#: ../data/interfaces/parole.ui.h:10 ../src/parole-player.c:1098 +#: ../data/interfaces/parole.ui.h:12 +#: ../src/parole-player.c:1197 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "NÄkamÄ nodaļa" -#: ../data/interfaces/parole.ui.h:11 +#: ../data/interfaces/parole.ui.h:13 msgid "None" msgstr "Nav" -#: ../data/interfaces/parole.ui.h:12 ../data/desktop/parole.desktop.in.in.h:1 -#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 +#: ../data/interfaces/parole.ui.h:14 +#: ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 +#: ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Parole multimediju atskaņotÄjs" -#: ../data/interfaces/parole.ui.h:13 +#: ../data/interfaces/parole.ui.h:15 msgid "Plugins" msgstr "Spraudņi" -#: ../data/interfaces/parole.ui.h:14 ../src/parole-player.c:1110 +#: ../data/interfaces/parole.ui.h:16 +#: ../src/parole-player.c:1209 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "IepriekÅ¡Ä“jÄ nodaļa" -#: ../data/interfaces/parole.ui.h:15 +#: ../data/interfaces/parole.ui.h:17 msgid "Repeat" msgstr "AtkÄrtot" -#: ../data/interfaces/parole.ui.h:16 +#: ../data/interfaces/parole.ui.h:18 msgid "Select Track" msgstr "IzvÄ“lÄ“ties celiņu" -#: ../data/interfaces/parole.ui.h:17 +#: ../data/interfaces/parole.ui.h:19 msgid "Shuffle" msgstr "Jaukti" -#: ../data/interfaces/parole.ui.h:18 +#: ../data/interfaces/parole.ui.h:20 msgid "Sound" msgstr "Skaņa" -#: ../data/interfaces/parole.ui.h:19 +#: ../data/interfaces/parole.ui.h:21 msgid "Square" msgstr "KvadrÄts" -#: ../data/interfaces/parole.ui.h:20 +#: ../data/interfaces/parole.ui.h:22 msgid "Volume Down" msgstr "KlusÄk" -#: ../data/interfaces/parole.ui.h:21 +#: ../data/interfaces/parole.ui.h:23 msgid "Volume Up" msgstr "SkaļÄk" -#: ../data/interfaces/parole.ui.h:22 +#: ../data/interfaces/parole.ui.h:24 msgid "_Edit" msgstr "R_ediģēt" -#: ../data/interfaces/parole.ui.h:23 +#: ../data/interfaces/parole.ui.h:25 msgid "_Help" msgstr "_PalÄ«dzÄ«ba" -#: ../data/interfaces/parole.ui.h:24 +#: ../data/interfaces/parole.ui.h:26 msgid "_Media" msgstr "_Mediji" -#: ../data/interfaces/parole.ui.h:25 -#, fuzzy +#: ../data/interfaces/parole.ui.h:27 msgid "_Open location" -msgstr "AtvÄ“rt vietu..." +msgstr "_AtvÄ“rt vietu" -#: ../data/interfaces/parole.ui.h:26 +#: ../data/interfaces/parole.ui.h:28 msgid "_View" msgstr "_Skats" #: ../data/interfaces/mediachooser.ui.h:1 msgid "Replace playlist with opened files" -msgstr "" +msgstr "Aizvietot repertuÄru ar atvÄ“rtajiem failiem" #: ../data/interfaces/mediachooser.ui.h:2 msgid "Scan folders recursively" -msgstr "" +msgstr "SkenÄ“t mapes rekursÄ«vi" #: ../data/interfaces/mediachooser.ui.h:3 msgid "Start playing opened files" -msgstr "" +msgstr "SÄkt spÄ“lÄ“t atvÄ“rtos failus" #: ../data/interfaces/plugins.ui.h:1 msgid "Author:" @@ -173,9 +183,8 @@ msgstr "Subtitri" #: ../data/interfaces/parole-settings.ui.h:4 -#, fuzzy msgid "Video" -msgstr "Vieta:" +msgstr "Video:" #: ../data/interfaces/parole-settings.ui.h:5 msgid "Automatically load subtitles when playing movie file" @@ -191,7 +200,7 @@ #: ../data/interfaces/parole-settings.ui.h:8 msgid "Disable screen saver while playing movies" -msgstr "" +msgstr "IzslÄ“gt ekrÄna saudzÄ“tÄju filmas atskaņoÅ¡anas laikÄ" #: ../data/interfaces/parole-settings.ui.h:9 msgid "Enable visualization when playing audio file" @@ -237,26 +246,21 @@ msgid "Select File Types (By Extension)" msgstr "IzvÄ“lÄ“ties faila tipu (pÄ“c paplaÅ¡inÄjuma)" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "The stream is taking too much time to load" msgstr "PlÅ«sma pÄrÄk ilgi mÄ“Ä£ina ielÄdÄ“ties" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "Stop" msgstr "ApturÄ“t" -#: ../gst/parole-gst.c:1683 -msgid "" -"Unable to load playbin GStreamer plugin, check your GStreamer installation" -msgstr "" -"Nevar ielÄdÄ“t playbin GStreamer spraudni, pÄrbaudiet savu GStreamer " -"instalÄciju" - -#: ../gst/parole-gst.c:1703 -msgid "" -"Unable to load video GStreamer plugin, check your GStreamer installation" -msgstr "" -"Nevar ielÄdÄ“t video GStreamer spraudni, pÄrbaudiet savu GStreamer instalÄciju" +#: ../gst/parole-gst.c:1700 +msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgstr "Nevar ielÄdÄ“t playbin GStreamer spraudni, pÄrbaudiet savu GStreamer instalÄciju" + +#: ../gst/parole-gst.c:1720 +msgid "Unable to load video GStreamer plugin, check your GStreamer installation" +msgstr "Nevar ielÄdÄ“t video GStreamer spraudni, pÄrbaudiet savu GStreamer instalÄciju" #: ../src/main.c:54 #, c-format @@ -279,71 +283,71 @@ "LicenzÄ“ts zem GNU GPL.\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " -msgstr "" +msgstr "NezinÄms arguments" -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "AtvÄ“rt jaunu instanci" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" -msgstr "" +msgstr "NeielÄdÄ“t spraudņus" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" -msgstr "" +msgstr "UzstÄdÄ«t Audio-CD/VCD/DVD ierÄ«ces ceļu" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" msgstr "Atskaņot vai apturÄ“t, ja jau atskaņo" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "ApturÄ“t atskaņoÅ¡anu" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "NÄkamais celiņš" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "IepriekÅ¡Ä“jais celiņš" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" msgstr "MeklÄ“t uz priekÅ¡u" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" msgstr "MeklÄ“t atpakaļ" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "PaaugstinÄt skaļumu" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "SamazinÄt skaļumu" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "ApklusinÄt" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "Versijas informÄcija" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" -msgstr "" +msgstr "IeslÄ“gt/IzslÄ“gt XV atbalstu" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Mediji, kurus atskaņot" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "Parole jau ir palaists, izmantojiet -i, lai atvÄ“rtu jaunu instanci\n" @@ -366,10 +370,10 @@ #: ../src/parole-medialist.c:446 msgid "Unknown playlist format, Please select a support playlist format" -msgstr "" -"NezinÄms repertuÄra formÄts, lÅ«dzu izvÄ“lieties atbalstÄ«tu repertuÄra formÄtu" +msgstr "NezinÄms repertuÄra formÄts, lÅ«dzu izvÄ“lieties atbalstÄ«tu repertuÄra formÄtu" -#: ../src/parole-medialist.c:514 ../src/parole-player.c:1852 +#: ../src/parole-medialist.c:514 +#: ../src/parole-player.c:1973 msgid "Playlist" msgstr "RepertuÄrs" @@ -397,35 +401,49 @@ msgid "Media list" msgstr "Mediju saraksts" -#: ../src/parole-player.c:318 +#: ../src/parole-player.c:333 msgid "Hide playlist" msgstr "SlÄ“pt repertuÄru" -#: ../src/parole-player.c:327 +#: ../src/parole-player.c:342 msgid "Show playlist" msgstr "RÄdÄ«t repertuÄru" -#: ../src/parole-player.c:543 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:297 +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "AtvÄ“rt ISO attÄ“lu" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "CD attÄ“ls" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "DVD attÄ“ls" + +#: ../src/parole-player.c:641 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:300 msgid "Media stream is not seekable" msgstr "Mediju straumÄ“ nevar meklÄ“t" #. #. * Next chapter menu item #. -#: ../src/parole-player.c:1098 ../src/parole-disc-menu.c:122 +#: ../src/parole-player.c:1197 +#: ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "NÄkamais celiņš" #. #. * Previous chapter menu item #. -#: ../src/parole-player.c:1110 ../src/parole-disc-menu.c:123 +#: ../src/parole-player.c:1209 +#: ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "IepriekÅ¡Ä“jais celiņš" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:590 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:593 msgid "Buffering" msgstr "BuferÄ“" @@ -437,16 +455,17 @@ msgid "Finished" msgstr "Pabeigts" -#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 +#: ../src/parole-statusbar.c:114 +#: ../src/parole-statusbar.c:124 msgid "Paused" msgstr "ApturÄ“ts" #: ../src/parole-statusbar.c:114 -#, fuzzy msgid "Playing" -msgstr "Atskaņo celiņu" +msgstr "Atskaņo" -#: ../src/parole-statusbar.c:145 +#: ../src/parole-statusbar.c:170 +#: ../src/parole-statusbar.c:174 msgid "Live stream:" msgstr "DzÄ«vÄ plÅ«sma:" @@ -459,7 +478,7 @@ msgid "Translator (%s)" msgstr "TulkotÄjs (%s)" -#: ../src/parole-disc.c:202 +#: ../src/parole-disc.c:227 msgid "Play Disc" msgstr "Atskaņot disku" @@ -467,8 +486,10 @@ msgid "Current Locale" msgstr "PaÅ¡reizÄ“jÄ atraÅ¡anÄs vieta" -#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 -#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 +#: ../src/parole-subtitle-encoding.c:168 +#: ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 +#: ../src/parole-subtitle-encoding.c:174 msgid "Arabic" msgstr "ArÄbu" @@ -476,7 +497,8 @@ msgid "Armenian" msgstr "Armēņu" -#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:180 +#: ../src/parole-subtitle-encoding.c:182 #: ../src/parole-subtitle-encoding.c:184 msgid "Baltic" msgstr "Baltu" @@ -485,17 +507,22 @@ msgid "Celtic" msgstr "Ķeltu" -#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 -#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 +#: ../src/parole-subtitle-encoding.c:190 +#: ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 +#: ../src/parole-subtitle-encoding.c:196 msgid "Central European" msgstr "CentrÄleirpas" -#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 -#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 +#: ../src/parole-subtitle-encoding.c:199 +#: ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 +#: ../src/parole-subtitle-encoding.c:205 msgid "Chinese Simplified" msgstr "ĶīnieÅ¡u vienkÄrÅ¡otÄ" -#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:208 +#: ../src/parole-subtitle-encoding.c:210 #: ../src/parole-subtitle-encoding.c:212 msgid "Chinese Traditional" msgstr "ĶīnieÅ¡u tradicionÄlÄ" @@ -504,9 +531,12 @@ msgid "Croatian" msgstr "HorvÄtu" -#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 -#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 -#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 +#: ../src/parole-subtitle-encoding.c:218 +#: ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 +#: ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 +#: ../src/parole-subtitle-encoding.c:228 msgid "Cyrillic" msgstr "Kirilisks" @@ -514,7 +544,8 @@ msgid "Cyrillic/Russian" msgstr "Kirilisks/krievu" -#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 +#: ../src/parole-subtitle-encoding.c:234 +#: ../src/parole-subtitle-encoding.c:236 msgid "Cyrillic/Ukrainian" msgstr "Kirilisks/ukraiņu" @@ -522,7 +553,8 @@ msgid "Georgian" msgstr "GruzÄ«nu" -#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:242 +#: ../src/parole-subtitle-encoding.c:244 #: ../src/parole-subtitle-encoding.c:246 msgid "Greek" msgstr "GrieÄ·u" @@ -535,8 +567,10 @@ msgid "Gurmukhi" msgstr "Gurmukhi" -#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 -#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 +#: ../src/parole-subtitle-encoding.c:255 +#: ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 +#: ../src/parole-subtitle-encoding.c:261 msgid "Hebrew" msgstr "Ivrits" @@ -552,13 +586,16 @@ msgid "Icelandic" msgstr "ĪslandieÅ¡u" -#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:273 +#: ../src/parole-subtitle-encoding.c:275 #: ../src/parole-subtitle-encoding.c:277 msgid "Japanese" msgstr "JapÄņu" -#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 -#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 +#: ../src/parole-subtitle-encoding.c:280 +#: ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 +#: ../src/parole-subtitle-encoding.c:286 msgid "Korean" msgstr "KorejieÅ¡u" @@ -570,7 +607,8 @@ msgid "Persian" msgstr "PersieÅ¡u" -#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 +#: ../src/parole-subtitle-encoding.c:295 +#: ../src/parole-subtitle-encoding.c:297 msgid "Romanian" msgstr "RumÄņu" @@ -582,24 +620,31 @@ msgid "Thai" msgstr "Taju" -#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 -#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 +#: ../src/parole-subtitle-encoding.c:306 +#: ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 +#: ../src/parole-subtitle-encoding.c:312 msgid "Turkish" msgstr "Turku" -#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 -#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:315 +#: ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 +#: ../src/parole-subtitle-encoding.c:321 #: ../src/parole-subtitle-encoding.c:323 msgid "Unicode" msgstr "Unikods" -#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 -#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:326 +#: ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 +#: ../src/parole-subtitle-encoding.c:332 #: ../src/parole-subtitle-encoding.c:334 msgid "Western" msgstr "Rietumu" -#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:337 +#: ../src/parole-subtitle-encoding.c:339 #: ../src/parole-subtitle-encoding.c:341 msgid "Vietnamese" msgstr "VjetnamieÅ¡u" @@ -625,7 +670,8 @@ msgid "Track %i" msgstr "Celiņš %i" -#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 +#: ../src/parole-plugins-manager.c:297 +#: ../src/parole-plugins-manager.c:433 msgid "Visit Website" msgstr "Doties uz tÄ«mekļa vietni" @@ -639,7 +685,7 @@ #: ../src/parole-plugins-manager.c:412 msgid "No installed plugins found on this system" -msgstr "" +msgstr "Nav atrasti instalÄ“ti spraudņi uz sistÄ“mas" #: ../parole/parole-filters.c:64 msgid "Audio" @@ -698,9 +744,8 @@ msgstr "LasÄ«t medija Ä«paÅ¡Ä«bas" #: ../plugins/properties/stream-properties.desktop.in.h:2 -#, fuzzy msgid "Stream Properties" -msgstr "ĪpaÅ¡Ä«bas" +msgstr "PlÅ«smas ĪpaÅ¡Ä«bas" #: ../plugins/tray/tray-provider.c:262 msgid "Playing:" @@ -747,57 +792,53 @@ msgstr "Paziņojuma joslas ikona" #: ../plugins/window-title/window-title.desktop.in.h:1 -#, fuzzy msgid "Set the main window name to the current playing media name." -msgstr "" -"UzstÄdÄ«t galvenÄ loga nosaukumu uz paÅ¡reiz\n" -" atskaņotÄ medija nosaukumu." +msgstr "UzstÄdÄ«t galvenÄ loga nosaukumu uz paÅ¡reiz atskaņotÄ medija nosaukumu." #: ../plugins/window-title/window-title.desktop.in.h:2 -#, fuzzy msgid "Window Title" -msgstr "Loga nosaukums" +msgstr "Loga virsraksts" #: ../plugins/power-manager/power-manager.desktop.in.h:1 msgid "Inhibit Power Manager from suspending the machine while playing DVD." -msgstr "" +msgstr "Neatļaut EnerÄ£ijas PÄrvaldniekam iemidzinÄt datoru, kamÄ“r notiek DVD atskaņoÅ¡ana" #: ../plugins/power-manager/power-manager.desktop.in.h:2 msgid "Power Manager Plugin" -msgstr "" +msgstr "EnerÄ£ijas PÄrvaldnieka spraudnis" #: ../browser-plugin/media-plugin/main.c:72 msgid "socket" -msgstr "" +msgstr "sokets" #: ../browser-plugin/media-plugin/main.c:72 msgid "SOCKET ID" -msgstr "" +msgstr "SOKETA ID" #: ../browser-plugin/media-plugin/main.c:73 -#, fuzzy msgid "url to play" -msgstr "Mediji, kurus atskaņot" +msgstr "url, kuru atskaņot" #: ../browser-plugin/media-plugin/main.c:73 msgid "URL" -msgstr "" +msgstr "URL" #: ../browser-plugin/media-plugin/parole-plugin-player.c:138 msgid "Leave fullscreen" -msgstr "" +msgstr "Iziet no pilnekrÄna" #: ../browser-plugin/media-plugin/parole-plugin-player.c:143 msgid "Fullscreen" -msgstr "" +msgstr "PilnekrÄns" #. #. * Copy url #. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:452 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:455 msgid "Copy url" -msgstr "" +msgstr "KopÄ“t url" #, fuzzy #~ msgid "Plugin" #~ msgstr "Spraudņi" + diff -Nru parole-0.2.0.2/po/POTFILES.in parole-0.2.0.6/po/POTFILES.in --- parole-0.2.0.2/po/POTFILES.in 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/POTFILES.in 2011-04-17 11:53:19.000000000 +0000 @@ -5,7 +5,9 @@ [type: gettext/glade]data/interfaces/plugins.ui [type: gettext/glade]data/interfaces/parole-settings.ui [type: gettext/glade]data/interfaces/save-playlist.ui +[type: gettext/glade]data/interfaces/open-location.ui data/desktop/parole.desktop.in.in +common/parole-common.c gst/parole-gst.c src/main.c src/parole-mediachooser.c @@ -33,5 +35,3 @@ plugins/window-title/window-title-provider.h plugins/window-title/window-title.desktop.in plugins/power-manager/power-manager.desktop.in -browser-plugin/media-plugin/main.c -browser-plugin/media-plugin/parole-plugin-player.c diff -Nru parole-0.2.0.2/po/pt_BR.po parole-0.2.0.6/po/pt_BR.po --- parole-0.2.0.2/po/pt_BR.po 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/po/pt_BR.po 2011-04-17 11:53:19.000000000 +0000 @@ -0,0 +1,804 @@ +# Portuguese translation for parole package. +# Copyright (C) 2009 THE parole COPYRIGHT HOLDER +# This file is distributed under the same license as the parole package. +# Sérgio Cipolla , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: parole 2.0.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-04-01 22:08+0000\n" +"PO-Revision-Date: \n" +"Last-Translator: Sérgio Cipolla \n" +"Language-Team: Brazilian Portuguese\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../data/interfaces/parole.ui.h:1 +msgid "16:9 (Widescreen)" +msgstr "16:9 (tela larga)" + +#: ../data/interfaces/parole.ui.h:2 +msgid "20:9 (DVB)" +msgstr "20:9 (DVB)" + +#: ../data/interfaces/parole.ui.h:3 +msgid "4:3 (TV)" +msgstr "4:3 (TV)" + +#: ../data/interfaces/parole.ui.h:4 +msgid "Aspect Ratio" +msgstr "Proporção de tela" + +#: ../data/interfaces/parole.ui.h:5 +msgid "Auto" +msgstr "Auto" + +#: ../data/interfaces/parole.ui.h:6 +msgid "Chapter Menu" +msgstr "Menu de capítulos" + +#: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 +msgid "DVD Menu" +msgstr "Menu de DVD" + +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "De uma imagem ISO" + +#: ../data/interfaces/parole.ui.h:10 +msgid "Media player" +msgstr "Reprodutor multimídia" + +#: ../data/interfaces/parole.ui.h:11 +msgid "Mute" +msgstr "Emudecer" + +#: ../data/interfaces/parole.ui.h:12 +#: ../src/parole-player.c:1197 +#: ../src/parole-disc-menu.c:113 +msgid "Next Chapter" +msgstr "Capítulo seguinte" + +#: ../data/interfaces/parole.ui.h:13 +msgid "None" +msgstr "Nenhuma" + +#: ../data/interfaces/parole.ui.h:14 +#: ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 +#: ../plugins/window-title/window-title-provider.c:58 +msgid "Parole Media Player" +msgstr "Reprodutor Multimídia Parole" + +#: ../data/interfaces/parole.ui.h:15 +msgid "Plugins" +msgstr "Plugins" + +#: ../data/interfaces/parole.ui.h:16 +#: ../src/parole-player.c:1209 +#: ../src/parole-disc-menu.c:114 +msgid "Previous Chapter" +msgstr "Capítulo anterior" + +#: ../data/interfaces/parole.ui.h:17 +msgid "Repeat" +msgstr "Repetir" + +#: ../data/interfaces/parole.ui.h:18 +msgid "Select Track" +msgstr "Selecionar faixa" + +#: ../data/interfaces/parole.ui.h:19 +msgid "Shuffle" +msgstr "Embaralhar" + +#: ../data/interfaces/parole.ui.h:20 +msgid "Sound" +msgstr "Som" + +#: ../data/interfaces/parole.ui.h:21 +msgid "Square" +msgstr "Quadrada" + +#: ../data/interfaces/parole.ui.h:22 +msgid "Volume Down" +msgstr "Diminuir volume" + +#: ../data/interfaces/parole.ui.h:23 +msgid "Volume Up" +msgstr "Aumentar volume" + +#: ../data/interfaces/parole.ui.h:24 +msgid "_Edit" +msgstr "_Editar" + +#: ../data/interfaces/parole.ui.h:25 +msgid "_Help" +msgstr "_Ajuda" + +#: ../data/interfaces/parole.ui.h:26 +msgid "_Media" +msgstr "_Mídia" + +#: ../data/interfaces/parole.ui.h:27 +msgid "_Open location" +msgstr "Abrir l_ocalização" + +#: ../data/interfaces/parole.ui.h:28 +msgid "_View" +msgstr "_Ver" + +#: ../data/interfaces/mediachooser.ui.h:1 +msgid "Replace playlist with opened files" +msgstr "Substituir lista de reprodução pelos arquivos abertos" + +#: ../data/interfaces/mediachooser.ui.h:2 +msgid "Scan folders recursively" +msgstr "Varrer pastas recursivamente" + +#: ../data/interfaces/mediachooser.ui.h:3 +msgid "Start playing opened files" +msgstr "Iniciar reprodução dos arquivos abertos" + +#: ../data/interfaces/plugins.ui.h:1 +msgid "Author:" +msgstr "Autor:" + +#: ../data/interfaces/plugins.ui.h:2 +msgid "Description:" +msgstr "Descrição:" + +#: ../data/interfaces/plugins.ui.h:3 +msgid "Site:" +msgstr "Site:" + +#: ../data/interfaces/plugins.ui.h:4 +msgid "Media Player plugins" +msgstr "Plugins do reprodutor multimídia" + +#: ../data/interfaces/plugins.ui.h:5 +msgid "Parole Plugins" +msgstr "Plugins do Parole" + +#: ../data/interfaces/parole-settings.ui.h:1 +msgid "Audio" +msgstr "Ãudio" + +#: ../data/interfaces/parole-settings.ui.h:2 +msgid "Display" +msgstr "Monitor" + +#: ../data/interfaces/parole-settings.ui.h:3 +msgid "Subtitles" +msgstr "Legendas" + +#: ../data/interfaces/parole-settings.ui.h:4 +msgid "Video" +msgstr "Vídeo" + +#: ../data/interfaces/parole-settings.ui.h:5 +msgid "Automatically load subtitles when playing movie file" +msgstr "Carregar automaticamente as legendas ao reproduzir um arquivo de filme" + +#: ../data/interfaces/parole-settings.ui.h:6 +msgid "Brightness:" +msgstr "Brilho:" + +#: ../data/interfaces/parole-settings.ui.h:7 +msgid "Contrast:" +msgstr "Contraste:" + +#: ../data/interfaces/parole-settings.ui.h:8 +msgid "Disable screen saver while playing movies" +msgstr "Desativar protetor de tela durante a reprodução de filmes" + +#: ../data/interfaces/parole-settings.ui.h:9 +msgid "Enable visualization when playing audio file" +msgstr "Habilitar visualização ao reproduzir áudio" + +#: ../data/interfaces/parole-settings.ui.h:10 +msgid "Encoding: " +msgstr "Codificação:" + +#: ../data/interfaces/parole-settings.ui.h:11 +msgid "Font:" +msgstr "Fonte:" + +#: ../data/interfaces/parole-settings.ui.h:12 +msgid "Hue:" +msgstr "Matiz:" + +#: ../data/interfaces/parole-settings.ui.h:13 +msgid "Media Player Settings" +msgstr "Configurações do reprodutor multimídia" + +#: ../data/interfaces/parole-settings.ui.h:14 +msgid "Parole Settings" +msgstr "Configurações do Parole" + +#: ../data/interfaces/parole-settings.ui.h:15 +msgid "Reset To Defaults" +msgstr "Retornar aos padrões" + +#: ../data/interfaces/parole-settings.ui.h:16 +msgid "Saturation:" +msgstr "Saturação:" + +#: ../data/interfaces/parole-settings.ui.h:17 +msgid "Visualization type:" +msgstr "Tipo de visualização:" + +#: ../data/interfaces/save-playlist.ui.h:1 +msgid "By Extension" +msgstr "Por extensão" + +#: ../data/interfaces/save-playlist.ui.h:2 +msgid "Select File Types (By Extension)" +msgstr "Selecione os tipos de arquivo (por extensão)" + +#: ../gst/parole-gst.c:1511 +msgid "The stream is taking too much time to load" +msgstr "A transmissão está levando muito tempo para carregar" + +#: ../gst/parole-gst.c:1511 +msgid "Stop" +msgstr "Parar" + +#: ../gst/parole-gst.c:1700 +msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgstr "Incapaz de carregar o plugin playbin GStreamer. Verifique a instalação do GStreamer" + +#: ../gst/parole-gst.c:1720 +msgid "Unable to load video GStreamer plugin, check your GStreamer installation" +msgstr "Incapaz de carregar o plugin de vídeo GStreamer. Verifique a instalação do GStreamer" + +#: ../src/main.c:54 +#, c-format +msgid "" +"\n" +"Parole Media Player %s\n" +"\n" +"Part of the Xfce Goodies Project\n" +"http://goodies.xfce.org\n" +"\n" +"Licensed under the GNU GPL.\n" +"\n" +msgstr "" +"\n" +"Reprodutor multimídia Parole %s\n" +"\n" +"Parte do projeto Xfce Goodies\n" +"http://goodies.xfce.org\n" +"\n" +"Licenciado nos termos da GNU GPL.\n" +"\n" + +#: ../src/main.c:187 +msgid "Unknown argument " +msgstr "Argumento desconhecido" + +#: ../src/main.c:224 +msgid "Open a new instance" +msgstr "Abrir uma nova instância" + +#: ../src/main.c:225 +msgid "Do not load plugins" +msgstr "Não carregar plugins" + +#: ../src/main.c:226 +msgid "Set Audio-CD/VCD/DVD device path" +msgstr "Definir o caminho do dispositivo CD/VCD/DVD" + +#: ../src/main.c:227 +msgid "Play or pause if already playing" +msgstr "Reproduzir ou pausar se em execução" + +#: ../src/main.c:228 +msgid "Stop playing" +msgstr "Parar reprodução" + +#: ../src/main.c:229 +msgid "Next track" +msgstr "Faixa seguinte" + +#: ../src/main.c:230 +msgid "Previous track" +msgstr "Faixa anterior" + +#: ../src/main.c:231 +msgid "Seek forward" +msgstr "Avançar" + +#: ../src/main.c:232 +msgid "Seek Backward" +msgstr "Recuar" + +#: ../src/main.c:233 +msgid "Raise volume" +msgstr "Aumentar volume" + +#: ../src/main.c:234 +msgid "Lower volume" +msgstr "Diminuir volume" + +#: ../src/main.c:235 +msgid "Mute volume" +msgstr "Emudecer" + +#: ../src/main.c:236 +msgid "Version information" +msgstr "Informação da versão" + +#: ../src/main.c:237 +msgid "Enabled/Disable XV support" +msgstr "Habilitar/desabilitar suporte XV" + +#: ../src/main.c:239 +msgid "Media to play" +msgstr "Mídia a reproduzir" + +#: ../src/main.c:276 +#, c-format +msgid "Parole is already running, use -i to open a new instance\n" +msgstr "O Parole já está em execução. Use -i para abrir uma nova instância\n" + +#: ../src/parole-mediachooser.c:213 +msgid "Add media files" +msgstr "Adicionar arquivos" + +#: ../src/parole-mediachooser.c:246 +msgid "Add" +msgstr "Adicionar" + +#: ../src/parole-medialist.c:437 +msgid "Error saving playlist file" +msgstr "Erro ao salvar a lista de reprodução" + +#: ../src/parole-medialist.c:437 +msgid "Permission denied" +msgstr "Permissão negada" + +#: ../src/parole-medialist.c:446 +msgid "Unknown playlist format, Please select a support playlist format" +msgstr "Formato da lista de reprodução desconhecido. Por favor, selecione um formato suportado" + +#: ../src/parole-medialist.c:514 +#: ../src/parole-player.c:1973 +msgid "Playlist" +msgstr "Lista de reprodução" + +#: ../src/parole-medialist.c:521 +msgid "M3U Playlists" +msgstr "Listas de reprodução M3U" + +#: ../src/parole-medialist.c:529 +msgid "PLS Playlists" +msgstr "Listas de reprodução PLS" + +#: ../src/parole-medialist.c:537 +msgid "Advanced Stream Redirector" +msgstr "Redirecionador avançado de transmissões" + +#: ../src/parole-medialist.c:545 +msgid "Shareable Playlist" +msgstr "Lista de reprodução compartilhável" + +#: ../src/parole-medialist.c:860 +msgid "Remember playlist" +msgstr "Lembrar lista de reprodução" + +#: ../src/parole-medialist.c:1012 +msgid "Media list" +msgstr "Lista de mídias" + +#: ../src/parole-player.c:333 +msgid "Hide playlist" +msgstr "Ocultar lista de reprodução" + +#: ../src/parole-player.c:342 +msgid "Show playlist" +msgstr "Mostrar lista de reprodução" + +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "Abrir imagem ISO" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "Imagem de CD" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "Imagem de DVD" + +#: ../src/parole-player.c:641 +msgid "Media stream is not seekable" +msgstr "A transmissão não permite buscas" + +#. +#. * Next chapter menu item +#. +#: ../src/parole-player.c:1197 +#: ../src/parole-disc-menu.c:122 +msgid "Next Track" +msgstr "Faixa seguinte" + +#. +#. * Previous chapter menu item +#. +#: ../src/parole-player.c:1209 +#: ../src/parole-disc-menu.c:123 +msgid "Previous Track" +msgstr "Faixa anterior" + +#: ../src/parole-statusbar.c:61 +msgid "Buffering" +msgstr "Armazenando" + +#: ../src/parole-statusbar.c:100 +msgid "Stopped" +msgstr "Parado" + +#: ../src/parole-statusbar.c:104 +msgid "Finished" +msgstr "Concluído" + +#: ../src/parole-statusbar.c:114 +#: ../src/parole-statusbar.c:124 +msgid "Paused" +msgstr "Pausado" + +#: ../src/parole-statusbar.c:114 +msgid "Playing" +msgstr "Reproduzindo" + +#: ../src/parole-statusbar.c:170 +#: ../src/parole-statusbar.c:174 +msgid "Live stream:" +msgstr "Transmissão ao vivo:" + +#: ../src/parole-about.c:75 +msgid "Author/Maintainer" +msgstr "Autor/Mantenedor" + +#: ../src/parole-about.c:81 +#, c-format +msgid "Translator (%s)" +msgstr "Tradutor (%s)" + +#: ../src/parole-disc.c:227 +msgid "Play Disc" +msgstr "Reproduzir disco" + +#: ../src/parole-subtitle-encoding.c:165 +msgid "Current Locale" +msgstr "Locale atual" + +#: ../src/parole-subtitle-encoding.c:168 +#: ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 +#: ../src/parole-subtitle-encoding.c:174 +msgid "Arabic" +msgstr "Ãrabe" + +#: ../src/parole-subtitle-encoding.c:177 +msgid "Armenian" +msgstr "Armênio" + +#: ../src/parole-subtitle-encoding.c:180 +#: ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:184 +msgid "Baltic" +msgstr "Báltico" + +#: ../src/parole-subtitle-encoding.c:187 +msgid "Celtic" +msgstr "Celta" + +#: ../src/parole-subtitle-encoding.c:190 +#: ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 +#: ../src/parole-subtitle-encoding.c:196 +msgid "Central European" +msgstr "Europeu central" + +#: ../src/parole-subtitle-encoding.c:199 +#: ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 +#: ../src/parole-subtitle-encoding.c:205 +msgid "Chinese Simplified" +msgstr "Chinês simplificado" + +#: ../src/parole-subtitle-encoding.c:208 +#: ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:212 +msgid "Chinese Traditional" +msgstr "Chinês tradicional" + +#: ../src/parole-subtitle-encoding.c:215 +msgid "Croatian" +msgstr "Croata" + +#: ../src/parole-subtitle-encoding.c:218 +#: ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 +#: ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 +#: ../src/parole-subtitle-encoding.c:228 +msgid "Cyrillic" +msgstr "Cirílico" + +#: ../src/parole-subtitle-encoding.c:231 +msgid "Cyrillic/Russian" +msgstr "Cirílico/Russo" + +#: ../src/parole-subtitle-encoding.c:234 +#: ../src/parole-subtitle-encoding.c:236 +msgid "Cyrillic/Ukrainian" +msgstr "Cirílico/Ucraniano" + +#: ../src/parole-subtitle-encoding.c:239 +msgid "Georgian" +msgstr "Georgiano" + +#: ../src/parole-subtitle-encoding.c:242 +#: ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:246 +msgid "Greek" +msgstr "Grego" + +#: ../src/parole-subtitle-encoding.c:249 +msgid "Gujarati" +msgstr "Guzerate" + +#: ../src/parole-subtitle-encoding.c:252 +msgid "Gurmukhi" +msgstr "Gurmukhi" + +#: ../src/parole-subtitle-encoding.c:255 +#: ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 +#: ../src/parole-subtitle-encoding.c:261 +msgid "Hebrew" +msgstr "Hebraico" + +#: ../src/parole-subtitle-encoding.c:264 +msgid "Hebrew Visual" +msgstr "Hebraico visual" + +#: ../src/parole-subtitle-encoding.c:267 +msgid "Hindi" +msgstr "Hindi" + +#: ../src/parole-subtitle-encoding.c:270 +msgid "Icelandic" +msgstr "Islandês" + +#: ../src/parole-subtitle-encoding.c:273 +#: ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:277 +msgid "Japanese" +msgstr "Japonês" + +#: ../src/parole-subtitle-encoding.c:280 +#: ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 +#: ../src/parole-subtitle-encoding.c:286 +msgid "Korean" +msgstr "Coreano" + +#: ../src/parole-subtitle-encoding.c:289 +msgid "Nordic" +msgstr "Nórdico" + +#: ../src/parole-subtitle-encoding.c:292 +msgid "Persian" +msgstr "Persa" + +#: ../src/parole-subtitle-encoding.c:295 +#: ../src/parole-subtitle-encoding.c:297 +msgid "Romanian" +msgstr "Romeno" + +#: ../src/parole-subtitle-encoding.c:300 +msgid "South European" +msgstr "Europeu do sul" + +#: ../src/parole-subtitle-encoding.c:303 +msgid "Thai" +msgstr "Tailandês" + +#: ../src/parole-subtitle-encoding.c:306 +#: ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 +#: ../src/parole-subtitle-encoding.c:312 +msgid "Turkish" +msgstr "Turco" + +#: ../src/parole-subtitle-encoding.c:315 +#: ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 +#: ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:323 +msgid "Unicode" +msgstr "Unicode" + +#: ../src/parole-subtitle-encoding.c:326 +#: ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 +#: ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:334 +msgid "Western" +msgstr "Ocidental" + +#: ../src/parole-subtitle-encoding.c:337 +#: ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:341 +msgid "Vietnamese" +msgstr "Vietnamita" + +#: ../src/parole-open-location.c:181 +msgid "Open location..." +msgstr "Abrir localização..." + +#: ../src/parole-open-location.c:186 +msgid "Open location of media file or live stream:" +msgstr "Abrir localização de arquivo de mídia ou de transmissão:" + +#: ../src/parole-open-location.c:205 +msgid "Clear history" +msgstr "Limpar histórico" + +#: ../src/parole-disc-menu.c:130 +msgid "Playing Track" +msgstr "Reproduzindo faixa" + +#: ../src/parole-disc-menu.c:194 +#, c-format +msgid "Track %i" +msgstr "Faixa %i" + +#: ../src/parole-plugins-manager.c:297 +#: ../src/parole-plugins-manager.c:433 +msgid "Visit Website" +msgstr "Visitar website" + +#: ../src/parole-plugins-manager.c:373 +#: ../plugins/properties/stream-properties-provider.c:140 +#: ../plugins/properties/stream-properties-provider.c:141 +#: ../plugins/properties/stream-properties-provider.c:142 +#: ../plugins/properties/stream-properties-provider.c:143 +msgid "Unknown" +msgstr "Desconhecido" + +#: ../src/parole-plugins-manager.c:412 +msgid "No installed plugins found on this system" +msgstr "Não foram encontrados plugins neste sistema" + +#: ../parole/parole-filters.c:64 +msgid "Audio" +msgstr "Ãudio" + +#: ../parole/parole-filters.c:90 +msgid "Video" +msgstr "Vídeo" + +#: ../parole/parole-filters.c:115 +msgid "Audio and video" +msgstr "Ãudio e vídeo" + +#: ../parole/parole-filters.c:144 +msgid "All supported files" +msgstr "Todos os arquivos suportados" + +#: ../parole/parole-filters.c:171 +msgid "Playlist files" +msgstr "Arquivos de lista de reprodução" + +#: ../plugins/properties/stream-properties-provider.c:254 +msgid "Title:" +msgstr "Título:" + +#: ../plugins/properties/stream-properties-provider.c:277 +msgid "Artist:" +msgstr "Artista:" + +#: ../plugins/properties/stream-properties-provider.c:300 +msgid "Album:" +msgstr "Ãlbum:" + +#: ../plugins/properties/stream-properties-provider.c:323 +msgid "Year:" +msgstr "Ano:" + +#: ../plugins/properties/stream-properties-provider.c:341 +msgid "General" +msgstr "Geral" + +#: ../plugins/properties/stream-properties-provider.c:392 +msgid "Stream doesn't support tags changes" +msgstr "A transmissão não suporta mudanças de etiquetas" + +#: ../plugins/properties/stream-properties-provider.c:399 +msgid "Save media tags changes" +msgstr "Salvar mudanças das etiquetas" + +#: ../plugins/properties/stream-properties-provider.c:524 +msgid "Properties" +msgstr "Propriedades" + +#: ../plugins/properties/stream-properties.desktop.in.h:1 +msgid "Read media properties" +msgstr "Ler propriedades da mídia." + +#: ../plugins/properties/stream-properties.desktop.in.h:2 +msgid "Stream Properties" +msgstr "Propriedades da transmissão" + +#: ../plugins/tray/tray-provider.c:262 +msgid "Playing:" +msgstr "Reproduzindo:" + +#: ../plugins/tray/tray-provider.c:262 +msgid "Duration:" +msgstr "Duração:" + +#: ../plugins/tray/tray-provider.c:420 +msgid "Tray icon plugin" +msgstr "Plugin do ícone da bandeja" + +#: ../plugins/tray/tray-provider.c:430 +msgid "Enable notification" +msgstr "Habilitar notificação" + +#: ../plugins/tray/tray-provider.c:439 +msgid "Always minimize to tray when window is closed" +msgstr "Sempre minimizar para a bandeja ao fechar a janela" + +#: ../plugins/tray/tray-provider.c:478 +msgid "Minimize to tray?" +msgstr "Minimizar para a bandeja?" + +#: ../plugins/tray/tray-provider.c:484 +msgid "Minimize to tray" +msgstr "Minimizar para a bandeja" + +#: ../plugins/tray/tray-provider.c:500 +msgid "Are you sure you want to quit Parole" +msgstr "Tem certeza que quer sair do Parole?" + +#: ../plugins/tray/tray-provider.c:504 +msgid "Remember my choice" +msgstr "Lembrar minha escolha" + +#: ../plugins/tray/system-tray.desktop.in.h:1 +msgid "Show icon in the system tray" +msgstr "Mostrar ícone na bandeja do sistema." + +#: ../plugins/tray/system-tray.desktop.in.h:2 +msgid "Tray icon" +msgstr "Ãcone na bandeja" + +#: ../plugins/window-title/window-title.desktop.in.h:1 +msgid "Set the main window name to the current playing media name." +msgstr "Nomear a janela principal com o nome da mídia em reprodução." + +#: ../plugins/window-title/window-title.desktop.in.h:2 +msgid "Window Title" +msgstr "Título da janela" + +#: ../plugins/power-manager/power-manager.desktop.in.h:1 +msgid "Inhibit Power Manager from suspending the machine while playing DVD." +msgstr "Inibir o gerenciador de energia de suspender o computador durante a reprodução de DVDs." + +#: ../plugins/power-manager/power-manager.desktop.in.h:2 +msgid "Power Manager Plugin" +msgstr "Plugin do gerenciador de energia" + diff -Nru parole-0.2.0.2/po/pt.po parole-0.2.0.6/po/pt.po --- parole-0.2.0.2/po/pt.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/pt.po 2011-04-17 11:53:19.000000000 +0000 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: parole 2.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-01-14 06:06+0100\n" +"POT-Creation-Date: 2010-11-13 23:04+0000\n" "PO-Revision-Date: \n" "Last-Translator: Sérgio Marques \n" "Language-Team: Portuguese\n" @@ -31,7 +31,7 @@ #: ../data/interfaces/parole.ui.h:4 msgid "Aspect Ratio" -msgstr "Rácio de Aspecto" +msgstr "_Tamanho do vídeo" #: ../data/interfaces/parole.ui.h:5 msgid "Auto" @@ -39,7 +39,7 @@ #: ../data/interfaces/parole.ui.h:6 msgid "Chapter Menu" -msgstr "Menu de Capítulos" +msgstr "Menu de capítulos" #: ../data/interfaces/parole.ui.h:7 msgid "DVD" @@ -55,17 +55,17 @@ #: ../data/interfaces/parole.ui.h:10 msgid "Media player" -msgstr "Reprodutor Multimédia" +msgstr "Reprodutor multimédia" #: ../data/interfaces/parole.ui.h:11 msgid "Mute" msgstr "Silenciar" #: ../data/interfaces/parole.ui.h:12 -#: ../src/parole-player.c:1198 +#: ../src/parole-player.c:1197 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" -msgstr "Capítulo Seguinte" +msgstr "Capítulo seguinte" #: ../data/interfaces/parole.ui.h:13 msgid "None" @@ -80,25 +80,25 @@ #: ../data/interfaces/parole.ui.h:15 msgid "Plugins" -msgstr "Plugins" +msgstr "\"Pl_ug-ins\"" #: ../data/interfaces/parole.ui.h:16 -#: ../src/parole-player.c:1210 +#: ../src/parole-player.c:1209 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" -msgstr "Capítulo Anterior" +msgstr "Capítulo anterior" #: ../data/interfaces/parole.ui.h:17 msgid "Repeat" -msgstr "Repetir" +msgstr "_Repetir" #: ../data/interfaces/parole.ui.h:18 msgid "Select Track" -msgstr "Seleccione a Faixa" +msgstr "Selecione a faixa" #: ../data/interfaces/parole.ui.h:19 msgid "Shuffle" -msgstr "Baralhar" +msgstr "_Baralhar" #: ../data/interfaces/parole.ui.h:20 msgid "Sound" @@ -110,11 +110,11 @@ #: ../data/interfaces/parole.ui.h:22 msgid "Volume Down" -msgstr "Diminuir Volume" +msgstr "Diminuir volume" #: ../data/interfaces/parole.ui.h:23 msgid "Volume Up" -msgstr "Aumentar Volume" +msgstr "Aumentar volume" #: ../data/interfaces/parole.ui.h:24 msgid "_Edit" @@ -162,11 +162,11 @@ #: ../data/interfaces/plugins.ui.h:4 msgid "Media Player plugins" -msgstr "Plugins de Reprodutor" +msgstr "\"Plug-ins\" do reprodutor" #: ../data/interfaces/plugins.ui.h:5 msgid "Parole Plugins" -msgstr "Parole Plugins" +msgstr "\"Plug-ins\" Parole" #: ../data/interfaces/parole-settings.ui.h:1 msgid "Audio" @@ -198,11 +198,11 @@ #: ../data/interfaces/parole-settings.ui.h:8 msgid "Disable screen saver while playing movies" -msgstr "Desactivar protecção de ecrã durante a reprodução de filmes" +msgstr "Inativar proteção de ecrã durante a reprodução de filmes" #: ../data/interfaces/parole-settings.ui.h:9 msgid "Enable visualization when playing audio file" -msgstr "Activar visualização ao reproduzir áudio" +msgstr "Ativar visualização ao reproduzir áudio" #: ../data/interfaces/parole-settings.ui.h:10 msgid "Encoding: " @@ -210,7 +210,7 @@ #: ../data/interfaces/parole-settings.ui.h:11 msgid "Font:" -msgstr "Fonte:" +msgstr "Tipo de letra:" #: ../data/interfaces/parole-settings.ui.h:12 msgid "Hue:" @@ -218,7 +218,7 @@ #: ../data/interfaces/parole-settings.ui.h:13 msgid "Media Player Settings" -msgstr "Definições do Reprodutor Multimédia" +msgstr "Definições do reprodutor" #: ../data/interfaces/parole-settings.ui.h:14 msgid "Parole Settings" @@ -226,7 +226,7 @@ #: ../data/interfaces/parole-settings.ui.h:15 msgid "Reset To Defaults" -msgstr "Repor Omissões" +msgstr "Repor omissões" #: ../data/interfaces/parole-settings.ui.h:16 msgid "Saturation:" @@ -238,27 +238,27 @@ #: ../data/interfaces/save-playlist.ui.h:1 msgid "By Extension" -msgstr "Por Extensão" +msgstr "Por extensão" #: ../data/interfaces/save-playlist.ui.h:2 msgid "Select File Types (By Extension)" -msgstr "Seleccione Tipo de Ficheiros (Por Extensão)" +msgstr "Selecione os tipos de ficheiro (por extensão)" -#: ../gst/parole-gst.c:1498 +#: ../gst/parole-gst.c:1511 msgid "The stream is taking too much time to load" -msgstr "A transmissão está a levar muito tempo a carregar" +msgstr "A emissão está a levar muito tempo a carregar" -#: ../gst/parole-gst.c:1498 +#: ../gst/parole-gst.c:1511 msgid "Stop" msgstr "Parar" -#: ../gst/parole-gst.c:1687 +#: ../gst/parole-gst.c:1700 msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" -msgstr "Não foi possível carregar o plugin playbin GStreamer. Verifique a instalação GStreamer " +msgstr "Incapaz de carregar o \"plug-in\" playbin GStreamer. Verifique a instalação GStreamer " -#: ../gst/parole-gst.c:1707 +#: ../gst/parole-gst.c:1720 msgid "Unable to load video GStreamer plugin, check your GStreamer installation" -msgstr "Não foi possível carregar o plugin de vídeo GStreamer. Verifique a instalação GStreamer " +msgstr "Incapaz de carregar o \"plug-in\" de vídeo GStreamer. Verifique a instalação GStreamer " #: ../src/main.c:54 #, c-format @@ -273,79 +273,79 @@ "\n" msgstr "" "\n" -"Reprodutor Multimédia Parole %s\n" +"Reprodutor multimédia Parole %s\n" "\n" -"Parte do Projecto Xfce Goodies\n" +"Parte do projeto Xfce Goodies\n" "http://goodies.xfce.org\n" "\n" "Licenciado nos termos da GNU GPL.\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " msgstr "Argumento desconhecido" -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "Abrir nova instância" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" -msgstr "Não carregar plugins" +msgstr "Não carregar \"plug-ins\"" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" msgstr "Definir o caminho do dispositivo CD/VCD/DVD" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" msgstr "Reproduzir ou pausar se em execução" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "Parar reprodução" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "Faixa seguinte" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "Faixa anterior" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" msgstr "Avançar" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" -msgstr "Retroceder" +msgstr "Recuar" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "Aumentar volume" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "Diminuir volume" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "Silenciar" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "Informação sobre versão" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" -msgstr "Activar/desactivar suporte XV" +msgstr "Ativar/desativar suporte XV" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Multimédia a reproduzir" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "O Parole já está em execução. Use -i para abrir uma nova instância\n" @@ -368,12 +368,12 @@ #: ../src/parole-medialist.c:446 msgid "Unknown playlist format, Please select a support playlist format" -msgstr "Formato da lista desconhecido. Por favor, seleccione um formato suportado" +msgstr "Formato da lista desconhecido. Por favor, selecione um formato suportado" #: ../src/parole-medialist.c:514 -#: ../src/parole-player.c:1974 +#: ../src/parole-player.c:1973 msgid "Playlist" -msgstr "Lista de Reprodução" +msgstr "Lista de reprodução" #: ../src/parole-medialist.c:521 msgid "M3U Playlists" @@ -385,11 +385,11 @@ #: ../src/parole-medialist.c:537 msgid "Advanced Stream Redirector" -msgstr "Redireccionador Avançado de Transmissões" +msgstr "Redirecionador avançado de emissões" #: ../src/parole-medialist.c:545 msgid "Shareable Playlist" -msgstr "Lista Partilhável" +msgstr "Lista partilhável" #: ../src/parole-medialist.c:860 msgid "Remember playlist" @@ -397,7 +397,7 @@ #: ../src/parole-medialist.c:1012 msgid "Media list" -msgstr "Lista Multimédia" +msgstr "Lista multimédia" #: ../src/parole-player.c:333 msgid "Hide playlist" @@ -419,29 +419,27 @@ msgid "DVD image" msgstr "Imagem de DVD" -#: ../src/parole-player.c:643 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:300 +#: ../src/parole-player.c:641 msgid "Media stream is not seekable" -msgstr "A transmissão não permite busca" +msgstr "A emissão não permite buscas" #. #. * Next chapter menu item #. -#: ../src/parole-player.c:1198 +#: ../src/parole-player.c:1197 #: ../src/parole-disc-menu.c:122 msgid "Next Track" -msgstr "Faixa Seguinte" +msgstr "Faixa seguinte" #. #. * Previous chapter menu item #. -#: ../src/parole-player.c:1210 +#: ../src/parole-player.c:1209 #: ../src/parole-disc-menu.c:123 msgid "Previous Track" -msgstr "Faixa Anterior" +msgstr "Faixa anterior" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:593 msgid "Buffering" msgstr "Processando" @@ -462,9 +460,10 @@ msgid "Playing" msgstr "Reproduzindo" -#: ../src/parole-statusbar.c:168 +#: ../src/parole-statusbar.c:170 +#: ../src/parole-statusbar.c:174 msgid "Live stream:" -msgstr "Transmissão ao vivo:" +msgstr "Emissão ao vivo:" #: ../src/parole-about.c:75 msgid "Author/Maintainer" @@ -477,11 +476,11 @@ #: ../src/parole-disc.c:227 msgid "Play Disc" -msgstr "Reproduzir Disco" +msgstr "Reproduzir disco" #: ../src/parole-subtitle-encoding.c:165 msgid "Current Locale" -msgstr "Idioma Actual" +msgstr "Idioma atual" #: ../src/parole-subtitle-encoding.c:168 #: ../src/parole-subtitle-encoding.c:170 @@ -648,11 +647,11 @@ #: ../src/parole-open-location.c:181 msgid "Open location..." -msgstr "Abri localização..." +msgstr "Abrir localização..." #: ../src/parole-open-location.c:186 msgid "Open location of media file or live stream:" -msgstr "Abrir localização do ficheiro ou da transmissão:" +msgstr "Abrir localização do ficheiro ou da emissão:" #: ../src/parole-open-location.c:205 msgid "Clear history" @@ -660,7 +659,7 @@ #: ../src/parole-disc-menu.c:130 msgid "Playing Track" -msgstr "Reproduzindo Faixa" +msgstr "Reproduzindo faixa" #: ../src/parole-disc-menu.c:194 #, c-format @@ -670,7 +669,7 @@ #: ../src/parole-plugins-manager.c:297 #: ../src/parole-plugins-manager.c:433 msgid "Visit Website" -msgstr "Visitar Sítio Web" +msgstr "Visitar sítio \"web\"" #: ../src/parole-plugins-manager.c:373 #: ../plugins/properties/stream-properties-provider.c:140 @@ -682,7 +681,7 @@ #: ../src/parole-plugins-manager.c:412 msgid "No installed plugins found on this system" -msgstr "Não foram encontrados plugins neste sistema" +msgstr "Não foram encontrados \"plug-ins\" neste sistema" #: ../parole/parole-filters.c:64 msgid "Audio" @@ -726,11 +725,11 @@ #: ../plugins/properties/stream-properties-provider.c:392 msgid "Stream doesn't support tags changes" -msgstr "A transmissão não suporta alterações" +msgstr "A emissão não suporta alterações" #: ../plugins/properties/stream-properties-provider.c:399 msgid "Save media tags changes" -msgstr "Guardar alterações" +msgstr "Gravar alterações dos detalhes" #: ../plugins/properties/stream-properties-provider.c:524 msgid "Properties" @@ -738,11 +737,11 @@ #: ../plugins/properties/stream-properties.desktop.in.h:1 msgid "Read media properties" -msgstr "Ler propriedades" +msgstr "Ler propriedades multimédia" #: ../plugins/properties/stream-properties.desktop.in.h:2 msgid "Stream Properties" -msgstr "Propriedades da Transmissão" +msgstr "Propriedades da emissão" #: ../plugins/tray/tray-provider.c:262 msgid "Playing:" @@ -754,11 +753,11 @@ #: ../plugins/tray/tray-provider.c:420 msgid "Tray icon plugin" -msgstr "Plugin da área de notificação" +msgstr "\"Plug-in\" da área de notificação" #: ../plugins/tray/tray-provider.c:430 msgid "Enable notification" -msgstr "Activar notificação" +msgstr "Ativar notificação" #: ../plugins/tray/tray-provider.c:439 msgid "Always minimize to tray when window is closed" @@ -774,7 +773,7 @@ #: ../plugins/tray/tray-provider.c:500 msgid "Are you sure you want to quit Parole" -msgstr "Tem a certeza que quer sair de Parole" +msgstr "Tem a certeza que quer sair de Parole?" #: ../plugins/tray/tray-provider.c:504 msgid "Remember my choice" @@ -786,7 +785,7 @@ #: ../plugins/tray/system-tray.desktop.in.h:2 msgid "Tray icon" -msgstr "Ãcone de área de notificação" +msgstr "Ãcone na área de notificação" #: ../plugins/window-title/window-title.desktop.in.h:1 msgid "Set the main window name to the current playing media name." @@ -794,55 +793,13 @@ #: ../plugins/window-title/window-title.desktop.in.h:2 msgid "Window Title" -msgstr "Título da Janela" +msgstr "Título da janela" #: ../plugins/power-manager/power-manager.desktop.in.h:1 msgid "Inhibit Power Manager from suspending the machine while playing DVD." -msgstr "Proibir que a Gestão de Energia suspenda a máquina durante a reprodução de DVDs." +msgstr "Proibir que a gestão de energia suspenda o computador durante a reprodução de DVDs." #: ../plugins/power-manager/power-manager.desktop.in.h:2 msgid "Power Manager Plugin" -msgstr "Plugin Gestão de Energia" - -#: ../browser-plugin/media-plugin/main.c:72 -msgid "socket" -msgstr "socket" - -#: ../browser-plugin/media-plugin/main.c:72 -msgid "SOCKET ID" -msgstr "ID SOCKET" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "url to play" -msgstr "url a reproduzir" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "URL" -msgstr "URL" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:138 -msgid "Leave fullscreen" -msgstr "Sair de ecrã completo" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:143 -msgid "Fullscreen" -msgstr "Ecrã completo" - -#. -#. * Copy url -#. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:455 -msgid "Copy url" -msgstr "Copiar url" - -#~ msgid "Enabled" -#~ msgstr "Activado" -#~ msgid "Plugin" -#~ msgstr "Plugin" -#~ msgid "gtk-close" -#~ msgstr "gtk-fechar" -#~ msgid "gtk-properties" -#~ msgstr "gtk-propriedades" -#~ msgid "Visite Website" -#~ msgstr "Visitar Sítio Web" +msgstr "\"Plug-in\" gestão de energia" diff -Nru parole-0.2.0.2/po/sk.po parole-0.2.0.6/po/sk.po --- parole-0.2.0.2/po/sk.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/sk.po 2011-04-17 11:53:19.000000000 +0000 @@ -1,17 +1,17 @@ # Slovak translations for parole-media-player package. # Copyright (C) 2009 the parole-media-player's copyright holder # This file is distributed under the same license as the parole-media-player package. -# Robert Hartl , 2009. +# Robert Hartl , 2009, 2010. msgid "" msgstr "" "Project-Id-Version: Parole 0.1.90svn.r07906\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-12-10 14:17+0100\n" -"PO-Revision-Date: 2009-12-13 23:58+0100\n" +"POT-Creation-Date: 2010-11-30 05:04+0000\n" +"PO-Revision-Date: 2010-02-18 00:48+0100\n" "Last-Translator: Robert Hartl \n" -"Language-Team: Slovak \n" +"Language-Team: Slovak \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/interfaces/parole.ui.h:1 @@ -39,95 +39,99 @@ msgstr "Ponuka kapitol" #: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 msgid "DVD Menu" msgstr "Ponuka DVD" -#: ../data/interfaces/parole.ui.h:8 +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "Z obrazu ISO" + +#: ../data/interfaces/parole.ui.h:10 msgid "Media player" msgstr "PrehrávaÄ médií" -#: ../data/interfaces/parole.ui.h:9 +#: ../data/interfaces/parole.ui.h:11 msgid "Mute" msgstr "StlmiÅ¥" -#: ../data/interfaces/parole.ui.h:10 -#: ../src/parole-player.c:1098 +#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1197 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "ÄŽalÅ¡ia kapitola" -#: ../data/interfaces/parole.ui.h:11 +#: ../data/interfaces/parole.ui.h:13 msgid "None" msgstr "Žiadny" -#: ../data/interfaces/parole.ui.h:12 -#: ../data/desktop/parole.desktop.in.in.h:1 -#: ../src/parole-about.c:70 -#: ../plugins/window-title/window-title-provider.c:58 +#: ../data/interfaces/parole.ui.h:14 ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Parole Media Player" -#: ../data/interfaces/parole.ui.h:13 +#: ../data/interfaces/parole.ui.h:15 msgid "Plugins" msgstr "Zasuvné moduly" -#: ../data/interfaces/parole.ui.h:14 -#: ../src/parole-player.c:1110 +#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1209 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "Predchádzajúca kapitola" -#: ../data/interfaces/parole.ui.h:15 +#: ../data/interfaces/parole.ui.h:17 msgid "Repeat" msgstr "OpakovaÅ¥" -#: ../data/interfaces/parole.ui.h:16 +#: ../data/interfaces/parole.ui.h:18 msgid "Select Track" msgstr "VybraÅ¥ skladbu" -#: ../data/interfaces/parole.ui.h:17 +#: ../data/interfaces/parole.ui.h:19 msgid "Shuffle" msgstr "ZamieÅ¡aÅ¥" -#: ../data/interfaces/parole.ui.h:18 +#: ../data/interfaces/parole.ui.h:20 msgid "Sound" msgstr "Z_vuk" -#: ../data/interfaces/parole.ui.h:19 +#: ../data/interfaces/parole.ui.h:21 msgid "Square" msgstr "Å tvorec" -#: ../data/interfaces/parole.ui.h:20 +#: ../data/interfaces/parole.ui.h:22 msgid "Volume Down" msgstr "StíšiÅ¥" -#: ../data/interfaces/parole.ui.h:21 +#: ../data/interfaces/parole.ui.h:23 msgid "Volume Up" msgstr "ZosilniÅ¥" -#: ../data/interfaces/parole.ui.h:22 +#: ../data/interfaces/parole.ui.h:24 msgid "_Edit" msgstr "_UpraviÅ¥" -#: ../data/interfaces/parole.ui.h:23 +#: ../data/interfaces/parole.ui.h:25 msgid "_Help" msgstr "_Pomocník" -#: ../data/interfaces/parole.ui.h:24 +#: ../data/interfaces/parole.ui.h:26 msgid "_Media" msgstr "_Médiá" -#: ../data/interfaces/parole.ui.h:25 +#: ../data/interfaces/parole.ui.h:27 msgid "_Open location" msgstr "OtvoriÅ¥ _umiestnenie" -#: ../data/interfaces/parole.ui.h:26 +#: ../data/interfaces/parole.ui.h:28 msgid "_View" msgstr "_ZobraziÅ¥" #: ../data/interfaces/mediachooser.ui.h:1 msgid "Replace playlist with opened files" -msgstr "" +msgstr "NahradiÅ¥ zoznam médií otváranými súbormi" #: ../data/interfaces/mediachooser.ui.h:2 msgid "Scan folders recursively" @@ -233,21 +237,21 @@ msgid "Select File Types (By Extension)" msgstr "Vyberte typy súborov (podľa prípony)" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "The stream is taking too much time to load" -msgstr "" +msgstr "NaÄítanie dátového toku trvá príliÅ¡ dlho" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "Stop" msgstr "ZastaviÅ¥" -#: ../gst/parole-gst.c:1683 +#: ../gst/parole-gst.c:1700 msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" -msgstr "" +msgstr "Nemožno zaviesÅ¥ zásuvný modul GStreameru playbin. Skontrolujte stav inÅ¡talácie" -#: ../gst/parole-gst.c:1703 +#: ../gst/parole-gst.c:1720 msgid "Unable to load video GStreamer plugin, check your GStreamer installation" -msgstr "" +msgstr "Nemožno naÄítaÅ¥ zásuvný modul videa GStreamer, skontrolujte svoju inÅ¡taláciu GStreamer" #: ../src/main.c:54 #, c-format @@ -270,71 +274,71 @@ "Licensed under the GNU GPL.\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " msgstr "Neznámy argument" -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "OtvoriÅ¥ novú inÅ¡tanciu" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" -msgstr "" +msgstr "NezavádzaÅ¥ zásuvné moduly" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" -msgstr "" +msgstr "NastaviÅ¥ cestu zariadenia Audio-CD/VCD/DVD" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" -msgstr "" +msgstr "PrehraÅ¥ alebo pozastaviÅ¥, ak sa už prehráva" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "ZastaviÅ¥ prehrávanie" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "ÄŽalÅ¡ia skladba" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "Predchádzajúca skladba" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" -msgstr "" +msgstr "Posunúť dopredu" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" -msgstr "" +msgstr "Posunúť späť" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "ZosilniÅ¥ hlasitosÅ¥" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "StíšiÅ¥ hlasitosÅ¥" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "StlmiÅ¥ hlasitosÅ¥" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "Informácia o verzií" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" msgstr "PovoliÅ¥/zakázaÅ¥ podporu XV" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Média na prehrávanie" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "Parole už beží, použite -i pre otvorenie novej inÅ¡tancie\n" @@ -359,8 +363,7 @@ msgid "Unknown playlist format, Please select a support playlist format" msgstr "Neznámy formát zoznamu skladieb. Vyberte prosím podporovaný formát" -#: ../src/parole-medialist.c:514 -#: ../src/parole-player.c:1852 +#: ../src/parole-medialist.c:514 ../src/parole-player.c:1973 msgid "Playlist" msgstr "Zoznam skladieb" @@ -374,7 +377,7 @@ #: ../src/parole-medialist.c:537 msgid "Advanced Stream Redirector" -msgstr "" +msgstr "PokroÄilé presmerovanie dátového toku" #: ../src/parole-medialist.c:545 msgid "Shareable Playlist" @@ -388,37 +391,43 @@ msgid "Media list" msgstr "Zoznam médií" -#: ../src/parole-player.c:318 +#: ../src/parole-player.c:333 msgid "Hide playlist" msgstr "SkryÅ¥ zoznam skladieb" -#: ../src/parole-player.c:327 +#: ../src/parole-player.c:342 msgid "Show playlist" msgstr "ZobraziÅ¥ zoznam skladieb" -#: ../src/parole-player.c:543 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:297 +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "OtvoriÅ¥ obraz ISO" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "Obraz CD" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "Obraz DVD" + +#: ../src/parole-player.c:641 msgid "Media stream is not seekable" -msgstr "" +msgstr "Dátový tok neumožňuje presúvanie" -#. #. * Next chapter menu item -#. -#: ../src/parole-player.c:1098 -#: ../src/parole-disc-menu.c:122 +#. +#: ../src/parole-player.c:1197 ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "ÄŽalÅ¡ia skladba" -#. #. * Previous chapter menu item -#. -#: ../src/parole-player.c:1110 -#: ../src/parole-disc-menu.c:123 +#. +#: ../src/parole-player.c:1209 ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "Predchádzajúca skladba" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:590 msgid "Buffering" msgstr "Ukladanie do vyrovnávacej pamäte" @@ -430,8 +439,7 @@ msgid "Finished" msgstr "UkonÄené" -#: ../src/parole-statusbar.c:114 -#: ../src/parole-statusbar.c:124 +#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 msgid "Paused" msgstr "Pozastavené" @@ -439,7 +447,7 @@ msgid "Playing" msgstr "Prehráva sa" -#: ../src/parole-statusbar.c:145 +#: ../src/parole-statusbar.c:170 ../src/parole-statusbar.c:174 msgid "Live stream:" msgstr "Live stream:" @@ -452,7 +460,7 @@ msgid "Translator (%s)" msgstr "Prekladateľ (%s)" -#: ../src/parole-disc.c:202 +#: ../src/parole-disc.c:227 msgid "Play Disc" msgstr "PrehraÅ¥ disk" @@ -460,10 +468,8 @@ msgid "Current Locale" msgstr "Aktuálna lokalita" -#: ../src/parole-subtitle-encoding.c:168 -#: ../src/parole-subtitle-encoding.c:170 -#: ../src/parole-subtitle-encoding.c:172 -#: ../src/parole-subtitle-encoding.c:174 +#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 msgid "Arabic" msgstr "Arabské" @@ -471,8 +477,7 @@ msgid "Armenian" msgstr "Arménske" -#: ../src/parole-subtitle-encoding.c:180 -#: ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 #: ../src/parole-subtitle-encoding.c:184 msgid "Baltic" msgstr "Baltické" @@ -481,22 +486,17 @@ msgid "Celtic" msgstr "Keltské" -#: ../src/parole-subtitle-encoding.c:190 -#: ../src/parole-subtitle-encoding.c:192 -#: ../src/parole-subtitle-encoding.c:194 -#: ../src/parole-subtitle-encoding.c:196 +#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 msgid "Central European" msgstr "Stredoeurópske" -#: ../src/parole-subtitle-encoding.c:199 -#: ../src/parole-subtitle-encoding.c:201 -#: ../src/parole-subtitle-encoding.c:203 -#: ../src/parole-subtitle-encoding.c:205 +#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 msgid "Chinese Simplified" msgstr "ZjednoduÅ¡ená ÄínÅ¡tina" -#: ../src/parole-subtitle-encoding.c:208 -#: ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 #: ../src/parole-subtitle-encoding.c:212 msgid "Chinese Traditional" msgstr "TradiÄná ÄínÅ¡tina" @@ -505,12 +505,9 @@ msgid "Croatian" msgstr "Chorvátske" -#: ../src/parole-subtitle-encoding.c:218 -#: ../src/parole-subtitle-encoding.c:220 -#: ../src/parole-subtitle-encoding.c:222 -#: ../src/parole-subtitle-encoding.c:224 -#: ../src/parole-subtitle-encoding.c:226 -#: ../src/parole-subtitle-encoding.c:228 +#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 msgid "Cyrillic" msgstr "Cyrilika" @@ -518,8 +515,7 @@ msgid "Cyrillic/Russian" msgstr "Cyrilika/Ruská" -#: ../src/parole-subtitle-encoding.c:234 -#: ../src/parole-subtitle-encoding.c:236 +#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 msgid "Cyrillic/Ukrainian" msgstr "Cyrilika/Ukrajinská" @@ -527,8 +523,7 @@ msgid "Georgian" msgstr "Gruzínske" -#: ../src/parole-subtitle-encoding.c:242 -#: ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 #: ../src/parole-subtitle-encoding.c:246 msgid "Greek" msgstr "Grécke" @@ -539,18 +534,16 @@ #: ../src/parole-subtitle-encoding.c:252 msgid "Gurmukhi" -msgstr "" +msgstr "Gurmukhi" -#: ../src/parole-subtitle-encoding.c:255 -#: ../src/parole-subtitle-encoding.c:257 -#: ../src/parole-subtitle-encoding.c:259 -#: ../src/parole-subtitle-encoding.c:261 +#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 msgid "Hebrew" msgstr "Hebrejské" #: ../src/parole-subtitle-encoding.c:264 msgid "Hebrew Visual" -msgstr "" +msgstr "Hebrejské vizálne" #: ../src/parole-subtitle-encoding.c:267 msgid "Hindi" @@ -560,29 +553,25 @@ msgid "Icelandic" msgstr "Islandské" -#: ../src/parole-subtitle-encoding.c:273 -#: ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 #: ../src/parole-subtitle-encoding.c:277 msgid "Japanese" msgstr "Japonské" -#: ../src/parole-subtitle-encoding.c:280 -#: ../src/parole-subtitle-encoding.c:282 -#: ../src/parole-subtitle-encoding.c:284 -#: ../src/parole-subtitle-encoding.c:286 +#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 msgid "Korean" msgstr "Kórejské" #: ../src/parole-subtitle-encoding.c:289 msgid "Nordic" -msgstr "" +msgstr "Severské" #: ../src/parole-subtitle-encoding.c:292 msgid "Persian" msgstr "Perské" -#: ../src/parole-subtitle-encoding.c:295 -#: ../src/parole-subtitle-encoding.c:297 +#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 msgid "Romanian" msgstr "Rumunské" @@ -594,31 +583,24 @@ msgid "Thai" msgstr "Thajské" -#: ../src/parole-subtitle-encoding.c:306 -#: ../src/parole-subtitle-encoding.c:308 -#: ../src/parole-subtitle-encoding.c:310 -#: ../src/parole-subtitle-encoding.c:312 +#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 msgid "Turkish" msgstr "Turecké" -#: ../src/parole-subtitle-encoding.c:315 -#: ../src/parole-subtitle-encoding.c:317 -#: ../src/parole-subtitle-encoding.c:319 -#: ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 #: ../src/parole-subtitle-encoding.c:323 msgid "Unicode" msgstr "Unicode" -#: ../src/parole-subtitle-encoding.c:326 -#: ../src/parole-subtitle-encoding.c:328 -#: ../src/parole-subtitle-encoding.c:330 -#: ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 #: ../src/parole-subtitle-encoding.c:334 msgid "Western" msgstr "Západné" -#: ../src/parole-subtitle-encoding.c:337 -#: ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 #: ../src/parole-subtitle-encoding.c:341 msgid "Vietnamese" msgstr "Vietnamske" @@ -644,8 +626,7 @@ msgid "Track %i" msgstr "Skladba %i" -#: ../src/parole-plugins-manager.c:297 -#: ../src/parole-plugins-manager.c:433 +#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 msgid "Visit Website" msgstr "NavÅ¡tíviÅ¥ webovú stránku" @@ -659,7 +640,7 @@ #: ../src/parole-plugins-manager.c:412 msgid "No installed plugins found on this system" -msgstr "" +msgstr "V systéme neboli nájdené žiadne zásuvné moduly" #: ../parole/parole-filters.c:64 msgid "Audio" @@ -703,11 +684,11 @@ #: ../plugins/properties/stream-properties-provider.c:392 msgid "Stream doesn't support tags changes" -msgstr "" +msgstr "Dátový prúd nepodporuje zmeny znaÄiek" #: ../plugins/properties/stream-properties-provider.c:399 msgid "Save media tags changes" -msgstr "" +msgstr "UložiÅ¥ zmeny znaÄiek média" #: ../plugins/properties/stream-properties-provider.c:524 msgid "Properties" @@ -715,7 +696,7 @@ #: ../plugins/properties/stream-properties.desktop.in.h:1 msgid "Read media properties" -msgstr "" +msgstr "ČítaÅ¥ vlastnosti média" #: ../plugins/properties/stream-properties.desktop.in.h:2 msgid "Stream Properties" @@ -767,7 +748,7 @@ #: ../plugins/window-title/window-title.desktop.in.h:1 msgid "Set the main window name to the current playing media name." -msgstr "" +msgstr "NastaviÅ¥ názov hlavného okna na názov prehrávaného média." #: ../plugins/window-title/window-title.desktop.in.h:2 msgid "Window Title" @@ -775,51 +756,41 @@ #: ../plugins/power-manager/power-manager.desktop.in.h:1 msgid "Inhibit Power Manager from suspending the machine while playing DVD." -msgstr "" +msgstr "PotlaÄiÅ¥ nastavenia úsporných režimov Správcu napájania pri prehrávaní DVD." #: ../plugins/power-manager/power-manager.desktop.in.h:2 msgid "Power Manager Plugin" -msgstr "" +msgstr "Zásuvný modul Správcu napájania" -#: ../browser-plugin/media-plugin/main.c:72 -msgid "socket" -msgstr "socket" +#~ msgid "socket" +#~ msgstr "socket" -#: ../browser-plugin/media-plugin/main.c:72 -msgid "SOCKET ID" -msgstr "" +#~ msgid "SOCKET ID" +#~ msgstr "SOCKET ID" -#: ../browser-plugin/media-plugin/main.c:73 -#, fuzzy -msgid "url to play" -msgstr "Média na prehrávanie" +#~ msgid "url to play" +#~ msgstr "Umiestnenie URL na prehrávanie" + +#~ msgid "URL" +#~ msgstr "Adresa URL" + +#~ msgid "Leave fullscreen" +#~ msgstr "OpustiÅ¥ režim celej obrazovky" + +#~ msgid "Fullscreen" +#~ msgstr "Celá obrazovka" -#: ../browser-plugin/media-plugin/main.c:73 -msgid "URL" -msgstr "Adresa URL" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:138 -msgid "Leave fullscreen" -msgstr "OpustiÅ¥ režim celej obrazovky" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:143 -msgid "Fullscreen" -msgstr "Celá obrazovka" - -#. -#. * Copy url -#. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:452 -msgid "Copy url" -msgstr "KopírovaÅ¥ url" +#~ msgid "Copy url" +#~ msgstr "KopírovaÅ¥ url" -#, fuzzy #~ msgid "Plugin" #~ msgstr "Zasuvné moduly" + #~ msgid "gtk-close" #~ msgstr "gtk-close" + #~ msgid "gtk-properties" #~ msgstr "gtk-properties" + #~ msgid "Comment:" #~ msgstr "Komentár:" - diff -Nru parole-0.2.0.2/po/sv.po parole-0.2.0.6/po/sv.po --- parole-0.2.0.2/po/sv.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/sv.po 2011-04-17 11:53:19.000000000 +0000 @@ -2,12 +2,12 @@ # Copyright (C) 2009 Free Software Foundation, Inc. # This file is distributed under the same license as the parole package. # Daniel Nylander , 2009. -# +# msgid "" msgstr "" "Project-Id-Version: parole\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-12-10 14:17+0100\n" +"POT-Creation-Date: 2010-12-18 17:04+0000\n" "PO-Revision-Date: 2009-12-16 14:03+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" @@ -41,89 +41,94 @@ msgstr "Kapitelmeny" #: ../data/interfaces/parole.ui.h:7 +#, fuzzy +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 msgid "DVD Menu" msgstr "DVD-meny" -#: ../data/interfaces/parole.ui.h:8 +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "FrÃ¥n ISO-avbildning" + +#: ../data/interfaces/parole.ui.h:10 msgid "Media player" msgstr "Mediaspelare" -#: ../data/interfaces/parole.ui.h:9 +#: ../data/interfaces/parole.ui.h:11 msgid "Mute" msgstr "Tyst" -#: ../data/interfaces/parole.ui.h:10 -#: ../src/parole-player.c:1098 +#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1197 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "Nästa kapitel" -#: ../data/interfaces/parole.ui.h:11 +#: ../data/interfaces/parole.ui.h:13 msgid "None" msgstr "Inget" -#: ../data/interfaces/parole.ui.h:12 -#: ../data/desktop/parole.desktop.in.in.h:1 -#: ../src/parole-about.c:70 -#: ../plugins/window-title/window-title-provider.c:58 +#: ../data/interfaces/parole.ui.h:14 ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Mediaspelaren Parole" -#: ../data/interfaces/parole.ui.h:13 +#: ../data/interfaces/parole.ui.h:15 msgid "Plugins" msgstr "Insticksmoduler" -#: ../data/interfaces/parole.ui.h:14 -#: ../src/parole-player.c:1110 +#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1209 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "FöregÃ¥ende kapitel" -#: ../data/interfaces/parole.ui.h:15 +#: ../data/interfaces/parole.ui.h:17 msgid "Repeat" msgstr "Upprepa" -#: ../data/interfaces/parole.ui.h:16 +#: ../data/interfaces/parole.ui.h:18 msgid "Select Track" msgstr "Välj spÃ¥r" -#: ../data/interfaces/parole.ui.h:17 +#: ../data/interfaces/parole.ui.h:19 msgid "Shuffle" msgstr "Blanda" -#: ../data/interfaces/parole.ui.h:18 +#: ../data/interfaces/parole.ui.h:20 msgid "Sound" msgstr "Ljud" -#: ../data/interfaces/parole.ui.h:19 +#: ../data/interfaces/parole.ui.h:21 msgid "Square" msgstr "" -#: ../data/interfaces/parole.ui.h:20 +#: ../data/interfaces/parole.ui.h:22 msgid "Volume Down" msgstr "Sänk volymen" -#: ../data/interfaces/parole.ui.h:21 +#: ../data/interfaces/parole.ui.h:23 msgid "Volume Up" msgstr "Höj volymen" -#: ../data/interfaces/parole.ui.h:22 +#: ../data/interfaces/parole.ui.h:24 msgid "_Edit" msgstr "R_edigera" -#: ../data/interfaces/parole.ui.h:23 +#: ../data/interfaces/parole.ui.h:25 msgid "_Help" msgstr "_Hjälp" -#: ../data/interfaces/parole.ui.h:24 +#: ../data/interfaces/parole.ui.h:26 msgid "_Media" msgstr "_Media" -#: ../data/interfaces/parole.ui.h:25 +#: ../data/interfaces/parole.ui.h:27 msgid "_Open location" msgstr "_Öppna plats" -#: ../data/interfaces/parole.ui.h:26 +#: ../data/interfaces/parole.ui.h:28 msgid "_View" msgstr "_Visa" @@ -235,19 +240,19 @@ msgid "Select File Types (By Extension)" msgstr "" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "The stream is taking too much time to load" msgstr "" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "Stop" msgstr "Stoppa" -#: ../gst/parole-gst.c:1683 +#: ../gst/parole-gst.c:1700 msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" msgstr "" -#: ../gst/parole-gst.c:1703 +#: ../gst/parole-gst.c:1720 msgid "Unable to load video GStreamer plugin, check your GStreamer installation" msgstr "" @@ -263,72 +268,80 @@ "Licensed under the GNU GPL.\n" "\n" msgstr "" +"\n" +"Mediaspelaren Parole %s\n" +"\n" +"Del av projektet Xfce Goodies\n" +"http://goodies.xfce.org\n" +"\n" +"Licensierad under GNU GPL.\n" +"\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " msgstr "Okänt argument " -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "Öppna en ny instans" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" msgstr "" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" msgstr "" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" msgstr "Spela upp eller pausa om den spelas upp" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "Stoppa uppspelning" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "Nästa spÃ¥r" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "FöregÃ¥ende spÃ¥r" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" msgstr "Spola framÃ¥t" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" msgstr "Spola bakÃ¥t" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "Höj volymen" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "Sänk volymen" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "Tyst" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "Versionsinformation" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" msgstr "Aktivera/inaktivera XV-stöd" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Media att spela upp" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "" @@ -353,8 +366,7 @@ msgid "Unknown playlist format, Please select a support playlist format" msgstr "" -#: ../src/parole-medialist.c:514 -#: ../src/parole-player.c:1852 +#: ../src/parole-medialist.c:514 ../src/parole-player.c:1973 msgid "Playlist" msgstr "Spellista" @@ -382,37 +394,43 @@ msgid "Media list" msgstr "Medialista" -#: ../src/parole-player.c:318 +#: ../src/parole-player.c:333 msgid "Hide playlist" msgstr "Dölj spellista" -#: ../src/parole-player.c:327 +#: ../src/parole-player.c:342 msgid "Show playlist" msgstr "Visa spellista" -#: ../src/parole-player.c:543 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:297 +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "Öppna ISO-avbildning" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "CD-avbildning" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "DVD-avbildning" + +#: ../src/parole-player.c:641 msgid "Media stream is not seekable" msgstr "" -#. #. * Next chapter menu item -#. -#: ../src/parole-player.c:1098 -#: ../src/parole-disc-menu.c:122 +#. +#: ../src/parole-player.c:1197 ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "Nästa spÃ¥r" -#. #. * Previous chapter menu item -#. -#: ../src/parole-player.c:1110 -#: ../src/parole-disc-menu.c:123 +#. +#: ../src/parole-player.c:1209 ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "FöregÃ¥ende spÃ¥r" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:590 msgid "Buffering" msgstr "Buffrar" @@ -424,8 +442,7 @@ msgid "Finished" msgstr "Färdig" -#: ../src/parole-statusbar.c:114 -#: ../src/parole-statusbar.c:124 +#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 msgid "Paused" msgstr "Pausad" @@ -433,20 +450,20 @@ msgid "Playing" msgstr "Spelar upp" -#: ../src/parole-statusbar.c:145 +#: ../src/parole-statusbar.c:170 ../src/parole-statusbar.c:174 msgid "Live stream:" -msgstr "" +msgstr "Live-ström:" #: ../src/parole-about.c:75 msgid "Author/Maintainer" -msgstr "" +msgstr "Upphovsman/Ansvarig" #: ../src/parole-about.c:81 #, c-format msgid "Translator (%s)" msgstr "Översättare (%s)" -#: ../src/parole-disc.c:202 +#: ../src/parole-disc.c:227 msgid "Play Disc" msgstr "Spela upp skiva" @@ -454,10 +471,8 @@ msgid "Current Locale" msgstr "Aktuell lokal" -#: ../src/parole-subtitle-encoding.c:168 -#: ../src/parole-subtitle-encoding.c:170 -#: ../src/parole-subtitle-encoding.c:172 -#: ../src/parole-subtitle-encoding.c:174 +#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 msgid "Arabic" msgstr "Arabiska" @@ -465,8 +480,7 @@ msgid "Armenian" msgstr "Armeniska" -#: ../src/parole-subtitle-encoding.c:180 -#: ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 #: ../src/parole-subtitle-encoding.c:184 msgid "Baltic" msgstr "Baltisk" @@ -475,22 +489,17 @@ msgid "Celtic" msgstr "Keltisk" -#: ../src/parole-subtitle-encoding.c:190 -#: ../src/parole-subtitle-encoding.c:192 -#: ../src/parole-subtitle-encoding.c:194 -#: ../src/parole-subtitle-encoding.c:196 +#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 msgid "Central European" msgstr "Central europeisk" -#: ../src/parole-subtitle-encoding.c:199 -#: ../src/parole-subtitle-encoding.c:201 -#: ../src/parole-subtitle-encoding.c:203 -#: ../src/parole-subtitle-encoding.c:205 +#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 msgid "Chinese Simplified" msgstr "Förenklad kinesiska" -#: ../src/parole-subtitle-encoding.c:208 -#: ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 #: ../src/parole-subtitle-encoding.c:212 msgid "Chinese Traditional" msgstr "Traditionell kinesiska" @@ -499,12 +508,9 @@ msgid "Croatian" msgstr "Kroatiska" -#: ../src/parole-subtitle-encoding.c:218 -#: ../src/parole-subtitle-encoding.c:220 -#: ../src/parole-subtitle-encoding.c:222 -#: ../src/parole-subtitle-encoding.c:224 -#: ../src/parole-subtitle-encoding.c:226 -#: ../src/parole-subtitle-encoding.c:228 +#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 msgid "Cyrillic" msgstr "Kyrillisk" @@ -512,8 +518,7 @@ msgid "Cyrillic/Russian" msgstr "Kyrillisk/Ryska" -#: ../src/parole-subtitle-encoding.c:234 -#: ../src/parole-subtitle-encoding.c:236 +#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 msgid "Cyrillic/Ukrainian" msgstr "Kyrillisk/Ukrainiska" @@ -521,8 +526,7 @@ msgid "Georgian" msgstr "Georgiska" -#: ../src/parole-subtitle-encoding.c:242 -#: ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 #: ../src/parole-subtitle-encoding.c:246 msgid "Greek" msgstr "Grekiska" @@ -535,10 +539,8 @@ msgid "Gurmukhi" msgstr "Gurmukhi" -#: ../src/parole-subtitle-encoding.c:255 -#: ../src/parole-subtitle-encoding.c:257 -#: ../src/parole-subtitle-encoding.c:259 -#: ../src/parole-subtitle-encoding.c:261 +#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 msgid "Hebrew" msgstr "Hebreiska" @@ -554,16 +556,13 @@ msgid "Icelandic" msgstr "Isländska" -#: ../src/parole-subtitle-encoding.c:273 -#: ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 #: ../src/parole-subtitle-encoding.c:277 msgid "Japanese" msgstr "Japanska" -#: ../src/parole-subtitle-encoding.c:280 -#: ../src/parole-subtitle-encoding.c:282 -#: ../src/parole-subtitle-encoding.c:284 -#: ../src/parole-subtitle-encoding.c:286 +#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 msgid "Korean" msgstr "Koreanska" @@ -575,8 +574,7 @@ msgid "Persian" msgstr "Persiska" -#: ../src/parole-subtitle-encoding.c:295 -#: ../src/parole-subtitle-encoding.c:297 +#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 msgid "Romanian" msgstr "Rumänska" @@ -588,31 +586,24 @@ msgid "Thai" msgstr "Thai" -#: ../src/parole-subtitle-encoding.c:306 -#: ../src/parole-subtitle-encoding.c:308 -#: ../src/parole-subtitle-encoding.c:310 -#: ../src/parole-subtitle-encoding.c:312 +#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 msgid "Turkish" msgstr "Turkiska" -#: ../src/parole-subtitle-encoding.c:315 -#: ../src/parole-subtitle-encoding.c:317 -#: ../src/parole-subtitle-encoding.c:319 -#: ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 #: ../src/parole-subtitle-encoding.c:323 msgid "Unicode" msgstr "Unicode" -#: ../src/parole-subtitle-encoding.c:326 -#: ../src/parole-subtitle-encoding.c:328 -#: ../src/parole-subtitle-encoding.c:330 -#: ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 #: ../src/parole-subtitle-encoding.c:334 msgid "Western" msgstr "Västlig" -#: ../src/parole-subtitle-encoding.c:337 -#: ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 #: ../src/parole-subtitle-encoding.c:341 msgid "Vietnamese" msgstr "Vietnamesiska" @@ -638,8 +629,7 @@ msgid "Track %i" msgstr "SpÃ¥r %i" -#: ../src/parole-plugins-manager.c:297 -#: ../src/parole-plugins-manager.c:433 +#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 msgid "Visit Website" msgstr "Besök webbplats" @@ -673,7 +663,7 @@ #: ../parole/parole-filters.c:171 msgid "Playlist files" -msgstr "" +msgstr "Spellistefiler" #: ../plugins/properties/stream-properties-provider.c:254 msgid "Title:" @@ -713,11 +703,11 @@ #: ../plugins/properties/stream-properties.desktop.in.h:2 msgid "Stream Properties" -msgstr "" +msgstr "Strömegenskaper" #: ../plugins/tray/tray-provider.c:262 msgid "Playing:" -msgstr "" +msgstr "Spelar upp:" #: ../plugins/tray/tray-provider.c:262 msgid "Duration:" @@ -729,7 +719,7 @@ #: ../plugins/tray/tray-provider.c:430 msgid "Enable notification" -msgstr "" +msgstr "Aktivera notifieringar" #: ../plugins/tray/tray-provider.c:439 msgid "Always minimize to tray when window is closed" @@ -745,11 +735,11 @@ #: ../plugins/tray/tray-provider.c:500 msgid "Are you sure you want to quit Parole" -msgstr "" +msgstr "Är du säker pÃ¥ att du vill avsluta Parole?" #: ../plugins/tray/tray-provider.c:504 msgid "Remember my choice" -msgstr "" +msgstr "Kom ihÃ¥g mitt val" #: ../plugins/tray/system-tray.desktop.in.h:1 msgid "Show icon in the system tray" @@ -765,7 +755,7 @@ #: ../plugins/window-title/window-title.desktop.in.h:2 msgid "Window Title" -msgstr "" +msgstr "Fönstertitel" #: ../plugins/power-manager/power-manager.desktop.in.h:1 msgid "Inhibit Power Manager from suspending the machine while playing DVD." @@ -775,34 +765,17 @@ msgid "Power Manager Plugin" msgstr "" -#: ../browser-plugin/media-plugin/main.c:72 -msgid "socket" -msgstr "" - -#: ../browser-plugin/media-plugin/main.c:72 -msgid "SOCKET ID" -msgstr "" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "url to play" -msgstr "url att spela upp" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "URL" -msgstr "URL" +#~ msgid "url to play" +#~ msgstr "url att spela upp" -#: ../browser-plugin/media-plugin/parole-plugin-player.c:138 -msgid "Leave fullscreen" -msgstr "Lämna helskärmsläget" +#~ msgid "URL" +#~ msgstr "URL" -#: ../browser-plugin/media-plugin/parole-plugin-player.c:143 -msgid "Fullscreen" -msgstr "Helskärm" +#~ msgid "Leave fullscreen" +#~ msgstr "Lämna helskärmsläget" -#. -#. * Copy url -#. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:452 -msgid "Copy url" -msgstr "Kopiera url" +#~ msgid "Fullscreen" +#~ msgstr "Helskärm" +#~ msgid "Copy url" +#~ msgstr "Kopiera url" diff -Nru parole-0.2.0.2/po/tr.po parole-0.2.0.6/po/tr.po --- parole-0.2.0.2/po/tr.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/tr.po 2011-04-17 11:53:19.000000000 +0000 @@ -1,10 +1,12 @@ +# Samed Beyribey +# Osman Karagöz msgid "" msgstr "" "Project-Id-Version: Parole Media Player Turkish Translation\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-12-10 14:17+0100\n" +"POT-Creation-Date: 2010-05-03 16:03+0000\n" "PO-Revision-Date: \n" -"Last-Translator: Samed Beyribey \n" +"Last-Translator: Murat PINAR \n" "Language-Team: Xfce-TR \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -35,100 +37,111 @@ msgstr "Bölüm Menüsü" #: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 msgid "DVD Menu" msgstr "DVD Menüsü" -#: ../data/interfaces/parole.ui.h:8 +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "Disk kalıbından" + +#: ../data/interfaces/parole.ui.h:10 msgid "Media player" msgstr "Ortam oynatıcı" -#: ../data/interfaces/parole.ui.h:9 +#: ../data/interfaces/parole.ui.h:11 msgid "Mute" msgstr "Sessiz" -#: ../data/interfaces/parole.ui.h:10 ../src/parole-player.c:1098 +#: ../data/interfaces/parole.ui.h:12 +#: ../src/parole-player.c:1197 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "Sonraki Bölüm" -#: ../data/interfaces/parole.ui.h:11 +#: ../data/interfaces/parole.ui.h:13 msgid "None" msgstr "Hiç" -#: ../data/interfaces/parole.ui.h:12 ../data/desktop/parole.desktop.in.in.h:1 -#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 +#: ../data/interfaces/parole.ui.h:14 +#: ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 +#: ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Parole Ortam Oynatıcısı" -#: ../data/interfaces/parole.ui.h:13 +#: ../data/interfaces/parole.ui.h:15 msgid "Plugins" msgstr "Eklentiler" -#: ../data/interfaces/parole.ui.h:14 ../src/parole-player.c:1110 +#: ../data/interfaces/parole.ui.h:16 +#: ../src/parole-player.c:1209 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "Önceki Bölüm" -#: ../data/interfaces/parole.ui.h:15 +#: ../data/interfaces/parole.ui.h:17 msgid "Repeat" msgstr "Tekrarla" -#: ../data/interfaces/parole.ui.h:16 +#: ../data/interfaces/parole.ui.h:18 msgid "Select Track" msgstr "Parça Seçin" -#: ../data/interfaces/parole.ui.h:17 +#: ../data/interfaces/parole.ui.h:19 msgid "Shuffle" msgstr "Rastgele" -#: ../data/interfaces/parole.ui.h:18 +#: ../data/interfaces/parole.ui.h:20 msgid "Sound" msgstr "Ses" -#: ../data/interfaces/parole.ui.h:19 +#: ../data/interfaces/parole.ui.h:21 msgid "Square" msgstr "Kare" -#: ../data/interfaces/parole.ui.h:20 +#: ../data/interfaces/parole.ui.h:22 msgid "Volume Down" msgstr "Sesi Azalt" -#: ../data/interfaces/parole.ui.h:21 +#: ../data/interfaces/parole.ui.h:23 msgid "Volume Up" msgstr "Sesi Artır" -#: ../data/interfaces/parole.ui.h:22 +#: ../data/interfaces/parole.ui.h:24 msgid "_Edit" msgstr "_Düzen" -#: ../data/interfaces/parole.ui.h:23 +#: ../data/interfaces/parole.ui.h:25 msgid "_Help" msgstr "_Yardım" -#: ../data/interfaces/parole.ui.h:24 +#: ../data/interfaces/parole.ui.h:26 msgid "_Media" msgstr "_Ortam" -#: ../data/interfaces/parole.ui.h:25 -#, fuzzy +#: ../data/interfaces/parole.ui.h:27 msgid "_Open location" -msgstr "Konum aç..." +msgstr "_Konum aç" -#: ../data/interfaces/parole.ui.h:26 +#: ../data/interfaces/parole.ui.h:28 msgid "_View" msgstr "_Görünüm" #: ../data/interfaces/mediachooser.ui.h:1 msgid "Replace playlist with opened files" -msgstr "" +msgstr "Oynatma listesini açılan dosyalarla deÄŸiÅŸtir" #: ../data/interfaces/mediachooser.ui.h:2 msgid "Scan folders recursively" -msgstr "" +msgstr "Dizin içlerini de tara" #: ../data/interfaces/mediachooser.ui.h:3 msgid "Start playing opened files" -msgstr "" +msgstr "Açılan dosyaları oynatmaya baÅŸla" #: ../data/interfaces/plugins.ui.h:1 msgid "Author:" @@ -143,14 +156,12 @@ msgstr "Site:" #: ../data/interfaces/plugins.ui.h:4 -#, fuzzy msgid "Media Player plugins" -msgstr "Ortam Oynatıcı Ayarları" +msgstr "Ortam Oynatıcı eklentileri" #: ../data/interfaces/plugins.ui.h:5 -#, fuzzy msgid "Parole Plugins" -msgstr "Parole Eklenti Seçenekleri" +msgstr "Parole Eklentileri" #: ../data/interfaces/parole-settings.ui.h:1 msgid "Audio" @@ -165,9 +176,8 @@ msgstr "Altyazılar" #: ../data/interfaces/parole-settings.ui.h:4 -#, fuzzy msgid "Video" -msgstr "Site:" +msgstr "Video" #: ../data/interfaces/parole-settings.ui.h:5 msgid "Automatically load subtitles when playing movie file" @@ -183,7 +193,7 @@ #: ../data/interfaces/parole-settings.ui.h:8 msgid "Disable screen saver while playing movies" -msgstr "" +msgstr "Video oynatılırken ekran koruyucuyu devre dışı bırak" #: ../data/interfaces/parole-settings.ui.h:9 msgid "Enable visualization when playing audio file" @@ -229,26 +239,21 @@ msgid "Select File Types (By Extension)" msgstr "Dosya Türlerini Seç (Uzantıya Göre)" -#: ../gst/parole-gst.c:1494 -#, fuzzy +#: ../gst/parole-gst.c:1511 msgid "The stream is taking too much time to load" msgstr "Yayının yüklenmesi çok fazla zaman alıyor" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1511 msgid "Stop" msgstr "Durdur" -#: ../gst/parole-gst.c:1683 -msgid "" -"Unable to load playbin GStreamer plugin, check your GStreamer installation" -msgstr "" -"GStreamer oynatıcı eklentisi yüklenemedi, GStreamer ayarlarınızı kontrol edin" - -#: ../gst/parole-gst.c:1703 -msgid "" -"Unable to load video GStreamer plugin, check your GStreamer installation" -msgstr "" -"GStreamer video eklentisi yüklenemedi, GStreamer ayarlarınızı kontrol edin" +#: ../gst/parole-gst.c:1700 +msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgstr "GStreamer oynatıcı eklentisi yüklenemedi, GStreamer ayarlarınızı kontrol edin" + +#: ../gst/parole-gst.c:1720 +msgid "Unable to load video GStreamer plugin, check your GStreamer installation" +msgstr "GStreamer video eklentisi yüklenemedi, GStreamer ayarlarınızı kontrol edin" #: ../src/main.c:54 #, c-format @@ -271,74 +276,71 @@ "GNU GPL ile korunmaktadır.\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " -msgstr "" +msgstr "Bilinmeyen deÄŸiÅŸken" -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "Yeni aç" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" -msgstr "" +msgstr "Eklentileri çağırma" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" -msgstr "" +msgstr "Audio-CD/VCD/DVD aygıt adresini girin" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" -msgstr "" +msgstr "Oynat veya duraklat" -#: ../src/main.c:216 -#, fuzzy +#: ../src/main.c:228 msgid "Stop playing" -msgstr "Oynatma listesini göster" +msgstr "Durdur" -#: ../src/main.c:217 -#, fuzzy +#: ../src/main.c:229 msgid "Next track" msgstr "Sonraki Parça" -#: ../src/main.c:218 -#, fuzzy +#: ../src/main.c:230 msgid "Previous track" msgstr "Önceki Parça" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" -msgstr "" +msgstr "Ä°leri sar" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" -msgstr "" +msgstr "Geri sar" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" -msgstr "" +msgstr "Ses artır" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" -msgstr "" +msgstr "Ses azalt" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" -msgstr "" +msgstr "Sesi kapat" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "Sürüm bilgisi" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" -msgstr "" +msgstr "XV desteÄŸini aç/kapat" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Oynatılacak ortam" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "Parole zaten çalışıyor, -i kullanarak yeni bir tane açabilirsiniz\n" @@ -361,11 +363,10 @@ #: ../src/parole-medialist.c:446 msgid "Unknown playlist format, Please select a support playlist format" -msgstr "" -"Bilinmeyen oynatma listesi biçimi, lütfen desteklenen bir oynatma listesi " -"biçimi seçin" +msgstr "Bilinmeyen oynatma listesi biçimi, lütfen desteklenen bir oynatma listesi biçimi seçin" -#: ../src/parole-medialist.c:514 ../src/parole-player.c:1852 +#: ../src/parole-medialist.c:514 +#: ../src/parole-player.c:1973 msgid "Playlist" msgstr "Oynatma listesi" @@ -393,35 +394,47 @@ msgid "Media list" msgstr "Ortam listesi" -#: ../src/parole-player.c:318 +#: ../src/parole-player.c:333 msgid "Hide playlist" msgstr "Oynatma listesini gizle" -#: ../src/parole-player.c:327 +#: ../src/parole-player.c:342 msgid "Show playlist" msgstr "Oynatma listesini göster" -#: ../src/parole-player.c:543 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:297 +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "Disk kalıbını aç" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "CD kalıbı" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "DVD kalıbı" + +#: ../src/parole-player.c:641 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:300 msgid "Media stream is not seekable" msgstr "Ortam yayını araÅŸtırılabilir deÄŸil" -#. #. * Next chapter menu item #. -#: ../src/parole-player.c:1098 ../src/parole-disc-menu.c:122 +#: ../src/parole-player.c:1197 +#: ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "Sonraki Parça" -#. #. * Previous chapter menu item #. -#: ../src/parole-player.c:1110 ../src/parole-disc-menu.c:123 +#: ../src/parole-player.c:1209 +#: ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "Önceki Parça" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:590 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:593 msgid "Buffering" msgstr "ÖnbelleÄŸe alınıyor" @@ -433,16 +446,17 @@ msgid "Finished" msgstr "Sona erdi" -#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 +#: ../src/parole-statusbar.c:114 +#: ../src/parole-statusbar.c:124 msgid "Paused" msgstr "DurdurulmuÅŸ" #: ../src/parole-statusbar.c:114 -#, fuzzy msgid "Playing" -msgstr "Oynatılan Parça" +msgstr "Oynatılıyor" -#: ../src/parole-statusbar.c:145 +#: ../src/parole-statusbar.c:170 +#: ../src/parole-statusbar.c:174 msgid "Live stream:" msgstr "Canlı yayın:" @@ -455,7 +469,7 @@ msgid "Translator (%s)" msgstr "Çevirmen (%s)" -#: ../src/parole-disc.c:202 +#: ../src/parole-disc.c:227 msgid "Play Disc" msgstr "Disk Oynat" @@ -463,8 +477,10 @@ msgid "Current Locale" msgstr "Mevcut Yerel" -#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 -#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 +#: ../src/parole-subtitle-encoding.c:168 +#: ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 +#: ../src/parole-subtitle-encoding.c:174 msgid "Arabic" msgstr "Arapça" @@ -472,7 +488,8 @@ msgid "Armenian" msgstr "Ermenice" -#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:180 +#: ../src/parole-subtitle-encoding.c:182 #: ../src/parole-subtitle-encoding.c:184 msgid "Baltic" msgstr "Baltık" @@ -481,17 +498,22 @@ msgid "Celtic" msgstr "Keltik" -#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 -#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 +#: ../src/parole-subtitle-encoding.c:190 +#: ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 +#: ../src/parole-subtitle-encoding.c:196 msgid "Central European" msgstr "Orta Avrupa" -#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 -#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 +#: ../src/parole-subtitle-encoding.c:199 +#: ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 +#: ../src/parole-subtitle-encoding.c:205 msgid "Chinese Simplified" msgstr "BasitleÅŸtirilmiÅŸ Çince" -#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:208 +#: ../src/parole-subtitle-encoding.c:210 #: ../src/parole-subtitle-encoding.c:212 msgid "Chinese Traditional" msgstr "Geleneksel Çince" @@ -500,9 +522,12 @@ msgid "Croatian" msgstr "Hırvatça" -#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 -#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 -#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 +#: ../src/parole-subtitle-encoding.c:218 +#: ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 +#: ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 +#: ../src/parole-subtitle-encoding.c:228 msgid "Cyrillic" msgstr "Kiril" @@ -510,7 +535,8 @@ msgid "Cyrillic/Russian" msgstr "Kiril/Rus" -#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 +#: ../src/parole-subtitle-encoding.c:234 +#: ../src/parole-subtitle-encoding.c:236 msgid "Cyrillic/Ukrainian" msgstr "Kiril/Ukrayna" @@ -518,7 +544,8 @@ msgid "Georgian" msgstr "Gürcüce" -#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:242 +#: ../src/parole-subtitle-encoding.c:244 #: ../src/parole-subtitle-encoding.c:246 msgid "Greek" msgstr "Yunanca" @@ -531,8 +558,10 @@ msgid "Gurmukhi" msgstr "Gurmukhi" -#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 -#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 +#: ../src/parole-subtitle-encoding.c:255 +#: ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 +#: ../src/parole-subtitle-encoding.c:261 msgid "Hebrew" msgstr "Ä°branice" @@ -548,13 +577,16 @@ msgid "Icelandic" msgstr "Ä°zlandaca" -#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:273 +#: ../src/parole-subtitle-encoding.c:275 #: ../src/parole-subtitle-encoding.c:277 msgid "Japanese" msgstr "Japonca" -#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 -#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 +#: ../src/parole-subtitle-encoding.c:280 +#: ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 +#: ../src/parole-subtitle-encoding.c:286 msgid "Korean" msgstr "Korece" @@ -566,7 +598,8 @@ msgid "Persian" msgstr "Farsça" -#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 +#: ../src/parole-subtitle-encoding.c:295 +#: ../src/parole-subtitle-encoding.c:297 msgid "Romanian" msgstr "Rumence" @@ -578,24 +611,31 @@ msgid "Thai" msgstr "Tayland Dili" -#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 -#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 +#: ../src/parole-subtitle-encoding.c:306 +#: ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 +#: ../src/parole-subtitle-encoding.c:312 msgid "Turkish" msgstr "Türkçe" -#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 -#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:315 +#: ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 +#: ../src/parole-subtitle-encoding.c:321 #: ../src/parole-subtitle-encoding.c:323 msgid "Unicode" msgstr "Evrensel" -#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 -#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:326 +#: ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 +#: ../src/parole-subtitle-encoding.c:332 #: ../src/parole-subtitle-encoding.c:334 msgid "Western" msgstr "Batı" -#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:337 +#: ../src/parole-subtitle-encoding.c:339 #: ../src/parole-subtitle-encoding.c:341 msgid "Vietnamese" msgstr "Vietnamca" @@ -621,7 +661,8 @@ msgid "Track %i" msgstr "Parça %i" -#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 +#: ../src/parole-plugins-manager.c:297 +#: ../src/parole-plugins-manager.c:433 msgid "Visit Website" msgstr "Web Sitesini Aç" @@ -635,7 +676,7 @@ #: ../src/parole-plugins-manager.c:412 msgid "No installed plugins found on this system" -msgstr "" +msgstr "Sistemde kurulu eklenti bulunamadı" #: ../parole/parole-filters.c:64 msgid "Audio" @@ -694,9 +735,8 @@ msgstr "Ortam seçeneklerini oku" #: ../plugins/properties/stream-properties.desktop.in.h:2 -#, fuzzy msgid "Stream Properties" -msgstr "Seçenekler" +msgstr "Yayın seçenekleri" #: ../plugins/tray/tray-provider.c:262 msgid "Playing:" @@ -716,24 +756,23 @@ #: ../plugins/tray/tray-provider.c:439 msgid "Always minimize to tray when window is closed" -msgstr "" +msgstr "Pencere kapatıldığında sistem çekmecesine küçül" #: ../plugins/tray/tray-provider.c:478 msgid "Minimize to tray?" -msgstr "" +msgstr "Sistem çekmecesine küçül" #: ../plugins/tray/tray-provider.c:484 msgid "Minimize to tray" -msgstr "" +msgstr "Sistem çekmecesine küçül" #: ../plugins/tray/tray-provider.c:500 msgid "Are you sure you want to quit Parole" -msgstr "" +msgstr "Parole'den çıkmak istiyor musunuz?" #: ../plugins/tray/tray-provider.c:504 -#, fuzzy msgid "Remember my choice" -msgstr "Oynatma listesini hatırla" +msgstr "Seçimi hatırla" #: ../plugins/tray/system-tray.desktop.in.h:1 msgid "Show icon in the system tray" @@ -744,58 +783,51 @@ msgstr "Sistem çekmecesi simgesi" #: ../plugins/window-title/window-title.desktop.in.h:1 -#, fuzzy msgid "Set the main window name to the current playing media name." -msgstr "" -"Ana pencerenin ismini mevcut oynatılan\n" -" dosyanın adı ile deÄŸiÅŸtir. " +msgstr "Ana pencerenin ismini mevcut oynatılan dosyanın adı ile deÄŸiÅŸtir. " #: ../plugins/window-title/window-title.desktop.in.h:2 -#, fuzzy msgid "Window Title" msgstr "Pencere baÅŸlığı" #: ../plugins/power-manager/power-manager.desktop.in.h:1 msgid "Inhibit Power Manager from suspending the machine while playing DVD." -msgstr "" +msgstr "DVD oynatılırken Güç Yöneticisinin sistemi beklemeye(askıya) almasını önle" #: ../plugins/power-manager/power-manager.desktop.in.h:2 msgid "Power Manager Plugin" -msgstr "" +msgstr "Güç Yöneticisi Eklentisi" #: ../browser-plugin/media-plugin/main.c:72 msgid "socket" -msgstr "" +msgstr "soket" #: ../browser-plugin/media-plugin/main.c:72 msgid "SOCKET ID" -msgstr "" +msgstr "Soket tanıtıcısı" #: ../browser-plugin/media-plugin/main.c:73 -#, fuzzy msgid "url to play" -msgstr "Oynatılacak ortam" +msgstr "Oynatılacak baÄŸlantı" #: ../browser-plugin/media-plugin/main.c:73 msgid "URL" -msgstr "" +msgstr "BaÄŸlantı" #: ../browser-plugin/media-plugin/parole-plugin-player.c:138 msgid "Leave fullscreen" -msgstr "" +msgstr "Tam ekranı terket" #: ../browser-plugin/media-plugin/parole-plugin-player.c:143 msgid "Fullscreen" -msgstr "" +msgstr "Tam ekran" -#. #. * Copy url #. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:452 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:455 msgid "Copy url" -msgstr "" +msgstr "BaÄŸlantıyı kopyala" -#, fuzzy #~ msgid "Plugin" #~ msgstr "Eklentiler" diff -Nru parole-0.2.0.2/po/ug.po parole-0.2.0.6/po/ug.po --- parole-0.2.0.2/po/ug.po 1970-01-01 00:00:00.000000000 +0000 +++ parole-0.2.0.6/po/ug.po 2011-04-17 11:53:19.000000000 +0000 @@ -0,0 +1,802 @@ +# Uyghur translations for parole package +# Copyright (C) 2009 THE parole'S COPYRIGHT HOLDER +# Gheyret T.Kenji , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: parole 0.1.90\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-01-18 16:52+0900\n" +"PO-Revision-Date: 2010-01-18 16:52+0900\n" +"Last-Translator: Gheyret T.Kenji \n" +"Language-Team: Uyghur Computer Science Association \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-Poedit-Language: Japanese\n" + +#: ../data/interfaces/parole.ui.h:1 +msgid "16:9 (Widescreen)" +msgstr "16:9 (ÙƒÛ•Ú­ ئÛكران)" + +#: ../data/interfaces/parole.ui.h:2 +msgid "20:9 (DVB)" +msgstr "20:9 (DVB)" + +#: ../data/interfaces/parole.ui.h:3 +msgid "4:3 (TV)" +msgstr "4:3 (TV)" + +#: ../data/interfaces/parole.ui.h:4 +msgid "Aspect Ratio" +msgstr "" + +#: ../data/interfaces/parole.ui.h:5 +msgid "Auto" +msgstr "ئاپتوماتىك" + +#: ../data/interfaces/parole.ui.h:6 +msgid "Chapter Menu" +msgstr "باب Menu سى" + +#: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "DVD" + +#: ../data/interfaces/parole.ui.h:8 +msgid "DVD Menu" +msgstr "DVD Menu" + +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "ISO تەسۋىرىدىن" + +#: ../data/interfaces/parole.ui.h:10 +msgid "Media player" +msgstr "Media چالغۇ" + +#: ../data/interfaces/parole.ui.h:11 +msgid "Mute" +msgstr "ئۈنسىز" + +#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1198 +#: ../src/parole-disc-menu.c:113 +msgid "Next Chapter" +msgstr "ÙƒÛيىنكى باب" + +#: ../data/interfaces/parole.ui.h:13 +msgid "None" +msgstr "يوق" + +#: ../data/interfaces/parole.ui.h:14 ../data/desktop/parole.desktop.in.in.h:1 +#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 +msgid "Parole Media Player" +msgstr "Parole Media چالغۇ" + +#: ../data/interfaces/parole.ui.h:15 +msgid "Plugins" +msgstr "قىستۇرما" + +#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1210 +#: ../src/parole-disc-menu.c:114 +msgid "Previous Chapter" +msgstr "ئالدىنقى باب" + +#: ../data/interfaces/parole.ui.h:17 +msgid "Repeat" +msgstr "قايتلا" + +#: ../data/interfaces/parole.ui.h:18 +msgid "Select Track" +msgstr "Track تاللا" + +#: ../data/interfaces/parole.ui.h:19 +msgid "Shuffle" +msgstr "ئارىلاش" + +#: ../data/interfaces/parole.ui.h:20 +msgid "Sound" +msgstr "ئاۋاز" + +#: ../data/interfaces/parole.ui.h:21 +msgid "Square" +msgstr "كۋادرات" + +#: ../data/interfaces/parole.ui.h:22 +msgid "Volume Down" +msgstr "ئاۋازنى كىچىكلەت" + +#: ../data/interfaces/parole.ui.h:23 +msgid "Volume Up" +msgstr "ئاۋازنى چوڭايت" + +#: ../data/interfaces/parole.ui.h:24 +msgid "_Edit" +msgstr "تەھرىر(_E)" + +#: ../data/interfaces/parole.ui.h:25 +msgid "_Help" +msgstr "ياردەم(_H)" + +#: ../data/interfaces/parole.ui.h:26 +msgid "_Media" +msgstr "Media(_M)" + +#: ../data/interfaces/parole.ui.h:27 +msgid "_Open location" +msgstr "" + +#: ../data/interfaces/parole.ui.h:28 +msgid "_View" +msgstr "كۆرۈنۈش(_V)" + +#: ../data/interfaces/mediachooser.ui.h:1 +msgid "Replace playlist with opened files" +msgstr "ئÛچىلغان ھۆججەتلەر بىلەن Ú†Ûلىش تىزىملىكنى قاپلا" + +#: ../data/interfaces/mediachooser.ui.h:2 +msgid "Scan folders recursively" +msgstr "ئىزدە(قات مۇندەرىجىلەرنى)" + +#: ../data/interfaces/mediachooser.ui.h:3 +msgid "Start playing opened files" +msgstr "ئÛچىلغان ھۆججەتلەرنى قوي" + +#: ../data/interfaces/plugins.ui.h:1 +msgid "Author:" +msgstr "ئاپتور:" + +#: ../data/interfaces/plugins.ui.h:2 +msgid "Description:" +msgstr "چۈشەندۈرۈش:" + +#: ../data/interfaces/plugins.ui.h:3 +msgid "Site:" +msgstr "توربÛتى:" + +#: ../data/interfaces/plugins.ui.h:4 +msgid "Media Player plugins" +msgstr "Media چالغۇ قىستۇرمىلىرى" + +#: ../data/interfaces/plugins.ui.h:5 +msgid "Parole Plugins" +msgstr "Parole قىستۇرمىلىرى" + +#: ../data/interfaces/parole-settings.ui.h:1 +msgid "Audio" +msgstr "ئۈن" + +#: ../data/interfaces/parole-settings.ui.h:2 +msgid "Display" +msgstr "" + +#: ../data/interfaces/parole-settings.ui.h:3 +msgid "Subtitles" +msgstr "" + +#: ../data/interfaces/parole-settings.ui.h:4 +msgid "Video" +msgstr "سىن" + +#: ../data/interfaces/parole-settings.ui.h:5 +msgid "Automatically load subtitles when playing movie file" +msgstr "" + +#: ../data/interfaces/parole-settings.ui.h:6 +msgid "Brightness:" +msgstr "يورۇقلۇق:" + +#: ../data/interfaces/parole-settings.ui.h:7 +msgid "Contrast:" +msgstr "سÛلىشتۇرما دەرىجە:" + +#: ../data/interfaces/parole-settings.ui.h:8 +msgid "Disable screen saver while playing movies" +msgstr "كىنو قويۇۋاتقاندا ئÛكران saver چەكلەنسۇن" + +#: ../data/interfaces/parole-settings.ui.h:9 +msgid "Enable visualization when playing audio file" +msgstr "" + +#: ../data/interfaces/parole-settings.ui.h:10 +msgid "Encoding: " +msgstr "كودلاش:" + +#: ../data/interfaces/parole-settings.ui.h:11 +msgid "Font:" +msgstr "Ùونت:" + +#: ../data/interfaces/parole-settings.ui.h:12 +msgid "Hue:" +msgstr "" + +#: ../data/interfaces/parole-settings.ui.h:13 +msgid "Media Player Settings" +msgstr "Media چالغۇ تەڭشىكى" + +#: ../data/interfaces/parole-settings.ui.h:14 +msgid "Parole Settings" +msgstr "Parole تەڭشىكى" + +#: ../data/interfaces/parole-settings.ui.h:15 +msgid "Reset To Defaults" +msgstr "كۆڭۈلدىكىسىگە قايتۇر" + +#: ../data/interfaces/parole-settings.ui.h:16 +msgid "Saturation:" +msgstr "" + +#: ../data/interfaces/parole-settings.ui.h:17 +msgid "Visualization type:" +msgstr "" + +#: ../data/interfaces/save-playlist.ui.h:1 +msgid "By Extension" +msgstr "ÙƒÛڭەيتمە نام" + +#: ../data/interfaces/save-playlist.ui.h:2 +msgid "Select File Types (By Extension)" +msgstr "ھۆججەت تىپىنى تاللاش(ÙƒÛڭەيتمە نام)" + +#: ../gst/parole-gst.c:1511 +msgid "The stream is taking too much time to load" +msgstr "stream نى ئوقۇش ئوقۇش ئۈچۈن نۇرغۇن ۋاقىت ÙƒÛتىدۇ" + +#: ../gst/parole-gst.c:1511 +msgid "Stop" +msgstr "توختا" + +#: ../gst/parole-gst.c:1700 +msgid "" +"Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgstr "playbin GStreamer قىستۇرمىسىنى ئوقۇيالمىدى، GStreamer نىڭ تەكشۈرۈڭ" + +#: ../gst/parole-gst.c:1720 +msgid "" +"Unable to load video GStreamer plugin, check your GStreamer installation" +msgstr "سىن GStreamer قىستۇرمىسىنى ئوقۇيالمىدى، GStreamer نىڭ تەكشۈرۈڭ" + +#: ../src/main.c:54 +#, c-format +msgid "" +"\n" +"Parole Media Player %s\n" +"\n" +"Part of the Xfce Goodies Project\n" +"http://goodies.xfce.org\n" +"\n" +"Licensed under the GNU GPL.\n" +"\n" +msgstr "" +"\n" +"Parole Media چالغۇ %s\n" +"\n" +"Xfce Goodies Project نىڭ بىر بۆلىكى\n" +"http://goodies.xfce.org\n" +"\n" +"GNU GPL ئىجازەتنامىسى بويىچە تارقىتىلدى.\n" +"\n" + +#: ../src/main.c:187 +msgid "Unknown argument " +msgstr "نامەلۇم ئارگۇمەنت" + +#: ../src/main.c:224 +msgid "Open a new instance" +msgstr "ÙŠÛÚ­Ù‰ instance ئاچ" + +#: ../src/main.c:225 +msgid "Do not load plugins" +msgstr "قىستۇرمىلارنى ئوقۇيالمىدى" + +#: ../src/main.c:226 +msgid "Set Audio-CD/VCD/DVD device path" +msgstr "ئۈن-CD/VCD/DVD ئۈسكۈنىسىنىڭ يولىنى تەڭشە" + +#: ../src/main.c:227 +msgid "Play or pause if already playing" +msgstr "Ú†Ûلىۋاتقان بولسا چالسۇن ياكى توختىتىپ تۇرسۇن" + +#: ../src/main.c:228 +msgid "Stop playing" +msgstr "توختات" + +#: ../src/main.c:229 +msgid "Next track" +msgstr "ÙƒÛيىنكى track" + +#: ../src/main.c:230 +msgid "Previous track" +msgstr "ئالدىنقى track" + +#: ../src/main.c:231 +msgid "Seek forward" +msgstr "ئالدىغا ئىزدە" + +#: ../src/main.c:232 +msgid "Seek Backward" +msgstr "ÙƒÛيىنىگە ئىزدە" + +#: ../src/main.c:233 +msgid "Raise volume" +msgstr "ئاۋازنى يۇقىرىلات" + +#: ../src/main.c:234 +msgid "Lower volume" +msgstr "ئاۋازنى تۆۋەنلەت" + +#: ../src/main.c:235 +msgid "Mute volume" +msgstr "ئاۋازنى ئۈنسىزلە" + +#: ../src/main.c:236 +msgid "Version information" +msgstr "نەشر ئۇچۇرى" + +#: ../src/main.c:237 +msgid "Enabled/Disable XV support" +msgstr "" + +#: ../src/main.c:239 +msgid "Media to play" +msgstr "چالىدىغان Media" + +#: ../src/main.c:276 +#, c-format +msgid "Parole is already running, use -i to open a new instance\n" +msgstr "Parole ئىجرا بۆلۈۋÛتىپتۇ، ÙŠÛڭىدىن بىرنى ئÛچىش ئۈچۈن -i نى ئىشلىتىڭ\n" + +#: ../src/parole-mediachooser.c:213 +msgid "Add media files" +msgstr "media ھۆججەتلىرىنى قوش" + +#: ../src/parole-mediachooser.c:246 +msgid "Add" +msgstr "قوش" + +#: ../src/parole-medialist.c:437 +msgid "Error saving playlist file" +msgstr "playlist ھۆججىتىنى ساقلاشتا خاتالىق كۆرۈلدى" + +#: ../src/parole-medialist.c:437 +msgid "Permission denied" +msgstr "ھوقۇقىڭىز يەتمىدى" + +#: ../src/parole-medialist.c:446 +msgid "Unknown playlist format, Please select a support playlist format" +msgstr "Playlist نىڭ Ùورماتىنى بىلمىدىم، باشقا بىلىدىغان Playlist Ùورماتىنى تاللاڭ" + +#: ../src/parole-medialist.c:514 ../src/parole-player.c:1974 +msgid "Playlist" +msgstr "Playlist" + +#: ../src/parole-medialist.c:521 +msgid "M3U Playlists" +msgstr "M3U Playlists" + +#: ../src/parole-medialist.c:529 +msgid "PLS Playlists" +msgstr "PLS Playlists" + +#: ../src/parole-medialist.c:537 +msgid "Advanced Stream Redirector" +msgstr "" + +#: ../src/parole-medialist.c:545 +msgid "Shareable Playlist" +msgstr "ھەمبەھىرلىگىلى بولىدىغان Playlist" + +#: ../src/parole-medialist.c:860 +msgid "Remember playlist" +msgstr "Playlist نى ئەستە تۇت" + +#: ../src/parole-medialist.c:1012 +msgid "Media list" +msgstr "Media تىزىملىكى" + +#: ../src/parole-player.c:333 +msgid "Hide playlist" +msgstr "playlist نى يوشۇر" + +#: ../src/parole-player.c:342 +msgid "Show playlist" +msgstr "playlist نى كۆرسەت" + +#: ../src/parole-player.c:375 +msgid "Open ISO image" +msgstr "ISO تەسۋىرىنى ئاچ" + +#: ../src/parole-player.c:392 +msgid "CD image" +msgstr "CD تەسۋىرى" + +#: ../src/parole-player.c:392 +msgid "DVD image" +msgstr "DVD تەسۋىرى" + +#: ../src/parole-player.c:643 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:300 +msgid "Media stream is not seekable" +msgstr "Media stream دىن ئىزدىگىلى بولمايدىكەن" + +#. +#. * Next chapter menu item +#. +#: ../src/parole-player.c:1198 ../src/parole-disc-menu.c:122 +msgid "Next Track" +msgstr "ÙƒÛيىنكى Track" + +#. +#. * Previous chapter menu item +#. +#: ../src/parole-player.c:1210 ../src/parole-disc-menu.c:123 +msgid "Previous Track" +msgstr "ئالدىنقى Track" + +#: ../src/parole-statusbar.c:61 +#: ../browser-plugin/media-plugin/parole-plugin-player.c:593 +msgid "Buffering" +msgstr "يىغىۋاتىدۇ" + +#: ../src/parole-statusbar.c:100 +msgid "Stopped" +msgstr "توختىدى" + +#: ../src/parole-statusbar.c:104 +msgid "Finished" +msgstr "تاماملاندى" + +#: ../src/parole-statusbar.c:114 ../src/parole-statusbar.c:124 +msgid "Paused" +msgstr "ۋاقىتلىق توختىدى" + +#: ../src/parole-statusbar.c:114 +msgid "Playing" +msgstr "Ú†Ûلىۋاتىدۇ" + +#: ../src/parole-statusbar.c:168 +msgid "Live stream:" +msgstr "" + +#: ../src/parole-about.c:75 +msgid "Author/Maintainer" +msgstr "ئاپتور/مەست`ئۇل كىشى" + +#: ../src/parole-about.c:81 +#, c-format +msgid "Translator (%s)" +msgstr "تەرجىمان (gheyret@gmail.com)" + +#: ../src/parole-disc.c:227 +msgid "Play Disc" +msgstr "دىسكا چال" + +#: ../src/parole-subtitle-encoding.c:165 +msgid "Current Locale" +msgstr "ھازىرقى Locale" + +#: ../src/parole-subtitle-encoding.c:168 ../src/parole-subtitle-encoding.c:170 +#: ../src/parole-subtitle-encoding.c:172 ../src/parole-subtitle-encoding.c:174 +msgid "Arabic" +msgstr "ئەرەبچە" + +#: ../src/parole-subtitle-encoding.c:177 +msgid "Armenian" +msgstr "ئەرمەنچە" + +#: ../src/parole-subtitle-encoding.c:180 ../src/parole-subtitle-encoding.c:182 +#: ../src/parole-subtitle-encoding.c:184 +msgid "Baltic" +msgstr "" + +#: ../src/parole-subtitle-encoding.c:187 +msgid "Celtic" +msgstr "" + +#: ../src/parole-subtitle-encoding.c:190 ../src/parole-subtitle-encoding.c:192 +#: ../src/parole-subtitle-encoding.c:194 ../src/parole-subtitle-encoding.c:196 +msgid "Central European" +msgstr "" + +#: ../src/parole-subtitle-encoding.c:199 ../src/parole-subtitle-encoding.c:201 +#: ../src/parole-subtitle-encoding.c:203 ../src/parole-subtitle-encoding.c:205 +msgid "Chinese Simplified" +msgstr "خەنزۇچە(ئاددىي)" + +#: ../src/parole-subtitle-encoding.c:208 ../src/parole-subtitle-encoding.c:210 +#: ../src/parole-subtitle-encoding.c:212 +msgid "Chinese Traditional" +msgstr "خەنزۇچە(مۇرەككەپ)" + +#: ../src/parole-subtitle-encoding.c:215 +msgid "Croatian" +msgstr "خورۋاتچە" + +#: ../src/parole-subtitle-encoding.c:218 ../src/parole-subtitle-encoding.c:220 +#: ../src/parole-subtitle-encoding.c:222 ../src/parole-subtitle-encoding.c:224 +#: ../src/parole-subtitle-encoding.c:226 ../src/parole-subtitle-encoding.c:228 +msgid "Cyrillic" +msgstr "سلاۋيانچە" + +#: ../src/parole-subtitle-encoding.c:231 +msgid "Cyrillic/Russian" +msgstr "" + +#: ../src/parole-subtitle-encoding.c:234 ../src/parole-subtitle-encoding.c:236 +msgid "Cyrillic/Ukrainian" +msgstr "" + +#: ../src/parole-subtitle-encoding.c:239 +msgid "Georgian" +msgstr "گرۇزىنچە" + +#: ../src/parole-subtitle-encoding.c:242 ../src/parole-subtitle-encoding.c:244 +#: ../src/parole-subtitle-encoding.c:246 +msgid "Greek" +msgstr "گرÛÙƒÚ†Û•" + +#: ../src/parole-subtitle-encoding.c:249 +msgid "Gujarati" +msgstr "گۇجاراتى" + +#: ../src/parole-subtitle-encoding.c:252 +msgid "Gurmukhi" +msgstr "گۇرمۇكىچە" + +#: ../src/parole-subtitle-encoding.c:255 ../src/parole-subtitle-encoding.c:257 +#: ../src/parole-subtitle-encoding.c:259 ../src/parole-subtitle-encoding.c:261 +msgid "Hebrew" +msgstr "ئىبرانىچە" + +#: ../src/parole-subtitle-encoding.c:264 +msgid "Hebrew Visual" +msgstr "" + +#: ../src/parole-subtitle-encoding.c:267 +msgid "Hindi" +msgstr "ھىندىچە" + +#: ../src/parole-subtitle-encoding.c:270 +msgid "Icelandic" +msgstr "ئىسلاندچە" + +#: ../src/parole-subtitle-encoding.c:273 ../src/parole-subtitle-encoding.c:275 +#: ../src/parole-subtitle-encoding.c:277 +msgid "Japanese" +msgstr "ياپونچە" + +#: ../src/parole-subtitle-encoding.c:280 ../src/parole-subtitle-encoding.c:282 +#: ../src/parole-subtitle-encoding.c:284 ../src/parole-subtitle-encoding.c:286 +msgid "Korean" +msgstr "كورىيەچە" + +#: ../src/parole-subtitle-encoding.c:289 +msgid "Nordic" +msgstr "" + +#: ../src/parole-subtitle-encoding.c:292 +msgid "Persian" +msgstr "پارسچە" + +#: ../src/parole-subtitle-encoding.c:295 ../src/parole-subtitle-encoding.c:297 +msgid "Romanian" +msgstr "رۇمىنچە" + +#: ../src/parole-subtitle-encoding.c:300 +msgid "South European" +msgstr "" + +#: ../src/parole-subtitle-encoding.c:303 +msgid "Thai" +msgstr "تايلاندچە" + +#: ../src/parole-subtitle-encoding.c:306 ../src/parole-subtitle-encoding.c:308 +#: ../src/parole-subtitle-encoding.c:310 ../src/parole-subtitle-encoding.c:312 +msgid "Turkish" +msgstr "تۈركچە" + +#: ../src/parole-subtitle-encoding.c:315 ../src/parole-subtitle-encoding.c:317 +#: ../src/parole-subtitle-encoding.c:319 ../src/parole-subtitle-encoding.c:321 +#: ../src/parole-subtitle-encoding.c:323 +msgid "Unicode" +msgstr "يۇنىكود" + +#: ../src/parole-subtitle-encoding.c:326 ../src/parole-subtitle-encoding.c:328 +#: ../src/parole-subtitle-encoding.c:330 ../src/parole-subtitle-encoding.c:332 +#: ../src/parole-subtitle-encoding.c:334 +msgid "Western" +msgstr "غەربچە" + +#: ../src/parole-subtitle-encoding.c:337 ../src/parole-subtitle-encoding.c:339 +#: ../src/parole-subtitle-encoding.c:341 +msgid "Vietnamese" +msgstr "Û‹ÙŠÛتنامچە" + +#: ../src/parole-open-location.c:181 +msgid "Open location..." +msgstr "" + +#: ../src/parole-open-location.c:186 +msgid "Open location of media file or live stream:" +msgstr "" + +#: ../src/parole-open-location.c:205 +msgid "Clear history" +msgstr "تارىخنى ئۆچۈر" + +#: ../src/parole-disc-menu.c:130 +msgid "Playing Track" +msgstr "Track نى Ú†Ûلىۋاتىدۇ" + +#: ../src/parole-disc-menu.c:194 +#, c-format +msgid "Track %i" +msgstr "Track %i" + +#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 +msgid "Visit Website" +msgstr "تورتۇرانى زىيارەت قىلىش" + +#: ../src/parole-plugins-manager.c:373 +#: ../plugins/properties/stream-properties-provider.c:140 +#: ../plugins/properties/stream-properties-provider.c:141 +#: ../plugins/properties/stream-properties-provider.c:142 +#: ../plugins/properties/stream-properties-provider.c:143 +msgid "Unknown" +msgstr "نامەلۇم" + +#: ../src/parole-plugins-manager.c:412 +msgid "No installed plugins found on this system" +msgstr "سىستÛمىغا تÛخى قىستۇرما ئورنىتىلماپتۇ" + +#: ../parole/parole-filters.c:64 +msgid "Audio" +msgstr "ئۈن" + +#: ../parole/parole-filters.c:90 +msgid "Video" +msgstr "سىن" + +#: ../parole/parole-filters.c:115 +msgid "Audio and video" +msgstr "ئۈن Û‹Û• سىن" + +#: ../parole/parole-filters.c:144 +msgid "All supported files" +msgstr "چالالايدىغان ھۆججەتلەر" + +#: ../parole/parole-filters.c:171 +msgid "Playlist files" +msgstr "Playlist ھۆججىتى" + +#: ../plugins/properties/stream-properties-provider.c:254 +msgid "Title:" +msgstr "ماۋزۇ:" + +#: ../plugins/properties/stream-properties-provider.c:277 +msgid "Artist:" +msgstr "سەنئەتكار:" + +#: ../plugins/properties/stream-properties-provider.c:300 +msgid "Album:" +msgstr "ئالبوم:" + +#: ../plugins/properties/stream-properties-provider.c:323 +msgid "Year:" +msgstr "يىل:" + +#: ../plugins/properties/stream-properties-provider.c:341 +msgid "General" +msgstr "ئادەتتىكى" + +#: ../plugins/properties/stream-properties-provider.c:392 +msgid "Stream doesn't support tags changes" +msgstr "" + +#: ../plugins/properties/stream-properties-provider.c:399 +msgid "Save media tags changes" +msgstr "" + +#: ../plugins/properties/stream-properties-provider.c:524 +msgid "Properties" +msgstr "خاسلىق" + +#: ../plugins/properties/stream-properties.desktop.in.h:1 +msgid "Read media properties" +msgstr "media نىڭ خاسلىقىنى ئوقۇش" + +#: ../plugins/properties/stream-properties.desktop.in.h:2 +msgid "Stream Properties" +msgstr "Stream خاسلىقى" + +#: ../plugins/tray/tray-provider.c:262 +msgid "Playing:" +msgstr "Ú†Ûلىۋاتىدۇ:" + +#: ../plugins/tray/tray-provider.c:262 +msgid "Duration:" +msgstr "ۋاقتى:" + +#: ../plugins/tray/tray-provider.c:420 +msgid "Tray icon plugin" +msgstr "" + +#: ../plugins/tray/tray-provider.c:430 +msgid "Enable notification" +msgstr "ئۇقتۇرۇشقا يول قوي" + +#: ../plugins/tray/tray-provider.c:439 +msgid "Always minimize to tray when window is closed" +msgstr "" + +#: ../plugins/tray/tray-provider.c:478 +msgid "Minimize to tray?" +msgstr "" + +#: ../plugins/tray/tray-provider.c:484 +msgid "Minimize to tray" +msgstr "" + +#: ../plugins/tray/tray-provider.c:500 +msgid "Are you sure you want to quit Parole" +msgstr "Parole نى ئاخىرلاشتۇرامسىز؟" + +#: ../plugins/tray/tray-provider.c:504 +msgid "Remember my choice" +msgstr "Ù…Ûنىڭ تاللىشىمنى ئەستە ساقلا" + +#: ../plugins/tray/system-tray.desktop.in.h:1 +msgid "Show icon in the system tray" +msgstr "سىنبەلگىنى سىستÛما قوندىقىدا كۆرسەت" + +#: ../plugins/tray/system-tray.desktop.in.h:2 +msgid "Tray icon" +msgstr "قونداق سىنبەلگىسى" + +#: ../plugins/window-title/window-title.desktop.in.h:1 +msgid "Set the main window name to the current playing media name." +msgstr "" + +#: ../plugins/window-title/window-title.desktop.in.h:2 +msgid "Window Title" +msgstr "كۆزنەك ماۋزۇسى" + +#: ../plugins/power-manager/power-manager.desktop.in.h:1 +msgid "Inhibit Power Manager from suspending the machine while playing DVD." +msgstr "" + +#: ../plugins/power-manager/power-manager.desktop.in.h:2 +msgid "Power Manager Plugin" +msgstr "توك باشقۇرۇش قىستۇرمىسى" + +#: ../browser-plugin/media-plugin/main.c:72 +msgid "socket" +msgstr "socket" + +#: ../browser-plugin/media-plugin/main.c:72 +msgid "SOCKET ID" +msgstr "SOCKET ID" + +#: ../browser-plugin/media-plugin/main.c:73 +msgid "url to play" +msgstr "چالىدىغان url" + +#: ../browser-plugin/media-plugin/main.c:73 +msgid "URL" +msgstr "URL" + +#: ../browser-plugin/media-plugin/parole-plugin-player.c:138 +msgid "Leave fullscreen" +msgstr "تولۇق ئÛكران ھالىتىدىن چىق" + +#: ../browser-plugin/media-plugin/parole-plugin-player.c:143 +msgid "Fullscreen" +msgstr "تولۇق ئÛكران" + +#. +#. * Copy url +#. +#: ../browser-plugin/media-plugin/parole-plugin-player.c:455 +msgid "Copy url" +msgstr "url نى كۆچۈر" diff -Nru parole-0.2.0.2/po/uk.po parole-0.2.0.6/po/uk.po --- parole-0.2.0.2/po/uk.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/uk.po 2011-04-17 11:53:19.000000000 +0000 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: uk\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-12-10 14:17+0100\n" +"POT-Creation-Date: 2011-04-15 16:08+0000\n" "PO-Revision-Date: 2009-12-14 21:35+0200\n" "Last-Translator: Motsyo Gennadi \n" "Language-Team: Ukrainian\n" @@ -41,97 +41,117 @@ msgstr "Меню розділу" #: ../data/interfaces/parole.ui.h:7 +msgid "DVD" +msgstr "ДВД" + +#: ../data/interfaces/parole.ui.h:8 msgid "DVD Menu" msgstr "DVD Меню" -#: ../data/interfaces/parole.ui.h:8 +#: ../data/interfaces/parole.ui.h:9 +msgid "From ISO image" +msgstr "З образу ISO" + +#: ../data/interfaces/parole.ui.h:10 msgid "Media player" msgstr "Media player" -#: ../data/interfaces/parole.ui.h:9 +#: ../data/interfaces/parole.ui.h:11 msgid "Mute" msgstr "Тихо" -#: ../data/interfaces/parole.ui.h:10 ../src/parole-player.c:1098 +#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1215 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "ÐаÑтупник розділ" -#: ../data/interfaces/parole.ui.h:11 +#: ../data/interfaces/parole.ui.h:13 msgid "None" msgstr "Ðемає" -#: ../data/interfaces/parole.ui.h:12 ../data/desktop/parole.desktop.in.in.h:1 -#: ../src/parole-about.c:70 ../plugins/window-title/window-title-provider.c:58 +#: ../data/interfaces/parole.ui.h:14 ../src/parole-about.c:74 +#: ../plugins/window-title/window-title-provider.c:58 msgid "Parole Media Player" msgstr "Parole Media Player" -#: ../data/interfaces/parole.ui.h:13 +#: ../data/interfaces/parole.ui.h:15 msgid "Plugins" msgstr "Плагіни" -#: ../data/interfaces/parole.ui.h:14 ../src/parole-player.c:1110 +#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1227 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "Попередній розділ" -#: ../data/interfaces/parole.ui.h:15 +#: ../data/interfaces/parole.ui.h:17 ../src/parole-medialist.c:1264 msgid "Repeat" msgstr "Повтор" -#: ../data/interfaces/parole.ui.h:16 +#: ../data/interfaces/parole.ui.h:18 msgid "Select Track" msgstr "Вибір треку" -#: ../data/interfaces/parole.ui.h:17 +#: ../data/interfaces/parole.ui.h:19 ../src/parole-medialist.c:1280 msgid "Shuffle" msgstr "Перемішати" -#: ../data/interfaces/parole.ui.h:18 +#: ../data/interfaces/parole.ui.h:20 msgid "Sound" msgstr "Звук" -#: ../data/interfaces/parole.ui.h:19 +#: ../data/interfaces/parole.ui.h:21 msgid "Square" msgstr "Квадрат" -#: ../data/interfaces/parole.ui.h:20 +#: ../data/interfaces/parole.ui.h:22 msgid "Volume Down" msgstr "Тихіше" -#: ../data/interfaces/parole.ui.h:21 +#: ../data/interfaces/parole.ui.h:23 msgid "Volume Up" msgstr "Гучніше" -#: ../data/interfaces/parole.ui.h:22 +#: ../data/interfaces/parole.ui.h:24 msgid "_Edit" msgstr "_Правка" -#: ../data/interfaces/parole.ui.h:23 +#: ../data/interfaces/parole.ui.h:25 msgid "_Help" msgstr "_Довідка" -#: ../data/interfaces/parole.ui.h:24 +#: ../data/interfaces/parole.ui.h:26 msgid "_Media" msgstr "_Фільм" -#: ../data/interfaces/parole.ui.h:25 +#: ../data/interfaces/parole.ui.h:27 msgid "_Open location" msgstr "_Відкрити адреÑу..." -#: ../data/interfaces/parole.ui.h:26 +#: ../data/interfaces/parole.ui.h:28 msgid "_View" msgstr "_ВиглÑд" #: ../data/interfaces/mediachooser.ui.h:1 +msgid "Add" +msgstr "Додати" + +#: ../data/interfaces/mediachooser.ui.h:2 +msgid "Open media files" +msgstr "Відкрити медіа-файл" + +#: ../data/interfaces/mediachooser.ui.h:3 +msgid "Parole Media Chooser" +msgstr "Parole Media Chooser" + +#: ../data/interfaces/mediachooser.ui.h:4 msgid "Replace playlist with opened files" msgstr "Замінити ÑпиÑок відповідно до відкритих файлів" -#: ../data/interfaces/mediachooser.ui.h:2 +#: ../data/interfaces/mediachooser.ui.h:5 msgid "Scan folders recursively" msgstr "Сканувати теки рекурÑивно" -#: ../data/interfaces/mediachooser.ui.h:3 +#: ../data/interfaces/mediachooser.ui.h:6 msgid "Start playing opened files" msgstr "Відтворити відкриті файли" @@ -231,19 +251,23 @@ msgid "Select File Types (By Extension)" msgstr "Вибрати тип файлу (за розширеннÑм)" -#: ../gst/parole-gst.c:1494 +#: ../data/desktop/parole.desktop.in.in.h:1 +msgid "Parole" +msgstr "Parole" + +#: ../gst/parole-gst.c:1526 msgid "The stream is taking too much time to load" msgstr "Потік вимагає надто багато чаÑу Ð´Ð»Ñ Ð·Ð°Ð²Ð°Ð½Ñ‚Ð°Ð¶ÐµÐ½Ð½Ñ" -#: ../gst/parole-gst.c:1494 +#: ../gst/parole-gst.c:1526 msgid "Stop" msgstr "Стоп" -#: ../gst/parole-gst.c:1683 +#: ../gst/parole-gst.c:1715 msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" msgstr "Ðе можу завантажити GStreamer аудіо-плагін, перевірте наÑвніÑÑ‚ÑŒ GStreamer" -#: ../gst/parole-gst.c:1703 +#: ../gst/parole-gst.c:1735 msgid "Unable to load video GStreamer plugin, check your GStreamer installation" msgstr "Ðе можу завантажити GStreamer відео-плагін, перевірте наÑвніÑÑ‚ÑŒ GStreamer" @@ -268,152 +292,180 @@ "Ð›Ñ–Ñ†ÐµÐ½Ð·Ñ–Ñ GNU GPL.\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " msgstr "Ðевідомий аргумент" -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "Відкривати окремим екземплÑром" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" msgstr "Ðе завантажувати плагіни" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" msgstr "Вказати шлÑÑ… до приÑтрою Audio-CD/VCD/DVD" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" msgstr "Відтворити чи призупинити, Ñкщо вже відтворюєтьÑÑ" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "Зупинити відтвореннÑ" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "ÐаÑтупний трек" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "Попередній трек" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" msgstr "Шукати вперед" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" msgstr "Шукати назад" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "Збільшити гучніÑÑ‚ÑŒ" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "Зменшити гучніÑÑ‚ÑŒ" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "Приглушити звук" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "ВерÑÑ–Ñ" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" msgstr "Увімкнути/вимкнути підтримку XV" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "Об'єкт Ð´Ð»Ñ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "Parole вже запущено, викориÑтовуйте -i Ð´Ð»Ñ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ñ‚Ñ Ð¾ÐºÑ€ÐµÐ¼Ð¸Ð¼ екземплÑром\n" -#: ../src/parole-mediachooser.c:213 -msgid "Add media files" -msgstr "Додати медіа-файл" - -#: ../src/parole-mediachooser.c:246 -msgid "Add" -msgstr "Додати" +#: ../src/parole-medialist.c:501 +msgid "Permission denied" +msgstr "Відмовлено у доÑтупі" -#: ../src/parole-medialist.c:437 +#: ../src/parole-medialist.c:503 msgid "Error saving playlist file" msgstr "Помилка Ð·Ð±ÐµÑ€ÐµÐ¶ÐµÐ½Ð½Ñ ÑпиÑку" -#: ../src/parole-medialist.c:437 -msgid "Permission denied" -msgstr "Відмовлено у доÑтупі" +#: ../src/parole-medialist.c:515 +msgid "Unknown playlist format" +msgstr "Ðевідомий формат ÑпиÑку програваннÑ" + +#: ../src/parole-medialist.c:516 +msgid "Please chooser a supported playlist format" +msgstr "Виберіть допуÑтимий формат ÑпиÑку програваннÑ" -#: ../src/parole-medialist.c:446 -msgid "Unknown playlist format, Please select a support playlist format" -msgstr "Формат ÑпиÑку не підтримуєтьÑÑ. Виберіть допуÑтимий формат ÑпиÑку" +#: ../src/parole-medialist.c:568 ../src/parole-plugins-manager.c:377 +#: ../plugins/properties/stream-properties-provider.c:140 +#: ../plugins/properties/stream-properties-provider.c:141 +#: ../plugins/properties/stream-properties-provider.c:142 +#: ../plugins/properties/stream-properties-provider.c:143 +msgid "Unknown" +msgstr "Ðевідомо" -#: ../src/parole-medialist.c:514 ../src/parole-player.c:1852 +#: ../src/parole-medialist.c:642 ../src/parole-player.c:1991 msgid "Playlist" msgstr "СпиÑок" -#: ../src/parole-medialist.c:521 +#: ../src/parole-medialist.c:649 msgid "M3U Playlists" msgstr "M3U-ÑпиÑки" -#: ../src/parole-medialist.c:529 +#: ../src/parole-medialist.c:657 msgid "PLS Playlists" msgstr "PLS-ÑпиÑки" -#: ../src/parole-medialist.c:537 +#: ../src/parole-medialist.c:665 msgid "Advanced Stream Redirector" msgstr "Розширене Ð¿ÐµÑ€ÐµÐ½Ð°Ð¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð½Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÑƒ" -#: ../src/parole-medialist.c:545 +#: ../src/parole-medialist.c:673 msgid "Shareable Playlist" msgstr "Спільний ÑпиÑок" -#: ../src/parole-medialist.c:860 +#. Clear +#: ../src/parole-medialist.c:1152 +msgid "Open Containing Folder" +msgstr "Відкрити теку" + +#: ../src/parole-medialist.c:1303 +msgid "Replace playlist when opening files" +msgstr "Замінити ÑпиÑок при відкритті файлів" + +#: ../src/parole-medialist.c:1319 +msgid "Play opened files" +msgstr "Програвати відкриті файли" + +#. * +#. * Remember media list entries +#. * +#: ../src/parole-medialist.c:1331 msgid "Remember playlist" msgstr "Запам'Ñтати ÑпиÑок" -#: ../src/parole-medialist.c:1012 +#: ../src/parole-medialist.c:1502 msgid "Media list" msgstr "СпиÑок файлів" -#: ../src/parole-player.c:318 +#: ../src/parole-player.c:336 msgid "Hide playlist" msgstr "Сховати ÑпиÑок" -#: ../src/parole-player.c:327 +#: ../src/parole-player.c:345 msgid "Show playlist" msgstr "Показати ÑпиÑок" -#: ../src/parole-player.c:543 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:297 +#: ../src/parole-player.c:378 +msgid "Open ISO image" +msgstr "Відкрити образ ISO" + +#: ../src/parole-player.c:395 +msgid "CD image" +msgstr "образ КД" + +#: ../src/parole-player.c:395 +msgid "DVD image" +msgstr "образ ДВД" + +#: ../src/parole-player.c:551 ../src/parole-player.c:659 msgid "Media stream is not seekable" msgstr "Потік недоÑтупний Ð´Ð»Ñ Ð¿ÐµÑ€ÐµÐ³Ð»Ñду" -#. #. * Next chapter menu item -#. -#: ../src/parole-player.c:1098 ../src/parole-disc-menu.c:122 +#. +#: ../src/parole-player.c:1215 ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "ÐаÑтупний трек" -#. #. * Previous chapter menu item -#. -#: ../src/parole-player.c:1110 ../src/parole-disc-menu.c:123 +#. +#: ../src/parole-player.c:1227 ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "Попередній трек" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:590 msgid "Buffering" msgstr "БуферизаціÑ" @@ -433,20 +485,20 @@ msgid "Playing" msgstr "ВідтворюєтьÑÑ" -#: ../src/parole-statusbar.c:145 +#: ../src/parole-statusbar.c:170 ../src/parole-statusbar.c:174 msgid "Live stream:" msgstr "Потік:" -#: ../src/parole-about.c:75 +#: ../src/parole-about.c:79 msgid "Author/Maintainer" msgstr "Ðвтор/Маінтейнер" -#: ../src/parole-about.c:81 +#: ../src/parole-about.c:85 #, c-format msgid "Translator (%s)" msgstr "Перекладач (%s)" -#: ../src/parole-disc.c:202 +#: ../src/parole-disc.c:227 msgid "Play Disc" msgstr "Відтворити диÑк" @@ -591,18 +643,6 @@ msgid "Vietnamese" msgstr "Ð’'єтнамÑька" -#: ../src/parole-open-location.c:181 -msgid "Open location..." -msgstr "Відкрити міÑцезнаходженнÑ..." - -#: ../src/parole-open-location.c:186 -msgid "Open location of media file or live stream:" -msgstr "Відкрити міÑÑ†ÐµÐ·Ð½Ð°Ñ…Ð¾Ð´Ð¶ÐµÐ½Ð½Ñ Ð¼ÐµÐ´Ñ–Ð°-файлу чи потоку:" - -#: ../src/parole-open-location.c:205 -msgid "Clear history" -msgstr "ОчиÑтити Ñ–Ñторію" - #: ../src/parole-disc-menu.c:130 msgid "Playing Track" msgstr "ВідтворюєтьÑÑ Ñ‚Ñ€ÐµÐº" @@ -612,19 +652,11 @@ msgid "Track %i" msgstr "Трек %i" -#: ../src/parole-plugins-manager.c:297 ../src/parole-plugins-manager.c:433 +#: ../src/parole-plugins-manager.c:301 ../src/parole-plugins-manager.c:437 msgid "Visit Website" msgstr "Відвідайте WEB-Ñайт" -#: ../src/parole-plugins-manager.c:373 -#: ../plugins/properties/stream-properties-provider.c:140 -#: ../plugins/properties/stream-properties-provider.c:141 -#: ../plugins/properties/stream-properties-provider.c:142 -#: ../plugins/properties/stream-properties-provider.c:143 -msgid "Unknown" -msgstr "Ðевідомо" - -#: ../src/parole-plugins-manager.c:412 +#: ../src/parole-plugins-manager.c:416 msgid "No installed plugins found on this system" msgstr "Ð’ ÑиÑтемі не знайдено вÑтановлених плагінів" @@ -688,39 +720,39 @@ msgid "Stream Properties" msgstr "ВлаÑтивоÑÑ‚Ñ– потоку" -#: ../plugins/tray/tray-provider.c:262 +#: ../plugins/tray/tray-provider.c:283 msgid "Playing:" msgstr "ВідтвореннÑ:" -#: ../plugins/tray/tray-provider.c:262 +#: ../plugins/tray/tray-provider.c:283 msgid "Duration:" msgstr "ТриваліÑÑ‚ÑŒ:" -#: ../plugins/tray/tray-provider.c:420 +#: ../plugins/tray/tray-provider.c:419 msgid "Tray icon plugin" msgstr "Плагін значка в лотку" -#: ../plugins/tray/tray-provider.c:430 +#: ../plugins/tray/tray-provider.c:429 msgid "Enable notification" msgstr "Увімкнути повідомленнÑ" -#: ../plugins/tray/tray-provider.c:439 +#: ../plugins/tray/tray-provider.c:438 msgid "Always minimize to tray when window is closed" msgstr "Завжди мінімізувати в трей при закритті вікна" -#: ../plugins/tray/tray-provider.c:478 +#: ../plugins/tray/tray-provider.c:477 msgid "Minimize to tray?" msgstr "Мінімізувати в трей?" -#: ../plugins/tray/tray-provider.c:484 +#: ../plugins/tray/tray-provider.c:483 msgid "Minimize to tray" msgstr "Мінімізувати в трей" -#: ../plugins/tray/tray-provider.c:500 +#: ../plugins/tray/tray-provider.c:499 msgid "Are you sure you want to quit Parole" msgstr "Ви Ñправді бажаєте вийти з Parole?" -#: ../plugins/tray/tray-provider.c:504 +#: ../plugins/tray/tray-provider.c:503 msgid "Remember my choice" msgstr "Запам'Ñтати мій вибір" @@ -734,9 +766,7 @@ #: ../plugins/window-title/window-title.desktop.in.h:1 msgid "Set the main window name to the current playing media name." -msgstr "" -"Ð’Ñтановити ім'Ñ Ð³Ð¾Ð»Ð¾Ð²Ð½Ð¾Ð³Ð¾ вікна у відповідноÑÑ‚Ñ– " -"з іменем відтворюваного файлу." +msgstr "Ð’Ñтановити ім'Ñ Ð³Ð¾Ð»Ð¾Ð²Ð½Ð¾Ð³Ð¾ вікна у відповідноÑÑ‚Ñ– з іменем відтворюваного файлу." #: ../plugins/window-title/window-title.desktop.in.h:2 msgid "Window Title" @@ -750,34 +780,32 @@ msgid "Power Manager Plugin" msgstr "ÐšÐµÑ€ÑƒÐ²Ð°Ð½Ð½Ñ Ð¶Ð¸Ð²Ð»ÐµÐ½Ð½Ñм" -#: ../browser-plugin/media-plugin/main.c:72 -msgid "socket" -msgstr "з'єднаннÑ" - -#: ../browser-plugin/media-plugin/main.c:72 -msgid "SOCKET ID" -msgstr "ID з'єднаннÑ" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "url to play" -msgstr "ÐдреÑа Ð´Ð»Ñ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "URL" -msgstr "ÐдреÑа" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:138 -msgid "Leave fullscreen" -msgstr "Вийти з повноекранного режиму" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:143 -msgid "Fullscreen" -msgstr "Повноекранний режим" - -#. -#. * Copy url -#. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:452 -msgid "Copy url" -msgstr "Копіювати адреÑу" +#~ msgid "Open location..." +#~ msgstr "Відкрити міÑцезнаходженнÑ..." + +#~ msgid "Open location of media file or live stream:" +#~ msgstr "Відкрити міÑÑ†ÐµÐ·Ð½Ð°Ñ…Ð¾Ð´Ð¶ÐµÐ½Ð½Ñ Ð¼ÐµÐ´Ñ–Ð°-файлу чи потоку:" + +#~ msgid "Clear history" +#~ msgstr "ОчиÑтити Ñ–Ñторію" + +#~ msgid "socket" +#~ msgstr "з'єднаннÑ" + +#~ msgid "SOCKET ID" +#~ msgstr "ID з'єднаннÑ" + +#~ msgid "url to play" +#~ msgstr "ÐдреÑа Ð´Ð»Ñ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ" + +#~ msgid "URL" +#~ msgstr "ÐдреÑа" + +#~ msgid "Leave fullscreen" +#~ msgstr "Вийти з повноекранного режиму" + +#~ msgid "Fullscreen" +#~ msgstr "Повноекранний режим" +#~ msgid "Copy url" +#~ msgstr "Копіювати адреÑу" diff -Nru parole-0.2.0.2/po/zh_CN.po parole-0.2.0.6/po/zh_CN.po --- parole-0.2.0.2/po/zh_CN.po 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/po/zh_CN.po 2011-04-17 11:53:19.000000000 +0000 @@ -3,12 +3,12 @@ # Copyright (C) 2009 THE Parole'S COPYRIGHT HOLDER # This file is distributed under the same license as the Parole package. # Hunt Xu , 2009. -# +# msgid "" msgstr "" "Project-Id-Version: Parole\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-01-14 12:06+0100\n" +"POT-Creation-Date: 2011-02-17 23:05+0000\n" "PO-Revision-Date: 2010-01-14 22:22+0800\n" "Last-Translator: Hunt Xu \n" "Language-Team: Chinese (simplified) \n" @@ -60,7 +60,7 @@ msgid "Mute" msgstr "é™éŸ³" -#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1198 +#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:1197 #: ../src/parole-disc-menu.c:113 msgid "Next Chapter" msgstr "下一章节" @@ -78,7 +78,7 @@ msgid "Plugins" msgstr "æ’件" -#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1210 +#: ../data/interfaces/parole.ui.h:16 ../src/parole-player.c:1209 #: ../src/parole-disc-menu.c:114 msgid "Previous Chapter" msgstr "上一章节" @@ -92,18 +92,16 @@ msgstr "选择轨é“" #: ../data/interfaces/parole.ui.h:19 -#, fuzzy msgid "Shuffle" -msgstr "拖拽" +msgstr "éšæœºæ’­æ”¾" #: ../data/interfaces/parole.ui.h:20 msgid "Sound" msgstr "声音" #: ../data/interfaces/parole.ui.h:21 -#, fuzzy msgid "Square" -msgstr "广场" +msgstr "矩形" #: ../data/interfaces/parole.ui.h:22 msgid "Volume Down" @@ -250,13 +248,11 @@ msgstr "åœæ­¢" #: ../gst/parole-gst.c:1700 -msgid "" -"Unable to load playbin GStreamer plugin, check your GStreamer installation" +msgid "Unable to load playbin GStreamer plugin, check your GStreamer installation" msgstr "无法载入 GStreamer 播放æ’件,检查您的 GStreamer 是å¦æ­£ç¡®å®‰è£…" #: ../gst/parole-gst.c:1720 -msgid "" -"Unable to load video GStreamer plugin, check your GStreamer installation" +msgid "Unable to load video GStreamer plugin, check your GStreamer installation" msgstr "无法载入 GStreamer 视频æ’件,检查您的 GStreamer 是å¦æ­£ç¡®å®‰è£…" #: ../src/main.c:54 @@ -280,71 +276,71 @@ "在 GNU GPL åè®®æ¡æ¬¾ä¸‹å‘行。\n" "\n" -#: ../src/main.c:175 +#: ../src/main.c:187 msgid "Unknown argument " msgstr "未知å‚æ•° " -#: ../src/main.c:212 +#: ../src/main.c:224 msgid "Open a new instance" msgstr "打开一个新的 Parole 实例" -#: ../src/main.c:213 +#: ../src/main.c:225 msgid "Do not load plugins" msgstr "ä¸åŠ è½½æ’件" -#: ../src/main.c:214 +#: ../src/main.c:226 msgid "Set Audio-CD/VCD/DVD device path" msgstr "设置 Audio-CD/VCD/DVD 设备路径" -#: ../src/main.c:215 +#: ../src/main.c:227 msgid "Play or pause if already playing" msgstr "播放 / æš‚åœ" -#: ../src/main.c:216 +#: ../src/main.c:228 msgid "Stop playing" msgstr "åœæ­¢" -#: ../src/main.c:217 +#: ../src/main.c:229 msgid "Next track" msgstr "下一轨é“" -#: ../src/main.c:218 +#: ../src/main.c:230 msgid "Previous track" msgstr "上一轨é“" -#: ../src/main.c:219 +#: ../src/main.c:231 msgid "Seek forward" msgstr "å‘å‰æœç´¢" -#: ../src/main.c:220 +#: ../src/main.c:232 msgid "Seek Backward" msgstr "å‘åŽæœç´¢" -#: ../src/main.c:221 +#: ../src/main.c:233 msgid "Raise volume" msgstr "增大音é‡" -#: ../src/main.c:222 +#: ../src/main.c:234 msgid "Lower volume" msgstr "å‡å°éŸ³é‡" -#: ../src/main.c:223 +#: ../src/main.c:235 msgid "Mute volume" msgstr "é™éŸ³" -#: ../src/main.c:224 +#: ../src/main.c:236 msgid "Version information" msgstr "版本信æ¯" -#: ../src/main.c:225 +#: ../src/main.c:237 msgid "Enabled/Disable XV support" msgstr "å¯ç”¨/ç¦ç”¨ XV 支æŒ" -#: ../src/main.c:227 +#: ../src/main.c:239 msgid "Media to play" msgstr "è¦æ’­æ”¾çš„媒体" -#: ../src/main.c:264 +#: ../src/main.c:276 #, c-format msgid "Parole is already running, use -i to open a new instance\n" msgstr "Parole å·²ç»åœ¨è¿è¡Œï¼Œä½¿ç”¨ -i å‚数打开一个新的实例\n" @@ -369,7 +365,7 @@ msgid "Unknown playlist format, Please select a support playlist format" msgstr "未知播放列表格å¼ï¼Œè¯·é€‰æ‹©ä¸€ä¸ªå·²è¢«æ”¯æŒçš„播放列表格å¼" -#: ../src/parole-medialist.c:514 ../src/parole-player.c:1974 +#: ../src/parole-medialist.c:514 ../src/parole-player.c:1973 msgid "Playlist" msgstr "播放列表" @@ -417,27 +413,23 @@ msgid "DVD image" msgstr "DVD é•œåƒ" -#: ../src/parole-player.c:643 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:300 +#: ../src/parole-player.c:641 msgid "Media stream is not seekable" msgstr "æµåª’体ä¸å¯æŸ¥æ‰¾" -#. #. * Next chapter menu item -#. -#: ../src/parole-player.c:1198 ../src/parole-disc-menu.c:122 +#. +#: ../src/parole-player.c:1197 ../src/parole-disc-menu.c:122 msgid "Next Track" msgstr "下一轨é“" -#. #. * Previous chapter menu item -#. -#: ../src/parole-player.c:1210 ../src/parole-disc-menu.c:123 +#. +#: ../src/parole-player.c:1209 ../src/parole-disc-menu.c:123 msgid "Previous Track" msgstr "上一轨é“" #: ../src/parole-statusbar.c:61 -#: ../browser-plugin/media-plugin/parole-plugin-player.c:593 msgid "Buffering" msgstr "正在缓冲" @@ -457,7 +449,7 @@ msgid "Playing" msgstr "正在播放" -#: ../src/parole-statusbar.c:168 +#: ../src/parole-statusbar.c:170 ../src/parole-statusbar.c:174 msgid "Live stream:" msgstr "Live æµ:" @@ -772,36 +764,26 @@ msgid "Power Manager Plugin" msgstr "电æºç®¡ç†å™¨æ’件" -#: ../browser-plugin/media-plugin/main.c:72 -msgid "socket" -msgstr "套接字" - -#: ../browser-plugin/media-plugin/main.c:72 -msgid "SOCKET ID" -msgstr "套接字 ID" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "url to play" -msgstr "è¦æ’­æ”¾çš„ url" - -#: ../browser-plugin/media-plugin/main.c:73 -msgid "URL" -msgstr "URL" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:138 -msgid "Leave fullscreen" -msgstr "退出全å±" - -#: ../browser-plugin/media-plugin/parole-plugin-player.c:143 -msgid "Fullscreen" -msgstr "å…¨å±æ’­æ”¾" - -#. -#. * Copy url -#. -#: ../browser-plugin/media-plugin/parole-plugin-player.c:455 -msgid "Copy url" -msgstr "å¤åˆ¶ url" +#~ msgid "socket" +#~ msgstr "套接字" + +#~ msgid "SOCKET ID" +#~ msgstr "套接字 ID" + +#~ msgid "url to play" +#~ msgstr "è¦æ’­æ”¾çš„ url" + +#~ msgid "URL" +#~ msgstr "URL" + +#~ msgid "Leave fullscreen" +#~ msgstr "退出全å±" + +#~ msgid "Fullscreen" +#~ msgstr "å…¨å±æ’­æ”¾" + +#~ msgid "Copy url" +#~ msgstr "å¤åˆ¶ url" #~ msgid "Enabled" #~ msgstr "å¯ç”¨" diff -Nru parole-0.2.0.2/src/enum-gtypes.c parole-0.2.0.6/src/enum-gtypes.c --- parole-0.2.0.2/src/enum-gtypes.c 2010-01-25 11:48:09.000000000 +0000 +++ parole-0.2.0.6/src/enum-gtypes.c 2011-04-17 11:55:06.000000000 +0000 @@ -1,5 +1,5 @@ -/* Generated data (by glib-mkenums) */ + #include "enum-gtypes.h" @@ -28,5 +28,5 @@ return etype; } -/* Generated data ends here */ + diff -Nru parole-0.2.0.2/src/enum-gtypes.h parole-0.2.0.6/src/enum-gtypes.h --- parole-0.2.0.2/src/enum-gtypes.h 2010-01-25 11:23:19.000000000 +0000 +++ parole-0.2.0.6/src/enum-gtypes.h 2011-04-17 11:55:06.000000000 +0000 @@ -1,5 +1,5 @@ -/* Generated data (by glib-mkenums) */ + #ifndef __ENUM_GTYPES_H__ #define __ENUM_GTYPES_H__ @@ -12,5 +12,5 @@ #endif /* __ENUM_GTYPES_H__ */ -/* Generated data ends here */ + diff -Nru parole-0.2.0.2/src/gmarshal.c parole-0.2.0.6/src/gmarshal.c --- parole-0.2.0.2/src/gmarshal.c 2010-01-25 11:23:19.000000000 +0000 +++ parole-0.2.0.6/src/gmarshal.c 2011-04-17 11:55:06.000000000 +0000 @@ -22,6 +22,7 @@ #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) #define g_marshal_value_peek_object(v) g_value_get_object (v) +#define g_marshal_value_peek_variant(v) g_value_get_variant (v) #else /* !G_ENABLE_DEBUG */ /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. * Do not access GValues directly in your code. Instead, use the @@ -45,6 +46,7 @@ #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer +#define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer #endif /* !G_ENABLE_DEBUG */ diff -Nru parole-0.2.0.2/src/main.c parole-0.2.0.6/src/main.c --- parole-0.2.0.2/src/main.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/main.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2008-2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -217,6 +217,7 @@ gboolean lower_volume = FALSE; gboolean mute = FALSE; gboolean no_plugins = FALSE; + gboolean fullscreen = FALSE; gchar *client_id = NULL; GOptionEntry option_entries[] = @@ -234,6 +235,7 @@ { "lower-volume", 'l', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &lower_volume, N_("Lower volume"), NULL }, { "mute", 'm', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &mute, N_("Mute volume"), NULL }, { "version", 'V', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &version, N_("Version information"), NULL }, + { "fullscreen", 'F', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &fullscreen, N_("Start in fullscreen mode"), NULL }, { "xv", '\0', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_CALLBACK, (GOptionArgFunc) xv_option_given, N_("Enabled/Disable XV support"), NULL}, { "sm-client-id", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &client_id, NULL, NULL }, {G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, &filenames, N_("Media to play"), NULL}, @@ -318,6 +320,9 @@ parole_session_real_init (session); player = parole_player_new (); + + if (fullscreen) + parole_player_full_screen (player, TRUE); if ( filenames && filenames[0] != NULL ) { diff -Nru parole-0.2.0.2/src/Makefile.in parole-0.2.0.6/src/Makefile.in --- parole-0.2.0.2/src/Makefile.in 2010-01-25 11:47:27.000000000 +0000 +++ parole-0.2.0.6/src/Makefile.in 2011-04-17 11:54:33.000000000 +0000 @@ -113,7 +113,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BROWSER_PLUGIN_DIR = @BROWSER_PLUGIN_DIR@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ @@ -137,6 +136,7 @@ DBUS_VERSION = @DBUS_VERSION@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -226,6 +226,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ @@ -251,6 +252,8 @@ PAROLE_VERSION_MINOR = @PAROLE_VERSION_MINOR@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ @@ -274,6 +277,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -307,7 +311,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ diff -Nru parole-0.2.0.2/src/org.parole.media.list.h parole-0.2.0.6/src/org.parole.media.list.h --- parole-0.2.0.2/src/org.parole.media.list.h 2010-01-25 11:23:19.000000000 +0000 +++ parole-0.2.0.6/src/org.parole.media.list.h 2011-04-17 11:55:06.000000000 +0000 @@ -27,6 +27,7 @@ #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) #define g_marshal_value_peek_object(v) g_value_get_object (v) +#define g_marshal_value_peek_variant(v) g_value_get_variant (v) #else /* !G_ENABLE_DEBUG */ /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. * Do not access GValues directly in your code. Instead, use the @@ -50,6 +51,7 @@ #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer +#define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer #endif /* !G_ENABLE_DEBUG */ @@ -109,8 +111,7 @@ { (GCallback) parole_media_list_dbus_add_files, dbus_glib_marshal_parole_media_list_BOOLEAN__BOXED_POINTER, 0 }, }; -const DBusGObjectInfo dbus_glib_parole_media_list_object_info = { - 0, +const DBusGObjectInfo dbus_glib_parole_media_list_object_info = { 1, dbus_glib_parole_media_list_methods, 1, "org.Parole.Media.List\0AddFiles\0S\0files\0I\0as\0\0\0", diff -Nru parole-0.2.0.2/src/org.parole.media.player.h parole-0.2.0.6/src/org.parole.media.player.h --- parole-0.2.0.2/src/org.parole.media.player.h 2010-01-25 11:23:19.000000000 +0000 +++ parole-0.2.0.6/src/org.parole.media.player.h 2011-04-17 11:55:06.000000000 +0000 @@ -27,6 +27,7 @@ #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) #define g_marshal_value_peek_object(v) g_value_get_object (v) +#define g_marshal_value_peek_variant(v) g_value_get_variant (v) #else /* !G_ENABLE_DEBUG */ /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. * Do not access GValues directly in your code. Instead, use the @@ -50,6 +51,7 @@ #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer +#define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer #endif /* !G_ENABLE_DEBUG */ @@ -165,8 +167,7 @@ { (GCallback) parole_player_dbus_play_disc, dbus_glib_marshal_parole_player_BOOLEAN__STRING_STRING_POINTER, 327 }, }; -const DBusGObjectInfo dbus_glib_parole_player_object_info = { - 0, +const DBusGObjectInfo dbus_glib_parole_player_object_info = { 1, dbus_glib_parole_player_methods, 10, "org.Parole.Media.Player\0Play\0S\0\0org.Parole.Media.Player\0Stop\0S\0\0org.Parole.Media.Player\0NextTrack\0S\0\0org.Parole.Media.Player\0PrevTrack\0S\0\0org.Parole.Media.Player\0SeekForward\0S\0\0org.Parole.Media.Player\0SeekBackward\0S\0\0org.Parole.Media.Player\0RaiseVolume\0S\0\0org.Parole.Media.Player\0LowerVolume\0S\0\0org.Parole.Media.Player\0Mute\0S\0\0org.Parole.Media.Player\0PlayDisc\0S\0uri\0I\0s\0device\0I\0s\0\0\0", diff -Nru parole-0.2.0.2/src/parole-about.c parole-0.2.0.6/src/parole-about.c --- parole-0.2.0.2/src/parole-about.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-about.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -26,6 +26,10 @@ #include #include + +#ifdef XFCE_DISABLE_DEPRECATED +#undef XFCE_DISABLE_DEPRECATED +#endif #include #include @@ -68,7 +72,7 @@ }; info = xfce_about_info_new ("Parole", VERSION, _("Parole Media Player"), - XFCE_COPYRIGHT_TEXT ("2009", "Ali Abdallah"), + XFCE_COPYRIGHT_TEXT ("2009-2011", "Ali Abdallah"), XFCE_LICENSE_GPL); xfce_about_info_set_homepage (info, "http://goodies.xfce.org/projects/applications/parole"); diff -Nru parole-0.2.0.2/src/parole-about.h parole-0.2.0.6/src/parole-about.h --- parole-0.2.0.2/src/parole-about.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-about.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-builder.c parole-0.2.0.6/src/parole-builder.c --- parole-0.2.0.2/src/parole-builder.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-builder.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-builder.h parole-0.2.0.6/src/parole-builder.h --- parole-0.2.0.2/src/parole-builder.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-builder.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-button.c parole-0.2.0.6/src/parole-button.c --- parole-0.2.0.2/src/parole-button.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-button.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2008-2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-button.h parole-0.2.0.6/src/parole-button.h --- parole-0.2.0.2/src/parole-button.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-button.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2008-2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-conf.c parole-0.2.0.6/src/parole-conf.c --- parole-0.2.0.2/src/parole-conf.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-conf.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -65,6 +65,13 @@ PROP_ASPECT_RATIO, PROP_WINDOW_WIDTH, PROP_WINDOW_HEIGHT, + PROP_MINIMIZED, + PROP_MULTIMEDIA_KEYS, + /*Playlist*/ + PROP_REPLACE_PLAYLIST, + PROP_SCAN_FOLDER_RECURSIVELY, + PROP_START_PLAYING_OPENED_FILES, + PROP_REMOVE_DUPLICATED_PLAYLIST_ENTRIES, N_PROP }; @@ -242,6 +249,13 @@ G_PARAM_READWRITE)); g_object_class_install_property (object_class, + PROP_MINIMIZED, + g_param_spec_boolean ("minimized", + NULL, NULL, + FALSE, + G_PARAM_READWRITE)); + + g_object_class_install_property (object_class, PROP_SUBTITLE_FONT, g_param_spec_string ("subtitle-font", NULL, NULL, @@ -309,20 +323,62 @@ PROP_WINDOW_WIDTH, g_param_spec_int ("window-width", NULL, NULL, - 320, + 100, G_MAXINT16, - 780, + 760, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_WINDOW_HEIGHT, g_param_spec_int ("window-height", NULL, NULL, - 220, + 100, G_MAXINT16, - 480, + 420, G_PARAM_READWRITE)); - + + g_object_class_install_property (object_class, + PROP_MULTIMEDIA_KEYS, + g_param_spec_boolean ("multimedia-keys", + NULL, NULL, + TRUE, + G_PARAM_READWRITE)); + + /** + *Playlist options + **/ + g_object_class_install_property (object_class, + PROP_REPLACE_PLAYLIST, + g_param_spec_boolean ("replace-playlist", + NULL, NULL, + FALSE, + G_PARAM_READWRITE)); + + g_object_class_install_property (object_class, + PROP_SCAN_FOLDER_RECURSIVELY, + g_param_spec_boolean ("scan-recursive", + NULL, NULL, + TRUE, + G_PARAM_READWRITE)); + + g_object_class_install_property (object_class, + PROP_START_PLAYING_OPENED_FILES, + g_param_spec_boolean ("play-opened-files", + NULL, NULL, + TRUE, + G_PARAM_READWRITE)); + + /** + * + * Remove duplicated entries from the playlist. + **/ + g_object_class_install_property (object_class, + PROP_REMOVE_DUPLICATED_PLAYLIST_ENTRIES, + g_param_spec_boolean ("remove-duplicated", + NULL, NULL, + FALSE, + G_PARAM_READWRITE)); + g_type_class_add_private (klass, sizeof (ParoleConfPrivate)); } @@ -414,3 +470,17 @@ return PAROLE_CONF (parole_conf_object); } + + +gboolean parole_conf_get_property_bool (ParoleConf *conf, + const gchar *name) +{ + gboolean value; + + g_object_get (G_OBJECT (conf), + name, &value, + NULL); + + return value; +} + diff -Nru parole-0.2.0.2/src/parole-conf-dialog.c parole-0.2.0.6/src/parole-conf-dialog.c --- parole-0.2.0.2/src/parole-conf-dialog.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-conf-dialog.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-conf-dialog.h parole-0.2.0.6/src/parole-conf-dialog.h --- parole-0.2.0.2/src/parole-conf-dialog.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-conf-dialog.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-conf.h parole-0.2.0.6/src/parole-conf.h --- parole-0.2.0.2/src/parole-conf.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-conf.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -45,9 +45,12 @@ } ParoleConfClass; -GType parole_conf_get_type (void) G_GNUC_CONST; +GType parole_conf_get_type (void) G_GNUC_CONST; -ParoleConf *parole_conf_new (void); +ParoleConf *parole_conf_new (void); + +gboolean parole_conf_get_property_bool (ParoleConf *conf, + const gchar *name); G_END_DECLS diff -Nru parole-0.2.0.2/src/parole-disc.c parole-0.2.0.6/src/parole-disc.c --- parole-0.2.0.2/src/parole-disc.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-disc.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-disc.h parole-0.2.0.6/src/parole-disc.h --- parole-0.2.0.2/src/parole-disc.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-disc.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-disc-menu.c parole-0.2.0.6/src/parole-disc-menu.c --- parole-0.2.0.2/src/parole-disc-menu.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-disc-menu.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-disc-menu.h parole-0.2.0.6/src/parole-disc-menu.h --- parole-0.2.0.2/src/parole-disc-menu.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-disc-menu.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-mediachooser.c parole-0.2.0.6/src/parole-mediachooser.c --- parole-0.2.0.2/src/parole-mediachooser.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-mediachooser.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -30,7 +30,6 @@ #include #include -#include #include @@ -44,15 +43,16 @@ #include "common/parole-common.h" -#include "gmarshal.h" - /* * GtkBuilder Callbacks */ -void parole_media_chooser_open (GtkWidget *widget, - ParoleMediaChooser *chooser); +void parole_media_chooser_add_clicked (GtkWidget *widget, + ParoleMediaChooser *chooser); + +void parole_media_chooser_close_clicked (GtkWidget *widget, + ParoleMediaChooser *chooser); -void parole_media_chooser_close (GtkWidget *widget, +void parole_media_chooser_destroy_cb (GtkWidget *widget, ParoleMediaChooser *chooser); void media_chooser_folder_changed_cb (GtkWidget *widget, @@ -70,6 +70,24 @@ void start_playing_toggled_cb (GtkToggleButton *button, gpointer data); +struct ParoleMediaChooser +{ + GObject parent; + + ParoleConf *conf; + GtkWidget *window; + GtkWidget *info; + +}; + +struct ParoleMediaChooserClass +{ + GObjectClass parent_class; + + void (*media_files_opened) (ParoleMediaChooser *chooser, + GSList *list); +}; + enum { MEDIA_FILES_OPENED, @@ -78,12 +96,7 @@ static guint signals [LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (ParoleMediaChooser, parole_media_chooser, GTK_TYPE_DIALOG) - -void parole_media_chooser_close (GtkWidget *widget, ParoleMediaChooser *chooser) -{ - gtk_widget_destroy (GTK_WIDGET (chooser)); -} +G_DEFINE_TYPE (ParoleMediaChooser, parole_media_chooser, G_TYPE_OBJECT) void media_chooser_folder_changed_cb (GtkWidget *widget, gpointer data) @@ -105,11 +118,7 @@ GSList *files; GtkFileFilter *filter; GtkWidget *recursive; - GtkWidget *replace; - GtkWidget *play_opened; gboolean scan_recursive; - gboolean replace_playlist; - gboolean play; gchar *file; guint i; guint len; @@ -121,12 +130,8 @@ return; recursive = g_object_get_data (G_OBJECT (chooser), "recursive"); - replace = g_object_get_data (G_OBJECT (chooser), "replace-playlist"); - play_opened = g_object_get_data (G_OBJECT (chooser), "play"); scan_recursive = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (recursive)); - replace_playlist = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (replace)); - play = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (play_opened)); len = g_slist_length (files); @@ -136,63 +141,110 @@ parole_get_media_files (filter, file, scan_recursive, &media_files); } - g_signal_emit (G_OBJECT (chooser), signals [MEDIA_FILES_OPENED], 0, play, replace_playlist, media_files); + g_signal_emit (G_OBJECT (chooser), signals [MEDIA_FILES_OPENED], 0, media_files); g_slist_free (media_files); g_slist_foreach (files, (GFunc) g_free, NULL); g_slist_free (files); } -void -parole_media_chooser_open (GtkWidget *widget, ParoleMediaChooser *chooser) +static gboolean +parole_media_chooser_add_idle (gpointer data) { + ParoleMediaChooser *chooser; GtkWidget *file_chooser; - + + chooser = PAROLE_MEDIA_CHOOSER (data); + file_chooser = GTK_WIDGET (g_object_get_data (G_OBJECT (chooser), "file-chooser")); - parole_window_busy_cursor (GTK_WIDGET (chooser)->window); parole_media_chooser_add (chooser, file_chooser); - gtk_widget_destroy (GTK_WIDGET (chooser)); + + gtk_widget_destroy (chooser->window); + + return FALSE; +} + +static void +parole_media_chooser_open (ParoleMediaChooser *chooser) +{ + GtkWidget *img; + gchar *path; + + parole_window_busy_cursor (chooser->window->window); + + path = g_build_filename (PIXMAPS_DIR, "loader.gif", NULL); + + img = gtk_image_new_from_file (path); + g_free (path); + + gtk_box_pack_start (GTK_BOX (chooser->info), img, FALSE, FALSE, 0); + gtk_widget_show_all (chooser->info); + + g_idle_add ((GSourceFunc) parole_media_chooser_add_idle, chooser); +} + +void parole_media_chooser_add_clicked (GtkWidget *widget, ParoleMediaChooser *chooser) +{ + parole_media_chooser_open (chooser); +} + +void parole_media_chooser_close_clicked (GtkWidget *widget, ParoleMediaChooser *chooser) +{ + gtk_widget_destroy (chooser->window); +} + +void parole_media_chooser_destroy_cb (GtkWidget *widget, ParoleMediaChooser *chooser) +{ + g_object_unref (chooser); } void media_chooser_file_activate_cb (GtkFileChooser *filechooser, ParoleMediaChooser *chooser) { - parole_media_chooser_open (NULL, chooser); + parole_media_chooser_open (chooser); } -void parole_media_chooser_recursive_toggled_cb (GtkToggleButton *recursive, - gpointer data) +void parole_media_chooser_recursive_toggled_cb (GtkToggleButton *recursive, + gpointer data) { - parole_rc_write_entry_bool ("scan-recursive", - PAROLE_RC_GROUP_GENERAL, - gtk_toggle_button_get_active (recursive)); + ParoleMediaChooser *chooser; + + chooser = PAROLE_MEDIA_CHOOSER (data); + + g_object_set (G_OBJECT (chooser->conf), + "scan-recursive", gtk_toggle_button_get_active (recursive), + NULL); } void parole_media_chooser_replace_toggled_cb (GtkToggleButton *button, gpointer data) { - parole_rc_write_entry_bool ("replace-playlist", - PAROLE_RC_GROUP_GENERAL, - gtk_toggle_button_get_active (button)); + ParoleMediaChooser *chooser; + + chooser = PAROLE_MEDIA_CHOOSER (data); + + g_object_set (G_OBJECT (chooser->conf), + "replace-playlist", gtk_toggle_button_get_active (button), + NULL); } void start_playing_toggled_cb (GtkToggleButton *button, gpointer data) { - parole_rc_write_entry_bool ("play-opened-files", - PAROLE_RC_GROUP_GENERAL, - gtk_toggle_button_get_active (button)); + ParoleMediaChooser *chooser; + + chooser = PAROLE_MEDIA_CHOOSER (data); + + g_object_set (G_OBJECT (chooser->conf), + "play-opened-files", gtk_toggle_button_get_active (button), + NULL); } static void -parole_media_chooser_open_internal (GtkWidget *chooser) +parole_media_chooser_open_internal (ParoleMediaChooser *media_chooser) { - ParoleMediaChooser *media_chooser; - GtkWidget *vbox; GtkWidget *file_chooser; GtkBuilder *builder; - GtkWidget *open; - GtkWidget *img; GtkWidget *recursive; GtkWidget *replace; GtkWidget *play_opened; @@ -201,17 +253,13 @@ gboolean play; const gchar *folder; - media_chooser = PAROLE_MEDIA_CHOOSER (chooser); - builder = parole_builder_new_from_string (mediachooser_ui, mediachooser_ui_length); - file_chooser = GTK_WIDGET (gtk_builder_get_object (builder, "filechooserwidget")); + media_chooser->window = GTK_WIDGET (gtk_builder_get_object (builder, "chooser")); + media_chooser->info = GTK_WIDGET (gtk_builder_get_object (builder, "info")); - vbox = GTK_WIDGET (gtk_builder_get_object (builder, "vbox")); - open = GTK_WIDGET (gtk_builder_get_object (builder, "open")); + file_chooser = GTK_WIDGET (gtk_builder_get_object (builder, "filechooserwidget")); - gtk_window_set_title (GTK_WINDOW (chooser), _("Add media files")); - gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (file_chooser), parole_get_supported_files_filter ()); gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (file_chooser), parole_get_supported_media_filter ()); gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (file_chooser), parole_get_supported_audio_filter ()); @@ -224,44 +272,41 @@ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (file_chooser), folder); gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (file_chooser), TRUE); - - scan_recursive = parole_rc_read_entry_bool ("scan-recursive", PAROLE_RC_GROUP_GENERAL, TRUE); + + g_object_get (G_OBJECT (media_chooser->conf), + "scan-recursive", &scan_recursive, + "replace-playlist", &replace_playlist, + "play-opened-files", &play, + NULL); recursive = GTK_WIDGET (gtk_builder_get_object (builder, "recursive")); replace = GTK_WIDGET (gtk_builder_get_object (builder, "replace")); play_opened = GTK_WIDGET (gtk_builder_get_object (builder, "play-added-files")); - scan_recursive = parole_rc_read_entry_bool ("scan-recursive", PAROLE_RC_GROUP_GENERAL, TRUE); - replace_playlist = parole_rc_read_entry_bool ("replace-playlist", PAROLE_RC_GROUP_GENERAL, FALSE); - play = parole_rc_read_entry_bool ("play-opened-files", PAROLE_RC_GROUP_GENERAL, TRUE); - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (recursive), scan_recursive); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (replace), replace_playlist); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (play_opened), play); - img = gtk_image_new_from_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON); + g_object_set_data (G_OBJECT (media_chooser), "file-chooser", file_chooser); + g_object_set_data (G_OBJECT (media_chooser), "recursive", recursive); - g_object_set (G_OBJECT (open), - "image", img, - "label", _("Add"), - NULL); + gtk_builder_connect_signals (builder, media_chooser); - g_object_set_data (G_OBJECT (chooser), "file-chooser", file_chooser); - g_object_set_data (G_OBJECT (chooser), "recursive", recursive); - g_object_set_data (G_OBJECT (chooser), "replace-playlist", replace); - g_object_set_data (G_OBJECT (chooser), "play", play_opened); - - gtk_container_add (GTK_CONTAINER (GTK_DIALOG (media_chooser)->vbox), vbox); - gtk_builder_connect_signals (builder, chooser); - g_signal_connect (chooser, "destroy", - G_CALLBACK (gtk_widget_destroy), chooser); - g_object_unref (builder); } static void parole_media_chooser_finalize (GObject *object) { + ParoleMediaChooser *chooser; + + chooser = PAROLE_MEDIA_CHOOSER (object); + + g_object_unref (chooser->conf); + + if ( chooser->window ) + gtk_widget_destroy (chooser->window); + G_OBJECT_CLASS (parole_media_chooser_parent_class)->finalize (object); } @@ -276,10 +321,8 @@ G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ParoleMediaChooserClass, media_files_opened), NULL, NULL, - _gmarshal_VOID__BOOLEAN_BOOLEAN_POINTER, - G_TYPE_NONE, 3, - G_TYPE_BOOLEAN, - G_TYPE_BOOLEAN, + g_cclosure_marshal_VOID__POINTER, + G_TYPE_NONE, 1, G_TYPE_POINTER); object_class->finalize = parole_media_chooser_finalize; @@ -288,22 +331,25 @@ static void parole_media_chooser_init (ParoleMediaChooser *chooser) { - gtk_window_set_modal (GTK_WINDOW (chooser), TRUE); + chooser->conf = parole_conf_new (); } -GtkWidget *parole_media_chooser_open_local (GtkWidget *parent) +ParoleMediaChooser *parole_media_chooser_open_local (GtkWidget *parent) { ParoleMediaChooser *chooser; chooser = g_object_new (PAROLE_TYPE_MEDIA_CHOOSER, NULL); + parole_media_chooser_open_internal (chooser); + + gtk_window_set_modal (GTK_WINDOW (chooser->window), TRUE); + if ( parent ) - gtk_window_set_transient_for (GTK_WINDOW (chooser), GTK_WINDOW (parent)); + gtk_window_set_transient_for (GTK_WINDOW (chooser->window), GTK_WINDOW (parent)); - gtk_window_set_position (GTK_WINDOW (chooser), GTK_WIN_POS_CENTER_ON_PARENT); - parole_media_chooser_open_internal (GTK_WIDGET (chooser)); - - gtk_window_set_default_size (GTK_WINDOW (chooser), 680, 480); + gtk_window_set_position (GTK_WINDOW (chooser->window), GTK_WIN_POS_CENTER_ON_PARENT); + + gtk_widget_show_all (chooser->window); - return GTK_WIDGET (chooser); + return chooser; } diff -Nru parole-0.2.0.2/src/parole-mediachooser.h parole-0.2.0.6/src/parole-mediachooser.h --- parole-0.2.0.2/src/parole-mediachooser.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-mediachooser.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -24,34 +24,20 @@ #include #include +#include "parole-conf.h" + G_BEGIN_DECLS #define PAROLE_TYPE_MEDIA_CHOOSER (parole_media_chooser_get_type () ) #define PAROLE_MEDIA_CHOOSER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PAROLE_TYPE_MEDIA_CHOOSER, ParoleMediaChooser)) #define PAROLE_IS_MEDIA_CHOOSER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PAROLE_TYPE_MEDIA_CHOOSER)) -typedef struct ParoleMediaChooserPrivate ParoleMediaChooserPrivate; - -typedef struct -{ - GtkDialog parent; - -} ParoleMediaChooser; - -typedef struct -{ - GtkDialogClass parent_class; - - void (*media_files_opened) (ParoleMediaChooser *chooser, - gboolean play, - gboolean replace, - GSList *list); - -} ParoleMediaChooserClass; +typedef struct ParoleMediaChooser ParoleMediaChooser; +typedef struct ParoleMediaChooserClass ParoleMediaChooserClass; GType parole_media_chooser_get_type (void) G_GNUC_CONST; -GtkWidget *parole_media_chooser_open_local (GtkWidget *parent); +ParoleMediaChooser *parole_media_chooser_open_local (GtkWidget *parent); G_END_DECLS diff -Nru parole-0.2.0.2/src/parole-medialist.c parole-0.2.0.6/src/parole-medialist.c --- parole-0.2.0.2/src/parole-medialist.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-medialist.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -26,6 +26,8 @@ #include #include +#include + #include #include #include @@ -33,7 +35,6 @@ #include #include -#include #include @@ -44,6 +45,7 @@ #include "parole-medialist.h" #include "parole-mediachooser.h" #include "parole-open-location.h" +#include "parole-conf.h" #include "parole-filters.h" #include "parole-pl-parser.h" @@ -142,6 +144,14 @@ void parole_media_list_save_playlist_cb (GtkButton *button, ParolePlaylistSave *data); + +gboolean parole_media_list_query_tooltip (GtkWidget *widget, + gint x, + gint y, + gboolean keyboard_mode, + GtkTooltip *tooltip, + ParoleMediaList *list); + /* * End of GtkBuilder callbacks */ @@ -152,6 +162,7 @@ struct ParoleMediaListPrivate { DBusGConnection *bus; + ParoleConf *conf; GtkWidget *view; GtkWidget *box; GtkListStore *store; @@ -184,6 +195,17 @@ gtk_widget_set_sensitive (GTK_WIDGET (list->priv->save), sensitive); } +/** + * parole_media_list_add: + * @ParoleMediaList: a #ParoleMediaList + * @file: a #ParoleFile + * @emit: TRUE to emit a play signal. + * @select_row: TRUE to select the added row + * + * All the media items added to the media list view are added by + * this function, setting emit to TRUE will cause the player to + * start playing the added file. + **/ static void parole_media_list_add (ParoleMediaList *list, ParoleFile *file, gboolean emit, gboolean select_row) { @@ -201,16 +223,19 @@ &iter, NAME_COL, parole_file_get_display_name (file), DATA_COL, file, + LENGTH_COL, parole_taglibc_get_media_length (file), + PIXBUF_COL, NULL, -1); - if ( emit ) + if ( emit || select_row ) { path = gtk_tree_model_get_path (GTK_TREE_MODEL (list_store), &iter); row = gtk_tree_row_reference_new (GTK_TREE_MODEL (list_store), path); if ( select_row ) parole_media_list_select_path (list, path); gtk_tree_path_free (path); - g_signal_emit (G_OBJECT (list), signals [MEDIA_ACTIVATED], 0, row); + if ( emit ) + g_signal_emit (G_OBJECT (list), signals [MEDIA_ACTIVATED], 0, row); gtk_tree_row_reference_free (row); } @@ -234,14 +259,25 @@ } +/** + * parole_media_list_files_open: + * @ParoleMediaList: a #ParoleMediaList + * @files: a #GSList contains a list of #ParoleFile + * @emit: TRUE to emit a play signal. + * + **/ static void -parole_media_list_files_open (ParoleMediaList *list, GSList *files, - gboolean replace, gboolean emit) +parole_media_list_files_open (ParoleMediaList *list, GSList *files, gboolean emit) { ParoleFile *file; + gboolean replace; guint len; guint i; + g_object_get (G_OBJECT (list->priv->conf), + "replace-playlist", &replace, + NULL); + len = g_slist_length (files); TRACE ("Adding files"); @@ -262,12 +298,16 @@ static void parole_media_list_files_opened_cb (ParoleMediaChooser *chooser, - gboolean play, - gboolean replace, GSList *files, ParoleMediaList *list) { - parole_media_list_files_open (list, files, replace, play); + gboolean play; + + g_object_get (G_OBJECT (list->priv->conf), + "play-opened-files", &play, + NULL); + + parole_media_list_files_open (list, files, play); } static void @@ -289,29 +329,37 @@ static void parole_media_list_open_internal (ParoleMediaList *list) { - GtkWidget *chooser; + ParoleMediaChooser *chooser; + + TRACE ("start"); chooser = parole_media_chooser_open_local (gtk_widget_get_toplevel (GTK_WIDGET (list))); g_signal_connect (G_OBJECT (chooser), "media_files_opened", G_CALLBACK (parole_media_list_files_opened_cb), list); - - gtk_widget_show_all (GTK_WIDGET (chooser)); } static void parole_media_list_open_location_internal (ParoleMediaList *list) { - GtkWidget *location; + ParoleOpenLocation *location; location = parole_open_location (gtk_widget_get_toplevel (GTK_WIDGET (list))); g_signal_connect (G_OBJECT (location), "location-opened", - G_CALLBACK (parole_media_list_location_opened_cb), list); - - gtk_widget_show_all (GTK_WIDGET (location)); + G_CALLBACK (parole_media_list_location_opened_cb), list); } +/** + * parole_media_list_get_files: + * @list: a #ParoleMediaList + * + * Get a #GSList of all #ParoleFile media files currently displayed in the + * media list view + * + * Returns: a #GSList contains a list of #ParoleFile + * + **/ static GSList * parole_media_list_get_files (ParoleMediaList *list) { @@ -347,15 +395,20 @@ gchar *path; guint i; guint added = 0; + gboolean play; parole_window_busy_cursor (GTK_WIDGET (list)->window); + g_object_get (G_OBJECT (list->priv->conf), + "play-opened-files", &play, + NULL); + uri_list = g_uri_list_extract_uris ((const gchar *)data->data); for ( i = 0; uri_list[i] != NULL; i++) { path = g_filename_from_uri (uri_list[i], NULL, NULL); - added += parole_media_list_add_by_path (list, path, i == 0 ? TRUE : FALSE); + added += parole_media_list_add_by_path (list, path, i == 0 ? play : FALSE); g_free (path); } @@ -388,6 +441,16 @@ g_free (data); } +/** + * parole_media_list_get_first_selected_row: + * @list: a #ParoleMediaList + * + * Gets the first selected row in the media list view. + * + * Returns: a #GtkTreeRowReference for the selected row, or NULL if no one is + * currently selected. + * + **/ static GtkTreeRowReference * parole_media_list_get_first_selected_row (ParoleMediaList *list) { @@ -434,7 +497,12 @@ if ( g_access (dirname, W_OK) == -1 ) { - xfce_err ("%s %s %s", _("Error saving playlist file"), dirname, _("Permission denied")); + gchar *msg; + msg = g_strdup_printf ("%s %s", dirname, _("Permission denied")); + parole_dialog_error (GTK_WINDOW (gtk_widget_get_toplevel (data->list->priv->view)), + _("Error saving playlist file"), + msg); + g_free (msg); goto out; } @@ -443,7 +511,9 @@ format = parole_pl_parser_guess_format_from_extension (filename); if ( format == PAROLE_PL_FORMAT_UNKNOWN ) { - xfce_info ("%s", _("Unknown playlist format, Please select a support playlist format")); + parole_dialog_info (GTK_WINDOW (gtk_widget_get_toplevel (data->list->priv->view)), + _("Unknown playlist format"), + _("Please chooser a supported playlist format")); goto out; } } @@ -459,6 +529,64 @@ g_free (dirname); } + +gboolean parole_media_list_query_tooltip (GtkWidget *widget, + gint x, + gint y, + gboolean keyboard_mode, + GtkTooltip *tooltip, + ParoleMediaList *list) + +{ + GtkTreePath *path; + + if (gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (list->priv->view), + x, + y, + &path, + NULL, + NULL, + NULL)) + { + GtkTreeIter iter; + + if ( path && gtk_tree_model_get_iter (GTK_TREE_MODEL (list->priv->store), &iter, path)) + { + ParoleFile *file; + gchar *tip; + gchar *name; + gchar *len; + + gtk_tree_model_get (GTK_TREE_MODEL (list->priv->store), &iter, + DATA_COL, &file, + NAME_COL, &name, + LENGTH_COL, &len, + -1); + + if (!len) + { + len = g_strdup (_("Unknown")); + } + + tip = g_strdup_printf ("File: %s\nName: %s\nLength: %s", + parole_file_get_file_name (file), + name, + len); + + gtk_tooltip_set_text (tooltip, tip); + g_free (tip); + g_free (name); + g_free (len); + gtk_tree_path_free (path); + + return TRUE; + } + } + + + return FALSE; +} + void parole_media_list_format_cursor_changed_cb (GtkTreeView *view, ParolePlaylistSave *data) { GtkTreeIter iter; @@ -558,8 +686,42 @@ g_object_unref (builder); } +/** + * parole_media_list_get_first_path: + * @model: a #GtkTreeModel + * + * Get the first path in the model, or NULL if the model is empty + * + * Returns: a #GtkTreePath + **/ +static GtkTreePath * +parole_media_list_get_first_path (GtkTreeModel *model) +{ + GtkTreePath *path = NULL; + GtkTreeIter iter; + + if (gtk_tree_model_get_iter_first (model, &iter) ) + { + path = gtk_tree_model_get_path (GTK_TREE_MODEL (model), &iter); + } + + return path; +} + +/** + * + * parole_media_list_paths_to_row_list: + * @path_list: a #GList contains a list of #GtkTreePath + * @GtkTreeModel: a #GtkTreeModel that contains the paths + * + * Converts a list of #GtkTreePath to a list of #GtkTreeRowReference + * + * Returns: a #GList contains a list of #GtkTreeRowReference. + * + * + **/ static GList * -parole_media_list_path_to_row_list (GList *path_list, GtkTreeModel *model) +parole_media_list_paths_to_row_list (GList *path_list, GtkTreeModel *model) { GList *row_list = NULL; guint len, i; @@ -581,6 +743,11 @@ return row_list; } +/** + * parole_media_list_remove_clicked_cb: + * + * + **/ void parole_media_list_remove_clicked_cb (GtkButton *button, ParoleMediaList *list) { @@ -588,12 +755,40 @@ GList *path_list = NULL; GList *row_list = NULL; GtkTreeIter iter; + gboolean row_selected = FALSE; gint nch; guint len, i; - + + /* Get the GtkTreePath GList of all selected rows */ path_list = gtk_tree_selection_get_selected_rows (list->priv->sel, &model); - row_list = parole_media_list_path_to_row_list (path_list, model); + /** + * Convert them to row references so when we remove one the others always points + * to the correct node. + **/ + row_list = parole_media_list_paths_to_row_list (path_list, model); + + /** + * Select first path before the first path + * that we going to remove. + **/ + if (g_list_length (path_list) != 0) + { + GtkTreePath *path, *prev; + + /* Get first item */ + path = g_list_nth_data (path_list, 0); + + /* copy it as we don't mess with the list*/ + prev = gtk_tree_path_copy (path); + + if ( gtk_tree_path_prev (prev) ) + { + parole_media_list_select_path (list, prev); + row_selected = TRUE; + } + gtk_tree_path_free (prev); + } g_list_foreach (path_list, (GFunc) gtk_tree_path_free, NULL); g_list_free (path_list); @@ -617,6 +812,15 @@ g_list_foreach (row_list, (GFunc) gtk_tree_row_reference_free, NULL); g_list_free (row_list); + /* No row was selected, then select the first one*/ + if (!row_selected) + { + GtkTreePath *path; + path = parole_media_list_get_first_path (model); + parole_media_list_select_path (list, path); + gtk_tree_path_free (path); + } + /* * Returns the number of children that iter has. * As a special case, if iter is NULL, @@ -640,6 +844,16 @@ } } +/** + * parole_media_list_move_on_down: + * + * @store: a #GtkListStore + * @iter: a #GtkTreeIter + * + * Move the node pointed to by @iter one step down, if the node is the last + * one then move it to the first position in the @store. + * + **/ static void parole_media_list_move_one_down (GtkListStore *store, GtkTreeIter *iter) { @@ -665,6 +879,15 @@ gtk_tree_iter_free (pos_iter); } +/** + * parole_media_list_move_many_down: + * @path_list: a #GList contains list of #GtkTreePath + * @model: a #GtkTreeModel + * + * Moves down many nodes pointed to by the paths that are in + * the list. + * + **/ static void parole_media_list_move_many_down (GList *path_list, GtkTreeModel *model) { @@ -673,7 +896,7 @@ guint len; guint i; - row_list = parole_media_list_path_to_row_list (path_list, model); + row_list = parole_media_list_paths_to_row_list (path_list, model); len = g_list_length (row_list); @@ -696,6 +919,11 @@ g_list_free (row_list); } +/** + * parole_media_list_media_down_clicked_cb: + * + * + **/ void parole_media_list_media_down_clicked_cb (GtkButton *button, ParoleMediaList *list) { @@ -724,6 +952,17 @@ g_list_free (path_list); } + +/** + * parole_media_list_move_on_up: + * + * @store: a #GtkListStore + * @iter: a #GtkTreeIter + * + * Move the node pointed to by @iter one step up, if the node is the first + * one then move it to the last position in the @store. + * + **/ static void parole_media_list_move_one_up (GtkListStore *store, GtkTreeIter *iter) { @@ -752,6 +991,15 @@ gtk_tree_iter_free (pos_iter); } +/** + * parole_media_list_move_many_up: + * @path_list: a #GList contains list of #GtkTreePath + * @model: a #GtkTreeModel + * + * Moves up many nodes pointed to by the paths that are in + * the list. + * + **/ static void parole_media_list_move_many_up (GList *path_list, GtkTreeModel *model) { @@ -760,7 +1008,7 @@ guint len; guint i; - row_list = parole_media_list_path_to_row_list (path_list, model); + row_list = parole_media_list_paths_to_row_list (path_list, model); len = g_list_length (row_list); @@ -783,6 +1031,11 @@ g_list_free (row_list); } +/** + * parole_media_list_media_up_clicked_cb: + * + * + **/ void parole_media_list_media_up_clicked_cb (GtkButton *button, ParoleMediaList *list) { @@ -811,6 +1064,11 @@ g_list_free (path_list); } +/** + * parole_media_list_row_activated_cb: + * + * + **/ void parole_media_list_row_activated_cb (GtkTreeView *view, GtkTreePath *path, GtkTreeViewColumn *col, ParoleMediaList *list) @@ -834,6 +1092,90 @@ } static void +parole_media_list_open_folder (GtkWidget *menu) +{ + gchar *dirname; + + dirname = (gchar *) g_object_get_data (G_OBJECT (menu), "folder"); + + if (dirname) + { + gchar *uri; + uri = g_filename_to_uri (dirname, NULL, NULL); + TRACE ("Opening %s", dirname); + gtk_show_uri (gtk_widget_get_screen (menu), uri, GDK_CURRENT_TIME, NULL); + + g_free (uri); + } +} + +static void +parole_media_list_add_open_containing_folder (ParoleMediaList *list, GtkWidget *menu, + gint x, gint y) +{ + + GtkTreePath *path; + + + if (gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (list->priv->view), + x, + y, + &path, + NULL, + NULL, + NULL)) + { + + GtkTreeIter iter; + + if ( path && gtk_tree_model_get_iter (GTK_TREE_MODEL (list->priv->store), &iter, path)) + { + ParoleFile *file; + const gchar *filename; + const gchar *uri; + + gtk_tree_model_get (GTK_TREE_MODEL (list->priv->store), &iter, + DATA_COL, &file, + -1); + + filename = parole_file_get_file_name (file); + uri = parole_file_get_uri (file); + + if (g_str_has_prefix (uri, "file:///")) + { + GtkWidget *mi, *img; + gchar *dirname; + + dirname = g_path_get_dirname (filename); + + /* Clear */ + mi = gtk_image_menu_item_new_with_label (_("Open Containing Folder")); + img = gtk_image_new_from_stock (GTK_STOCK_OPEN, GTK_ICON_SIZE_MENU); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), img); + gtk_widget_set_sensitive (mi, TRUE); + gtk_widget_show (mi); + g_signal_connect_swapped (mi, "activate", + G_CALLBACK (parole_media_list_open_folder), menu); + + g_object_set_data (G_OBJECT (menu), "folder", dirname); + + gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); + + + mi = gtk_separator_menu_item_new (); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); + + + } + + gtk_tree_path_free (path); + } + } +} + + +static void parole_media_list_clear_list (ParoleMediaList *list) { gtk_list_store_clear (GTK_LIST_STORE (list->priv->store)); @@ -841,6 +1183,24 @@ } static void +replace_list_activated_cb (GtkWidget *mi, ParoleConf *conf) +{ + g_object_set (G_OBJECT (conf), + "replace-playlist", gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (mi)), + NULL); + +} + +static void +play_opened_files_activated_cb (GtkWidget *mi, ParoleConf *conf) +{ + g_object_set (G_OBJECT (conf), + "play-opened-files", gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (mi)), + NULL); + +} + +static void save_list_activated_cb (GtkWidget *mi) { gboolean active; @@ -851,12 +1211,123 @@ } static void -parole_media_list_show_menu (ParoleMediaList *list, guint button, guint activate_time) +repeat_activated_cb (GtkWidget *mi, ParoleConf *conf) +{ + g_object_set (G_OBJECT (conf), + "repeat", gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (mi)), + NULL); +} + +static void +shuffle_activated_cb (GtkWidget *mi, ParoleConf *conf) +{ + g_object_set (G_OBJECT (conf), + "shuffle", gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (mi)), + NULL); +} + +static void +parole_media_list_destroy_menu (GtkWidget *menu) +{ + gchar *dirname; + + dirname = (gchar *) g_object_get_data (G_OBJECT (menu), "folder"); + + if (dirname) + { + g_free (dirname); + } + + gtk_widget_destroy (menu); +} + +static void +parole_media_list_show_menu (ParoleMediaList *list, GdkEventButton *ev) { GtkWidget *menu, *mi; + gboolean val; + guint button = ev->button; + guint activate_time = ev->time; menu = gtk_menu_new (); + + parole_media_list_add_open_containing_folder (list, menu, (gint)ev->x, (gint)ev->y); + + + /** + * Repeat playing. + **/ + g_object_get (G_OBJECT (list->priv->conf), + "repeat", &val, + NULL); + + mi = gtk_check_menu_item_new_with_label (_("Repeat")); + gtk_widget_set_sensitive (mi, TRUE); + gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (mi), val); + g_signal_connect (mi, "activate", + G_CALLBACK (repeat_activated_cb), list->priv->conf); + + gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); + gtk_widget_show (mi); + + /** + * Shuffle playing. + **/ + g_object_get (G_OBJECT (list->priv->conf), + "shuffle", &val, + NULL); + + mi = gtk_check_menu_item_new_with_label (_("Shuffle")); + gtk_widget_set_sensitive (mi, TRUE); + gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (mi), val); + g_signal_connect (mi, "activate", + G_CALLBACK (shuffle_activated_cb), list->priv->conf); + + gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); + gtk_widget_show (mi); + + /** + * Separator + **/ + mi = gtk_separator_menu_item_new (); + gtk_widget_show (mi); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); + + /** + * replace playlist + **/ + g_object_get (G_OBJECT (list->priv->conf), + "replace-playlist", &val, + NULL); + + mi = gtk_check_menu_item_new_with_label (_("Replace playlist when opening files")); + gtk_widget_set_sensitive (mi, TRUE); + gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (mi), val); + g_signal_connect (mi, "activate", + G_CALLBACK (replace_list_activated_cb), list->priv->conf); + + gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); + gtk_widget_show (mi); + /** + * Play when files are open. + **/ + + g_object_get (G_OBJECT (list->priv->conf), + "play-opened-files", &val, + NULL); + mi = gtk_check_menu_item_new_with_label (_("Play opened files")); + gtk_widget_set_sensitive (mi, TRUE); + gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (mi), val); + g_signal_connect (mi, "activate", + G_CALLBACK (play_opened_files_activated_cb), list->priv->conf); + + gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); + gtk_widget_show (mi); + + /** + * Remember media list entries + **/ mi = gtk_check_menu_item_new_with_label (_("Remember playlist")); gtk_widget_set_sensitive (mi, TRUE); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (mi), @@ -870,6 +1341,9 @@ gtk_widget_show (mi); + /** + * Separator + **/ mi = gtk_separator_menu_item_new (); gtk_widget_show (mi); gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); @@ -885,7 +1359,7 @@ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); g_signal_connect_swapped (menu, "selection-done", - G_CALLBACK (gtk_widget_destroy), menu); + G_CALLBACK (parole_media_list_destroy_menu), menu); gtk_menu_popup (GTK_MENU (menu), NULL, NULL, @@ -898,7 +1372,7 @@ { if ( ev->button == 3 ) { - parole_media_list_show_menu (list, ev->button, ev->time); + parole_media_list_show_menu (list, ev); return TRUE; } @@ -988,7 +1462,7 @@ GtkTreeViewColumn *col; GtkCellRenderer *renderer; - list_store = gtk_list_store_new (COL_NUMBERS, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_OBJECT); + list_store = gtk_list_store_new (COL_NUMBERS, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_OBJECT); gtk_tree_view_set_model (GTK_TREE_VIEW (list->priv->view), GTK_TREE_MODEL(list_store)); @@ -1000,6 +1474,11 @@ gtk_tree_view_column_pack_start(col, renderer, FALSE); gtk_tree_view_column_set_attributes(col, renderer, "pixbuf", PIXBUF_COL, NULL); + + /** + * Name col + * + **/ renderer = gtk_cell_renderer_text_new(); gtk_tree_view_column_pack_start (col, renderer, TRUE); @@ -1008,6 +1487,17 @@ "ellipsize", PANGO_ELLIPSIZE_END, NULL); + + /** + * Media length + * + **/ + renderer = gtk_cell_renderer_text_new(); + + gtk_tree_view_column_pack_start (col, renderer, FALSE); + gtk_tree_view_column_set_attributes (col, renderer, "text", LENGTH_COL, NULL); + + gtk_tree_view_append_column (GTK_TREE_VIEW (list->priv->view), col); gtk_tree_view_column_set_title (col, _("Media list")); @@ -1033,6 +1523,8 @@ list->priv->bus = parole_g_session_bus_get (); + list->priv->conf = parole_conf_new (); + builder = parole_builder_new_from_string (playlist_ui, playlist_ui_length); list->priv->view = GTK_WIDGET (gtk_builder_get_object (builder, "media-list")); @@ -1078,8 +1570,13 @@ void parole_media_list_load (ParoleMediaList *list) { gboolean load_saved_list; + gboolean play; GSList *fileslist = NULL; + g_object_get (G_OBJECT (list->priv->conf), + "play-opened-files", &play, + NULL); + load_saved_list = parole_rc_read_entry_bool ("SAVE_LIST_ON_EXIT", PAROLE_RC_GROUP_GENERAL, FALSE); if ( load_saved_list ) @@ -1094,7 +1591,7 @@ fileslist = parole_pl_parser_parse_from_file_by_extension (playlist_file); g_free (playlist_file); - parole_media_list_files_opened_cb (NULL, FALSE, FALSE, fileslist, list); + parole_media_list_files_open (list, fileslist, play); g_slist_free (fileslist); } } @@ -1116,7 +1613,7 @@ parole_get_media_files (filter, path, TRUE, &files_list); - parole_media_list_files_open (list, files_list, FALSE, emit); + parole_media_list_files_open (list, files_list, emit); len = g_slist_length (files_list); ret = len == 0 ? FALSE : TRUE; @@ -1146,7 +1643,7 @@ if ( gtk_tree_model_get_iter (GTK_TREE_MODEL (list->priv->store), &iter, path)) { next = gtk_tree_row_reference_new (GTK_TREE_MODEL (list->priv->store), path); - parole_media_list_select_path (list, path); + //parole_media_list_select_path (list, path); } else if ( repeat ) /* Repeat playing ?*/ { @@ -1180,7 +1677,7 @@ if ( gtk_tree_model_get_iter (GTK_TREE_MODEL (list->priv->store), &iter, path)) { prev = gtk_tree_row_reference_new (GTK_TREE_MODEL (list->priv->store), path); - parole_media_list_select_path (list, path); + //parole_media_list_select_path (list, path); } else prev = row; @@ -1213,7 +1710,7 @@ if ( gtk_tree_model_get_iter (GTK_TREE_MODEL (list->priv->store), &iter, path)) { row = gtk_tree_row_reference_new (GTK_TREE_MODEL (list->priv->store), path); - parole_media_list_select_path (list, path); + //parole_media_list_select_path (list, path); } gtk_tree_path_free (path); @@ -1233,6 +1730,13 @@ return !gtk_tree_model_get_iter_first (GTK_TREE_MODEL (list->priv->store), &iter); } +/** + * parole_media_list_get_first_row: + * @list: a #ParoleMediaList + * + * + * Returns: a #GtkTreeRowReference of the first row in the media list. + **/ GtkTreeRowReference *parole_media_list_get_first_row (ParoleMediaList *list) { GtkTreeRowReference *row = NULL; @@ -1246,11 +1750,30 @@ return row; } +/** + * parole_media_list_get_selected_row: + * @list: a #ParoleMediaList + * + * + * Returns: a #GtkTreeRowReference of the selected row. + **/ GtkTreeRowReference *parole_media_list_get_selected_row (ParoleMediaList *list) { return parole_media_list_get_first_selected_row (list); } +void parole_media_list_select_row (ParoleMediaList *list, GtkTreeRowReference *row) +{ + GtkTreePath *path; + + if ( gtk_tree_row_reference_valid (row) ) + { + path = gtk_tree_row_reference_get_path (row); + parole_media_list_select_path (list, path); + gtk_tree_path_free (path); + } +} + void parole_media_list_set_row_pixbuf (ParoleMediaList *list, GtkTreeRowReference *row, GdkPixbuf *pix) { GtkTreeIter iter; @@ -1285,6 +1808,23 @@ } } +void parole_media_list_set_row_length (ParoleMediaList *list, GtkTreeRowReference *row, const gchar *len) +{ + GtkTreeIter iter; + GtkTreePath *path; + + if ( gtk_tree_row_reference_valid (row) ) + { + path = gtk_tree_row_reference_get_path (row); + + if ( gtk_tree_model_get_iter (GTK_TREE_MODEL (list->priv->store), &iter, path) ) + { + gtk_list_store_set (list->priv->store, &iter, LENGTH_COL, len, -1); + } + gtk_tree_path_free (path); + } +} + void parole_media_list_open (ParoleMediaList *list) { parole_media_list_open_internal (list); @@ -1302,9 +1842,9 @@ for ( i = 0; filenames && filenames[i] != NULL; i++) { - /** - * File on disk - **/ + /* + * File on disk? + */ if ( g_file_test (filenames[i], G_FILE_TEST_EXISTS ) ) { added += parole_media_list_add_by_path (list, filenames[i], i == 0 ? TRUE : FALSE); @@ -1319,7 +1859,7 @@ } } - return added == i; + return added > 0; } void parole_media_list_save_list (ParoleMediaList *list) diff -Nru parole-0.2.0.2/src/parole-medialist.h parole-0.2.0.6/src/parole-medialist.h --- parole-0.2.0.2/src/parole-medialist.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-medialist.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -33,6 +33,7 @@ { PIXBUF_COL, NAME_COL, + LENGTH_COL, DATA_COL, COL_NUMBERS }; @@ -81,6 +82,9 @@ GtkTreeRowReference *parole_media_list_get_selected_row (ParoleMediaList *list); +void parole_media_list_select_row (ParoleMediaList *list, + GtkTreeRowReference *row); + GtkTreeRowReference *parole_media_list_get_next_row (ParoleMediaList *list, GtkTreeRowReference *row, gboolean repeat); @@ -93,11 +97,16 @@ void parole_media_list_set_row_pixbuf (ParoleMediaList *list, GtkTreeRowReference *row, GdkPixbuf *pix); - + void parole_media_list_set_row_name (ParoleMediaList *list, GtkTreeRowReference *row, const gchar *name); + +void parole_media_list_set_row_length (ParoleMediaList *list, + GtkTreeRowReference *row, + const gchar *length); + void parole_media_list_open (ParoleMediaList *list); void parole_media_list_open_location (ParoleMediaList *list); diff -Nru parole-0.2.0.2/src/parole-module.c parole-0.2.0.6/src/parole-module.c --- parole-0.2.0.2/src/parole-module.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-module.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-module.h parole-0.2.0.6/src/parole-module.h --- parole-0.2.0.2/src/parole-module.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-module.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-open-location.c parole-0.2.0.6/src/parole-open-location.c --- parole-0.2.0.2/src/parole-open-location.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-open-location.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -30,15 +30,26 @@ #include "parole-open-location.h" #include "parole-rc-utils.h" +#include "parole-builder.h" + +#include "interfaces/open-location_ui.h" static void parole_open_location_finalize (GObject *object); -#define PAROLE_OPEN_LOCATION_GET_PRIVATE(o) \ -(G_TYPE_INSTANCE_GET_PRIVATE ((o), PAROLE_TYPE_OPEN_LOCATION, ParoleOpenLocationPrivate)) +struct ParoleOpenLocation +{ + GObject parent; + + + GtkWidget *entry; +}; -struct ParoleOpenLocationPrivate +struct ParoleOpenLocationClass { - GtkWidget *entry; + GObjectClass parent_class; + + void (*location_opened) (ParoleOpenLocation *self, + const gchar *address); }; enum @@ -55,7 +66,7 @@ static guint signals [LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE (ParoleOpenLocation, parole_open_location, GTK_TYPE_DIALOG) +G_DEFINE_TYPE (ParoleOpenLocation, parole_open_location, G_TYPE_OBJECT) static void parole_open_location_response_cb (GtkDialog *dialog, gint response_id, ParoleOpenLocation *self) @@ -64,19 +75,19 @@ if ( response_id == GTK_RESPONSE_OK ) { - location = gtk_entry_get_text (GTK_ENTRY (self->priv->entry)); + location = gtk_entry_get_text (GTK_ENTRY (self->entry)); if ( !location || strlen (location) == 0) goto out; TRACE ("Location %s", location); - gtk_widget_hide (GTK_WIDGET (self)); + gtk_widget_hide (GTK_WIDGET (dialog)); g_signal_emit (G_OBJECT (self), signals [LOCATION_OPENED], 0, location); } out: - gtk_widget_destroy (GTK_WIDGET (self)); + gtk_widget_destroy (GTK_WIDGET (dialog)); } static GtkTreeModel * @@ -134,14 +145,11 @@ NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); - - g_type_class_add_private (klass, sizeof (ParoleOpenLocationPrivate)); } static void parole_open_location_init (ParoleOpenLocation *self) { - self->priv = PAROLE_OPEN_LOCATION_GET_PRIVATE (self); } static void @@ -161,37 +169,32 @@ gtk_list_store_clear (GTK_LIST_STORE (model)); } -GtkWidget *parole_open_location (GtkWidget *parent) +ParoleOpenLocation *parole_open_location (GtkWidget *parent) { + ParoleOpenLocation *self; + GtkWidget *dialog; GtkEntryCompletion *cmpl; GtkTreeModel *model; - GtkWidget *label; - GtkWidget *clear; - GtkWidget *img; - GtkWidget *vbox; - GtkWidget *hbox; - - ParoleOpenLocation *self = NULL; + GtkBuilder *builder; self = g_object_new (PAROLE_TYPE_OPEN_LOCATION, NULL); - if ( parent ) - gtk_window_set_transient_for (GTK_WINDOW (self), GTK_WINDOW (parent)); + builder = parole_builder_new_from_string (open_location_ui, open_location_ui_length); - gtk_window_set_title (GTK_WINDOW (self), _("Open location...")); - gtk_window_set_default_size (GTK_WINDOW (self), 360, 40); - gtk_window_set_position (GTK_WINDOW (self), GTK_WIN_POS_CENTER_ON_PARENT); + dialog = GTK_WIDGET (gtk_builder_get_object (builder, "open-location")); - label = gtk_label_new (NULL); - gtk_label_set_markup (GTK_LABEL (label), _("Open location of media file or live stream:")); + if ( parent ) + gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (parent)); + + gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER_ON_PARENT); - self->priv->entry = gtk_entry_new (); + self->entry = GTK_WIDGET (gtk_builder_get_object (builder, "entry")); model = parole_open_location_get_completion_model (); - gtk_entry_set_activates_default (GTK_ENTRY (self->priv->entry), TRUE); + gtk_entry_set_activates_default (GTK_ENTRY (self->entry), TRUE); cmpl = gtk_entry_completion_new (); - gtk_entry_set_completion (GTK_ENTRY (self->priv->entry), cmpl); + gtk_entry_set_completion (GTK_ENTRY (self->entry), cmpl); gtk_entry_completion_set_model (cmpl, model); gtk_entry_completion_set_text_column (cmpl, 0); @@ -199,46 +202,20 @@ (GtkEntryCompletionMatchFunc) parole_open_location_match, model, NULL); - - img = gtk_image_new_from_stock (GTK_STOCK_CLEAR, GTK_ICON_SIZE_BUTTON); - clear = gtk_button_new_with_label (_("Clear history")); - g_signal_connect_swapped (clear, "clicked", - G_CALLBACK (parole_open_location_clear_history), model); - - g_object_set (G_OBJECT (clear), - "image", img, - NULL); - - vbox = gtk_vbox_new (TRUE, 4); - hbox = gtk_hbox_new (FALSE, 8); - - gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); - - gtk_box_pack_start (GTK_BOX (hbox), self->priv->entry, TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX (hbox), clear, FALSE, FALSE, 0); - - gtk_box_pack_start (GTK_BOX (GTK_DIALOG (self)->vbox), - vbox, - TRUE, - TRUE, - 0); - - gtk_dialog_add_buttons (GTK_DIALOG (self), - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OPEN, GTK_RESPONSE_OK, - NULL); + gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); - gtk_dialog_set_default_response (GTK_DIALOG (self), GTK_RESPONSE_OK); + g_signal_connect_swapped (gtk_builder_get_object (builder, "clear-history"), "clicked", + G_CALLBACK (parole_open_location_clear_history), model); - g_signal_connect (self, "delete-event", - G_CALLBACK (gtk_widget_destroy), self); + g_signal_connect (dialog, "delete-event", + G_CALLBACK (gtk_widget_destroy), NULL); - g_signal_connect (self, "response", + g_signal_connect (dialog, "response", G_CALLBACK (parole_open_location_response_cb), self); - - gtk_widget_show_all (GTK_WIDGET (self)); - return GTK_WIDGET (self); + gtk_widget_show_all (dialog); + g_object_unref (builder); + + return self; } diff -Nru parole-0.2.0.2/src/parole-open-location.h parole-0.2.0.6/src/parole-open-location.h --- parole-0.2.0.2/src/parole-open-location.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-open-location.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -30,27 +30,12 @@ #define PAROLE_OPEN_LOCATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PAROLE_TYPE_OPEN_LOCATION, ParoleOpenLocation)) #define PAROLE_IS_OPEN_LOCATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PAROLE_TYPE_OPEN_LOCATION)) -typedef struct ParoleOpenLocationPrivate ParoleOpenLocationPrivate; - -typedef struct -{ - GtkDialog parent; - ParoleOpenLocationPrivate *priv; - -} ParoleOpenLocation; - -typedef struct -{ - GtkDialogClass parent_class; - - void (*location_opened) (ParoleOpenLocation *self, - const gchar *address); - -} ParoleOpenLocationClass; +typedef struct ParoleOpenLocation ParoleOpenLocation; +typedef struct ParoleOpenLocationClass ParoleOpenLocationClass; GType parole_open_location_get_type (void) G_GNUC_CONST; -GtkWidget *parole_open_location (GtkWidget *parent); +ParoleOpenLocation *parole_open_location (GtkWidget *parent); G_END_DECLS diff -Nru parole-0.2.0.2/src/parole-player.c parole-0.2.0.6/src/parole-player.c --- parole-0.2.0.2/src/parole-player.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-player.c 2011-04-17 11:53:30.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -34,6 +34,9 @@ #include #include +#ifdef XFCE_DISABLE_DEPRECATED +#undef XFCE_DISABLE_DEPRECATED +#endif #include #include @@ -537,6 +540,21 @@ } static void +parole_player_seekable_notify (ParoleStream *stream, GParamSpec *spec, ParolePlayer *player) +{ + gboolean seekable; + + g_object_get (G_OBJECT (stream), + "seekable", &seekable, + NULL); + + gtk_widget_set_tooltip_text (GTK_WIDGET (player->priv->range), seekable ? NULL : _("Media stream is not seekable")); + gtk_widget_set_sensitive (GTK_WIDGET (player->priv->range), seekable); + gtk_widget_set_sensitive (player->priv->seekf, seekable); + gtk_widget_set_sensitive (player->priv->seekb, seekable); +} + +static void parole_player_set_playpause_button_image (GtkWidget *widget, const gchar *stock_id) { GtkWidget *img; @@ -608,8 +626,6 @@ gboolean seekable; gboolean live; - player->priv->state = PAROLE_MEDIA_STATE_PLAYING; - pix = parole_icon_load ("player_play", 16); if ( !pix ) @@ -646,7 +662,7 @@ g_object_unref (pix); parole_player_save_uri (player, stream); - + parole_media_list_select_row (player->priv->list, player->priv->row); gtk_widget_grab_focus (player->priv->gst); } @@ -655,8 +671,6 @@ { GdkPixbuf *pix = NULL; - player->priv->state = PAROLE_MEDIA_STATE_PAUSED; - TRACE ("Player paused"); pix = parole_icon_load (GTK_STOCK_MEDIA_PAUSE, 16); @@ -688,8 +702,6 @@ { TRACE ("Player stopped"); - player->priv->state = PAROLE_MEDIA_STATE_STOPPED; - gtk_widget_set_sensitive (player->priv->play_pause, parole_media_list_is_selected_row (player->priv->list) || !parole_media_list_is_empty (player->priv->list)); @@ -820,7 +832,9 @@ NULL); if ( has_video ) + { parole_screen_saver_inhibit (player->priv->screen_saver); + } } else parole_screen_saver_uninhibit (player->priv->screen_saver); @@ -831,6 +845,9 @@ { PAROLE_DEBUG_ENUM ("State callback", state, GST_ENUM_TYPE_MEDIA_STATE); + + player->priv->state = state; + parole_player_reset_saver_changed (player, stream); if ( state == PAROLE_MEDIA_STATE_PLAYING ) @@ -1063,7 +1080,7 @@ rect.height + rect.y - player->priv->play_box->allocation.height); } -static void +void parole_player_full_screen (ParolePlayer *player, gboolean fullscreen) { gint npages; @@ -1991,6 +2008,9 @@ gtk_widget_realize (player->priv->gst); gtk_widget_show (player->priv->gst); + g_signal_connect (G_OBJECT (parole_gst_get_stream (PAROLE_GST (player->priv->gst))), "notify::seekable", + G_CALLBACK (parole_player_seekable_notify), player); + parole_player_change_volume (player, (gdouble) (parole_rc_read_entry_int ("volume", PAROLE_RC_GROUP_GENERAL, 100)/100.)); diff -Nru parole-0.2.0.2/src/parole-player.h parole-0.2.0.6/src/parole-player.h --- parole-0.2.0.2/src/parole-player.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-player.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -56,6 +56,9 @@ void parole_player_terminate (ParolePlayer *player); +void parole_player_full_screen (ParolePlayer *player, + gboolean fullscreen); + G_END_DECLS #endif /* __PAROLE_PLAYER_H */ diff -Nru parole-0.2.0.2/src/parole-plugin-player.c parole-0.2.0.6/src/parole-plugin-player.c --- parole-0.2.0.2/src/parole-plugin-player.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-plugin-player.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-plugin-player.h parole-0.2.0.6/src/parole-plugin-player.h --- parole-0.2.0.2/src/parole-plugin-player.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-plugin-player.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-plugins-manager.c parole-0.2.0.6/src/parole-plugins-manager.c --- parole-0.2.0.2/src/parole-plugins-manager.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-plugins-manager.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -28,6 +28,10 @@ #include + +#ifdef XFCE_DISABLE_DEPRECATED +#undef XFCE_DISABLE_DEPRECATED +#endif #include #include diff -Nru parole-0.2.0.2/src/parole-plugins-manager.h parole-0.2.0.6/src/parole-plugins-manager.h --- parole-0.2.0.2/src/parole-plugins-manager.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-plugins-manager.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-session.c parole-0.2.0.6/src/parole-session.c --- parole-0.2.0.2/src/parole-session.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-session.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -26,6 +26,10 @@ #include #include + +#ifdef XFCE_DISABLE_DEPRECATED +#undef XFCE_DISABLE_DEPRECATED +#endif #include #include diff -Nru parole-0.2.0.2/src/parole-session.h parole-0.2.0.6/src/parole-session.h --- parole-0.2.0.2/src/parole-session.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-session.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-statusbar.c parole-0.2.0.6/src/parole-statusbar.c --- parole-0.2.0.2/src/parole-statusbar.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-statusbar.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -165,10 +165,15 @@ else { filename = g_filename_from_uri (uri, NULL, NULL); - text = g_strdup_printf ("%s '%s'", _("Live stream:"), filename); - gtk_label_set_text (GTK_LABEL (bar->priv->label_text), text); - g_free (filename); + if ( filename ) + { + text = g_strdup_printf ("%s '%s'", _("Live stream:"), filename); + g_free (filename); + } + else + text = g_strdup (_("Live stream:")); + gtk_label_set_text (GTK_LABEL (bar->priv->label_text), text); } g_free (text); diff -Nru parole-0.2.0.2/src/parole-statusbar.h parole-0.2.0.6/src/parole-statusbar.h --- parole-0.2.0.2/src/parole-statusbar.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-statusbar.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-utils.c parole-0.2.0.6/src/parole-utils.c --- parole-0.2.0.2/src/parole-utils.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-utils.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -38,6 +38,10 @@ #include #endif +#ifdef HAVE_TAGLIBC +#include +#endif + #include #include @@ -361,6 +365,9 @@ playlist_filter = parole_get_supported_playlist_filter (); g_object_ref_sink (playlist_filter); + gtk_main_iteration_do (FALSE); + + if ( g_file_test (path, G_FILE_TEST_IS_REGULAR ) ) { file = parole_file_new (path); @@ -595,3 +602,73 @@ return uri; } + +/** + * parole_format_media_length: + * + * @total_seconds: lenght of the media file in seconds + * + * Returns : formated string for the media lenght + **/ +gchar *parole_format_media_length (gint total_seconds) +{ + gchar *timestring; + + gint hours; + gint minutes; + gint seconds; + + minutes = total_seconds / 60; + seconds = total_seconds % 60; + hours = minutes / 60; + minutes = minutes % 60; + + if ( hours == 0 ) + { + timestring = g_strdup_printf ("%02i:%02i", minutes, seconds); + } + else + { + timestring = g_strdup_printf ("%i:%02i:%02i", hours, minutes, seconds); + } + + return timestring; +} + + +/** + * parole_taglibc_get_media_length: + * + * @ParoleFile: a ParoleFile + * + * Returns: the length of the media only if the file is a local + * media file. + **/ +gchar *parole_taglibc_get_media_length (ParoleFile *file) +{ + #ifdef HAVE_TAGLIBC + + TagLib_File *tag_file; + + if (g_str_has_prefix (parole_file_get_uri (file), "file:/")) + { + tag_file = taglib_file_new (parole_file_get_file_name (file)); + + if ( tag_file ) + { + gint length = 0; + const TagLib_AudioProperties *prop = taglib_file_audioproperties (tag_file); + + if (prop) + length = taglib_audioproperties_length (prop); + + taglib_file_free (tag_file); + + if (length != 0) + return parole_format_media_length (length); + } + } + #endif /* HAVE_TAGLIBC */ + + return NULL; +} diff -Nru parole-0.2.0.2/src/parole-utils.h parole-0.2.0.6/src/parole-utils.h --- parole-0.2.0.2/src/parole-utils.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-utils.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * @@ -50,4 +50,8 @@ gchar *parole_get_uri_from_unix_device (const gchar *device); +gchar *parole_format_media_length (gint total_seconds); + +gchar *parole_taglibc_get_media_length (ParoleFile *file); + #endif /* __PAROLE_UTILS_ */ diff -Nru parole-0.2.0.2/src/parole-vis.c parole-0.2.0.6/src/parole-vis.c --- parole-0.2.0.2/src/parole-vis.c 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-vis.c 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 * diff -Nru parole-0.2.0.2/src/parole-vis.h parole-0.2.0.6/src/parole-vis.h --- parole-0.2.0.2/src/parole-vis.h 2010-01-25 11:22:07.000000000 +0000 +++ parole-0.2.0.6/src/parole-vis.h 2011-04-17 11:53:19.000000000 +0000 @@ -1,5 +1,5 @@ /* - * * Copyright (C) 2009 Ali + * * Copyright (C) 2009-2011 Ali * * Licensed under the GNU General Public License Version 2 *