themonospot-0.7.3.1/000755 000764 000764 00000000000 11220737005 012444 5ustar00000000 000000 themonospot-0.7.3.1/aclocal.m4000644 000764 000764 00000066307 11220737002 014315 0ustar00000000 000000 # generated automatically by aclocal 1.10.2 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, [m4_warning([this file was generated for autoconf 2.63. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [AC_MSG_RESULT([no]) $4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.10.2], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.2])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 13 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([expansions.m4]) themonospot-0.7.3.1/missing000755 000764 000764 00000025577 11151540525 014065 0ustar00000000 000000 #! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: themonospot-0.7.3.1/Makefile.include000644 000764 000764 00000015323 11220737001 015526 0ustar00000000 000000 VALID_CULTURES = ar bg ca zh-CHS cs da de el en es fi fr he hu is it ja ko nl no pl pt ro ru hr sk sq sv th tr id uk be sl et lv lt fa vi hy eu mk af fo hi sw gu ta te kn mr gl kok ar-SA bg-BG ca-ES zh-TW cs-CZ da-DK de-DE el-GR en-US fi-FI fr-FR he-IL hu-HU is-IS it-IT ja-JP ko-KR nl-NL nb-NO pl-PL pt-BR ro-RO ru-RU hr-HR sk-SK sq-AL sv-SE th-TH tr-TR id-ID uk-UA be-BY sl-SI et-EE lv-LV lt-LT fa-IR vi-VN hy-AM eu-ES mk-MK af-ZA fo-FO hi-IN sw-KE gu-IN ta-IN te-IN kn-IN mr-IN gl-ES kok-IN ar-IQ zh-CN de-CH en-GB es-MX fr-BE it-CH nl-BE nn-NO pt-PT sv-FI ar-EG zh-HK de-AT en-AU es-ES fr-CA ar-LY zh-SG de-LU en-CA es-GT fr-CH ar-DZ zh-MO en-NZ es-CR fr-LU ar-MA en-IE es-PA ar-TN en-ZA es-DO ar-OM es-VE ar-YE es-CO ar-SY es-PE ar-JO es-AR ar-LB en-ZW es-EC ar-KW en-PH es-CL ar-AE es-UY ar-BH es-PY ar-QA es-BO es-SV es-HN es-NI es-PR zh-CHT s2q=$(subst \ ,?,$1) q2s=$(subst ?,\ ,$1) # use this when result will be quoted unesc2=$(subst ?, ,$1) build_sources = $(FILES) $(GENERATED_FILES) build_sources_esc= $(call s2q,$(build_sources)) # use unesc2, as build_sources_embed is quoted build_sources_embed= $(call unesc2,$(build_sources_esc:%='$(srcdir)/%')) comma__=, get_resource_name = $(firstword $(subst $(comma__), ,$1)) get_culture = $(lastword $(subst ., ,$(basename $1))) is_cultured_resource = $(and $(word 3,$(subst ., ,$1)), $(filter $(VALID_CULTURES),$(lastword $(subst ., ,$(basename $1))))) RESOURCES_ESC=$(call s2q,$(RESOURCES)) build_resx_list = $(foreach res, $(RESOURCES_ESC), $(if $(filter %.resx, $(call get_resource_name,$(res))),$(res),)) build_non_culture_resx_list = $(foreach res, $(build_resx_list),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res))) build_non_culture_others_list = $(foreach res, $(filter-out $(build_resx_list),$(RESOURCES_ESC)),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res))) build_others_list = $(build_non_culture_others_list) build_xamlg_list = $(filter %.xaml.g.cs, $(FILES)) # resgen all .resx resources build_resx_files = $(foreach res, $(build_resx_list), $(call get_resource_name,$(res))) build_resx_resources_esc = $(build_resx_files:.resx=.resources) build_resx_resources = $(call q2s,$(build_resx_resources_esc)) # embed resources for the main assembly build_resx_resources_hack = $(subst .resx,.resources, $(build_non_culture_resx_list)) # use unesc2, as build_resx_resources_embed is quoted build_resx_resources_embed = $(call unesc2,$(build_resx_resources_hack:%='-resource:%')) build_others_files = $(call q2s,$(foreach res, $(build_others_list),$(call get_resource_name,$(res)))) build_others_resources = $(build_others_files) # use unesc2, as build_others_resources_embed is quoted build_others_resources_embed = $(call unesc2,$(build_others_list:%='-resource:$(srcdir)/%')) build_resources = $(build_resx_resources) $(build_others_resources) build_resources_embed = $(build_resx_resources_embed) $(build_others_resources_embed) # -usesourcepath is available only for resgen2 emit_resgen_target_1=$(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); cd '$$(shell dirname '$$<')' && MONO_IOMAP=drive $$(RESGEN) '$$(shell basename '$$<')' '$$(shell basename '$$@')' emit_resgen_target_2=$(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); MONO_IOMAP=drive $$(RESGEN) -usesourcepath '$$<' '$$@' emit_resgen_target=$(if $(filter resgen2,$(RESGEN)),$(emit_resgen_target_2),$(emit_resgen_target_1)) emit_resgen_targets=$(foreach res,$(build_resx_resources_esc),$(eval $(call emit_resgen_target,$(res)))) build_references_ref = $(call q2s,$(foreach ref, $(call s2q,$(REFERENCES)), $(if $(filter -pkg:%, $(ref)), $(ref), $(if $(filter -r:%, $(ref)), $(ref), -r:$(ref))))) build_references_ref += $(call q2s,$(foreach ref, $(call s2q,$(DLL_REFERENCES)), -r:$(ref))) build_references_ref += $(call q2s,$(foreach ref, $(call s2q,$(PROJECT_REFERENCES)), -r:$(ref))) s2q2s=$(call unesc2,$(call s2q,$1)) cp_actual=test -z $1 || cp $1 $2 cp=$(call cp_actual,'$(call s2q2s,$1)','$(call s2q2s,$2)') rm_actual=test -z '$1' || rm -f '$2' rm=$(call rm_actual,$(call s2q2s,$1),$(call s2q2s,$2)/$(shell basename '$(call s2q2s,$1)')) EXTRA_DIST += $(build_sources) $(build_resx_files) $(build_others_files) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) $(DATA_FILES) $(build_culture_res_files) CLEANFILES += $(ASSEMBLY) $(ASSEMBLY).mdb $(BINARIES) $(build_resx_resources) $(build_satellite_assembly_list) DISTCLEANFILES = $(GENERATED_FILES) $(pc_files) $(BUILD_DIR)/* pkglib_SCRIPTS = $(ASSEMBLY) bin_SCRIPTS = $(BINARIES) programfilesdir = @libdir@/@PACKAGE@ programfiles_DATA = $(PROGRAMFILES) programfileslanguagesdir = @libdir@/@PACKAGE@/languages programfileslanguages_DATA = $(PROGRAMFILES_LANGUAGES) linuxpkgconfigdir = @libdir@/pkgconfig linuxpkgconfig_DATA = $(LINUX_PKGCONFIG) # macros # $(call emit-deploy-target,deploy-variable-name) define emit-deploy-target $($1): $($1_SOURCE) mkdir -p '$$(shell dirname '$$@')' cp '$$<' '$$@' endef # $(call emit-deploy-wrapper,wrapper-variable-name,wrapper-sourcefile,x) # assumes that for a wrapper foo.pc its source template is foo.pc.in # if $3 is non-empty then wrapper is marked exec define emit-deploy-wrapper $($1): $2 mkdir -p '$$(shell dirname '$$@')' cp '$$<' '$$@' $(if $3,chmod +x '$$@') endef # generating satellite assemblies culture_resources = $(foreach res, $(RESOURCES_ESC), $(if $(call is_cultured_resource,$(call get_resource_name, $(res))),$(res))) cultures = $(sort $(foreach res, $(culture_resources), $(call get_culture,$(call get_resource_name,$(res))))) culture_resource_dependencies = $(call q2s,$(BUILD_DIR)/$1/$(SATELLITE_ASSEMBLY_NAME): $(subst .resx,.resources,$2)) culture_resource_commandlines = $(call unesc2,cmd_line_satellite_$1 += '/embed:$(subst .resx,.resources,$2)') build_satellite_assembly_list = $(call q2s,$(cultures:%=$(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME))) build_culture_res_files = $(call q2s,$(foreach res, $(culture_resources),$(call get_resource_name,$(res)))) install_satellite_assembly_list = $(subst $(BUILD_DIR),$(DESTDIR)$(libdir)/$(PACKAGE),$(build_satellite_assembly_list)) $(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_dependencies,$(call get_culture,$(call get_resource_name,$(res))),$(call get_resource_name,$(res)))))) $(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_commandlines,$(call get_culture,$(call get_resource_name,$(res))),$(res))))) $(build_satellite_assembly_list): $(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME): mkdir -p '$(@D)' $(AL) -out:'$@' -culture:$* -t:lib $(cmd_line_satellite_$*) $(install_satellite_assembly_list): mkdir -p '$(@D)' cp $(subst $(DESTDIR)$(libdir)/$(PACKAGE), $(BUILD_DIR), $@) $@ install-satellite-assemblies: $(install_satellite_assembly_list) uninstall-satellite-assemblies: rm -rf $(install_satellite_assembly_list)themonospot-0.7.3.1/themonospot-base/src/AssemblyInfo.cs000755 000764 000764 00000001051 11220736777 021463 0ustar00000000 000000 using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyVersion("0.7.3")] [assembly: AssemblyTitle("themonospot-base")] [assembly: AssemblyDescription("Parser/editor and content descriptor for .avi and .mkv file types")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Armando Basile")] [assembly: AssemblyProduct("themonospot-base")] [assembly: AssemblyCopyright("Armando Basile")] [assembly: AssemblyTrademark("None")] [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyFile("")] themonospot-0.7.3.1/themonospot-base/src/components/000755 000764 000764 00000000000 11220736777 020726 5ustar00000000 000000 themonospot-0.7.3.1/themonospot-base/src/components/IParser.cs000755 000764 000764 00000000766 11220736777 022636 0ustar00000000 000000 using System; using System.Collections.Generic; using themonospot_Base_Main; namespace themonospot_Base_Main { /// /// Interface for all Parser Objects for Themonospot /// public interface IParser { List VideoItems { get; } List AudioItems { get; } void OpenFile(string FileName); } } themonospot-0.7.3.1/themonospot-base/src/components/clsEncoding.cs000755 000764 000764 00000016164 11220736777 023520 0ustar00000000 000000 using System; using System.Text; namespace Utility { /// /// Class to manage bytes array and hexadecimal strings. /// public class clsEncoding { /// /// Create an instance of object /// public clsEncoding() { } /// /// Function to obtain an hexadecimal string (0x00 format) /// from a bytes array. /// /// Bytes array to encoding public string getHexFromBytes(byte[] inBytes) { int j; string tmpHexOut = ""; if (inBytes.Length == 0 ) return ""; for (j=0; j /// Function to obtain an hexadecimal string (0x00 format) /// from a bytes array. /// /// Bytes array to encoding /// OffSet to start encoding /// Encoding length public string getHexFromBytes(byte[] inBytes, int offSet, int len) { int j; string tmpHexOut = ""; if (inBytes.Length < (offSet + len) ) return ""; for (j=offSet; j<(offSet + len); j++) tmpHexOut = tmpHexOut + inBytes[j].ToString("X2"); return tmpHexOut; } public byte[] swapByte(byte[] Input) { byte[] Output = new byte[Input.Length]; for(int k=0; k /// Function to obtain an hexadecimal string (0x00 format) /// from an Hexadecimal string /// /// string hexadecimal to swap public string swapHex(string inHex) { int j; string tmpHexOut = ""; if (inHex.Length == 0 ) return ""; for (j=(inHex.Length-2); j>=0; j=j-2) { tmpHexOut = tmpHexOut + inHex.Substring(j,2) ; } return tmpHexOut; } /// /// Function to obtain an hexadecimal string (0x00 format) /// from an Ascii string /// public string getHexFromAscii(string inAscii) { int j; string tmpHexOut = ""; char[] tmpStep; if (inAscii.Length == 0 ) return ""; for (j=0; j /// Function to obtain an ASCII string /// from an hexadecimal string. /// public string getAsciiFromHex(string inHexString) { int j, n; string tmpAsciiOut = ""; if (inHexString.Length == 0 ) return ""; for (j=0; j /// Function to obtain an Hex String from int value /// public string getHexFromInt(int inValue) { string tmpHexOut = ""; tmpHexOut = inValue.ToString("X8"); return tmpHexOut; } /// /// Function to obtain an ASCII string /// from bytes array. /// public string getAsciiFromArray(byte[] inData) { int j; string tmpAsciiOut = ""; if (inData.Length == 0 ) return ""; for (j=0; j /// Function to obtain an Integer value from Bytes array /// public int getIntFromBytes(byte[] inBArray, int startOffSet, int length) { int j, n; n = 0; if (inBArray.Length == 0 ) return 0; for (j=startOffSet; j<(length + startOffSet); j++) n = n + (inBArray[j]<<( 8*(j-startOffSet) ) ); return n; } /// /// Compare two array /// public int compareBytesArray(byte[] bigArray, byte[] smallArray, int offSet) { int len1 = bigArray.Length; int len2 = smallArray.Length; int k, j; bool okCompare=false; for (k=offSet; k<(len1-len2); k++) { okCompare=true; for (j=0; j> 8) & 0xFF); chars[2] = (char)((FourCC >> 16) & 0xFF); chars[3] = (char)((FourCC >> 24) & 0xFF); return new string(chars); } public static int ToFourCC(string FourCC) { if (FourCC.Length != 4) { throw new Exception("FourCC strings must be 4 characters long " + FourCC); } int result = ((int)FourCC[3]) << 24 | ((int)FourCC[2]) << 16 | ((int)FourCC[1]) << 8 | ((int)FourCC[0]); return result; } public static byte[] ToFourCCByte(string FourCC) { if (FourCC.Length != 4) { throw new Exception("FourCC strings must be 4 characters long " + FourCC); } byte[] tmpByte = new byte[4]; tmpByte[0] = Convert.ToByte(((int)FourCC[0])); tmpByte[1] = Convert.ToByte(((int)FourCC[1])); tmpByte[2] = Convert.ToByte(((int)FourCC[2])); tmpByte[3] = Convert.ToByte(((int)FourCC[3])); return tmpByte; } public static int ToFourCC(char[] FourCC) { if (FourCC.Length != 4) { throw new Exception("FourCC char arrays must be 4 characters long " + new string(FourCC)); } int result = ((int)FourCC[3]) << 24 | ((int)FourCC[2]) << 16 | ((int)FourCC[1]) << 8 | ((int)FourCC[0]); return result; } public static int ToFourCC(char c0, char c1, char c2, char c3) { int result = ((int)c3) << 24 | ((int)c2) << 16 | ((int)c1) << 8 | ((int)c0); return result; } #endregion public void addValueToLongArray(long[] inArray, out long[] outArray, long newValue) { long[] tmpArray = new long[inArray.Length + 1]; Array.Copy(inArray, tmpArray, inArray.Length); tmpArray[tmpArray.Length-1] = newValue; outArray = tmpArray; } } } themonospot-0.7.3.1/themonospot-base/src/components/clsConfiguration.cs000755 000764 000764 00000001762 11220736777 024577 0ustar00000000 000000 using System; namespace themonospot_Base_Main { public class clsConfiguration { string my_defaultPath; bool _autoReport; public clsConfiguration() { } public string defaultPath { get { return my_defaultPath; } set { my_defaultPath = value; } } public bool autoReport { get { return _autoReport; } set { _autoReport = value; } } public void UpdateConfigFile(string configfilepath) { ABasile.SettingsManager SM = new ABasile.SettingsManager(configfilepath); SM.WriteString("Defaults", "defaultPath", my_defaultPath); SM.WriteBool("Defaults", "autoReport", _autoReport); SM.Save(); SM = null; } public void ReadConfigFile(string configfilepath) { ABasile.SettingsManager SM = new ABasile.SettingsManager(configfilepath); my_defaultPath = SM.ReadString("Defaults", "defaultPath", ""); _autoReport = SM.ReadBool("Defaults", "autoReport", false); SM = null; } } } themonospot-0.7.3.1/themonospot-base/src/components/clsThemonospotBase.cs000755 000764 000764 00000014674 11220736777 025110 0ustar00000000 000000 using System; using System.Text; using System.IO; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Xml.Serialization; using themonospot_Base_Main; namespace themonospot_Base_Main { public class clsThemonospotBase { private string myConfigFilePath = ""; private clsConfiguration settingsClass = null; private clsParserAVI tmsParserAVI = null; private clsParserMKV tmsParserMKV = null; private long ASH_offset = 0; private long VSH_offset = 0; private long moviOffset = 0; private long moviSize = 0; private int moviFrames = 0; private long idxSize = 0; private long idxStart = 0; private bool _rec_ix = false; private string _userDataToChange = ""; private string _newAviFileName = ""; private double _saveStatus = 0; private string _saveError = ""; private bool _saveFlag = false; private double _totProgressItems = 0; private bool _redrawInfo = false; private string _saveInfo = ""; public double totProgressItems { get { return _totProgressItems; } } public bool redrawInfo { get { return _redrawInfo; } set { _redrawInfo = value; } } public bool saveFlag { get { return _saveFlag; } set { _saveFlag = value; } } public double saveStatus { get { return _saveStatus; } } public string newAviFileName { get { return _newAviFileName; } set { _newAviFileName = value; } } public string saveInfo { get { return _saveInfo; } } public string saveError { get { return _saveError; } } public string userDataToChange { get { return _userDataToChange; } } public string defaultPath { get { return settingsClass.defaultPath;} } public bool autoReport { get { return settingsClass.autoReport;} set { settingsClass.autoReport = value; settingsClass.UpdateConfigFile(myConfigFilePath); } } public bool rec_ix { get { return _rec_ix; } } /// /// Create an instance of object /// public clsThemonospotBase() { if (IsWindows() == true) myConfigFilePath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + Path.DirectorySeparatorChar.ToString(); else myConfigFilePath = Environment.GetFolderPath(Environment.SpecialFolder.Personal) + Path.DirectorySeparatorChar.ToString(); myConfigFilePath += ".themonospot"; settingsClass = new clsConfiguration(); settingsClass.ReadConfigFile(myConfigFilePath); } public string Release() { return Assembly.GetExecutingAssembly().GetName().Version.Major.ToString() + "." + Assembly.GetExecutingAssembly().GetName().Version.Minor.ToString() + "." + Assembly.GetExecutingAssembly().GetName().Version.Build.ToString(); } private bool IsWindows() { PlatformID platform = Environment.OSVersion.Platform; return (platform == PlatformID.Win32NT | platform == PlatformID.Win32Windows | platform == PlatformID.Win32S | platform == PlatformID.WinCE); } // Write the parameters in a config file. private void writeConfigurationFile() { settingsClass.UpdateConfigFile(myConfigFilePath); } // Read the parameters in a config file private void readConfigurationFile() { settingsClass.ReadConfigFile(myConfigFilePath); } public bool parseMovieFile(string filename, ref string retError, ref List VideoInfo, ref List AudioInfo, ref string ASHinfo, ref string VSHinfo) { string file_extention = filename.ToLower().Substring(filename.Length - 3); VideoInfo = new List(); AudioInfo = new List(); retError = ""; _userDataToChange = ""; Console.WriteLine("file ext = " + file_extention); if (file_extention == "avi") tmsParserAVI = new clsParserAVI(); else if (file_extention == "mkv") tmsParserMKV = new clsParserMKV(); else { retError = "File extention not supported !"; return false; } if (File.Exists(filename) != true) { retError = "File not found !"; return false; } try { if (file_extention == "avi") { tmsParserAVI.OpenFile(filename); ASH_offset = tmsParserAVI.fourCC_AVISTREAMHEADER_offset; VSH_offset = tmsParserAVI.fourCC_AVIVIDEOHEADER_offset; moviOffset = tmsParserAVI.m_MoviStart; moviSize = tmsParserAVI.m_MoviSize; moviFrames = tmsParserAVI.headerFile.dwTotalFrames; idxSize = tmsParserAVI.m_IdxSize; idxStart = tmsParserAVI.m_IdxStart; _rec_ix = tmsParserAVI.rec_ix_presence; VSHinfo = tmsParserAVI.VideoItems[0].ItemValue; ASHinfo = tmsParserAVI.VideoItems[1].ItemValue; VideoInfo = tmsParserAVI.VideoItems; AudioInfo = tmsParserAVI.AudioItems; _userDataToChange = tmsParserAVI.udToChange; } else if (file_extention == "mkv") { tmsParserMKV.OpenFile(filename); VideoInfo = tmsParserMKV.VideoItems; AudioInfo = tmsParserMKV.AudioItems; } } catch (ParserException e) { retError = e.Message; return false; } catch (Exception e) { retError = e.Message; return false; } settingsClass.defaultPath = Path.GetDirectoryName(filename); writeConfigurationFile(); return true; } public void updateFourCC(string ASH, string VSH) { tmsParserAVI.change4CC(ASH, VSH, ASH_offset, VSH_offset); return; } public void resaveAviFile() { tmsParserAVI.udToChange = _userDataToChange; tmsParserAVI.saveNewAvi(_newAviFileName, ref _redrawInfo, ref _saveError, ref _saveStatus, ref _saveFlag, ref _totProgressItems, ref _saveInfo); return; } } } themonospot-0.7.3.1/themonospot-base/src/components/clsInfoItem.cs000755 000764 000764 00000000712 11220736777 023474 0ustar00000000 000000 using System; namespace themonospot_Base_Main { /// /// Description of clsInfoItem. /// public class clsInfoItem { public string ItemName = ""; public string ItemValue = ""; public clsInfoItem() { } public clsInfoItem(string Name, string Value) { ItemName = Name; ItemValue = Value; } } } themonospot-0.7.3.1/themonospot-base/src/components/clsLanguages.cs000755 000764 000764 00000020630 11220736777 023671 0ustar00000000 000000 // clsLanguages.cs created with MonoDevelop // User: hman at 16:22 26/12/2007 // using System; using System.IO; using System.Reflection; namespace themonospot_Base_Main { /// /// Internationalization ... /// public static class clsLanguages { private static string ExePath = ""; // Application path private static string _DESCFILE = ""; private static string _LBLFILE = ""; private static string _DESCVIDEO = ""; private static string _VCOL1NAME = ""; private static string _VCOL2NAME = ""; private static string _DESCAUDIO = ""; private static string _ACOL1NAME = ""; private static string _ACOL2NAME = ""; private static string _ABOUTBT = ""; private static string _EXPORTBT = ""; private static string _FOURCCBT = ""; private static string _UDATABT = ""; private static string _RESCANBT = ""; private static string _FCTITLE = ""; private static string _TTTEXPORT = ""; private static string _TTTFOURCC = ""; private static string _TTTUDATA = ""; private static string _FOURCCSURE = ""; private static string _FOURCCTITLE = ""; private static string _UDATAERROR = ""; private static string _UDATATITLE = ""; private static string _EXPORTTITLE = ""; private static string _BTCANCEL = ""; private static string _BTACCEPT = ""; private static string _EXPMESSAGE1 = ""; private static string _EXPMESSAGE2 = ""; private static string _EXPMESSAGE3 = ""; private static string _EXPMESSAGE4 = ""; private static string _WAITTITLE = ""; private static string _SAVEAS = ""; private static string _4CCTITLE = ""; private static string _4CCINFO = ""; private static string _4CCCODE = ""; private static string _4CCDESC = ""; private static string _AUTOEXPORT = ""; public static string DESCFILE { get { return _DESCFILE; } } public static string LBLFILE { get { return _LBLFILE; } } public static string DESCVIDEO { get { return _DESCVIDEO; } } public static string VCOL1NAME { get { return _VCOL1NAME; } } public static string VCOL2NAME { get { return _VCOL2NAME; } } public static string DESCAUDIO { get { return _DESCAUDIO; } } public static string ACOL1NAME { get { return _ACOL1NAME; } } public static string ACOL2NAME { get { return _ACOL2NAME; } } public static string ABOUTBT { get { return _ABOUTBT; } } public static string EXPORTBT { get { return _EXPORTBT; } } public static string FOURCCBT { get { return _FOURCCBT; } } public static string UDATABT { get { return _UDATABT; } } public static string RESCANBT { get { return _RESCANBT; } } public static string FCTITLE { get { return _FCTITLE; } } public static string TTTEXPORT { get { return _TTTEXPORT; } } public static string TTTFOURCC { get { return _TTTFOURCC; } } public static string TTTUDATA { get { return _TTTUDATA; } } public static string FOURCCSURE { get { return _FOURCCSURE; } } public static string FOURCCTITLE { get { return _FOURCCTITLE; } } public static string UDATAERROR { get { return _UDATAERROR; } } public static string UDATATITLE { get { return _UDATATITLE; } } public static string EXPORTTITLE { get { return _EXPORTTITLE; } } public static string BTCANCEL { get { return _BTCANCEL; } } public static string BTACCEPT { get { return _BTACCEPT; } } public static string EXPMESSAGE1 { get { return _EXPMESSAGE1; } } public static string EXPMESSAGE2 { get { return _EXPMESSAGE2; } } public static string EXPMESSAGE3 { get { return _EXPMESSAGE3; } } public static string EXPMESSAGE4 { get { return _EXPMESSAGE4; } } public static string WAITTITLE { get { return _WAITTITLE; } } public static string SAVEAS { get { return _SAVEAS; } } public static string FCCTITLE { get { return _4CCTITLE; } } public static string FCCINFO { get { return _4CCINFO; } } public static string FCCCODE { get { return _4CCCODE; } } public static string FCCDESC { get { return _4CCDESC; } } public static string AUTOEXPORT { get { return _AUTOEXPORT; } } public static string LanguageName = ""; // System Language public static string LanguageSet = ""; // Available Language /// /// Init component and load infos /// /// /// Error message /// public static string Init() { ExePath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location.ToString()); StreamReader mySR; string theLine = ""; if (System.IO.File.Exists(ExePath + Path.DirectorySeparatorChar + "languages" + Path.DirectorySeparatorChar + LanguageName + ".lf") == true) LanguageSet = LanguageName; else LanguageSet = "English"; try { mySR = new StreamReader(ExePath + Path.DirectorySeparatorChar + "languages" + Path.DirectorySeparatorChar + LanguageSet + ".lf"); while (mySR.EndOfStream == false) { theLine = mySR.ReadLine().Trim(); if (theLine.IndexOf("#") != 0) { if (theLine.IndexOf("DESCFILE=") == 0) { _DESCFILE = theLine.Substring(9); } else if (theLine.IndexOf("LBLFILE=") == 0) { _LBLFILE = theLine.Substring(8); } else if (theLine.IndexOf("DESCVIDEO=") == 0) { _DESCVIDEO = theLine.Substring(10); } else if (theLine.IndexOf("VCOL1NAME=") == 0) { _VCOL1NAME = theLine.Substring(10); } else if (theLine.IndexOf("VCOL2NAME=") == 0) { _VCOL2NAME = theLine.Substring(10); } else if (theLine.IndexOf("DESCAUDIO=") == 0) { _DESCAUDIO = theLine.Substring(10); } else if (theLine.IndexOf("ACOL1NAME=") == 0) { _ACOL1NAME = theLine.Substring(10); } else if (theLine.IndexOf("ACOL2NAME=") == 0) { _ACOL2NAME = theLine.Substring(10); } else if (theLine.IndexOf("ABOUTBT=") == 0) { _ABOUTBT = theLine.Substring(8); } else if (theLine.IndexOf("EXPORTBT=") == 0) { _EXPORTBT = theLine.Substring(9); } else if (theLine.IndexOf("FOURCCBT=") == 0) { _FOURCCBT = theLine.Substring(9); } else if (theLine.IndexOf("UDATABT=") == 0) { _UDATABT = theLine.Substring(8); } else if (theLine.IndexOf("RESCANBT=") == 0) { _RESCANBT = theLine.Substring(9); } else if (theLine.IndexOf("FCTITLE=") == 0) { _FCTITLE = theLine.Substring(8); } else if (theLine.IndexOf("TTTEXPORT=") == 0) { _TTTEXPORT = theLine.Substring(10); } else if (theLine.IndexOf("TTTFOURCC=") == 0) { _TTTFOURCC = theLine.Substring(10); } else if (theLine.IndexOf("TTTUDATA=") == 0) { _TTTUDATA = theLine.Substring(9); } else if (theLine.IndexOf("FOURCCSURE=") == 0) { _FOURCCSURE = theLine.Substring(11); } else if (theLine.IndexOf("FOURCCTITLE=") == 0) { _FOURCCTITLE = theLine.Substring(12); } else if (theLine.IndexOf("UDATAERROR=") == 0) { _UDATAERROR = theLine.Substring(11); } else if (theLine.IndexOf("UDATATITLE=") == 0) { _UDATATITLE = theLine.Substring(11); } else if (theLine.IndexOf("EXPORTTITLE=") == 0) { _EXPORTTITLE = theLine.Substring(12); } else if (theLine.IndexOf("BTCANCEL=") == 0) { _BTCANCEL = theLine.Substring(9); } else if (theLine.IndexOf("BTACCEPT=") == 0) { _BTACCEPT = theLine.Substring(9); } else if (theLine.IndexOf("EXPMESSAGE1=") == 0) { _EXPMESSAGE1 = theLine.Substring(12); } else if (theLine.IndexOf("EXPMESSAGE2=") == 0) { _EXPMESSAGE2 = theLine.Substring(12); } else if (theLine.IndexOf("EXPMESSAGE3=") == 0) { _EXPMESSAGE3 = theLine.Substring(12); } else if (theLine.IndexOf("EXPMESSAGE4=") == 0) { _EXPMESSAGE4 = theLine.Substring(12); } else if (theLine.IndexOf("WAITTITLE=") == 0) { _WAITTITLE = theLine.Substring(10); } else if (theLine.IndexOf("SAVEAS=") == 0) { _SAVEAS = theLine.Substring(7); } else if (theLine.IndexOf("4CCTITLE=") == 0) { _4CCTITLE = theLine.Substring(9); } else if (theLine.IndexOf("4CCINFO=") == 0) { _4CCINFO = theLine.Substring(8); } else if (theLine.IndexOf("4CCCODE=") == 0) { _4CCCODE = theLine.Substring(8); } else if (theLine.IndexOf("4CCDESC=") == 0) { _4CCDESC = theLine.Substring(8); } else if (theLine.IndexOf("AUTOEXPORT=") == 0) { _AUTOEXPORT = theLine.Substring(11); } } } mySR.Close(); mySR.Dispose(); mySR = null; return ""; } catch (Exception Ex) { return Ex.Message; } } } } themonospot-0.7.3.1/themonospot-base/src/components/clsMkvStructures.cs000755 000764 000764 00000001630 11220736777 024623 0ustar00000000 000000 using System; namespace themonospot_Base_Main { /// /// Description of clsMkvStructures. /// public class clsMkvTrack { public int Track_Number = 0; public string Track_UID = ""; public int Track_Type = 0; public string Track_Lang = ""; public string Track_Codec = ""; public clsMkvVideo Track_Video = new clsMkvVideo(); public clsMkvAudio Track_Audio = new clsMkvAudio(); public clsMkvTrack() { } } public class clsMkvVideo { public int PixelWidth = 0; public int PixelHeight = 0; } public class clsMkvAudio { public float Freq = 0; public int Channels = 0; } } themonospot-0.7.3.1/themonospot-base/src/components/SettingsManager.cs000755 000764 000764 00000017321 11220736777 024357 0ustar00000000 000000 using System; using System.Xml; namespace ABasile { /// /// Description of SettingsManager. /// public class SettingsManager { private XmlDocument doc; private string fileName; private string rootName; public SettingsManager(string fileName, string rootName) { this.fileName = fileName; this.rootName = rootName; doc = new XmlDocument(); if (System.IO.File.Exists(fileName)) { System.IO.StreamReader SR = new System.IO.StreamReader(fileName); string content = SR.ReadToEnd(); SR.Close(); SR.Dispose(); SR = null; if (content.IndexOf("clsConfiguration") > 0) System.IO.File.Delete(fileName); } try { doc.Load(fileName); } catch(System.IO.FileNotFoundException) { CreateSettingsDocument(); } } public SettingsManager(string fileName) : this(fileName, "Settings") { } //Deletes all entries of a section public void ClearSection(string section) { XmlNode root = doc.DocumentElement; XmlNode s = root.SelectSingleNode('/' + rootName + '/' + section); if(s == null) return; //not found s.RemoveAll(); } //initializes a new settings file with the XML version //and the root node protected void CreateSettingsDocument() { doc.AppendChild(doc.CreateXmlDeclaration("1.0", null, null)); doc.AppendChild(doc.CreateElement(rootName)); WriteString("Defaults", "defaultPath", ""); WriteString("Defaults", "autoReport", ""); Save(); } public string Flush() { try { doc.Save(fileName); } catch(Exception ex) { return ex.Message; } return""; } //removes a section and all its entries public void RemoveSection(string section) { XmlNode root = doc.DocumentElement; XmlNode s = root.SelectSingleNode('/' + rootName + '/' + section); if(s != null) root.RemoveChild(s); } public void Save() { Flush(); } #region Read methods public bool ReadBool(string section, string name, bool defaultValue) { string s = ReadString(section, name, ""); if(s == Boolean.TrueString) return true; else if(s == Boolean.FalseString) return false; else return defaultValue; } public DateTime ReadDateTime(string section, string name, DateTime defaultValue) { string s = ReadString(section, name, ""); if(s == "") return defaultValue; else { try { DateTime dt = Convert.ToDateTime(s); return dt; } catch(FormatException) { return defaultValue; } } } public double ReadDouble(string section, string name, double defaultValue) { string s = ReadString(section, name, ""); if(s == "") return defaultValue; else { try { double d = Convert.ToDouble(s); return d; } catch(FormatException) { return defaultValue; } } } public float ReadFloat(string section, string name, float defaultValue) { string s = ReadString(section, name, ""); if(s == "") return defaultValue; else { try { float f = Convert.ToSingle(s); return f; } catch(FormatException) { return defaultValue; } } } public int ReadInt(string section, string name, int defaultValue) { string s = ReadString(section, name, ""); if(s == "") return defaultValue; else { try { int n = Convert.ToInt32(s); return n; } catch(FormatException) { return defaultValue; } } } public long ReadLong(string section, string name, long defaultValue) { string s = ReadString(section, name, ""); if(s == "") return defaultValue; else { try { long l = Convert.ToInt64(s); return l; } catch(FormatException) { return defaultValue; } } } public short ReadShort(string section, string name, short defaultValue) { string s = ReadString(section, name, ""); if(s == "") return defaultValue; else { try { short n = Convert.ToInt16(s); return n; } catch(FormatException) { return defaultValue; } } } public string ReadString(string section, string name, string defaultValue) { XmlNode root = doc.DocumentElement; XmlNode s = root.SelectSingleNode('/' + rootName + '/' + section); if(s == null) return defaultValue; //not found XmlNode n = s.SelectSingleNode(name); if(n == null) return defaultValue; //not found XmlAttributeCollection attrs = n.Attributes; foreach(XmlAttribute attr in attrs) { if(attr.Name == "value") return attr.Value; } return defaultValue; } public uint ReadUInt(string section, string name, uint defaultValue) { string s = ReadString(section, name, ""); if(s == "") return defaultValue; else { try { uint n = Convert.ToUInt32(s); return n; } catch(FormatException) { return defaultValue; } } } public ulong ReadULong(string section, string name, ulong defaultValue) { string s = ReadString(section, name, ""); if(s == "") return defaultValue; else { try { ulong l = Convert.ToUInt64(s); return l; } catch(FormatException) { return defaultValue; } } } public ushort ReadUShort(string section, string name, ushort defaultValue) { string s = ReadString(section, name, ""); if(s == "") return defaultValue; else { try { ushort n = Convert.ToUInt16(s); return n; } catch(FormatException) { return defaultValue; } } } #endregion #region Write methods public void WriteBool(string section, string name, bool value) { WriteString(section, name, value.ToString()); } public void WriteDateTime(string section, string name, DateTime value) { WriteString(section, name, value.ToString()); } public void WriteDouble(string section, string name, double value) { WriteString(section, name, value.ToString()); } public void WriteFloat(string section, string name, float value) { WriteString(section, name, value.ToString()); } public void WriteInt(string section, string name, int value) { WriteString(section, name, value.ToString()); } public void WriteLong(string section, string name, long value) { WriteString(section, name, value.ToString()); } public void WriteShort(string section, string name, short value) { WriteString(section, name, value.ToString()); } public void WriteString(string section, string name, string value) { XmlNode root = doc.DocumentElement; XmlNode s = root.SelectSingleNode('/' + rootName + '/' + section); if(s == null) s = root.AppendChild(doc.CreateElement(section)); XmlNode n = s.SelectSingleNode(name); if(n == null) n = s.AppendChild(doc.CreateElement(name)); XmlAttribute attr = ((XmlElement)n).SetAttributeNode("value", ""); attr.Value = value; } public void WriteUInt(string section, string name, uint value) { WriteString(section, name, value.ToString()); } public void WriteULong(string section, string name, ulong value) { WriteString(section, name, value.ToString()); } public void WriteUShort(string section, string name, ushort value) { WriteString(section, name, value.ToString()); } #endregion } } themonospot-0.7.3.1/themonospot-base/src/components/clsParserAVI.cs000755 000764 000764 00000121432 11220736777 023561 0ustar00000000 000000 using System; using System.IO; using System.Text; using System.Threading; using Utility; using System.Collections; using System.Collections.Generic; using themonospot_Base_Main; namespace themonospot_Base_Main { /// /// AVI Parser for Themonospot /// public class clsParserAVI : IParser { #region CONSTANTS public const int DWORDSIZE = 4; public const int TWODWORDSSIZE = 8; public static readonly string RIFF4CC = "RIFF"; public static readonly string RIFX4CC = "RIFX"; public static readonly string LIST4CC = "LIST"; // Known file types public static readonly int ckidAVI = Utility.clsEncoding.ToFourCC("AVI "); public static readonly int ckidWAV = Utility.clsEncoding.ToFourCC("WAVE"); public static readonly int ckidRMID = Utility.clsEncoding.ToFourCC("RMID"); #endregion #region GENERIC OBJECTS public List VideoItems { get {return _VideoItems; } } public List AudioItems { get {return _AudioItems; } } private List _VideoItems; private List _AudioItems; private AVIMAINHEADER myAviHeader = new AVIMAINHEADER(); private AVISTREAMHEADER[] myAviStreamHeader = new AVISTREAMHEADER[0]; private BITMAPINFOHEADER[] myAviBitMap = new BITMAPINFOHEADER[0]; private WAVEFORMATEX[] myAviWave = new WAVEFORMATEX[0]; private string[] myUData = new string[0]; private string[] myMUData = new string[0]; private string _m_filename; private string _m_shortname; private string _udToChange = ""; private long _m_fourCC_AviStreamHeader; private long _m_fourCC_AviVideoHeader; private long _m_filesize; private long _m_posStream; private long _m_MoviSize=0; private long _m_MoviSizeNew=0; private long _m_MoviStart=0; private long _m_IdxSize=0; private long _m_IdxStart=0; private double sizOfAudio=0; private FileStream aviStreamReader = null; private FileStream outFile = null; private bool pbDetect = false; private bool _rec_ix_presence = false; private int stdBufferSize = 4096; private int newTotalBytes = 0; long[] framesOffset = new long[0]; long[] framesSize = new long[0]; #endregion GENERIC OBJECTS #region PROPERTIES public string udToChange { get { return _udToChange;} set { _udToChange = value ;} } public bool rec_ix_presence { get { return _rec_ix_presence;} } public long fourCC_AVISTREAMHEADER_offset { get { return _m_fourCC_AviStreamHeader;} } public long fourCC_AVIVIDEOHEADER_offset { get { return _m_fourCC_AviVideoHeader;} } public AVIMAINHEADER headerFile { get { return myAviHeader;} } public BITMAPINFOHEADER[] videoStreams { get { return myAviBitMap;} } public WAVEFORMATEX[] audioStreams { get { return myAviWave;} } public AVISTREAMHEADER[] headerStreams { get { return myAviStreamHeader;} } public string[] userData { get { return myUData;} } public string[] MOVIuserData { get { return myMUData;} } public string m_filename { get { return _m_filename; } } public string m_shortname { get { return _m_shortname; } } public long m_filesize { get { return _m_filesize; } } public long m_MoviSize { get { return _m_MoviSize; } set { _m_MoviSize = value; } } public long m_MoviStart { get { return _m_MoviStart; } set { _m_MoviStart = value; } } public long m_IdxSize { get { return _m_IdxSize; } set { _m_IdxSize = value; } } public long m_IdxStart { get { return _m_IdxStart; } set { _m_IdxStart = value; } } #endregion PROPERTIES #region METHODS TO ADD ITEMS AT STRUCTURES private void addNew_AVISTREAMHEADER() { int j; if (myAviStreamHeader == null) { // There isn't any elements myAviStreamHeader = new AVISTREAMHEADER[1]; } else { // There is another element AVISTREAMHEADER[] tmpASR; tmpASR = new AVISTREAMHEADER[myAviStreamHeader.Length + 1]; for (j=0; j /// Parse the selected file /// public void OpenFile(string FileName) { // File Not Found... if (File.Exists(FileName) != true) throw new ParserException("File (" + FileName + ") Not Found..."); _VideoItems = new List(); _AudioItems = new List(); // Read File Infos FileInfo fi = new FileInfo(FileName); _m_filename = fi.FullName; _m_shortname = fi.Name; _m_filesize = fi.Length; // DEBUG Console.WriteLine(""); Console.WriteLine(""); Console.WriteLine(""); Console.WriteLine("_m_filename = " + _m_filename); Console.WriteLine("_m_shortname = " + _m_shortname); Console.WriteLine("_m_filesize = " + _m_filesize.ToString("#,###.##")); // Open the streamer aviStreamReader = new FileStream(_m_filename, FileMode.Open, FileAccess.Read, FileShare.Read); _m_posStream = 0; #region Verify Integrity // Detect File Format int FourCC = readDWord(); _m_posStream +=4; string sFourCC; string hexFourCC; int dataSize = readDWord(); int fileType = readDWord(); _m_posStream +=8; // Check FourCC Header sFourCC = Utility.clsEncoding.FromFourCC(FourCC); Console.WriteLine("FourCC ".PadRight(20,(char)46) + sFourCC + " (" + dataSize.ToString("#,###.##") + ")"); if (sFourCC != RIFF4CC && sFourCC != RIFX4CC) { // No Riff File aviStreamReader.Close(); aviStreamReader = null; throw new ParserException("Error. Not a valid RIFF file"); } // Check File Size if (_m_filesize < (dataSize + 8) ) { // No Riff File aviStreamReader.Close(); aviStreamReader = null; throw new ParserException("Error. Truncated file"); } #endregion byte[] tmpByteArray; int byteToRead; int readBytes; long byteOfList; int byteOfINFO=0; int byteOfINFOReaded=0; string strType = ""; _m_fourCC_AviVideoHeader = 0; _m_fourCC_AviStreamHeader = 0; // Loop until EOF while (_m_posStream < _m_filesize ) { FourCC = readDWord(); sFourCC = Utility.clsEncoding.FromFourCC(FourCC); hexFourCC = FourCC.ToString("X8"); byteToRead = readDWord(); // Adjust bytes to read (no odd) // TO VERIFY *********************************** if (byteToRead % 2 != 0) byteToRead++; _m_posStream +=8; Console.WriteLine("FourCC ".PadRight(20,(char)46) + sFourCC + " (" + byteToRead.ToString("#,###.##") + ") [" + hexFourCC + "]" + " filepos=" + _m_posStream.ToString("#,###.00") ); // Check REC? or IX?? FourCC presence if (sFourCC.ToLower().Substring(3) == "rec" || sFourCC.ToLower().Substring(2) == "ix" ) { _rec_ix_presence = true; } // Check memory if (_m_posStream + byteToRead > _m_filesize) { aviStreamReader.Close(); aviStreamReader = null; return; } // Parse FourCC if (sFourCC == LIST4CC) { // LIST section FourCC = readDWord(); _m_posStream += 4; sFourCC = Utility.clsEncoding.FromFourCC(FourCC); hexFourCC = FourCC.ToString("X8"); byteOfList = byteToRead; Console.WriteLine("LIST type ".PadRight(20,(char)46) + sFourCC + "[" + hexFourCC + "]"+ " filepos=" + _m_posStream.ToString("#,###.00") ); // Verify FourCC if (FourCC == AviRiffData.ckidAVIMovieData) { // skip "movi" section 6D 6F 76 69 _m_MoviStart = aviStreamReader.Position; _m_posStream += byteOfList-4; // aviStreamReader.Seek(byteOfList-4, SeekOrigin.Current); parseMoviChunk(byteOfList-4); _m_MoviSize = byteOfList-4; } else if (FourCC == AviRiffData.ckidINFOList ) { // INFO section byteOfINFOReaded=0; byteOfINFO=(int)(byteOfList-4); } } else { // Other TAGS if(FourCC == AviRiffData.ckidMainAVIHeader) { // "avih" tmpByteArray = new byte[56]; readBytes = aviStreamReader.Read(tmpByteArray,0,56); _m_posStream +=readBytes; myAviHeader.loadDataStructure(tmpByteArray); } else if(FourCC == AviRiffData.ckidAVIStreamHeader) { // "strh" tmpByteArray = new byte[byteToRead]; readBytes = aviStreamReader.Read(tmpByteArray,0,byteToRead); _m_posStream +=byteToRead; // Update Array of Stream Headers addNew_AVISTREAMHEADER(); AVISTREAMHEADER tmpSH = new AVISTREAMHEADER(); tmpSH.loadDataStructure(tmpByteArray); myAviStreamHeader[ myAviStreamHeader.Length-1 ] = tmpSH; strType = clsEncoding.FromFourCC(tmpSH.fccType); Console.WriteLine("STREAM TYPE ".PadRight(20,(char)46) + clsEncoding.FromFourCC(tmpSH.fccType) ); Console.WriteLine("STREAM HEARER ".PadRight(20,(char)46) + clsEncoding.FromFourCC(tmpSH.fccHandler) ); // fourCC_AviStreamHeader position if (_m_fourCC_AviVideoHeader == 0) _m_fourCC_AviStreamHeader = _m_posStream - (byteToRead - 4); } else if(FourCC == AviRiffData.ckidStreamFormat) { // "strf" if (strType == "vids") { tmpByteArray = new byte[byteToRead]; readBytes = aviStreamReader.Read(tmpByteArray,0,byteToRead); _m_posStream +=readBytes; // fourCC_AviVideoHeader position _m_fourCC_AviVideoHeader = _m_posStream - 24; // Update Array of Stream Format Video addNew_BITMAPINFOHEADER(); BITMAPINFOHEADER tmpBMP = new BITMAPINFOHEADER(); tmpBMP.loadDataStructure(tmpByteArray); myAviBitMap[ myAviBitMap.Length-1 ] = tmpBMP; } else if (strType == "auds") { tmpByteArray = new byte[byteToRead]; readBytes = aviStreamReader.Read(tmpByteArray,0,byteToRead); _m_posStream +=readBytes; // Update Array of Stream Format Video addNew_WAVEFORMATEX(); WAVEFORMATEX tmpWFR = new WAVEFORMATEX(); tmpWFR.loadDataStructure(tmpByteArray); myAviWave[ myAviWave.Length-1 ] = tmpWFR; string strAudioType = tmpWFR.wFormatTag.ToString("X4"); } else { // other FourCC in a stream list aviStreamReader.Seek(byteToRead, SeekOrigin.Current); _m_posStream +=byteToRead; } } else if(FourCC == AviRiffData.ckidAVIOldIndex) { // "idx1" // parseIdxChunk(byteToRead); _m_IdxStart = aviStreamReader.Position; _m_IdxSize = byteToRead; aviStreamReader.Seek(byteToRead, SeekOrigin.Current); _m_posStream +=byteToRead; } else if(FourCC == AviRiffData.ckidJUNKTag) { // "JUNK" // Skip tmpByteArray = new byte[byteToRead]; readBytes = aviStreamReader.Read(tmpByteArray,0,byteToRead); _m_posStream +=readBytes; clsEncoding myEnc = new clsEncoding(); string theStrData = myEnc.getAsciiFromArray(tmpByteArray); if (theStrData.Trim() != "") { addNew_STRING(); myUData[myUData.Length-1] = theStrData; Console.WriteLine("JUNKDATA ".PadRight(20,(char)46) + myEnc.getAsciiFromArray(tmpByteArray)); } // aviStreamReader.Seek(byteToRead, SeekOrigin.Current); } else if(FourCC == AviRiffData.ckidAVIISFT) { // "ISFT" tmpByteArray = new byte[byteToRead]; readBytes = aviStreamReader.Read(tmpByteArray,0,byteToRead); _m_posStream +=readBytes; byteOfINFOReaded += byteToRead+8; addNew_STRING(); clsEncoding myEnc = new clsEncoding(); myUData[myUData.Length-1] = myEnc.getAsciiFromArray(tmpByteArray); Console.WriteLine("ISFTDATA ".PadRight(20,(char)46) + myEnc.getAsciiFromArray(tmpByteArray)); // Check remaining byte if (byteOfINFO > byteOfINFOReaded) { aviStreamReader.Seek((byteOfINFO - byteOfINFOReaded), SeekOrigin.Current); _m_posStream +=(byteOfINFO - byteOfINFOReaded); } } else { // other FourCC aviStreamReader.Seek(byteToRead, SeekOrigin.Current); _m_posStream +=byteToRead; } } } // end while (_m_posStream < dataSize) // Close the streamer aviStreamReader.Close(); aviStreamReader = null; GetAudioInformations(); GetVideoInformations(); return; } // Parse MOVI Chunk to extract xxdc or xxdb subarea private void parseMoviChunk(long MoviChunkSize) { long tmpMoviPointer = 0; int FourCC = 0; int byteOfRead = 0; string sFourCC = ""; int frameCount = 0; pbDetect=false; while (tmpMoviPointer < MoviChunkSize) { FourCC = readDWord(); sFourCC = Utility.clsEncoding.FromFourCC(FourCC); byteOfRead = readDWord(); // Adjust bytes to read (no odd) if ((byteOfRead % 2) != 0 ) byteOfRead++; tmpMoviPointer += 8; // Console.WriteLine(sFourCC + " Founded, size = " + byteOfRead.ToString()); if (sFourCC.Substring(2,2) == "dc" || sFourCC.Substring(2,2) == "db") { frameCount ++; if (frameCount == 1) parseDCuserdata(byteOfRead); else parseDCvopdata(byteOfRead); tmpMoviPointer += byteOfRead; // scan only first 100 xxdc or xxdb frames in MOVI chunk if (frameCount >= 200) { aviStreamReader.Seek(MoviChunkSize - tmpMoviPointer, SeekOrigin.Current); tmpMoviPointer += (MoviChunkSize - tmpMoviPointer); } } else { //Console.WriteLine(sFourCC + " Founded, size = " + byteOfRead.ToString()); aviStreamReader.Seek(byteOfRead, SeekOrigin.Current); tmpMoviPointer += byteOfRead; } } } // Extract UserData info from DC subarea private void parseDCuserdata(long DCsubareaSize) { //aviStreamReader.Seek(DCsubareaSize, SeekOrigin.Current); clsEncoding myEnc = new clsEncoding(); string outValue=""; int sPoint = 0; int ePoint = 0; byte[] dcBuffer = new byte[(int)DCsubareaSize]; aviStreamReader.Read(dcBuffer,0,(int)DCsubareaSize); // Find UserData ... START sPoint = myEnc.compareBytesArray(dcBuffer, AviRiffData.UserDataBytes, 0); while (sPoint < DCsubareaSize && sPoint >= 0) { ePoint = myEnc.compareBytesArray(dcBuffer, AviRiffData.UserDataBytes, sPoint + 3); if (ePoint < 0) ePoint = myEnc.compareBytesArray(dcBuffer, AviRiffData.VOLStartBytes , sPoint + 3); if (ePoint < 0) ePoint = myEnc.compareBytesArray(dcBuffer, AviRiffData.VOPStartBytes , sPoint + 3); if (ePoint < 0) { // from sPoint to end of Byte Array outValue = myEnc.getHexFromBytes(dcBuffer,sPoint+4, ((int)DCsubareaSize - (sPoint+3))); addNew_moviSTRING(); myMUData[myMUData.Length-1] = myEnc.getAsciiFromHex(outValue); Console.WriteLine("UD founded".PadRight(20,(char)46) + myEnc.getAsciiFromHex(outValue)); break; } else { // from sPoint to ePoint outValue = myEnc.getHexFromBytes(dcBuffer,sPoint+4, (ePoint - (sPoint+4))); addNew_moviSTRING(); myMUData[myMUData.Length-1] = myEnc.getAsciiFromHex(outValue); Console.WriteLine("UD founded".PadRight(20,(char)46) + myEnc.getAsciiFromHex(outValue)); sPoint = myEnc.compareBytesArray(dcBuffer, AviRiffData.UserDataBytes, ePoint); } } // Find UserData ... END dcBuffer = null; } // Extract VOP count in to DC subarea (Packet Bitstream Detect) private void parseDCvopdata(long DCsubareaSize) { //aviStreamReader.Seek(DCsubareaSize, SeekOrigin.Current); clsEncoding myEnc = new clsEncoding(); //string outValue=""; int sPoint = 0; //int ePoint = 0; int vopCount = 0; byte[] dcBuffer = new byte[(int)DCsubareaSize]; aviStreamReader.Read(dcBuffer,0,(int)DCsubareaSize); // Find Packed Bitstream ... START sPoint = myEnc.compareBytesArray(dcBuffer, AviRiffData.VOPStartBytes, 0); while (sPoint < (DCsubareaSize-2) && sPoint >= 0) { vopCount++; sPoint = myEnc.compareBytesArray(dcBuffer, AviRiffData.VOPStartBytes, sPoint+3); } // Find Packed Bitstream ... END // Debug Packet Bitstream Detect // Console.WriteLine("VOP detect".PadRight(20,(char)46) + vopCount.ToString()); if (vopCount > 1) pbDetect = true; dcBuffer = null; } // Parse IDX_ Chunk to extract index private void parseIdxChunk(long IdxChunkSize) { long tmpIdxPointer = 0; int FourCC = 0; int byteOfRead = 0; string sFourCC = ""; int frameCount = 0; while (tmpIdxPointer < IdxChunkSize) { FourCC = readDWord(); sFourCC = Utility.clsEncoding.FromFourCC(FourCC); // Adjust bytes to read (no odd) if ((byteOfRead % 2) != 0 ) byteOfRead++; tmpIdxPointer += 4; frameCount ++; // Console.WriteLine(sFourCC + " Founded, size = " + (byteOfRead).ToString()); aviStreamReader.Seek(12, SeekOrigin.Current); tmpIdxPointer += 12; } Console.WriteLine("Total Frame Counted: " + frameCount.ToString() ); } /// /// Detect audio codec /// /// codec id /// codec string name public string parseAudioType(string audioVal) { // return name of codec audio if (audioVal == "0055") return "0x" + audioVal + " (MP3)"; else if (audioVal == "0001") return "0x" + audioVal + " (PCM)"; else if (audioVal == "2001") return "0x" + audioVal + " (DTS)"; else if (audioVal == "000A") return "0x" + audioVal + " (WMA9)"; else if (audioVal == "0030") return "0x" + audioVal + " (Dolby AC2)"; else if (audioVal == "0050") return "0x" + audioVal + " (MPEG)"; else if (audioVal == "2000") return "0x" + audioVal + " (AC3)"; else return "0x" + audioVal + " (?)"; } public void saveNewAvi(string newFileName, ref bool _redrawInfo, ref string _saveError, ref double _saveStatus, ref bool _saveFlag, ref double _totProgressItems, ref string _saveInfo ) { // Begin Write new avi file aviStreamReader = new FileStream(_m_filename, FileMode.Open, FileAccess.Read, FileShare.Read); outFile = new FileStream(newFileName, FileMode.Create,FileAccess.Write, FileShare.None); FileInfo fi = new FileInfo(_m_filename); long filmsize = fi.Length; long filmoffset = 0; long diffBytes = 0; byte[] tmpBytes; int totMoviItems = Convert.ToInt32(_m_IdxSize / 16) + 3000; framesOffset = new long[ totMoviItems ]; framesSize = new long[ totMoviItems ]; int bufferSize = stdBufferSize; // Write data before MOVI chunk _totProgressItems = (double)_m_MoviStart; Console.WriteLine("Write Header START"); _saveInfo = clsLanguages.EXPMESSAGE1; _redrawInfo=true; Console.WriteLine("filmoffset = " + filmoffset.ToString() + " - _m_MoviStart = " + _m_MoviStart.ToString() ); while (filmoffset < _m_MoviStart) { if ((filmoffset + bufferSize) > _m_MoviStart) bufferSize = (int)(_m_MoviStart - filmoffset); tmpBytes = new byte[bufferSize]; aviStreamReader.Read(tmpBytes, 0, bufferSize); outFile.Write(tmpBytes, 0, bufferSize); _saveStatus = (double)filmoffset; // myPBar.Text = Convert.ToInt32(myPBar.Fraction * 100).ToString("D3") + "%"; if (_saveFlag == false) { outFile.Close(); outFile.Dispose(); outFile = null; aviStreamReader.Close(); aviStreamReader.Dispose(); aviStreamReader = null; return; } filmoffset += bufferSize; } Console.WriteLine("Write Header END"); // Write new MOVI chunk from old if (writeMoviChunk(ref _redrawInfo, ref _saveError, ref _saveStatus, ref _saveFlag, ref _totProgressItems, ref _saveInfo) != 0) { outFile.Close(); outFile.Dispose(); outFile = null; aviStreamReader.Close(); aviStreamReader.Dispose(); aviStreamReader = null; return; } // Write data before IDX1 chunk diffBytes = (_m_IdxStart - aviStreamReader.Position); bufferSize = stdBufferSize; _saveStatus = 0; _totProgressItems = (double)diffBytes; filmoffset = 0; Console.WriteLine("Write CONTENT_1 START"); _saveInfo = clsLanguages.EXPMESSAGE2; _redrawInfo = true; while (filmoffset < diffBytes) { if ((filmoffset + bufferSize) > diffBytes) bufferSize = (int)(diffBytes - filmoffset); tmpBytes = new byte[bufferSize]; aviStreamReader.Read(tmpBytes, 0, bufferSize); outFile.Write(tmpBytes, 0, bufferSize); _saveStatus = (double)filmoffset; // myPBar.Text = Convert.ToInt32(myPBar.Fraction * 100).ToString("D3") + "%"; if (_saveFlag == false) { outFile.Close(); outFile.Dispose(); outFile = null; aviStreamReader.Close(); aviStreamReader.Dispose(); aviStreamReader = null; return; } filmoffset += bufferSize; } Console.WriteLine("Write CONTENT 1 END"); // Write new IDX1 chunk from new MOVI created if (writeIdx1Chunk(ref _redrawInfo, ref _saveError, ref _saveStatus, ref _saveFlag, ref _totProgressItems, ref _saveInfo) != 0) { outFile.Close(); outFile.Dispose(); outFile = null; aviStreamReader.Close(); aviStreamReader.Dispose(); aviStreamReader = null; return; } // Write data after IDX1 chunk diffBytes = (filmsize - aviStreamReader.Position); bufferSize = stdBufferSize; _saveStatus = 0; _totProgressItems = (double)diffBytes; filmoffset = 0; Console.WriteLine("Write CONTENT 2 START"); _saveInfo = clsLanguages.EXPMESSAGE2; _redrawInfo = true; while (filmoffset < diffBytes) { if ((filmoffset + bufferSize) > diffBytes) bufferSize = (int)(diffBytes - filmoffset); tmpBytes = new byte[bufferSize]; aviStreamReader.Read(tmpBytes, 0, bufferSize); outFile.Write(tmpBytes, 0, bufferSize); _saveStatus = (double)filmoffset; // myPBar.Text = Convert.ToInt32(myPBar.Fraction * 100).ToString("D3") + "%"; if (_saveFlag == false) { outFile.Close(); outFile.Dispose(); outFile = null; aviStreamReader.Close(); aviStreamReader.Dispose(); aviStreamReader = null; return; } filmoffset += bufferSize; } Console.WriteLine("Write CONTENT 2 END"); // Close output outFile.Close(); outFile.Dispose(); outFile = null; // Read File Infos fi = new FileInfo(newFileName); newTotalBytes = (int)(fi.Length - 8); fi = null; // Update MOVI Size and File Size outFile = new FileStream(newFileName, FileMode.Open,FileAccess.Write, FileShare.None); outFile.Seek(4,SeekOrigin.Begin); outFile.Write(intToByteArray(newTotalBytes),0,4); outFile.Seek(_m_MoviStart - 8,SeekOrigin.Begin); outFile.Write(intToByteArray((int)(_m_MoviSizeNew + 4)),0,4); // Close all streams and return to Main Window outFile.Close(); outFile.Dispose(); outFile = null; aviStreamReader.Close(); aviStreamReader.Dispose(); aviStreamReader = null; _saveFlag=false; } // write MOVI Chunk frames private int writeMoviChunk(ref bool _redrawInfo, ref string _saveError, ref double _saveStatus, ref bool _saveFlag, ref double _totProgressItems, ref string _saveInfo ) { long tmpMoviPointer = 0; int FourCC = 0; int byteOfRead = 0; int sizeOfFrame = 0; int newByteOfRead = 0; string sFourCC = ""; int frameCount = 0; int lenOfFrame = 0; string hexFourCC = ""; byte[] tmpByteArray = new byte[0]; int stepGuiUpdate = 1024; int stepFrame = 0; // Write data before MOVI chunk _saveStatus = 0; _totProgressItems = (double)_m_MoviSize; _saveInfo = clsLanguages.EXPMESSAGE3; _redrawInfo = true; Console.WriteLine("Write MOVI START (" + _m_MoviStart.ToString() + " SIZE " + _m_MoviSize.ToString() + ")"); _m_MoviSizeNew = 0; while (tmpMoviPointer < _m_MoviSize) { // Exit if Cancel button was pressed if (_saveFlag == false) return 1; FourCC = readDWord(); hexFourCC = FourCC.ToString("X8"); sFourCC = Utility.clsEncoding.FromFourCC(FourCC); byteOfRead = readDWord(); tmpMoviPointer += 8; _m_MoviSizeNew += 8; // Adjust bytes to read (no odd) sizeOfFrame = byteOfRead; if ((byteOfRead % 2) != 0 ) byteOfRead++; tmpByteArray = new byte[byteOfRead]; aviStreamReader.Read(tmpByteArray, 0, byteOfRead); stepFrame ++; // Verify frame type if (sFourCC.Substring(2,2) == "dc" || sFourCC.Substring(2,2) == "db") { // tmpByteArray = processFrame(tmpByteArray, ref sizeOfFrame); newByteOfRead = tmpByteArray.Length; framesOffset[frameCount] = outFile.Position; framesSize[frameCount] = (long)newByteOfRead; outFile.Write(intToByteArray(FourCC),0, 4); outFile.Write(intToByteArray(sizeOfFrame),0, 4); outFile.Write(tmpByteArray, 0, newByteOfRead); tmpMoviPointer += byteOfRead; _m_MoviSizeNew += newByteOfRead; } else { framesOffset[frameCount] = outFile.Position; framesSize[frameCount] = (long)byteOfRead; outFile.Write(intToByteArray(FourCC),0, 4); outFile.Write(intToByteArray(sizeOfFrame),0, 4); outFile.Write(tmpByteArray, 0, byteOfRead); tmpMoviPointer += byteOfRead; _m_MoviSizeNew += byteOfRead; } frameCount ++; if (stepFrame >= stepGuiUpdate) { // Update progressbar _saveStatus = (double)tmpMoviPointer; // myPBar.Text = Convert.ToInt32(myPBar.Fraction * 100).ToString("D3") + "%"; stepFrame = 0; } } Console.WriteLine("Tot Frames: " + frameCount.ToString()); Console.WriteLine("Write MOVI END"); return 0; } // Extract UserData info from DC subarea private byte[] processFrame(byte[] inByteArray, ref int frameLength) { clsEncoding myEnc = new clsEncoding(); byte[] tmpByteArray = null; byte[] userdataOld = null; byte[] outByteArray = null; ASCIIEncoding TextEncoding = new ASCIIEncoding(); tmpByteArray = inByteArray; userdataOld = TextEncoding.GetBytes(_udToChange); int startPos = myEnc.compareBytesArray(tmpByteArray, userdataOld,0); // int totalFrameBytes = 0; int totalFrameBytes, newFrameLength; if (startPos >= 0) { // totalFrameBytes = tmpByteArray.Length - _udToChange.Length + 12; newFrameLength = (frameLength - _udToChange.Length) + 12; // Padded to an even number of bytes but make sure the padding isn't included // in the size written to the chunk header or index totalFrameBytes = newFrameLength; if ((totalFrameBytes % 2) != 0) totalFrameBytes ++; // frameLength = totalFrameBytes; // frameLength = newFrameLength; outByteArray = new byte[totalFrameBytes]; Array.Copy(tmpByteArray, outByteArray, startPos); Array.Copy(TextEncoding.GetBytes("DivX999b000p"), 0, outByteArray, startPos, 12); Array.Copy(tmpByteArray, startPos + _udToChange.Length , outByteArray, startPos + 12, frameLength - (_udToChange.Length + startPos)); frameLength = newFrameLength; } else outByteArray = tmpByteArray; return outByteArray; } // Write new Idx1 Chunk private int writeIdx1Chunk(ref bool _redrawInfo, ref string _saveError, ref double _saveStatus, ref bool _saveFlag, ref double _totProgressItems, ref string _saveInfo ) { long tmpIdxPointer = 0; int FourCC = 0; int byteOfRead = 0; string sFourCC = ""; int frameCount = 0; string hexFourCC = ""; byte[] tmpByteArray = new byte[16]; byte[] tmpDWordArray = new byte[4]; int stepGuiUpdate = 256; int stepFrame = 0; // Write data before MOVI chunk _saveStatus = 0; _totProgressItems = (double)_m_IdxSize; _saveInfo = clsLanguages.EXPMESSAGE4; _redrawInfo=true; Console.WriteLine("Write IDX START (" + _m_IdxStart.ToString() + " SIZE " + _m_IdxSize.ToString() + ")"); while (tmpIdxPointer < _m_IdxSize) { // Exit if Cancel button was pressed if (_saveFlag == false) return 1; aviStreamReader.Read(tmpByteArray,0,16); // Offsets are relative to the start of the 'movi' list type tmpDWordArray = intToByteArray((int)(framesOffset[frameCount] - (_m_MoviStart - 4))); for (int j=0; j<4; j++) tmpByteArray[8+j]=tmpDWordArray[j]; tmpDWordArray = intToByteArray((int)framesSize[frameCount]); for (int j=0; j<4; j++) tmpByteArray[12+j]=tmpDWordArray[j]; outFile.Write(tmpByteArray,0,16); tmpIdxPointer += 16; frameCount ++; stepFrame++; if (stepFrame >= stepGuiUpdate) { // Update progressbar _saveStatus = (double)tmpIdxPointer; // myPBar.Text = Convert.ToInt32(myPBar.Fraction * 100).ToString("D3") + "%"; stepFrame = 0; } } Console.WriteLine("Tot Frames: " + frameCount.ToString()); Console.WriteLine("Write IDX END"); return 0; } /// /// Read 2 bytes and return the value /// /// private int readWord() { int retValue; int readBytes; byte[] tmpBuffer = new byte[2]; readBytes = aviStreamReader.Read(tmpBuffer,0,2); retValue = (tmpBuffer[0]) + (tmpBuffer[1]<<8); return retValue; } // returns a byte array of length 4 private byte[] intToByteArray(int i) { byte[] dword = new byte[4]; dword[0] = (byte) (i & 0x00FF); dword[1] = (byte) ((i >> 8) & 0x000000FF); dword[2] = (byte) ((i >> 16) & 0x000000FF); dword[3] = (byte) ((i >> 24) & 0x000000FF); return dword; } /// /// Read 4 bytes and return the value /// /// private int readDWord() { int retValue; int readBytes; byte[] tmpBuffer = new byte[4]; readBytes = aviStreamReader.Read(tmpBuffer,0,4); retValue = tmpBuffer[0]+(tmpBuffer[1]<<8)+(tmpBuffer[2]<<16)+(tmpBuffer[3]<<24); return retValue; } public void change4CC(string ASHval, string VSHval, long ASHpos, long VSHpos) { byte[] tmpASHarray = null; byte[] tmpVSHarray = null; FileStream updaterSW = new FileStream(_m_filename , FileMode.Open ,FileAccess.ReadWrite); updaterSW.Seek(ASHpos, SeekOrigin.Current); tmpASHarray = Utility.clsEncoding.ToFourCCByte(ASHval); Console.WriteLine(tmpASHarray[0].ToString("X2") + tmpASHarray[1].ToString("X2") + tmpASHarray[2].ToString("X2") + tmpASHarray[3].ToString("X2")); updaterSW.Write(tmpASHarray, 0, 4); updaterSW.Seek(VSHpos, SeekOrigin.Begin); tmpVSHarray = Utility.clsEncoding.ToFourCCByte(VSHval); Console.WriteLine(tmpVSHarray[0].ToString("X2") + tmpVSHarray[1].ToString("X2") + tmpVSHarray[2].ToString("X2") + tmpVSHarray[3].ToString("X2")); updaterSW.Write(tmpVSHarray, 0, 4); updaterSW.Close(); updaterSW.Dispose(); updaterSW = null; return; } private void GetVideoInformations () { int k, l; int iV=0; int iA=0; //double sizOfAudio=0; double sizOfVideo=0; double sizOfHeader=0; double videoQuality=0; double WdH=0; int framePerSec=1; int AverageVideoBitRate = 0; string fccDesc = ""; string Frame_Size = ""; string Total_Time = ""; string Frame_Rate = ""; string Total_Frames = ""; string Video_Data_Rate = ""; string Packet_Bitstream = "Off"; Console.WriteLine(myAviStreamHeader.Length); for (k=0; k < headerStreams.Length; k++ ) { Console.WriteLine(k); if(clsEncoding.FromFourCC(headerStreams[k].fccType) != "vids" ) continue; long totalTime = 0; fccDesc = clsEncoding.FromFourCC(headerStreams[k].fccHandler); if (headerFile.dwMicroSecPerFrame > 0) totalTime =(long)((long)headerFile.dwTotalFrames * (long) headerFile.dwMicroSecPerFrame); totalTime = (long)(totalTime / 1000000.0); int hours = (int)(totalTime / 3600); totalTime -= (long)(hours * 3600); int mins = (int)(totalTime / 60); totalTime -= (long)(mins * 60); framePerSec = headerStreams[k].dwRate / headerStreams[k].dwScale; WdH = videoStreams[0].biWidth; WdH /= videoStreams[0].biHeight; Frame_Size = videoStreams[0].biWidth.ToString() + " x " + videoStreams[0].biHeight.ToString(); Total_Time = String.Format("{0:00}:{1:00}:{2:00.00#} seconds", hours, mins, totalTime); Frame_Rate = String.Format("{0:N2} Frames/Sec", (1000000.0 / headerFile.dwMicroSecPerFrame)); Total_Frames = String.Format("{0:G}", headerFile.dwTotalFrames ); Video_Data_Rate = String.Format("{0:N2} frames/Sec", framePerSec ); iV++; } sizOfHeader = headerFile.dwTotalFrames * 8 * (iA+1); sizOfVideo = m_MoviSize - sizOfHeader - sizOfAudio; Console.WriteLine("m_MoviSize = " + m_MoviSize.ToString()); Console.WriteLine("sizOfHeader = " + sizOfHeader.ToString()); Console.WriteLine("sizOfAudio = " + sizOfAudio.ToString()); Console.WriteLine("sizOfVideo = " + sizOfVideo.ToString()); Console.WriteLine("dwTotalFrames = " + headerFile.dwTotalFrames.ToString()); AverageVideoBitRate = (int)((sizOfVideo * framePerSec * 8) / (headerFile.dwTotalFrames * 1000)); videoQuality = (0.75 * WdH) * (AverageVideoBitRate / framePerSec); if (pbDetect == true) Packet_Bitstream = "On"; _VideoItems.Add(new clsInfoItem("Video codec:", clsEncoding.FromFourCC(videoStreams[0].biCompression)) ); _VideoItems.Add(new clsInfoItem("Codec descr:", fccDesc)); _VideoItems.Add(new clsInfoItem("Frame Size:", Frame_Size) ); _VideoItems.Add(new clsInfoItem("Average Video Bitrate:", AverageVideoBitRate.ToString() + " Kb/Sec")); _VideoItems.Add(new clsInfoItem("Avi file size:", ((m_filesize / 1024).ToString("#,### KB")))); _VideoItems.Add(new clsInfoItem("Total Time:", Total_Time )); _VideoItems.Add(new clsInfoItem("Frame Rate:", Frame_Rate)) ; _VideoItems.Add(new clsInfoItem("Total Frames:", Total_Frames)); _VideoItems.Add(new clsInfoItem("Video Data Rate:", Video_Data_Rate )); _VideoItems.Add(new clsInfoItem("Video Quality:", videoQuality.ToString("#,###.##") )); _VideoItems.Add(new clsInfoItem("Packet Bitstream:", Packet_Bitstream )); if (userData.Length >0 ) for (l=0; l0 ) { for (l=0; l 0 ) // audioRate /= (double) headerStreams[k].dwSampleSize; if(aFormat == "0055") { CVBR = ""; // MP3 CODEC _AudioItems.Add(new clsInfoItem("Audio " + (iA+1).ToString() + ":", parseAudioType(aFormat) + " " + CVBR + " " + String.Format("{0:N2} Kb/Sec", audioRate / 1000.0) + " " + "- " + audioStreams[iA].nSamplesPerSec + " Hz (" + audioStreams[iA].nChannels.ToString() + " Channels)")); } else { // Other codec _AudioItems.Add(new clsInfoItem("Audio " + (iA+1).ToString() + ":", parseAudioType(aFormat) + " " + String.Format("{0:N2} Kb/Sec", audioRate / 1000.0) + " " + "- " + audioStreams[iA].nSamplesPerSec + " Hz (" + audioStreams[iA].nChannels.ToString() + " Channels)")); } // Calc Data for AVBitrate blockPerSec = headerStreams[k].dwRate / headerStreams[k].dwScale; double tmpAudio = headerStreams[k].dwLength; tmpAudio *= audioStreams[iA].nAvgBytesPerSec; tmpAudio /= blockPerSec; sizOfAudio += tmpAudio; // increment total audio streams iA++; } return; } } } themonospot-0.7.3.1/themonospot-base/src/components/clsParserMKV.cs000755 000764 000764 00000036564 11220736777 023612 0ustar00000000 000000 using System; using System.IO; using System.Text; using System.Threading; using Utility; using themonospot_Base_Main; using System.Collections; using System.Collections.Generic; namespace themonospot_Base_Main { /// /// Matroska Parser for Themonospot /// public class clsParserMKV : IParser { public List VideoItems { get {return _VideoItems; } } public List AudioItems { get {return _AudioItems; } } private List _VideoItems; private List _AudioItems; private List _MkvTrackItems; private clsMkvTrack _MkvTrackItem; private clsEncoding EncObject = new clsEncoding(); private readonly string Header_EBML = "1A45DFA3"; private readonly string Header_SEGMENT = "18538067"; private readonly string Header_TRACK = "1654AE6B"; private readonly string Header_TRACKENTRY = "AE"; private readonly string Header_TRACK_TYPE = "83"; private readonly string Header_TRACK_LANG = "22B59C"; private readonly string Header_TRACK_CODEC = "86"; private readonly string Header_TRACK_VIDEO = "E0"; private readonly string Header_TRACK_AUDIO = "E1"; private readonly string Header_VIDEO_PIXW = "B0"; private readonly string Header_VIDEO_PIXH = "BA"; private readonly string Header_AUDIO_FREQ = "B5"; private readonly string Header_AUDIO_CHAN = "9F"; private FileStream mkvStreamReader = null; private string _m_filename = ""; private string _m_shortname = ""; private long _m_filesize = 0; private long _m_posStream = 0; private string strElement = ""; private long lenElement = 0; private byte[] ReadBuffer; public clsParserMKV() { } /// /// Parse the selected file /// public void OpenFile(string FileName) { // File Not Found... if (File.Exists(FileName) != true) throw new ParserException("File (" + FileName + ") Not Found..."); _VideoItems = new List(); _AudioItems = new List(); _MkvTrackItems = new List(); // Read File Infos FileInfo fi = new FileInfo(FileName); _m_filename = fi.FullName; _m_shortname = fi.Name; _m_filesize = fi.Length; fi = null; // DEBUG /* Console.WriteLine(""); Console.WriteLine(""); Console.WriteLine(""); Console.WriteLine("_m_filename = " + _m_filename); Console.WriteLine("_m_shortname = " + _m_shortname); Console.WriteLine("_m_filesize = " + _m_filesize.ToString("#,###.##")); */ // Open the streamer mkvStreamReader = new FileStream(_m_filename, FileMode.Open, FileAccess.Read, FileShare.Read); _m_posStream = 0; strElement = ReadElement(); lenElement = long.Parse(GetVInt(ReadElement()),System.Globalization.NumberStyles.AllowHexSpecifier); /* Console.WriteLine("**************************************************"); Console.WriteLine("Element ID = " + strElement); Console.WriteLine("Length = " + lenElement.ToString("#,###.##") + " bytes"); Console.WriteLine("Offset = " + _m_posStream.ToString()); */ if (strElement != Header_EBML) { mkvStreamReader.Close(); mkvStreamReader = null; throw new ParserException("Error. Not a valid MATROSKA file"); } // Skip Element Length _m_posStream += lenElement; mkvStreamReader.Seek(lenElement, SeekOrigin.Current); while (_m_posStream < _m_filesize) { // Read ElementID and Length strElement = ReadElement(); lenElement = long.Parse(GetVInt(ReadElement()),System.Globalization.NumberStyles.AllowHexSpecifier); /* Console.WriteLine("**************************************************"); Console.WriteLine("Element ID = " + strElement); Console.WriteLine("Length = " + lenElement.ToString("#,###.##") + " bytes"); Console.WriteLine("Offset = " + _m_posStream.ToString()); */ if (strElement != Header_SEGMENT) { // Skip Element Length if not SEGMENT _m_posStream += lenElement; mkvStreamReader.Seek(lenElement, SeekOrigin.Current); } else ReadSegment(lenElement); } mkvStreamReader.Close(); // Console.WriteLine("_MkvTrackItems[" + k.ToString() + "].Track_Codec = " + _MkvTrackItems[k].Track_Codec ); int Atrack = 0, Vtrack = 0, Otrack = 0; for (int k=0; k<_MkvTrackItems.Count; k++) { if (_MkvTrackItems[k].Track_Type == 2) { // Audio Track Atrack++; _AudioItems.Add(new clsInfoItem("AudioTrack " + Atrack.ToString("D2"), "[" + _MkvTrackItems[k].Track_Lang + "] " + _MkvTrackItems[k].Track_Codec + " - " + _MkvTrackItems[k].Track_Audio.Freq.ToString() + " Hz - " + _MkvTrackItems[k].Track_Audio.Channels.ToString() + " channels")); } else if (_MkvTrackItems[k].Track_Type == 1) { // Video Track Vtrack++; _VideoItems.Add(new clsInfoItem("VideoTrack " + Vtrack.ToString("D2"), _MkvTrackItems[k].Track_Codec + " (" + _MkvTrackItems[k].Track_Video.PixelWidth.ToString() + "x" + _MkvTrackItems[k].Track_Video.PixelHeight.ToString() + ")")); } else if (_MkvTrackItems[k].Track_Type == 0x11) { // Subtitle track types Otrack++; _VideoItems.Add(new clsInfoItem("SubtitleTrack " + Otrack.ToString("D2"), "[" + _MkvTrackItems[k].Track_Lang + "] " + _MkvTrackItems[k].Track_Codec )); } } return; } private void ReadSegment(long lenSegment) { long _m_endSegment = _m_posStream + lenSegment - 1; while (_m_posStream < _m_endSegment) { // Read ElementID and Length strElement = ReadElement(); lenElement = long.Parse(GetVInt(ReadElement()),System.Globalization.NumberStyles.AllowHexSpecifier); if (strElement != Header_TRACK) { // Skip Element Length if not a TRACKS _m_posStream += lenElement; mkvStreamReader.Seek(lenElement, SeekOrigin.Current); } else { /* Console.WriteLine("**************************************************"); Console.WriteLine("Tracks ID = " + strElement); Console.WriteLine("Length = " + lenElement.ToString("#,###.##") + " bytes"); Console.WriteLine("Offset = " + _m_posStream.ToString()); */ ReadTracks(lenElement); } } return; } private void ReadTracks(long lenTracks) { long _m_endSegment = _m_posStream + lenTracks - 1; while (_m_posStream < _m_endSegment) { // Read ElementID and Length strElement = ReadElement(); lenElement = long.Parse(GetVInt(ReadElement()),System.Globalization.NumberStyles.AllowHexSpecifier); if (strElement != Header_TRACKENTRY) { // Skip Element Length if not a TRACK _m_posStream += lenElement; mkvStreamReader.Seek(lenElement, SeekOrigin.Current); } else { /* Console.WriteLine("**************************************************"); Console.WriteLine("Track ID = " + strElement); Console.WriteLine("Length = " + lenElement.ToString("#,###.##") + " bytes"); Console.WriteLine("Offset = " + _m_posStream.ToString()); */ _MkvTrackItem = new clsMkvTrack(); ReadTrack(lenElement); _MkvTrackItems.Add(_MkvTrackItem); } } return; } private void ReadTrack(long lenTrack) { long _m_endSegment = _m_posStream + lenTrack - 1; while (_m_posStream < _m_endSegment) { // Read ElementID and Length strElement = ReadElement(); lenElement = long.Parse(GetVInt(ReadElement()),System.Globalization.NumberStyles.AllowHexSpecifier); /* Console.WriteLine("**************************************************"); Console.WriteLine(" Track Elem = " + strElement); Console.WriteLine(" Length = " + lenElement.ToString("#,###.##") + " bytes"); Console.WriteLine(" Offset = " + _m_posStream.ToString()); */ if (strElement == Header_TRACK_TYPE) { ReadBuffer = new byte[lenElement]; mkvStreamReader.Read(ReadBuffer, 0, Convert.ToInt32(lenElement)); _m_posStream += lenElement; // should be 1 byte _MkvTrackItem.Track_Type = Convert.ToInt32(ReadBuffer[0]); } else if (strElement == Header_TRACK_LANG) { ReadBuffer = new byte[lenElement]; mkvStreamReader.Read(ReadBuffer, 0, Convert.ToInt32(lenElement)); _m_posStream += lenElement; _MkvTrackItem.Track_Lang = EncObject.getAsciiFromArray(ReadBuffer); } else if (strElement == Header_TRACK_VIDEO) { ReadVideo(lenElement); } else if (strElement == Header_TRACK_AUDIO) { ReadAudio(lenElement); } else if (strElement == Header_TRACK_CODEC) { ReadBuffer = new byte[lenElement]; mkvStreamReader.Read(ReadBuffer, 0, Convert.ToInt32(lenElement) ); _m_posStream += lenElement; _MkvTrackItem.Track_Codec = EncObject.getAsciiFromArray(ReadBuffer); } else { // Skip Element Length if not a significative element _m_posStream += lenElement; mkvStreamReader.Seek(lenElement, SeekOrigin.Current); } } return; } private void ReadVideo(long lenVideo) { long _m_endSegment = _m_posStream + lenVideo - 1; int tmpVal = 0; while (_m_posStream < _m_endSegment) { // Read ElementID and Length strElement = ReadElement(); lenElement = long.Parse(GetVInt(ReadElement()),System.Globalization.NumberStyles.AllowHexSpecifier); if (strElement == Header_VIDEO_PIXW) { ReadBuffer = new byte[lenElement]; mkvStreamReader.Read(ReadBuffer, 0, Convert.ToInt32(lenElement)); _m_posStream += lenElement; _MkvTrackItem.Track_Video.PixelWidth = int.Parse(EncObject.getHexFromBytes(ReadBuffer),System.Globalization.NumberStyles.AllowHexSpecifier); } else if (strElement == Header_VIDEO_PIXH) { ReadBuffer = new byte[lenElement]; mkvStreamReader.Read(ReadBuffer, 0, Convert.ToInt32(lenElement)); _m_posStream += lenElement; _MkvTrackItem.Track_Video.PixelHeight = int.Parse(EncObject.getHexFromBytes(ReadBuffer),System.Globalization.NumberStyles.AllowHexSpecifier); } else { // Skip Element Length if not a TRACK _m_posStream += lenElement; mkvStreamReader.Seek(lenElement, SeekOrigin.Current); } } return; } private void ReadAudio(long lenAudio) { long _m_endSegment = _m_posStream + lenAudio - 1; while (_m_posStream < _m_endSegment) { // Read ElementID and Length strElement = ReadElement(); lenElement = long.Parse(GetVInt(ReadElement()),System.Globalization.NumberStyles.AllowHexSpecifier); if (strElement == Header_AUDIO_FREQ) { ReadBuffer = new byte[lenElement]; mkvStreamReader.Read(ReadBuffer, 0, Convert.ToInt32(lenElement)); _m_posStream += lenElement; ReadBuffer = EncObject.swapByte(ReadBuffer); _MkvTrackItem.Track_Audio.Freq = BitConverter.ToSingle(ReadBuffer,0); } else if (strElement == Header_AUDIO_CHAN) { ReadBuffer = new byte[lenElement]; mkvStreamReader.Read(ReadBuffer, 0, Convert.ToInt32(lenElement)); _m_posStream += lenElement; // should be 1 byte _MkvTrackItem.Track_Audio.Channels = Convert.ToInt32(ReadBuffer[0]); } else { // Skip Element Length if not a TRACK _m_posStream += lenElement; mkvStreamReader.Seek(lenElement, SeekOrigin.Current); } } return; } private int BytesToRead(int FirstByteInt) { if ( (FirstByteInt & 0x80) > 0) return 0; else if ( (FirstByteInt & 0x40) > 0) return 1; else if ( (FirstByteInt & 0x20) > 0) return 2; else if ( (FirstByteInt & 0x10) > 0) return 3; else if ( (FirstByteInt & 0x08) > 0) return 4; else if ( (FirstByteInt & 0x04) > 0) return 5; else if ( (FirstByteInt & 0x02) > 0) return 6; else if ( (FirstByteInt & 0x01) > 0) return 7; else return 8; } private string ReadElement() { int OneByte = mkvStreamReader.ReadByte(); string tmpElement = OneByte.ToString("X2"); int NextBytes = BytesToRead(OneByte); // Update File OffSet _m_posStream += NextBytes+1; for (int j=0; j 0) NewFirstByte = FirstByte & 0x7F; else if ( (FirstByte & 0x40) > 0) NewFirstByte = FirstByte & 0x3F; else if ( (FirstByte & 0x20) > 0) NewFirstByte = FirstByte & 0x1F; else if ( (FirstByte & 0x10) > 0) NewFirstByte = FirstByte & 0x0F; else if ( (FirstByte & 0x08) > 0) NewFirstByte = FirstByte & 0x07; else if ( (FirstByte & 0x04) > 0) NewFirstByte = FirstByte & 0x03; else if ( (FirstByte & 0x02) > 0) NewFirstByte = FirstByte & 0x01; else if ( (FirstByte & 0x01) > 0) NewFirstByte = 0; else NewFirstByte = 0; if (Element.Length > 2) return NewFirstByte.ToString("X2") + Element.Substring(2); else return NewFirstByte.ToString("X2"); } } } themonospot-0.7.3.1/themonospot-base/src/components/ParserException.cs000755 000764 000764 00000000655 11220736777 024401 0ustar00000000 000000 using System; namespace themonospot_Base_Main { /// /// Description of ParserException. /// public class ParserException : Exception { public ParserException() : base() { } public ParserException(string Message) : base(Message) { } } } themonospot-0.7.3.1/themonospot-base/src/components/clsAviStructures.cs000755 000764 000764 00000044400 11220736777 024607 0ustar00000000 000000 using System; using System.Text; using Utility; namespace themonospot_Base_Main { #region STRUCTURES CLASSES /// /// AVIMAINHEADER - Structure of Main Header ('avih') /// public class AVIMAINHEADER { // Private Objects clsEncoding myEnc; #region Private Variables private int _dwMicroSecPerFrame; private int _dwMaxBytesPerSec; private int _dwPaddingGranularity; private int _dwFlags; private int _dwTotalFrames; private int _dwInitialFrames; private int _dwStreams; private int _dwSuggestedBufferSize; private int _dwWidth; private int _dwHeight; private int _dwReserved0; private int _dwReserved1; private int _dwReserved2; private int _dwReserved3; #endregion Private Variables #region Public Methods to obtain infos public int dwMicroSecPerFrame { get { return _dwMicroSecPerFrame; } } public int dwMaxBytesPerSec { get { return _dwMaxBytesPerSec; } } public int dwPaddingGranularity { get { return _dwPaddingGranularity; } } public int dwFlags { get { return _dwFlags; } } public int dwTotalFrames { get { return _dwTotalFrames; } } public int dwInitialFrames { get { return _dwInitialFrames; } } public int dwStreams { get { return _dwStreams; } } public int dwSuggestedBufferSize { get { return _dwSuggestedBufferSize; } } public int dwWidth { get { return _dwWidth; } } public int dwHeight { get { return _dwHeight; } } public int dwReserved0 { get { return _dwReserved0; } } public int dwReserved1 { get { return _dwReserved1; } } public int dwReserved2 { get { return _dwReserved2; } } public int dwReserved3 { get { return _dwReserved3; } } #endregion Public Methods to obtain infos /// /// Load data from byte array into structure /// public void loadDataStructure(byte[] dataIN) { myEnc = new clsEncoding(); // Fill data in the structure _dwMicroSecPerFrame = myEnc.getIntFromBytes(dataIN,0,4) ; _dwMaxBytesPerSec = myEnc.getIntFromBytes(dataIN,4,4) ; _dwPaddingGranularity = myEnc.getIntFromBytes(dataIN,8,4) ; _dwFlags = myEnc.getIntFromBytes(dataIN,12,4) ; _dwTotalFrames = myEnc.getIntFromBytes(dataIN,16,4) ; _dwInitialFrames = myEnc.getIntFromBytes(dataIN,20,4) ; _dwStreams = myEnc.getIntFromBytes(dataIN,24,4) ; _dwSuggestedBufferSize = myEnc.getIntFromBytes(dataIN,28,4) ; _dwWidth = myEnc.getIntFromBytes(dataIN,32,4) ; _dwHeight = myEnc.getIntFromBytes(dataIN,36,4) ; _dwReserved0 = myEnc.getIntFromBytes(dataIN,40,4) ; _dwReserved1 = myEnc.getIntFromBytes(dataIN,44,4) ; _dwReserved2 = myEnc.getIntFromBytes(dataIN,48,4) ; _dwReserved3 = myEnc.getIntFromBytes(dataIN,52,4) ; return; } } /// /// AVIEXTHEADER - Structure of AVIEXTHEADER ('dmlh') /// public class AVIEXTHEADER { // Private Objects clsEncoding myEnc; #region Private Variables private int _dwGrandFrames; private int[] _dwFuture; #endregion Private Variables #region Public Methods to obtain infos public int dwGrandFrames { get { return _dwGrandFrames; } } public int[] dwFuture { get { return _dwFuture; } } #endregion Public Methods to obtain infos /// /// Load data from byte array into structure /// public void loadDataStructure(byte[] dataIN, int dwFutureLen) { myEnc = new clsEncoding(); int k; // Fill data in the structure _dwGrandFrames = myEnc.getIntFromBytes(dataIN,0,4) ; if (dwFutureLen > 0) { _dwFuture = new int[dwFutureLen]; for (k=0; k /// AVISTREAMHEADER - Structure of Stream Header ('strh') /// public class AVISTREAMHEADER { // Private Objects clsEncoding myEnc; #region Private Variables private int _fccType; // stream type codes private int _fccHandler; private int _dwFlags; private ushort _wPriority; private ushort _wLanguage; private int _dwInitialFrames; private int _dwScale; private int _dwRate; // dwRate/dwScale is stream tick rate in ticks/sec private int _dwStart; private int _dwLength; private int _dwSuggestedBufferSize; private int _dwQuality; private int _dwSampleSize; private ushort _left; private ushort _top; private ushort _right; private ushort _bottom; #endregion Private Variables #region Public Methods to obtain infos public int fccType { get { return _fccType; } } public int fccHandler { get { return _fccHandler; } } public int dwFlags { get { return _dwFlags; } } public ushort wPriority { get { return _wPriority; } } public ushort wLanguage { get { return _wLanguage; } } public int dwInitialFrames { get { return _dwInitialFrames; } } public int dwScale { get { return _dwScale; } } public int dwRate { get { return _dwRate; } } public int dwStart { get { return _dwStart; } } public int dwLength { get { return _dwLength; } } public int dwSuggestedBufferSize { get { return _dwSuggestedBufferSize; } } public int dwQuality { get { return _dwQuality; } } public int dwSampleSize { get { return _dwSampleSize; } } public ushort left { get { return _left; } } public ushort top { get { return _top; } } public ushort right { get { return _right; } } public ushort bottom { get { return _bottom; } } #endregion Public Methods to obtain infos /// /// Load data from byte array into structure /// public void loadDataStructure(byte[] dataIN) { myEnc = new clsEncoding(); // Fill data in the structure _fccType = myEnc.getIntFromBytes(dataIN,0,4) ; _fccHandler = myEnc.getIntFromBytes(dataIN,4,4) ; _dwFlags = myEnc.getIntFromBytes(dataIN,8,4) ; _wPriority = (ushort)myEnc.getIntFromBytes(dataIN,12,2) ; _wLanguage = (ushort)myEnc.getIntFromBytes(dataIN,14,2) ; _dwInitialFrames = myEnc.getIntFromBytes(dataIN,16,4) ; _dwScale = myEnc.getIntFromBytes(dataIN,20,4) ; _dwRate = myEnc.getIntFromBytes(dataIN,24,4) ; _dwStart = myEnc.getIntFromBytes(dataIN,28,4) ; _dwLength = myEnc.getIntFromBytes(dataIN,32,4) ; _dwSuggestedBufferSize = myEnc.getIntFromBytes(dataIN,36,4) ; _dwQuality = myEnc.getIntFromBytes(dataIN,40,4) ; _dwSampleSize = myEnc.getIntFromBytes(dataIN,44,4); _left = (ushort)myEnc.getIntFromBytes(dataIN,48,2) ; _top = (ushort)myEnc.getIntFromBytes(dataIN,50,2) ; _right = (ushort)myEnc.getIntFromBytes(dataIN,52,2) ; _bottom = (ushort)myEnc.getIntFromBytes(dataIN,54,2) ; return; } } /// /// BITMAPINFOHEADER - Structure of BITMAPINFOHEADER ('strf') /// public class BITMAPINFOHEADER { // Private Objects clsEncoding myEnc; #region Private Variables private int _biSize; private int _biWidth; private int _biHeight; private short _biPlanes; private short _biBitCount; private int _biCompression; private int _biSizeImage; private int _biXPelsPerMeter; private int _biYPelsPerMeter; private int _biClrUsed; private int _biClrImportant; #endregion Private Variables #region Public Methods to obtain infos public int biSize { get { return _biSize; } } public int biWidth { get { return _biWidth; } } public int biHeight { get { return _biHeight; } } public short biPlanes { get { return _biPlanes; } } public short biBitCount { get { return _biBitCount; } } public int biCompression { get { return _biCompression; } } public int biSizeImage { get { return _biSizeImage; } } public int biXPelsPerMeter { get { return _biXPelsPerMeter; } } public int biYPelsPerMeter { get { return _biYPelsPerMeter; } } public int biClrUsed { get { return _biClrUsed; } } public int biClrImportant { get { return _biClrImportant; } } #endregion Public Methods to obtain infos /// /// Load data from byte array into structure /// public void loadDataStructure(byte[] dataIN) { myEnc = new clsEncoding(); // Fill data in the structure _biSize = myEnc.getIntFromBytes(dataIN,0,4) ; _biWidth = myEnc.getIntFromBytes(dataIN,4,4) ; _biHeight = myEnc.getIntFromBytes(dataIN,8,4) ; _biPlanes = (short)myEnc.getIntFromBytes(dataIN,12,2) ; _biBitCount = (short)myEnc.getIntFromBytes(dataIN,14,2) ; _biCompression = myEnc.getIntFromBytes(dataIN,16,4) ; _biSizeImage = myEnc.getIntFromBytes(dataIN,20,4) ; _biXPelsPerMeter = myEnc.getIntFromBytes(dataIN,24,4) ; _biYPelsPerMeter = myEnc.getIntFromBytes(dataIN,28,4) ; _biClrUsed = myEnc.getIntFromBytes(dataIN,32,4) ; _biClrImportant = myEnc.getIntFromBytes(dataIN,36,4) ; return; } } /// /// WAVEFORMATEX - Structure of WAVEFORMATEX /// public class WAVEFORMATEX { // Private Objects clsEncoding myEnc; #region Private Variables private short _wFormatTag; private short _nChannels; private int _nSamplesPerSec; private int _nAvgBytesPerSec; private short _nBlockAlign; private short _wBitsPerSample; private short _cbSize; // Extra private short _wID; private int _fdwFlags; private short _nBlockSize; private short _nFramesPerBlock; private short _nCodecDelay; #endregion Private Variables #region Public Methods to obtain infos public short wFormatTag { get { return _wFormatTag; } } public short nChannels { get { return _nChannels; } } public int nSamplesPerSec { get { return _nSamplesPerSec; } } public int nAvgBytesPerSec { get { return _nAvgBytesPerSec; } } public short nBlockAlign { get { return _nBlockAlign; } } public short wBitsPerSample { get { return _wBitsPerSample; } } public short cbSize { get { return _cbSize; } } // Extra public short wID { get { return _wID; } } public int fdwFlags { get { return _fdwFlags; } } public short nBlockSize { get { return _nBlockSize; } } public short nFramesPerBlock { get { return _nFramesPerBlock; } } public short nCodecDelay { get { return _nCodecDelay; } } #endregion Public Methods to obtain infos /// /// Load data from byte array into structure /// public void loadDataStructure(byte[] dataIN) { myEnc = new clsEncoding(); // Fill data in the structure _wFormatTag = (short)myEnc.getIntFromBytes(dataIN,0,2) ; _nChannels = (short)myEnc.getIntFromBytes(dataIN,2,2) ; _nSamplesPerSec = myEnc.getIntFromBytes(dataIN,4,4) ; _nAvgBytesPerSec = myEnc.getIntFromBytes(dataIN,8,4) ; _nBlockAlign = (short)myEnc.getIntFromBytes(dataIN,12,2) ; _wBitsPerSample = (short)myEnc.getIntFromBytes(dataIN,14,2); // Extra // rel. 0.6.2 fixed if (dataIN.Length > 16) _cbSize = (short)myEnc.getIntFromBytes(dataIN,16,2) ; if (dataIN.Length > 18) _wID = (short)myEnc.getIntFromBytes(dataIN,18,2) ; if (dataIN.Length > 20) _fdwFlags = myEnc.getIntFromBytes(dataIN,20,4) ; if (dataIN.Length > 24) _nBlockSize = (short)myEnc.getIntFromBytes(dataIN,24,2) ; if (dataIN.Length > 26) _nFramesPerBlock = (short)myEnc.getIntFromBytes(dataIN,26,2) ; if (dataIN.Length > 28) _nCodecDelay = (short)myEnc.getIntFromBytes(dataIN,28,2) ; return; } } /// /// TIMECODEDATA - Structure of TIMECODEDATA /// public class TIMECODEDATA { // Private Objects clsEncoding myEnc; #region Private Variables private short _wFrameRate; private short _wFrameFract; private int _cFrames; private int _dwSMPTEflags; private int _dwUser; #endregion Private Variables #region Public Methods to obtain infos public short wFrameRate { get { return _wFrameRate; } } public short wFrameFract { get { return _wFrameFract; } } public int cFrames { get { return _cFrames; } } public int dwSMPTEflags { get { return _dwSMPTEflags; } } public int dwUser { get { return _dwUser; } } #endregion Public Methods to obtain infos /// /// Load data from byte array into structure /// public void loadDataStructure(byte[] dataIN) { myEnc = new clsEncoding(); // Fill data in the structure _wFrameRate = (short)myEnc.getIntFromBytes(dataIN,0,2) ; _wFrameFract = (short)myEnc.getIntFromBytes(dataIN,2,2) ; _cFrames = myEnc.getIntFromBytes(dataIN,4,4) ; _dwSMPTEflags = myEnc.getIntFromBytes(dataIN,8,4) ; _dwUser = myEnc.getIntFromBytes(dataIN,12,4) ; return; } } /// /// AVIOLDINDEXENTRY - Structure of AVIOLDINDEXENTRY /// public class AVIOLDINDEXENTRY { // Private Objects clsEncoding myEnc; #region Private Variables private int _dwChunkId; private int _dwFlags; private int _dwOffset; private int _dwSize; #endregion Private Variables #region Public Methods to obtain infos public int dwChunkId { get { return _dwChunkId; } } public int dwFlags { get { return _dwFlags; } } public int dwOffset { get { return _dwOffset; } } public int dwSize { get { return _dwSize; } } #endregion Public Methods to obtain infos /// /// Load data from byte array into structure /// public void loadDataStructure(byte[] dataIN) { myEnc = new clsEncoding(); // Fill data in the structure _dwChunkId = myEnc.getIntFromBytes(dataIN,0,4); _dwFlags = myEnc.getIntFromBytes(dataIN,4,8); _dwOffset = myEnc.getIntFromBytes(dataIN,8,4); _dwSize = myEnc.getIntFromBytes(dataIN,12,4); return; } } #endregion STRUCTURES CLASSES class AviRiffData { #region AVI constants // AVIMAINHEADER flags public static readonly int AVIF_HASINDEX = 0x00000010; // Index at end of file? public static readonly int AVIF_MUSTUSEINDEX = 0x00000020; public static readonly int AVIF_ISINTERLEAVED = 0x00000100; public static readonly int AVIF_TRUSTCKTYPE = 0x00000800; // Use CKType to find key frames public static readonly int AVIF_WASCAPTUREFILE = 0x00010000; public static readonly int AVIF_COPYRIGHTED = 0x00020000; // AVISTREAMINFO flags public static readonly int AVISF_DISABLED = 0x00000001; public static readonly int AVISF_VIDEO_PALCHANGES = 0x00010000; // AVIOLDINDEXENTRY flags public static readonly int AVIIF_LIST = 0x00000001; public static readonly int AVIIF_KEYFRAME = 0x00000010; public static readonly int AVIIF_NO_TIME = 0x00000100; public static readonly int AVIIF_COMPRESSOR = 0x0FFF0000; // unused? // TIMECODEDATA flags public static readonly int TIMECODE_SMPTE_BINARY_GROUP = 0x07; public static readonly int TIMECODE_SMPTE_COLOR_FRAME = 0x08; // AVI stream FourCC codes public static readonly int streamtypeVIDEO = Utility.clsEncoding.ToFourCC("vids"); public static readonly int streamtypeAUDIO = Utility.clsEncoding.ToFourCC("auds"); public static readonly int streamtypeMIDI = Utility.clsEncoding.ToFourCC("mids"); public static readonly int streamtypeTEXT = Utility.clsEncoding.ToFourCC("txts"); // AVI section FourCC codes public static readonly int ckidAVIHeaderList = Utility.clsEncoding.ToFourCC("hdrl"); public static readonly int ckidMainAVIHeader = Utility.clsEncoding.ToFourCC("avih"); public static readonly int ckidODML = Utility.clsEncoding.ToFourCC("odml"); public static readonly int ckidAVIExtHeader = Utility.clsEncoding.ToFourCC("dmlh"); public static readonly int ckidAVIStreamList = Utility.clsEncoding.ToFourCC("strl"); public static readonly int ckidAVIStreamHeader = Utility.clsEncoding.ToFourCC("strh"); public static readonly int ckidAVIStreamData = Utility.clsEncoding.ToFourCC("strd"); public static readonly int ckidStreamFormat = Utility.clsEncoding.ToFourCC("strf"); public static readonly int ckidAVIMovieData = Utility.clsEncoding.ToFourCC("movi"); public static readonly int ckidAVIOldIndex = Utility.clsEncoding.ToFourCC("idx1"); public static readonly int ckidINFOList = Utility.clsEncoding.ToFourCC("INFO"); public static readonly int ckidJUNKTag = Utility.clsEncoding.ToFourCC("JUNK"); public static readonly int ckidAVIISFT = Utility.clsEncoding.ToFourCC("ISFT"); public static readonly int ckidWaveFMT = Utility.clsEncoding.ToFourCC("fmt "); public static readonly int ckidMovieWaveTrack = Utility.clsEncoding.ToFourCC("01wb"); public static readonly int ckidMovieVideoTrack = Utility.clsEncoding.ToFourCC("00dc"); public static readonly byte[] UserDataBytes = {0x00, 0x00, 0x01, 0xB2}; // User Data public static readonly byte[] VOLStartBytes = {0x00, 0x00, 0x01, 0x20}; // Video Object Layer (VOL) public static readonly byte[] VOPStartBytes = {0x00, 0x00, 0x01, 0xB6}; // Video Object Plane (VOP) // Audio codec public static readonly int ckidMP3 = 0x0055; #endregion } } themonospot-0.7.3.1/themonospot-base/Makefile.am000644 000764 000764 00000004466 11220737001 017775 0ustar00000000 000000 EXTRA_DIST = # Warning: This is an automatically generated file, do not edit! if ENABLE_DEBUG ASSEMBLY_COMPILER_COMMAND = gmcs ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:3 -optimize- -debug "-define:DEBUG;TRACE" ASSEMBLY = bin/Debug/themonospot-base.dll ASSEMBLY_MDB = $(ASSEMBLY).mdb COMPILE_TARGET = library PROJECT_REFERENCES = BUILD_DIR = bin/Debug/ THEMONOSPOT_BASE_DLL_MDB_SOURCE=bin/Debug/themonospot-base.dll.mdb THEMONOSPOT_BASE_DLL_MDB=$(BUILD_DIR)/themonospot-base.dll.mdb endif if ENABLE_RELEASE ASSEMBLY_COMPILER_COMMAND = gmcs ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- "-define:TRACE" ASSEMBLY = bin/Release/themonospot-base.dll ASSEMBLY_MDB = COMPILE_TARGET = library PROJECT_REFERENCES = BUILD_DIR = bin/Release/ THEMONOSPOT_BASE_DLL_MDB= endif AL=al2 SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll PROGRAMFILES = \ $(THEMONOSPOT_BASE_DLL_MDB) LINUX_PKGCONFIG = \ $(THEMONOSPOT_BASE_PC) RESGEN=resgen2 all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG) FILES = \ src/AssemblyInfo.cs \ src/components/clsAviStructures.cs \ src/components/clsConfiguration.cs \ src/components/clsEncoding.cs \ src/components/clsInfoItem.cs \ src/components/clsLanguages.cs \ src/components/clsMkvStructures.cs \ src/components/clsParserAVI.cs \ src/components/clsParserMKV.cs \ src/components/clsThemonospotBase.cs \ src/components/IParser.cs \ src/components/ParserException.cs \ src/components/SettingsManager.cs DATA_FILES = RESOURCES = EXTRAS = \ src \ themonospot-base.pc.in REFERENCES = \ System \ System.Xml DLL_REFERENCES = CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG) include $(top_srcdir)/Makefile.include THEMONOSPOT_BASE_PC = $(BUILD_DIR)/themonospot-base.pc $(eval $(call emit-deploy-wrapper,THEMONOSPOT_BASE_PC,themonospot-base.pc)) $(eval $(call emit_resgen_targets)) $(build_xamlg_list): %.xaml.g.cs: %.xaml xamlg '$<' $(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list) mkdir -p $(shell dirname $(ASSEMBLY)) $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref) themonospot-0.7.3.1/themonospot-base/Makefile.in000644 000764 000764 00000055326 11220737003 020011 0ustar00000000 000000 # Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@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 = : DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/themonospot-base.pc.in \ $(top_srcdir)/Makefile.include subdir = themonospot-base ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/expansions.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = themonospot-base.pc am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" \ "$(DESTDIR)$(linuxpkgconfigdir)" \ "$(DESTDIR)$(programfilesdir)" \ "$(DESTDIR)$(programfileslanguagesdir)" binSCRIPT_INSTALL = $(INSTALL_SCRIPT) pkglibSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) $(pkglib_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; linuxpkgconfigDATA_INSTALL = $(INSTALL_DATA) programfilesDATA_INSTALL = $(INSTALL_DATA) programfileslanguagesDATA_INSTALL = $(INSTALL_DATA) DATA = $(linuxpkgconfig_DATA) $(programfiles_DATA) \ $(programfileslanguages_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GLADE_SHARP_20_CFLAGS = @GLADE_SHARP_20_CFLAGS@ GLADE_SHARP_20_LIBS = @GLADE_SHARP_20_LIBS@ GLIB_SHARP_20_CFLAGS = @GLIB_SHARP_20_CFLAGS@ GLIB_SHARP_20_LIBS = @GLIB_SHARP_20_LIBS@ GMCS = @GMCS@ GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@ GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ expanded_bindir = @expanded_bindir@ expanded_datadir = @expanded_datadir@ expanded_libdir = @expanded_libdir@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = $(build_sources) $(build_resx_files) \ $(build_others_files) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) \ $(DATA_FILES) $(build_culture_res_files) # Warning: This is an automatically generated file, do not edit! @ENABLE_DEBUG_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs @ENABLE_RELEASE_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs @ENABLE_DEBUG_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:3 -optimize- -debug "-define:DEBUG;TRACE" @ENABLE_RELEASE_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- "-define:TRACE" @ENABLE_DEBUG_TRUE@ASSEMBLY = bin/Debug/themonospot-base.dll @ENABLE_RELEASE_TRUE@ASSEMBLY = bin/Release/themonospot-base.dll @ENABLE_DEBUG_TRUE@ASSEMBLY_MDB = $(ASSEMBLY).mdb @ENABLE_RELEASE_TRUE@ASSEMBLY_MDB = @ENABLE_DEBUG_TRUE@COMPILE_TARGET = library @ENABLE_RELEASE_TRUE@COMPILE_TARGET = library @ENABLE_DEBUG_TRUE@PROJECT_REFERENCES = @ENABLE_RELEASE_TRUE@PROJECT_REFERENCES = @ENABLE_DEBUG_TRUE@BUILD_DIR = bin/Debug/ @ENABLE_RELEASE_TRUE@BUILD_DIR = bin/Release/ @ENABLE_DEBUG_TRUE@THEMONOSPOT_BASE_DLL_MDB_SOURCE = bin/Debug/themonospot-base.dll.mdb @ENABLE_DEBUG_TRUE@THEMONOSPOT_BASE_DLL_MDB = $(BUILD_DIR)/themonospot-base.dll.mdb @ENABLE_RELEASE_TRUE@THEMONOSPOT_BASE_DLL_MDB = AL = al2 SATELLITE_ASSEMBLY_NAME = $(notdir $(basename $(ASSEMBLY))).resources.dll PROGRAMFILES = \ $(THEMONOSPOT_BASE_DLL_MDB) LINUX_PKGCONFIG = \ $(THEMONOSPOT_BASE_PC) RESGEN = resgen2 FILES = \ src/AssemblyInfo.cs \ src/components/clsAviStructures.cs \ src/components/clsConfiguration.cs \ src/components/clsEncoding.cs \ src/components/clsInfoItem.cs \ src/components/clsLanguages.cs \ src/components/clsMkvStructures.cs \ src/components/clsParserAVI.cs \ src/components/clsParserMKV.cs \ src/components/clsThemonospotBase.cs \ src/components/IParser.cs \ src/components/ParserException.cs \ src/components/SettingsManager.cs DATA_FILES = RESOURCES = EXTRAS = \ src \ themonospot-base.pc.in REFERENCES = \ System \ System.Xml DLL_REFERENCES = CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG) $(ASSEMBLY) \ $(ASSEMBLY).mdb $(BINARIES) $(build_resx_resources) \ $(build_satellite_assembly_list) VALID_CULTURES = ar bg ca zh-CHS cs da de el en es fi fr he hu is it ja ko nl no pl pt ro ru hr sk sq sv th tr id uk be sl et lv lt fa vi hy eu mk af fo hi sw gu ta te kn mr gl kok ar-SA bg-BG ca-ES zh-TW cs-CZ da-DK de-DE el-GR en-US fi-FI fr-FR he-IL hu-HU is-IS it-IT ja-JP ko-KR nl-NL nb-NO pl-PL pt-BR ro-RO ru-RU hr-HR sk-SK sq-AL sv-SE th-TH tr-TR id-ID uk-UA be-BY sl-SI et-EE lv-LV lt-LT fa-IR vi-VN hy-AM eu-ES mk-MK af-ZA fo-FO hi-IN sw-KE gu-IN ta-IN te-IN kn-IN mr-IN gl-ES kok-IN ar-IQ zh-CN de-CH en-GB es-MX fr-BE it-CH nl-BE nn-NO pt-PT sv-FI ar-EG zh-HK de-AT en-AU es-ES fr-CA ar-LY zh-SG de-LU en-CA es-GT fr-CH ar-DZ zh-MO en-NZ es-CR fr-LU ar-MA en-IE es-PA ar-TN en-ZA es-DO ar-OM es-VE ar-YE es-CO ar-SY es-PE ar-JO es-AR ar-LB en-ZW es-EC ar-KW en-PH es-CL ar-AE es-UY ar-BH es-PY ar-QA es-BO es-SV es-HN es-NI es-PR zh-CHT s2q = $(subst \ ,?,$1) q2s = $(subst ?,\ ,$1) # use this when result will be quoted unesc2 = $(subst ?, ,$1) build_sources = $(FILES) $(GENERATED_FILES) build_sources_esc = $(call s2q,$(build_sources)) # use unesc2, as build_sources_embed is quoted build_sources_embed = $(call unesc2,$(build_sources_esc:%='$(srcdir)/%')) comma__ = , get_resource_name = $(firstword $(subst $(comma__), ,$1)) get_culture = $(lastword $(subst ., ,$(basename $1))) is_cultured_resource = $(and $(word 3,$(subst ., ,$1)), $(filter $(VALID_CULTURES),$(lastword $(subst ., ,$(basename $1))))) RESOURCES_ESC = $(call s2q,$(RESOURCES)) build_resx_list = $(foreach res, $(RESOURCES_ESC), $(if $(filter %.resx, $(call get_resource_name,$(res))),$(res),)) build_non_culture_resx_list = $(foreach res, $(build_resx_list),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res))) build_non_culture_others_list = $(foreach res, $(filter-out $(build_resx_list),$(RESOURCES_ESC)),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res))) build_others_list = $(build_non_culture_others_list) build_xamlg_list = $(filter %.xaml.g.cs, $(FILES)) # resgen all .resx resources build_resx_files = $(foreach res, $(build_resx_list), $(call get_resource_name,$(res))) build_resx_resources_esc = $(build_resx_files:.resx=.resources) build_resx_resources = $(call q2s,$(build_resx_resources_esc)) # embed resources for the main assembly build_resx_resources_hack = $(subst .resx,.resources, $(build_non_culture_resx_list)) # use unesc2, as build_resx_resources_embed is quoted build_resx_resources_embed = $(call unesc2,$(build_resx_resources_hack:%='-resource:%')) build_others_files = $(call q2s,$(foreach res, $(build_others_list),$(call get_resource_name,$(res)))) build_others_resources = $(build_others_files) # use unesc2, as build_others_resources_embed is quoted build_others_resources_embed = $(call unesc2,$(build_others_list:%='-resource:$(srcdir)/%')) build_resources = $(build_resx_resources) $(build_others_resources) build_resources_embed = $(build_resx_resources_embed) $(build_others_resources_embed) # -usesourcepath is available only for resgen2 emit_resgen_target_1 = $(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); cd '$$(shell dirname '$$<')' && MONO_IOMAP=drive $$(RESGEN) '$$(shell basename '$$<')' '$$(shell basename '$$@')' emit_resgen_target_2 = $(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); MONO_IOMAP=drive $$(RESGEN) -usesourcepath '$$<' '$$@' emit_resgen_target = $(if $(filter resgen2,$(RESGEN)),$(emit_resgen_target_2),$(emit_resgen_target_1)) emit_resgen_targets = $(foreach res,$(build_resx_resources_esc),$(eval $(call emit_resgen_target,$(res)))) build_references_ref = $(call q2s,$(foreach ref, $(call \ s2q,$(REFERENCES)), $(if $(filter -pkg:%, $(ref)), $(ref), \ $(if $(filter -r:%, $(ref)), $(ref), -r:$(ref))))) $(call \ q2s,$(foreach ref, $(call s2q,$(DLL_REFERENCES)), -r:$(ref))) \ $(call q2s,$(foreach ref, $(call s2q,$(PROJECT_REFERENCES)), \ -r:$(ref))) s2q2s = $(call unesc2,$(call s2q,$1)) cp_actual = test -z $1 || cp $1 $2 cp = $(call cp_actual,'$(call s2q2s,$1)','$(call s2q2s,$2)') rm_actual = test -z '$1' || rm -f '$2' rm = $(call rm_actual,$(call s2q2s,$1),$(call s2q2s,$2)/$(shell basename '$(call s2q2s,$1)')) DISTCLEANFILES = $(GENERATED_FILES) $(pc_files) $(BUILD_DIR)/* pkglib_SCRIPTS = $(ASSEMBLY) bin_SCRIPTS = $(BINARIES) programfilesdir = @libdir@/@PACKAGE@ programfiles_DATA = $(PROGRAMFILES) programfileslanguagesdir = @libdir@/@PACKAGE@/languages programfileslanguages_DATA = $(PROGRAMFILES_LANGUAGES) linuxpkgconfigdir = @libdir@/pkgconfig linuxpkgconfig_DATA = $(LINUX_PKGCONFIG) # generating satellite assemblies culture_resources = $(foreach res, $(RESOURCES_ESC), $(if $(call is_cultured_resource,$(call get_resource_name, $(res))),$(res))) cultures = $(sort $(foreach res, $(culture_resources), $(call get_culture,$(call get_resource_name,$(res))))) culture_resource_dependencies = $(call q2s,$(BUILD_DIR)/$1/$(SATELLITE_ASSEMBLY_NAME): $(subst .resx,.resources,$2)) culture_resource_commandlines = $(call unesc2,cmd_line_satellite_$1 += '/embed:$(subst .resx,.resources,$2)') build_satellite_assembly_list = $(call q2s,$(cultures:%=$(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME))) build_culture_res_files = $(call q2s,$(foreach res, $(culture_resources),$(call get_resource_name,$(res)))) install_satellite_assembly_list = $(subst $(BUILD_DIR),$(DESTDIR)$(libdir)/$(PACKAGE),$(build_satellite_assembly_list)) THEMONOSPOT_BASE_PC = $(BUILD_DIR)/themonospot-base.pc all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign themonospot-base/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign themonospot-base/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 themonospot-base.pc: $(top_builddir)/config.status $(srcdir)/themonospot-base.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done install-pkglibSCRIPTS: $(pkglib_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" @list='$(pkglib_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(pkglibSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(pkglibSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \ else :; fi; \ done uninstall-pkglibSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(pkglib_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done install-linuxpkgconfigDATA: $(linuxpkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(linuxpkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(linuxpkgconfigdir)" @list='$(linuxpkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(linuxpkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(linuxpkgconfigdir)/$$f'"; \ $(linuxpkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(linuxpkgconfigdir)/$$f"; \ done uninstall-linuxpkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(linuxpkgconfig_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(linuxpkgconfigdir)/$$f'"; \ rm -f "$(DESTDIR)$(linuxpkgconfigdir)/$$f"; \ done install-programfilesDATA: $(programfiles_DATA) @$(NORMAL_INSTALL) test -z "$(programfilesdir)" || $(MKDIR_P) "$(DESTDIR)$(programfilesdir)" @list='$(programfiles_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(programfilesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(programfilesdir)/$$f'"; \ $(programfilesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(programfilesdir)/$$f"; \ done uninstall-programfilesDATA: @$(NORMAL_UNINSTALL) @list='$(programfiles_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(programfilesdir)/$$f'"; \ rm -f "$(DESTDIR)$(programfilesdir)/$$f"; \ done install-programfileslanguagesDATA: $(programfileslanguages_DATA) @$(NORMAL_INSTALL) test -z "$(programfileslanguagesdir)" || $(MKDIR_P) "$(DESTDIR)$(programfileslanguagesdir)" @list='$(programfileslanguages_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(programfileslanguagesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(programfileslanguagesdir)/$$f'"; \ $(programfileslanguagesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(programfileslanguagesdir)/$$f"; \ done uninstall-programfileslanguagesDATA: @$(NORMAL_UNINSTALL) @list='$(programfileslanguages_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(programfileslanguagesdir)/$$f'"; \ rm -f "$(DESTDIR)$(programfileslanguagesdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: 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 $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(linuxpkgconfigdir)" "$(DESTDIR)$(programfilesdir)" "$(DESTDIR)$(programfileslanguagesdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-linuxpkgconfigDATA install-programfilesDATA \ install-programfileslanguagesDATA install-dvi: install-dvi-am install-exec-am: install-binSCRIPTS install-pkglibSCRIPTS install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binSCRIPTS uninstall-linuxpkgconfigDATA \ uninstall-pkglibSCRIPTS uninstall-programfilesDATA \ uninstall-programfileslanguagesDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS 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-linuxpkgconfigDATA install-man \ install-pdf install-pdf-am install-pkglibSCRIPTS \ install-programfilesDATA install-programfileslanguagesDATA \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-binSCRIPTS \ uninstall-linuxpkgconfigDATA uninstall-pkglibSCRIPTS \ uninstall-programfilesDATA uninstall-programfileslanguagesDATA all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG) # macros # $(call emit-deploy-target,deploy-variable-name) define emit-deploy-target $($1): $($1_SOURCE) mkdir -p '$$(shell dirname '$$@')' cp '$$<' '$$@' endef # $(call emit-deploy-wrapper,wrapper-variable-name,wrapper-sourcefile,x) # assumes that for a wrapper foo.pc its source template is foo.pc.in # if $3 is non-empty then wrapper is marked exec define emit-deploy-wrapper $($1): $2 mkdir -p '$$(shell dirname '$$@')' cp '$$<' '$$@' $(if $3,chmod +x '$$@') endef $(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_dependencies,$(call get_culture,$(call get_resource_name,$(res))),$(call get_resource_name,$(res)))))) $(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_commandlines,$(call get_culture,$(call get_resource_name,$(res))),$(res))))) $(build_satellite_assembly_list): $(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME): mkdir -p '$(@D)' $(AL) -out:'$@' -culture:$* -t:lib $(cmd_line_satellite_$*) $(install_satellite_assembly_list): mkdir -p '$(@D)' cp $(subst $(DESTDIR)$(libdir)/$(PACKAGE), $(BUILD_DIR), $@) $@ install-satellite-assemblies: $(install_satellite_assembly_list) uninstall-satellite-assemblies: rm -rf $(install_satellite_assembly_list) $(eval $(call emit-deploy-wrapper,THEMONOSPOT_BASE_PC,themonospot-base.pc)) $(eval $(call emit_resgen_targets)) $(build_xamlg_list): %.xaml.g.cs: %.xaml xamlg '$<' $(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list) mkdir -p $(shell dirname $(ASSEMBLY)) $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref) # 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: themonospot-0.7.3.1/themonospot-base/themonospot-base.pc.in000644 000764 000764 00000000210 11220737001 022140 0ustar00000000 000000 Name: themonospot-base Description: themonospot-base Version: 0.1 Requires: Libs: -r:@expanded_libdir@/@PACKAGE@/themonospot-base.dll themonospot-0.7.3.1/install-sh000755 000764 000764 00000032464 11151540525 014463 0ustar00000000 000000 #!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # Protect names starting with `-'. case $dst in -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; -*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: themonospot-0.7.3.1/Makefile.am000644 000764 000764 00000000346 11220737001 014477 0ustar00000000 000000 EXTRA_DIST = expansions.m4 #Warning: This is an automatically generated file, do not edit! if ENABLE_DEBUG SUBDIRS = themonospot-base themonospot-gui endif if ENABLE_RELEASE SUBDIRS = themonospot-base themonospot-gui endif themonospot-0.7.3.1/Makefile.in000644 000764 000764 00000044754 11220737003 014525 0ustar00000000 000000 # Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@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 = : subdir = . DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure install-sh \ missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/expansions.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = SOURCES = DIST_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 ETAGS = etags CTAGS = ctags DIST_SUBDIRS = themonospot-base themonospot-gui DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GLADE_SHARP_20_CFLAGS = @GLADE_SHARP_20_CFLAGS@ GLADE_SHARP_20_LIBS = @GLADE_SHARP_20_LIBS@ GLIB_SHARP_20_CFLAGS = @GLIB_SHARP_20_CFLAGS@ GLIB_SHARP_20_LIBS = @GLIB_SHARP_20_LIBS@ GMCS = @GMCS@ GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@ GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ expanded_bindir = @expanded_bindir@ expanded_datadir = @expanded_datadir@ expanded_libdir = @expanded_libdir@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = expansions.m4 #Warning: This is an automatically generated file, do not edit! @ENABLE_DEBUG_TRUE@SUBDIRS = themonospot-base themonospot-gui @ENABLE_RELEASE_TRUE@SUBDIRS = themonospot-base themonospot-gui all: all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ cd $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; 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) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d $(distdir) || mkdir $(distdir) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ distclean distclean-generic distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install install-am install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: themonospot-0.7.3.1/expansions.m4000644 000764 000764 00000001466 11220737001 015100 0ustar00000000 000000 AC_DEFUN([SHAMROCK_EXPAND_LIBDIR], [ expanded_libdir=`( case $prefix in NONE) prefix=$ac_default_prefix ;; *) ;; esac case $exec_prefix in NONE) exec_prefix=$prefix ;; *) ;; esac eval echo $libdir )` AC_SUBST(expanded_libdir) ]) AC_DEFUN([SHAMROCK_EXPAND_BINDIR], [ expanded_bindir=`( case $prefix in NONE) prefix=$ac_default_prefix ;; *) ;; esac case $exec_prefix in NONE) exec_prefix=$prefix ;; *) ;; esac eval echo $bindir )` AC_SUBST(expanded_bindir) ]) AC_DEFUN([SHAMROCK_EXPAND_DATADIR], [ case $prefix in NONE) prefix=$ac_default_prefix ;; *) ;; esac case $exec_prefix in NONE) exec_prefix=$prefix ;; *) ;; esac expanded_datadir=`(eval echo $datadir)` expanded_datadir=`(eval echo $expanded_datadir)` AC_SUBST(expanded_datadir) ]) themonospot-0.7.3.1/readme000644 000764 000764 00000000626 11220736777 013647 0ustar00000000 000000 themonospot - Parser/editor and content descriptor for .avi and .mkv file types v0.7.3 ====================================================================================== Copyright (c) 2007-2009, Armando Basile Thank you for using ( or at least trying out :) ) themonospot themonospot is distributed under the terms of the GNU General Public License (GPLv2) See the file COPYING for more information themonospot-0.7.3.1/configure000755 000764 000764 00000357621 11220737003 014367 0ustar00000000 000000 #! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.63 for themonospot 0.7.3. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell bug-autoconf@gnu.org about your system, echo including any error possibly output before this message. echo This can help us improve future autoconf versions. echo Configuration will now proceed without shell functions. } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='themonospot' PACKAGE_TARNAME='themonospot' PACKAGE_VERSION='0.7.3' PACKAGE_STRING='themonospot 0.7.3' PACKAGE_BUGREPORT='' ac_subst_vars='LTLIBOBJS LIBOBJS GLIB_SHARP_20_LIBS GLIB_SHARP_20_CFLAGS GLADE_SHARP_20_LIBS GLADE_SHARP_20_CFLAGS GTK_SHARP_20_LIBS GTK_SHARP_20_CFLAGS ENABLE_RELEASE_FALSE ENABLE_RELEASE_TRUE ENABLE_DEBUG_FALSE ENABLE_DEBUG_TRUE GMCS expanded_datadir expanded_bindir expanded_libdir PKG_CONFIG MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_maintainer_mode enable_debug enable_release ' ac_precious_vars='build_alias host_alias target_alias PKG_CONFIG GTK_SHARP_20_CFLAGS GTK_SHARP_20_LIBS GLADE_SHARP_20_CFLAGS GLADE_SHARP_20_LIBS GLIB_SHARP_20_CFLAGS GLIB_SHARP_20_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { $as_echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { $as_echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 { (exit 1); exit 1; }; } ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $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 fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { $as_echo "$as_me: error: working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures themonospot 0.7.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/themonospot] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of themonospot 0.7.3:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-debug Use 'DEBUG' Configuration default=NO --enable-release Use 'RELEASE' Configuration default=YES Some influential environment variables: PKG_CONFIG path to pkg-config utility GTK_SHARP_20_CFLAGS C compiler flags for GTK_SHARP_20, overriding pkg-config GTK_SHARP_20_LIBS linker flags for GTK_SHARP_20, overriding pkg-config GLADE_SHARP_20_CFLAGS C compiler flags for GLADE_SHARP_20, overriding pkg-config GLADE_SHARP_20_LIBS linker flags for GLADE_SHARP_20, overriding pkg-config GLIB_SHARP_20_CFLAGS C compiler flags for GLIB_SHARP_20, overriding pkg-config GLIB_SHARP_20_LIBS linker flags for GLIB_SHARP_20, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF themonospot configure 0.7.3 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by themonospot $as_me 0.7.3, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then { $as_echo "$as_me:$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" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:$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_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.10' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$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 $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 $as_echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi { $as_echo "$as_me:$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 $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:$LINENO: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='themonospot' VERSION='0.7.3' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_STRIP+set}" = set; 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:$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:$LINENO: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:$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:$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 $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$PKG_CONFIG" = "xno"; then { { $as_echo "$as_me:$LINENO: error: You need to install pkg-config" >&5 $as_echo "$as_me: error: You need to install pkg-config" >&2;} { (exit 1); exit 1; }; } fi expanded_libdir=`( case $prefix in NONE) prefix=$ac_default_prefix ;; *) ;; esac case $exec_prefix in NONE) exec_prefix=$prefix ;; *) ;; esac eval echo $libdir )` expanded_bindir=`( case $prefix in NONE) prefix=$ac_default_prefix ;; *) ;; esac case $exec_prefix in NONE) exec_prefix=$prefix ;; *) ;; esac eval echo $bindir )` case $prefix in NONE) prefix=$ac_default_prefix ;; *) ;; esac case $exec_prefix in NONE) exec_prefix=$prefix ;; *) ;; esac expanded_datadir=`(eval echo $datadir)` expanded_datadir=`(eval echo $expanded_datadir)` # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$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 $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' # Extract the first word of "gmcs", so it can be a program name with args. set dummy gmcs; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_GMCS+set}" = set; then $as_echo_n "(cached) " >&6 else case $GMCS in [\\/]* | ?:[\\/]*) ac_cv_path_GMCS="$GMCS" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMCS="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMCS" && ac_cv_path_GMCS="no" ;; esac fi GMCS=$ac_cv_path_GMCS if test -n "$GMCS"; then { $as_echo "$as_me:$LINENO: result: $GMCS" >&5 $as_echo "$GMCS" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$GMCS" = "xno"; then { { $as_echo "$as_me:$LINENO: error: gmcs Not found" >&5 $as_echo "$as_me: error: gmcs Not found" >&2;} { (exit 1); exit 1; }; } fi # Check whether --enable-debug was given. if test "${enable_debug+set}" = set; then enableval=$enable_debug; enable_debug=yes else enable_debug=no fi if test x$enable_debug = xyes; then ENABLE_DEBUG_TRUE= ENABLE_DEBUG_FALSE='#' else ENABLE_DEBUG_TRUE='#' ENABLE_DEBUG_FALSE= fi if test "x$enable_debug" = "xyes" ; then CONFIG_REQUESTED="yes" fi # Check whether --enable-release was given. if test "${enable_release+set}" = set; then enableval=$enable_release; enable_release=yes else enable_release=no fi if test x$enable_release = xyes; then ENABLE_RELEASE_TRUE= ENABLE_RELEASE_FALSE='#' else ENABLE_RELEASE_TRUE='#' ENABLE_RELEASE_FALSE= fi if test "x$enable_release" = "xyes" ; then CONFIG_REQUESTED="yes" fi if test -z "$CONFIG_REQUESTED" ; then if true; then ENABLE_RELEASE_TRUE= ENABLE_RELEASE_FALSE='#' else ENABLE_RELEASE_TRUE='#' ENABLE_RELEASE_FALSE= fi enable_release=yes fi 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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:$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 $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:$LINENO: checking for GTK_SHARP_20" >&5 $as_echo_n "checking for GTK_SHARP_20... " >&6; } if test -n "$GTK_SHARP_20_CFLAGS"; then pkg_cv_GTK_SHARP_20_CFLAGS="$GTK_SHARP_20_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "gtk-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_SHARP_20_LIBS"; then pkg_cv_GTK_SHARP_20_LIBS="$GTK_SHARP_20_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_SHARP_20_LIBS=`$PKG_CONFIG --libs "gtk-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk-sharp-2.0" 2>&1` else GTK_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk-sharp-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_SHARP_20_PKG_ERRORS" >&5 { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk-sharp-2.0) were not met: $GTK_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS and GTK_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 $as_echo "$as_me: error: Package requirements (gtk-sharp-2.0) were not met: $GTK_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS and GTK_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS and GTK_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS and GTK_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } else GTK_SHARP_20_CFLAGS=$pkg_cv_GTK_SHARP_20_CFLAGS GTK_SHARP_20_LIBS=$pkg_cv_GTK_SHARP_20_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } : fi pkg_failed=no { $as_echo "$as_me:$LINENO: checking for GLADE_SHARP_20" >&5 $as_echo_n "checking for GLADE_SHARP_20... " >&6; } if test -n "$GLADE_SHARP_20_CFLAGS"; then pkg_cv_GLADE_SHARP_20_CFLAGS="$GLADE_SHARP_20_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glade-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glade-sharp-2.0") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLADE_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "glade-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GLADE_SHARP_20_LIBS"; then pkg_cv_GLADE_SHARP_20_LIBS="$GLADE_SHARP_20_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glade-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glade-sharp-2.0") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLADE_SHARP_20_LIBS=`$PKG_CONFIG --libs "glade-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLADE_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glade-sharp-2.0" 2>&1` else GLADE_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --print-errors "glade-sharp-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLADE_SHARP_20_PKG_ERRORS" >&5 { { $as_echo "$as_me:$LINENO: error: Package requirements (glade-sharp-2.0) were not met: $GLADE_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 $as_echo "$as_me: error: Package requirements (glade-sharp-2.0) were not met: $GLADE_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } else GLADE_SHARP_20_CFLAGS=$pkg_cv_GLADE_SHARP_20_CFLAGS GLADE_SHARP_20_LIBS=$pkg_cv_GLADE_SHARP_20_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } : fi pkg_failed=no { $as_echo "$as_me:$LINENO: checking for GLIB_SHARP_20" >&5 $as_echo_n "checking for GLIB_SHARP_20... " >&6; } if test -n "$GLIB_SHARP_20_CFLAGS"; then pkg_cv_GLIB_SHARP_20_CFLAGS="$GLIB_SHARP_20_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glib-sharp-2.0") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "glib-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GLIB_SHARP_20_LIBS"; then pkg_cv_GLIB_SHARP_20_LIBS="$GLIB_SHARP_20_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-sharp-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glib-sharp-2.0") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_SHARP_20_LIBS=`$PKG_CONFIG --libs "glib-sharp-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLIB_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-sharp-2.0" 2>&1` else GLIB_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-sharp-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_SHARP_20_PKG_ERRORS" >&5 { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-sharp-2.0) were not met: $GLIB_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 $as_echo "$as_me: error: Package requirements (glib-sharp-2.0) were not met: $GLIB_SHARP_20_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } else GLIB_SHARP_20_CFLAGS=$pkg_cv_GLIB_SHARP_20_CFLAGS GLIB_SHARP_20_LIBS=$pkg_cv_GLIB_SHARP_20_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } : fi ac_config_files="$ac_config_files themonospot-base/themonospot-base.pc themonospot-base/Makefile themonospot-gui/themonospot themonospot-gui/Makefile Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. ac_script=' :mline /\\$/{ N s,\\\n,, b mline } t clear :clear s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g t quote s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\[/\\&/g s/\]/\\&/g s/\$/$$/g H :any ${ g s/^\n// s/\n/ /g p } ' DEFS=`sed -n "$ac_script" confdefs.h` ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DEBUG\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"ENABLE_DEBUG\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_RELEASE_TRUE}" && test -z "${ENABLE_RELEASE_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_RELEASE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"ENABLE_RELEASE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_RELEASE_TRUE}" && test -z "${ENABLE_RELEASE_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_RELEASE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"ENABLE_RELEASE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by themonospot $as_me 0.7.3, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="`echo $ac_config_files`" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ themonospot config.status 0.7.3 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2008 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { $as_echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "themonospot-base/themonospot-base.pc") CONFIG_FILES="$CONFIG_FILES themonospot-base/themonospot-base.pc" ;; "themonospot-base/Makefile") CONFIG_FILES="$CONFIG_FILES themonospot-base/Makefile" ;; "themonospot-gui/themonospot") CONFIG_FILES="$CONFIG_FILES themonospot-gui/themonospot" ;; "themonospot-gui/Makefile") CONFIG_FILES="$CONFIG_FILES themonospot-gui/Makefile" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { $as_echo "$as_me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } 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_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } 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_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\).*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\).*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 $as_echo "$as_me: error: could not setup config files machinery" >&2;} { (exit 1); exit 1; }; } _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" eval set X " :F $CONFIG_FILES " shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ac_file_inputs="$ac_file_inputs '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } 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"; } && { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi themonospot-0.7.3.1/configure.ac000644 000764 000764 00000003114 11220737001 014725 0ustar00000000 000000 dnl Warning: This is an automatically generated file, do not edit! dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.54]) AC_INIT([themonospot], [0.7.3]) AM_INIT_AUTOMAKE([foreign]) AM_MAINTAINER_MODE dnl pkg-config AC_PATH_PROG(PKG_CONFIG, pkg-config, no) if test "x$PKG_CONFIG" = "xno"; then AC_MSG_ERROR([You need to install pkg-config]) fi SHAMROCK_EXPAND_LIBDIR SHAMROCK_EXPAND_BINDIR SHAMROCK_EXPAND_DATADIR AC_PROG_INSTALL AC_PATH_PROG(GMCS, gmcs, no) if test "x$GMCS" = "xno"; then AC_MSG_ERROR([gmcs Not found]) fi AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Use 'DEBUG' Configuration [default=NO]]), enable_debug=yes, enable_debug=no) AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes) if test "x$enable_debug" = "xyes" ; then CONFIG_REQUESTED="yes" fi AC_ARG_ENABLE(release, AC_HELP_STRING([--enable-release], [Use 'RELEASE' Configuration [default=YES]]), enable_release=yes, enable_release=no) AM_CONDITIONAL(ENABLE_RELEASE, test x$enable_release = xyes) if test "x$enable_release" = "xyes" ; then CONFIG_REQUESTED="yes" fi if test -z "$CONFIG_REQUESTED" ; then AM_CONDITIONAL(ENABLE_RELEASE, true) enable_release=yes fi dnl package checks, common for all configs PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0]) PKG_CHECK_MODULES([GLADE_SHARP_20], [glade-sharp-2.0]) PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0]) dnl package checks, per config AC_CONFIG_FILES([ themonospot-base/themonospot-base.pc themonospot-base/Makefile themonospot-gui/themonospot themonospot-gui/Makefile Makefile ]) AC_OUTPUT themonospot-0.7.3.1/themonospot-gui/000755 000764 000764 00000000000 11220737024 015606 5ustar00000000 000000 themonospot-0.7.3.1/themonospot-gui/themonospot.in000644 000764 000764 00000000110 11220737001 020500 0ustar00000000 000000 #!/bin/sh exec mono "@expanded_libdir@/@PACKAGE@/themonospot.exe" "$@" themonospot-0.7.3.1/themonospot-gui/src/ui/000755 000764 000764 00000000000 11220736777 017030 5ustar00000000 000000 themonospot-0.7.3.1/themonospot-gui/src/ui/tmsWAIT.cs000755 000764 000764 00000011604 11220736777 020654 0ustar00000000 000000 using System; using System.Threading; using System.Reflection; using Gtk; using GLib; using Glade; using Pango; using themonospot_Base_Main; using themonospot_Gui_Main; namespace themonospot_Gui_Main { /// /// themonospot Save new file process window /// public class tmsWAIT { // Form Objects [Glade.Widget] Gtk.Window topWindow; [Glade.Widget] Gtk.ProgressBar myPBar; [Glade.Widget] Gtk.Button cmdCancel; [Glade.Widget] Gtk.Label lblInfo; int stdBufferSize = 4096; Window pWin; clsThemonospotBase baseObject; /// ///

Create new instance of monoSPOTwait.

///
/// parameters passed to the application public tmsWAIT(ref Gtk.Window pW, ref clsThemonospotBase baseObj) { // Update local variables pWin = pW; baseObject = baseObj; Glade.XML gxml = new Glade.XML(null, "waitWindow.glade", "topWindow", null); gxml.Autoconnect(this); this.topWindow.TransientFor = pW; this.topWindow.Parent = pW; this.topWindow.Modal=true; configWinObjects(); } /// ///

Create new instance of monoSPOT.

///
public void configWinObjects() { // Window //topWindow.SetSizeRequest(625,115); topWindow.Resizable=false; topWindow.Title = Assembly.GetExecutingAssembly().GetName().Name.ToString() + " v" + this.baseObject.Release() + " - " + clsLanguages.WAITTITLE; topWindow.Icon = Gdk.Pixbuf.LoadFromResource("monoSPOT.png"); } private void on_cmdCancel_clicked(object sender, EventArgs a) { Console.WriteLine("on_cmdCancel_clicked"); baseObject.saveFlag = false; } static private void on_topWindow_delete_event(object sender, DeleteEventArgs args) { Console.WriteLine("on_topWindow_delete_event"); } public void saveAvi() { string tmpFName = ""; Gtk.FileChooserDialog FileBox = new Gtk.FileChooserDialog(clsLanguages.SAVEAS, topWindow, FileChooserAction.Save, clsLanguages.BTCANCEL, Gtk.ResponseType.Cancel, clsLanguages.BTACCEPT, Gtk.ResponseType.Accept); FileBox.WindowPosition= WindowPosition.CenterAlways; // Manage result of dialog box FileBox.Icon = Gdk.Pixbuf.LoadFromResource("monoSPOT_16.png"); FileBox.SetCurrentFolder(baseObject.defaultPath); int retFileBox = FileBox.Run(); if ((ResponseType)retFileBox == Gtk.ResponseType.Accept) { // path of a right file returned tmpFName = FileBox.Filename.ToString(); FileBox.Destroy(); FileBox.Dispose(); } else { // nothing returned FileBox.Destroy(); FileBox.Dispose(); this.topWindow.Dispose(); this.topWindow.Destroy(); this.topWindow=null; return; } this.topWindow.WindowPosition= WindowPosition.CenterAlways; this.topWindow.ShowAll(); baseObject.saveFlag=true; baseObject.newAviFileName = tmpFName; // Lunch new thread for save avi file System.Threading.Thread saveThread = new System.Threading.Thread( new System.Threading.ThreadStart( baseObject.resaveAviFile )); saveThread.Start(); // Write data before MOVI chunk myPBar.Adjustment.Lower = 0; myPBar.Adjustment.Upper = 100; myPBar.Adjustment.Value = 0; while (Gtk.Application.EventsPending ()) Gtk.Application.RunIteration (); // Loop to wait the end of save while (baseObject.saveFlag == true) { if (baseObject.redrawInfo == true) { myPBar.Adjustment.Lower = 0; myPBar.Adjustment.Upper = baseObject.totProgressItems; myPBar.Adjustment.Value = 0; lblInfo.Markup = baseObject.saveInfo; baseObject.redrawInfo = false; } myPBar.Adjustment.Value = baseObject.saveStatus; myPBar.Text = Convert.ToInt32(myPBar.Fraction * 100).ToString("D3") + "%"; while (Gtk.Application.EventsPending ()) Gtk.Application.RunIteration (); } // Show Error if (baseObject.saveError != "") { MessageDialog Dlg; Dlg=new MessageDialog(this.topWindow, DialogFlags.Modal, MessageType.Error, ButtonsType.Ok, baseObject.saveError); Dlg.Title = "Error detected"; Dlg.Icon = Gdk.Pixbuf.LoadFromResource("monoSPOT.png"); Dlg.Run(); Dlg.Destroy(); Dlg = null; } this.topWindow.Destroy(); this.topWindow.Dispose(); } } } themonospot-0.7.3.1/themonospot-gui/src/ui/tms4CC.cs000755 000764 000764 00000002513 11220736777 020460 0ustar00000000 000000 using System; using Gtk; using System.Reflection; using themonospot_Base_Main; namespace themonospot_Gui_Main { public class tms4CC { [Glade.Widget] Gtk.Dialog FourCCWindow; [Glade.Widget] Gtk.Entry txtFourCCdesc; [Glade.Widget] Gtk.Entry txtFourCCcode; [Glade.Widget] Gtk.Label lblInfo; [Glade.Widget] Gtk.Label lblCode; [Glade.Widget] Gtk.Label lblDesc; public tms4CC(Gtk.Window w, DialogFlags df, ref string fCC_Code, ref string fCC_Desc, out int retValue) { Glade.XML rxml = new Glade.XML (null, "ChangeFourCCwin.glade", "FourCCWindow", null); rxml.Autoconnect (this); this.FourCCWindow.Icon = Gdk.Pixbuf.LoadFromResource("monoSPOT_16.png"); this.FourCCWindow.TransientFor = w; //this.infoWindow.Modal=true; //this.FourCCWindow.Title = "FourCC Change..."; txtFourCCcode.Text = fCC_Code; txtFourCCdesc.Text = fCC_Desc; FourCCWindow.Title= clsLanguages.FCCTITLE; lblInfo.Markup= clsLanguages.FCCINFO; lblCode.Markup=clsLanguages.FCCCODE; lblDesc.Markup=clsLanguages.FCCDESC; while (Gtk.Application.EventsPending ()) Gtk.Application.RunIteration (); retValue = FourCCWindow.Run(); fCC_Code = txtFourCCcode.Text; fCC_Desc = txtFourCCdesc.Text; FourCCWindow.Destroy(); return; } } } themonospot-0.7.3.1/themonospot-gui/src/ui/tmsMAIN.cs000755 000764 000764 00000037771 11220736777 020651 0ustar00000000 000000 using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using Gtk; using Glade; using System.IO; using themonospot_Base_Main; using themonospot_Gui_Main; namespace themonospot_Gui_Main { public class tmsMAIN { [Glade.Widget] Window MonoSPOTWindow; [Glade.Widget] FileChooserButton FilenameChooser; [Glade.Widget] Button ExportButton; [Glade.Widget] Button infoButton; [Glade.Widget] Button ChangeUserData; [Glade.Widget] Button Change4ccButton; [Glade.Widget] Image VideoImage; [Glade.Widget] Image AudioImage; [Glade.Widget] TreeView VideoTreeView; [Glade.Widget] TreeView AudioTreeView; [Glade.Widget] Label lblAvi; [Glade.Widget] Label lblFile; [Glade.Widget] Label lblAudioTop; [Glade.Widget] Label lblVideoTop; [Glade.Widget] Label lblAboutBT; [Glade.Widget] Label lblExportBT; [Glade.Widget] Label lblFourccBT; [Glade.Widget] Label lblUserdataBT; [Glade.Widget] Label lblRescanBT; [Glade.Widget] CheckButton chkAutoExport; // monoSPOTwait SaveWindow; clsThemonospotBase baseObject = new clsThemonospotBase(); string releaseGUI = ""; string releaseBASE = ""; static string StartUpError = ""; string LOCALE_NATIVE_NAME = ""; string userDataToChange = ""; bool rec_ix = false; // codec info used string ASH = ""; string VSH = ""; // Create new instance of monoSPOT public tmsMAIN(string[] args) { Window.DefaultIcon = Gdk.Pixbuf.LoadFromResource("monoSPOT.png"); Glade.XML gxml = new Glade.XML("monoSPOT.glade", "MonoSPOTWindow"); gxml.Autoconnect(this); LOCALE_NATIVE_NAME = System.Globalization.CultureInfo.CurrentCulture.NativeName.ToLower(); LOCALE_NATIVE_NAME = LOCALE_NATIVE_NAME.Substring(0, LOCALE_NATIVE_NAME.IndexOf("(") - 1).Trim(); clsLanguages.LanguageName = LOCALE_NATIVE_NAME; StartUpError = clsLanguages.Init(); if (StartUpError != "") { Console.WriteLine("StartUpError = " + StartUpError); return; } Console.WriteLine("System language = " + clsLanguages.LanguageName + "\r\nAvailable language = " + clsLanguages.LanguageSet); // Filter for File Chooser FileFilter filter = new Gtk.FileFilter(); filter.AddPattern("*.avi"); filter.AddPattern("*.Avi"); filter.AddPattern("*.AVI"); filter.AddPattern("*.xvid"); filter.AddPattern("*.Xvid"); filter.AddPattern("*.XVID"); filter.AddPattern("*.divx"); filter.AddPattern("*.Divx"); filter.AddPattern("*.DIVX"); filter.AddPattern("*.mkv"); filter.AddPattern("*.Mkv"); filter.AddPattern("*.MKV"); filter.Name = "avi, divx, mkv, xvid files"; FilenameChooser.AddFilter(filter); FilenameChooser.SelectionChanged += FilenameChooser_selection_changed_cb; chkAutoExport.Label = clsLanguages.AUTOEXPORT; chkAutoExport.Active = baseObject.autoReport; VideoImage.FromPixbuf = Gdk.Pixbuf.LoadFromResource("video.png"); AudioImage.FromPixbuf = Gdk.Pixbuf.LoadFromResource("sound.png"); // setting audio and video treeview VideoTreeView.AppendColumn (clsLanguages.VCOL1NAME, new CellRendererText(), "text", 0); VideoTreeView.AppendColumn (clsLanguages.VCOL2NAME, new CellRendererText(), "text", 1); VideoTreeView.Model = new Gtk.ListStore (typeof (string), typeof (string)); // Drag And Drop feature TargetEntry[] VtvD = new TargetEntry[]{ new TargetEntry("text/uri-list", 0, 0), new TargetEntry("text/plain", 0, 1), new TargetEntry("STRING", 0, 1) }; Gtk.Drag.DestSet(MonoSPOTWindow, DestDefaults.All, VtvD, Gdk.DragAction.Copy | Gdk.DragAction.Move | Gdk.DragAction.Link | Gdk.DragAction.Ask); MonoSPOTWindow.DragDataReceived += on_MainWindow_selection_received; AudioTreeView.AppendColumn (clsLanguages.ACOL1NAME, new CellRendererText(), "text", 0); AudioTreeView.AppendColumn (clsLanguages.ACOL2NAME, new CellRendererText(), "text", 1); AudioTreeView.Model = new Gtk.ListStore (typeof (string), typeof (string)); releaseGUI = Assembly.GetExecutingAssembly().GetName().Version.Major.ToString() + "." + Assembly.GetExecutingAssembly().GetName().Version.Minor.ToString() + "." + Assembly.GetExecutingAssembly().GetName().Version.Build.ToString(); releaseBASE = baseObject.Release(); MonoSPOTWindow.Title = Assembly.GetExecutingAssembly().GetName().Name.ToString() + " v" + releaseBASE; // Update GUI with User Language lblAvi.Markup = "" + clsLanguages.DESCFILE + ""; lblFile.Markup = clsLanguages.LBLFILE; lblAudioTop.Markup = "" + clsLanguages.DESCAUDIO + ""; lblVideoTop.Markup = "" + clsLanguages.DESCVIDEO + ""; lblAboutBT.MarkupWithMnemonic = clsLanguages.ABOUTBT; lblExportBT.MarkupWithMnemonic = clsLanguages.EXPORTBT; lblFourccBT.MarkupWithMnemonic = clsLanguages.FOURCCBT; lblUserdataBT.MarkupWithMnemonic = clsLanguages.UDATABT; lblRescanBT.MarkupWithMnemonic = clsLanguages.RESCANBT; FilenameChooser.Title = clsLanguages.FCTITLE; Gtk.Tooltips tips1 = new Gtk.Tooltips(); tips1.SetTip(ExportButton, clsLanguages.TTTEXPORT, null); tips1.SetTip(Change4ccButton, clsLanguages.TTTFOURCC, null); tips1.SetTip(ChangeUserData, clsLanguages.TTTUDATA, null); if (Directory.Exists(baseObject.defaultPath) == true) FilenameChooser.SetCurrentFolder(baseObject.defaultPath); MonoSPOTWindow.DeleteEvent += on_MainWindow_Delete; MonoSPOTWindow.ShowAll(); Console.WriteLine("themonospot-base component version: " + baseObject.Release()); // If there is a path to process in a command line if (args.Length > 0) { Console.WriteLine("Path: ".PadRight(20,(char)46) + args[0]); if (File.Exists(args[0]) == false) { Console.WriteLine("Path not found...:"); // No Path Founded MessageDialog Dlg; Dlg=new MessageDialog(null ,DialogFlags.Modal,MessageType.Error,ButtonsType.Ok, "Path (" + args[0] + ") Not found... !!!"); Dlg.Title = "Error detected"; Dlg.Icon = Gdk.Pixbuf.LoadFromResource("monoSPOT.png"); Dlg.Run(); Dlg.Destroy(); Dlg = null; } else { FilenameChooser.SetFilename(args[0]); parseFile(FilenameChooser.Filename); } } } // Entry Point public static void Main (string[] args) { Gtk.Application.Init(); new tmsMAIN(args); if (StartUpError != "") return; Gtk.Application.Run(); } // An avi file was selected public void FilenameChooser_selection_changed_cb(object sender, EventArgs args) { Console.WriteLine(FilenameChooser.Filename); parseFile(FilenameChooser.Filename); } public void RescanButton_clicked_cb(object sender, EventArgs args) { if(FilenameChooser.Filename != null) parseFile(FilenameChooser.Filename); } // Scan the file private void parseFile (string filename) { string backError = ""; ChangeUserData.Sensitive=false; List VInfo = new List(); List AInfo = new List(); if (File.Exists(filename) != true) return; string FNameExt = filename.ToLower().Substring(filename.Length - 3); bool resultParse = baseObject.parseMovieFile(filename, ref backError, ref VInfo, ref AInfo, ref ASH, ref VSH); if (resultParse == false) { MessageDialog dlg = new MessageDialog (MonoSPOTWindow, DialogFlags.Modal, MessageType.Warning, ButtonsType.Ok, "Error: " + backError); dlg.Title = "themonospot Parser Error"; dlg.Run(); dlg.Destroy(); return; } rec_ix = baseObject.rec_ix; if (baseObject.userDataToChange.Trim() != "") ChangeUserData.Sensitive = true; if (FNameExt != "avi") Change4ccButton.Sensitive = false; ListStore informations = new ListStore(typeof(string), typeof(string)); for (int j=0; j 0) { // New dialog to save file Gtk.FileChooserDialog FileBox = new Gtk.FileChooserDialog(clsLanguages.EXPORTTITLE, this.MonoSPOTWindow, FileChooserAction.Save, clsLanguages.BTCANCEL, Gtk.ResponseType.Cancel, clsLanguages.BTACCEPT, Gtk.ResponseType.Accept); // Manage result of dialog box FileBox.Icon = Gdk.Pixbuf.LoadFromResource("monoSPOT.png"); FileBox.SetCurrentFolder(baseObject.defaultPath); int retFileBox = FileBox.Run(); if ((ResponseType)retFileBox == Gtk.ResponseType.Accept) SaveReport(FileBox.Filename); FileBox.Destroy(); FileBox.Dispose(); return; } } private void SaveReport(string ReportPath) { // Save File DateTime Oggi = DateTime.Now; StreamWriter outputStream = new StreamWriter(ReportPath , false); outputStream.WriteLine(("File:").PadRight(25)+ Path.GetFileName(FilenameChooser.Filename)); outputStream.WriteLine(("Analisys Date:").PadRight(25)+ Oggi.ToString("dd-MM-yyyy HH:mm:ss") ); outputStream.WriteLine("-----------------------------------------------------------------------------"); string tmpItem1 = ""; string tmpItem2 = ""; // Video Stream TreeIter tmpIter = new TreeIter(); bool isValidIter = VideoTreeView.Model.GetIterFirst(out tmpIter); if (isValidIter == true) { tmpItem1 = Convert.ToString(VideoTreeView.Model.GetValue(tmpIter, 0)); Console.WriteLine(tmpItem1); tmpItem2 = Convert.ToString(VideoTreeView.Model.GetValue(tmpIter, 1)); Console.WriteLine(tmpItem2); outputStream.WriteLine(tmpItem1.PadRight(25)+ tmpItem2); while(VideoTreeView.Model.IterNext(ref tmpIter)) { tmpItem1 = (string) VideoTreeView.Model.GetValue(tmpIter,0); tmpItem2 = (string) VideoTreeView.Model.GetValue(tmpIter,1); outputStream.WriteLine(tmpItem1.PadRight(25)+ tmpItem2); } outputStream.WriteLine(""); } // Audio Stream isValidIter = AudioTreeView.Model.GetIterFirst(out tmpIter); if (isValidIter == true) { tmpItem1 = (string) AudioTreeView.Model.GetValue(tmpIter,0); tmpItem2 = (string) AudioTreeView.Model.GetValue(tmpIter,1); outputStream.WriteLine(tmpItem1.PadRight(25)+ tmpItem2); while(AudioTreeView.Model.IterNext(ref tmpIter)) { tmpItem1 = (string) AudioTreeView.Model.GetValue(tmpIter,0); tmpItem2 = (string) AudioTreeView.Model.GetValue(tmpIter,1); outputStream.WriteLine(tmpItem1.PadRight(25)+ tmpItem2); } outputStream.WriteLine(""); outputStream.WriteLine(""); outputStream.WriteLine(""); } outputStream.WriteLine("Report generated by themonospot v" + releaseBASE + " --- Gtk# Gui v" + releaseGUI); outputStream.WriteLine("project web site: http://www.integrazioneweb.com/themonospot"); outputStream.Close(); outputStream.Dispose(); } public void on_MainWindow_selection_received(object sender, DragDataReceivedArgs InArgs) { Gtk.Widget source = Gtk.Drag.GetSourceWidget(InArgs.Context); string Data = System.Text.Encoding.UTF8.GetString(InArgs.SelectionData.Data); string DropFileName = ""; Data = Data.Replace(@"file://", ""); int EndLine = Data.IndexOf(Environment.NewLine); if (EndLine >0) Data = Data.Substring(0, Data.IndexOf(Environment.NewLine)); Uri TheFile = new Uri(Data); DropFileName = Path.GetFullPath(TheFile.LocalPath); if (!File.Exists(DropFileName)) return; FilenameChooser.SetFilename(DropFileName); parseFile(DropFileName); Gtk.Drag.Finish(InArgs.Context,true, false, InArgs.Time); } } } themonospot-0.7.3.1/themonospot-gui/src/ui/tmsINFO.cs000755 000764 000764 00000005715 11220736777 020651 0ustar00000000 000000 using System; using Gtk; using System.Diagnostics; using System.Reflection; namespace themonospot_Gui_Main { public class tmsINFO { [Glade.Widget] Gtk.Dialog infoWindow; [Glade.Widget] Gtk.Button logoApp; [Glade.Widget] Gtk.Image monologo; [Glade.Widget] Gtk.Label lblName; [Glade.Widget] Gtk.Label lblGuiName; [Glade.Widget] Gtk.Label lblInfo; [Glade.Widget] Gtk.TextView txtInfo; [Glade.Widget] Gtk.Button cmdExit; [Glade.Widget] Gtk.Button linkmono; public tmsINFO(Gtk.Window w, DialogFlags df, string BaseRel) { Glade.XML rxml = new Glade.XML (null, "infowin.glade", "infoWindow", null); rxml.Autoconnect (this); this.infoWindow.Icon = Gdk.Pixbuf.LoadFromResource("monoSPOT_16.png"); Image monoL = new Image(Gdk.Pixbuf.LoadFromResource("monologo.png")); Image simL = new Image(Gdk.Pixbuf.LoadFromResource("monoSPOT_48.png")); linkmono.Image = monoL; logoApp.Image = simL; this.infoWindow.TransientFor = w; //this.infoWindow.Modal=true; this.infoWindow.Title = "Information about..."; this.lblName.Markup = "" + Assembly.GetExecutingAssembly().GetName().Name.ToString() + " " + BaseRel; lblGuiName.Markup = "gtk# gui " + Assembly.GetExecutingAssembly().GetName().Version.Major.ToString() + "." + Assembly.GetExecutingAssembly().GetName().Version.Minor.ToString() + "." + Assembly.GetExecutingAssembly().GetName().Version.Build.ToString(); //cmdExit.Label = myTranslator.readTranslatedString(36); lblInfo.Markup = "realized by hman (hmandevteam@gmail.com)" + Environment.NewLine + "and cjg (cjg@cruxppc.org) to scan avi files" + Environment.NewLine + "and extract audio and video informations. " + Environment.NewLine + "special thanks to moitah (moitah@yahoo.com)" + Environment.NewLine + "---" + Environment.NewLine + "thanks also to:" + Environment.NewLine + "rayden (raydenbest@gmail.com)" + Environment.NewLine + "insomniac (insomniac@slackware.it)" + Environment.NewLine + "rigel.va - spanish language file" + Environment.NewLine + "mubumba (mubumba@gmail.com)" + Environment.NewLine + Environment.NewLine + "irc contact" + Environment.NewLine + "irc.eu.azzurra.net #mono" + Environment.NewLine ; //infoWindow.HeightRequest = 360; infoWindow.Run(); infoWindow.Destroy(); return; } public void On_Linkmono_Press(object sender, EventArgs a) { System.Diagnostics.Process.Start("http://www.mono-project.com/"); } public void On_Logoapp_Press(object sender, EventArgs a) { System.Diagnostics.Process.Start("http://www.integrazioneweb.com/themonospot/"); } } } themonospot-0.7.3.1/themonospot-gui/src/AssemblyInfo.cs000755 000764 000764 00000001014 11220736777 021334 0ustar00000000 000000 using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyVersion("0.1.4")] [assembly: AssemblyTitle("themonospot-gui")] [assembly: AssemblyDescription("Gtk-Sharp Gui for themonospot solution")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Armando Basile")] [assembly: AssemblyProduct("themonospot-gui")] [assembly: AssemblyCopyright("Armando Basile")] [assembly: AssemblyTrademark("None")] [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyFile("")] themonospot-0.7.3.1/themonospot-gui/Makefile.am000644 000764 000764 00000006721 11220737001 017643 0ustar00000000 000000 EXTRA_DIST = # Warning: This is an automatically generated file, do not edit! if ENABLE_DEBUG ASSEMBLY_COMPILER_COMMAND = gmcs ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:3 -optimize- -debug "-define:DEBUG;TRACE" ASSEMBLY = bin/Debug/themonospot.exe ASSEMBLY_MDB = $(ASSEMBLY).mdb COMPILE_TARGET = winexe PROJECT_REFERENCES = \ ../themonospot-base/bin/Debug/themonospot-base.dll BUILD_DIR = bin/Debug/ ENGLISH_LF_SOURCE=languages/english.lf ITALIANO_LF_SOURCE=languages/italiano.lf SPANISH_LF_SOURCE=languages/spanish.lf THEMONOSPOT_BASE_DLL_SOURCE=../themonospot-base/bin/Debug/themonospot-base.dll THEMONOSPOT_EXE_MDB_SOURCE=bin/Debug/themonospot.exe.mdb THEMONOSPOT_EXE_MDB=$(BUILD_DIR)/themonospot.exe.mdb endif if ENABLE_RELEASE ASSEMBLY_COMPILER_COMMAND = gmcs ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- "-define:TRACE" ASSEMBLY = bin/Release/themonospot.exe ASSEMBLY_MDB = COMPILE_TARGET = winexe PROJECT_REFERENCES = \ ../themonospot-base/bin/Release/themonospot-base.dll BUILD_DIR = bin/Release/ ENGLISH_LF_SOURCE=languages/english.lf ITALIANO_LF_SOURCE=languages/italiano.lf SPANISH_LF_SOURCE=languages/spanish.lf THEMONOSPOT_BASE_DLL_SOURCE=../themonospot-base/bin/Release/themonospot-base.dll THEMONOSPOT_EXE_MDB= endif AL=al2 SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll PROGRAMFILES_LANGUAGES = \ $(ENGLISH_LF) \ $(ITALIANO_LF) \ $(SPANISH_LF) PROGRAMFILES = \ $(THEMONOSPOT_BASE_DLL) \ $(THEMONOSPOT_EXE_MDB) BINARIES = \ $(THEMONOSPOT) RESGEN=resgen2 all: $(ASSEMBLY) $(PROGRAMFILES_LANGUAGES) $(PROGRAMFILES) $(BINARIES) FILES = \ src/AssemblyInfo.cs \ src/ui/tms4CC.cs \ src/ui/tmsINFO.cs \ src/ui/tmsMAIN.cs \ src/ui/tmsWAIT.cs DATA_FILES = RESOURCES = \ resources/ChangeFourCCwin.glade \ resources/infowin.glade \ resources/monologo.png \ resources/monoSPOT.glade \ resources/monoSPOT.ico \ resources/monoSPOT.png \ resources/monoSPOT_16.png \ resources/monoSPOT_48.png \ resources/sound.png \ resources/textfile.png \ resources/video.png \ resources/video_mini.png \ resources/waitWindow.glade \ ../copying.gpl \ ../readme EXTRAS = \ src \ languages/english.lf \ languages/italiano.lf \ languages/spanish.lf \ resources/themonospot.desktop \ themonospot.in REFERENCES = \ $(GTK_SHARP_20_LIBS) \ $(GLADE_SHARP_20_LIBS) \ $(GLIB_SHARP_20_LIBS) \ System \ System.Xml DLL_REFERENCES = CLEANFILES = $(PROGRAMFILES_LANGUAGES) $(PROGRAMFILES) $(BINARIES) include $(top_srcdir)/Makefile.include ENGLISH_LF = $(BUILD_DIR)/languages/english.lf ITALIANO_LF = $(BUILD_DIR)/languages/italiano.lf SPANISH_LF = $(BUILD_DIR)/languages/spanish.lf THEMONOSPOT_BASE_DLL = $(BUILD_DIR)/themonospot-base.dll THEMONOSPOT = $(BUILD_DIR)/themonospot $(eval $(call emit-deploy-target,ENGLISH_LF)) $(eval $(call emit-deploy-target,ITALIANO_LF)) $(eval $(call emit-deploy-target,SPANISH_LF)) $(eval $(call emit-deploy-target,THEMONOSPOT_BASE_DLL)) $(eval $(call emit-deploy-wrapper,THEMONOSPOT,themonospot,x)) $(eval $(call emit_resgen_targets)) $(build_xamlg_list): %.xaml.g.cs: %.xaml xamlg '$<' $(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list) mkdir -p $(shell dirname $(ASSEMBLY)) $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref) themonospot-0.7.3.1/themonospot-gui/Makefile.in000644 000764 000764 00000061424 11220737024 017662 0ustar00000000 000000 # Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@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 = : DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/themonospot.in $(top_srcdir)/Makefile.include subdir = themonospot-gui ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/expansions.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = themonospot am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" \ "$(DESTDIR)$(linuxpkgconfigdir)" \ "$(DESTDIR)$(programfilesdir)" \ "$(DESTDIR)$(programfileslanguagesdir)" binSCRIPT_INSTALL = $(INSTALL_SCRIPT) pkglibSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) $(pkglib_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; linuxpkgconfigDATA_INSTALL = $(INSTALL_DATA) programfilesDATA_INSTALL = $(INSTALL_DATA) programfileslanguagesDATA_INSTALL = $(INSTALL_DATA) DATA = $(linuxpkgconfig_DATA) $(programfiles_DATA) \ $(programfileslanguages_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GLADE_SHARP_20_CFLAGS = @GLADE_SHARP_20_CFLAGS@ GLADE_SHARP_20_LIBS = @GLADE_SHARP_20_LIBS@ GLIB_SHARP_20_CFLAGS = @GLIB_SHARP_20_CFLAGS@ GLIB_SHARP_20_LIBS = @GLIB_SHARP_20_LIBS@ GMCS = @GMCS@ GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@ GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ expanded_bindir = @expanded_bindir@ expanded_datadir = @expanded_datadir@ expanded_libdir = @expanded_libdir@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = $(build_sources) $(build_resx_files) \ $(build_others_files) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) \ $(DATA_FILES) $(build_culture_res_files) # Warning: This is an automatically generated file, do not edit! @ENABLE_DEBUG_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs @ENABLE_RELEASE_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs @ENABLE_DEBUG_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:3 -optimize- -debug "-define:DEBUG;TRACE" @ENABLE_RELEASE_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- "-define:TRACE" @ENABLE_DEBUG_TRUE@ASSEMBLY = bin/Debug/themonospot.exe @ENABLE_RELEASE_TRUE@ASSEMBLY = bin/Release/themonospot.exe @ENABLE_DEBUG_TRUE@ASSEMBLY_MDB = $(ASSEMBLY).mdb @ENABLE_RELEASE_TRUE@ASSEMBLY_MDB = @ENABLE_DEBUG_TRUE@COMPILE_TARGET = winexe @ENABLE_RELEASE_TRUE@COMPILE_TARGET = winexe @ENABLE_DEBUG_TRUE@PROJECT_REFERENCES = \ @ENABLE_DEBUG_TRUE@ ../themonospot-base/bin/Debug/themonospot-base.dll @ENABLE_RELEASE_TRUE@PROJECT_REFERENCES = \ @ENABLE_RELEASE_TRUE@ ../themonospot-base/bin/Release/themonospot-base.dll @ENABLE_DEBUG_TRUE@BUILD_DIR = bin/Debug/ @ENABLE_RELEASE_TRUE@BUILD_DIR = bin/Release/ @ENABLE_DEBUG_TRUE@ENGLISH_LF_SOURCE = languages/english.lf @ENABLE_RELEASE_TRUE@ENGLISH_LF_SOURCE = languages/english.lf @ENABLE_DEBUG_TRUE@ITALIANO_LF_SOURCE = languages/italiano.lf @ENABLE_RELEASE_TRUE@ITALIANO_LF_SOURCE = languages/italiano.lf @ENABLE_DEBUG_TRUE@SPANISH_LF_SOURCE = languages/spanish.lf @ENABLE_RELEASE_TRUE@SPANISH_LF_SOURCE = languages/spanish.lf @ENABLE_DEBUG_TRUE@THEMONOSPOT_BASE_DLL_SOURCE = ../themonospot-base/bin/Debug/themonospot-base.dll @ENABLE_RELEASE_TRUE@THEMONOSPOT_BASE_DLL_SOURCE = ../themonospot-base/bin/Release/themonospot-base.dll @ENABLE_DEBUG_TRUE@THEMONOSPOT_EXE_MDB_SOURCE = bin/Debug/themonospot.exe.mdb @ENABLE_DEBUG_TRUE@THEMONOSPOT_EXE_MDB = $(BUILD_DIR)/themonospot.exe.mdb @ENABLE_RELEASE_TRUE@THEMONOSPOT_EXE_MDB = AL = al2 SATELLITE_ASSEMBLY_NAME = $(notdir $(basename $(ASSEMBLY))).resources.dll PROGRAMFILES_LANGUAGES = \ $(ENGLISH_LF) \ $(ITALIANO_LF) \ $(SPANISH_LF) PROGRAMFILES = \ $(THEMONOSPOT_BASE_DLL) \ $(THEMONOSPOT_EXE_MDB) BINARIES = \ $(THEMONOSPOT) RESGEN = resgen2 FILES = \ src/AssemblyInfo.cs \ src/ui/tms4CC.cs \ src/ui/tmsINFO.cs \ src/ui/tmsMAIN.cs \ src/ui/tmsWAIT.cs DATA_FILES = RESOURCES = \ resources/ChangeFourCCwin.glade \ resources/infowin.glade \ resources/monologo.png \ resources/monoSPOT.glade \ resources/monoSPOT.ico \ resources/monoSPOT.png \ resources/monoSPOT_16.png \ resources/monoSPOT_48.png \ resources/sound.png \ resources/textfile.png \ resources/video.png \ resources/video_mini.png \ resources/waitWindow.glade \ ../copying.gpl \ ../readme EXTRAS = \ src \ languages/english.lf \ languages/italiano.lf \ languages/spanish.lf \ resources/themonospot.desktop \ themonospot.in REFERENCES = \ $(GTK_SHARP_20_LIBS) \ $(GLADE_SHARP_20_LIBS) \ $(GLIB_SHARP_20_LIBS) \ System \ System.Xml DLL_REFERENCES = CLEANFILES = $(PROGRAMFILES_LANGUAGES) $(PROGRAMFILES) $(BINARIES) \ $(ASSEMBLY) $(ASSEMBLY).mdb $(BINARIES) \ $(build_resx_resources) $(build_satellite_assembly_list) VALID_CULTURES = ar bg ca zh-CHS cs da de el en es fi fr he hu is it ja ko nl no pl pt ro ru hr sk sq sv th tr id uk be sl et lv lt fa vi hy eu mk af fo hi sw gu ta te kn mr gl kok ar-SA bg-BG ca-ES zh-TW cs-CZ da-DK de-DE el-GR en-US fi-FI fr-FR he-IL hu-HU is-IS it-IT ja-JP ko-KR nl-NL nb-NO pl-PL pt-BR ro-RO ru-RU hr-HR sk-SK sq-AL sv-SE th-TH tr-TR id-ID uk-UA be-BY sl-SI et-EE lv-LV lt-LT fa-IR vi-VN hy-AM eu-ES mk-MK af-ZA fo-FO hi-IN sw-KE gu-IN ta-IN te-IN kn-IN mr-IN gl-ES kok-IN ar-IQ zh-CN de-CH en-GB es-MX fr-BE it-CH nl-BE nn-NO pt-PT sv-FI ar-EG zh-HK de-AT en-AU es-ES fr-CA ar-LY zh-SG de-LU en-CA es-GT fr-CH ar-DZ zh-MO en-NZ es-CR fr-LU ar-MA en-IE es-PA ar-TN en-ZA es-DO ar-OM es-VE ar-YE es-CO ar-SY es-PE ar-JO es-AR ar-LB en-ZW es-EC ar-KW en-PH es-CL ar-AE es-UY ar-BH es-PY ar-QA es-BO es-SV es-HN es-NI es-PR zh-CHT s2q = $(subst \ ,?,$1) q2s = $(subst ?,\ ,$1) # use this when result will be quoted unesc2 = $(subst ?, ,$1) build_sources = $(FILES) $(GENERATED_FILES) build_sources_esc = $(call s2q,$(build_sources)) # use unesc2, as build_sources_embed is quoted build_sources_embed = $(call unesc2,$(build_sources_esc:%='$(srcdir)/%')) comma__ = , get_resource_name = $(firstword $(subst $(comma__), ,$1)) get_culture = $(lastword $(subst ., ,$(basename $1))) is_cultured_resource = $(and $(word 3,$(subst ., ,$1)), $(filter $(VALID_CULTURES),$(lastword $(subst ., ,$(basename $1))))) RESOURCES_ESC = $(call s2q,$(RESOURCES)) build_resx_list = $(foreach res, $(RESOURCES_ESC), $(if $(filter %.resx, $(call get_resource_name,$(res))),$(res),)) build_non_culture_resx_list = $(foreach res, $(build_resx_list),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res))) build_non_culture_others_list = $(foreach res, $(filter-out $(build_resx_list),$(RESOURCES_ESC)),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res))) build_others_list = $(build_non_culture_others_list) build_xamlg_list = $(filter %.xaml.g.cs, $(FILES)) # resgen all .resx resources build_resx_files = $(foreach res, $(build_resx_list), $(call get_resource_name,$(res))) build_resx_resources_esc = $(build_resx_files:.resx=.resources) build_resx_resources = $(call q2s,$(build_resx_resources_esc)) # embed resources for the main assembly build_resx_resources_hack = $(subst .resx,.resources, $(build_non_culture_resx_list)) # use unesc2, as build_resx_resources_embed is quoted build_resx_resources_embed = $(call unesc2,$(build_resx_resources_hack:%='-resource:%')) build_others_files = $(call q2s,$(foreach res, $(build_others_list),$(call get_resource_name,$(res)))) build_others_resources = $(build_others_files) # use unesc2, as build_others_resources_embed is quoted build_others_resources_embed = $(call unesc2,$(build_others_list:%='-resource:$(srcdir)/%')) build_resources = $(build_resx_resources) $(build_others_resources) build_resources_embed = $(build_resx_resources_embed) $(build_others_resources_embed) # -usesourcepath is available only for resgen2 emit_resgen_target_1 = $(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); cd '$$(shell dirname '$$<')' && MONO_IOMAP=drive $$(RESGEN) '$$(shell basename '$$<')' '$$(shell basename '$$@')' emit_resgen_target_2 = $(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); MONO_IOMAP=drive $$(RESGEN) -usesourcepath '$$<' '$$@' emit_resgen_target = $(if $(filter resgen2,$(RESGEN)),$(emit_resgen_target_2),$(emit_resgen_target_1)) emit_resgen_targets = $(foreach res,$(build_resx_resources_esc),$(eval $(call emit_resgen_target,$(res)))) build_references_ref = $(call q2s,$(foreach ref, $(call \ s2q,$(REFERENCES)), $(if $(filter -pkg:%, $(ref)), $(ref), \ $(if $(filter -r:%, $(ref)), $(ref), -r:$(ref))))) $(call \ q2s,$(foreach ref, $(call s2q,$(DLL_REFERENCES)), -r:$(ref))) \ $(call q2s,$(foreach ref, $(call s2q,$(PROJECT_REFERENCES)), \ -r:$(ref))) s2q2s = $(call unesc2,$(call s2q,$1)) cp_actual = test -z $1 || cp $1 $2 cp = $(call cp_actual,'$(call s2q2s,$1)','$(call s2q2s,$2)') rm_actual = test -z '$1' || rm -f '$2' rm = $(call rm_actual,$(call s2q2s,$1),$(call s2q2s,$2)/$(shell basename '$(call s2q2s,$1)')) DISTCLEANFILES = $(GENERATED_FILES) $(pc_files) $(BUILD_DIR)/* pkglib_SCRIPTS = $(ASSEMBLY) bin_SCRIPTS = $(BINARIES) programfilesdir = @libdir@/@PACKAGE@ programfiles_DATA = $(PROGRAMFILES) programfileslanguagesdir = @libdir@/@PACKAGE@/languages programfileslanguages_DATA = $(PROGRAMFILES_LANGUAGES) linuxpkgconfigdir = @libdir@/pkgconfig linuxpkgconfig_DATA = $(LINUX_PKGCONFIG) # generating satellite assemblies culture_resources = $(foreach res, $(RESOURCES_ESC), $(if $(call is_cultured_resource,$(call get_resource_name, $(res))),$(res))) cultures = $(sort $(foreach res, $(culture_resources), $(call get_culture,$(call get_resource_name,$(res))))) culture_resource_dependencies = $(call q2s,$(BUILD_DIR)/$1/$(SATELLITE_ASSEMBLY_NAME): $(subst .resx,.resources,$2)) culture_resource_commandlines = $(call unesc2,cmd_line_satellite_$1 += '/embed:$(subst .resx,.resources,$2)') build_satellite_assembly_list = $(call q2s,$(cultures:%=$(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME))) build_culture_res_files = $(call q2s,$(foreach res, $(culture_resources),$(call get_resource_name,$(res)))) install_satellite_assembly_list = $(subst $(BUILD_DIR),$(DESTDIR)$(libdir)/$(PACKAGE),$(build_satellite_assembly_list)) ENGLISH_LF = $(BUILD_DIR)/languages/english.lf ITALIANO_LF = $(BUILD_DIR)/languages/italiano.lf SPANISH_LF = $(BUILD_DIR)/languages/spanish.lf THEMONOSPOT_BASE_DLL = $(BUILD_DIR)/themonospot-base.dll THEMONOSPOT = $(BUILD_DIR)/themonospot all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign themonospot-gui/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign themonospot-gui/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 themonospot: $(top_builddir)/config.status $(srcdir)/themonospot.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done install-pkglibSCRIPTS: $(pkglib_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" @list='$(pkglib_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(pkglibSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(pkglibSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \ else :; fi; \ done uninstall-pkglibSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(pkglib_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done install-linuxpkgconfigDATA: $(linuxpkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(linuxpkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(linuxpkgconfigdir)" @list='$(linuxpkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(linuxpkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(linuxpkgconfigdir)/$$f'"; \ $(linuxpkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(linuxpkgconfigdir)/$$f"; \ done uninstall-linuxpkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(linuxpkgconfig_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(linuxpkgconfigdir)/$$f'"; \ rm -f "$(DESTDIR)$(linuxpkgconfigdir)/$$f"; \ done install-programfilesDATA: $(programfiles_DATA) @$(NORMAL_INSTALL) test -z "$(programfilesdir)" || $(MKDIR_P) "$(DESTDIR)$(programfilesdir)" @list='$(programfiles_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(programfilesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(programfilesdir)/$$f'"; \ $(programfilesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(programfilesdir)/$$f"; \ done if test -d "$(DESTDIR)$(prefix)/share"; then echo nothing to do ; else mkdir "$(DESTDIR)$(prefix)/share"; fi if test -d "$(DESTDIR)$(prefix)/share/applications"; then echo nothing to do ; else mkdir "$(DESTDIR)$(prefix)/share/applications"; fi if test -d "$(DESTDIR)$(prefix)/share/pixmaps"; then echo nothing to do ; else mkdir "$(DESTDIR)$(prefix)/share/pixmaps"; fi cp -f "$(top_srcdir)/themonospot-gui/resources/themonospot.desktop" "$(DESTDIR)$(prefix)/share/applications/themonospot.desktop" cp -f "$(top_srcdir)/themonospot-gui/resources/monoSPOT_48.png" "$(DESTDIR)$(prefix)/share/pixmaps/themonospot.png" uninstall-programfilesDATA: @$(NORMAL_UNINSTALL) @list='$(programfiles_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(programfilesdir)/$$f'"; \ rm -f "$(DESTDIR)$(programfilesdir)/$$f"; \ done rm -rf "$(DESTDIR)$(prefix)/share/applications/themonospot.desktop" rm -rf "$(DESTDIR)$(prefix)/share/pixmaps/themonospot.png" install-programfileslanguagesDATA: $(programfileslanguages_DATA) @$(NORMAL_INSTALL) test -z "$(programfileslanguagesdir)" || $(MKDIR_P) "$(DESTDIR)$(programfileslanguagesdir)" @list='$(programfileslanguages_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(programfileslanguagesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(programfileslanguagesdir)/$$f'"; \ $(programfileslanguagesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(programfileslanguagesdir)/$$f"; \ done uninstall-programfileslanguagesDATA: @$(NORMAL_UNINSTALL) @list='$(programfileslanguages_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(programfileslanguagesdir)/$$f'"; \ rm -f "$(DESTDIR)$(programfileslanguagesdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: 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 $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(linuxpkgconfigdir)" "$(DESTDIR)$(programfilesdir)" "$(DESTDIR)$(programfileslanguagesdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-linuxpkgconfigDATA install-programfilesDATA \ install-programfileslanguagesDATA install-dvi: install-dvi-am install-exec-am: install-binSCRIPTS install-pkglibSCRIPTS install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binSCRIPTS uninstall-linuxpkgconfigDATA \ uninstall-pkglibSCRIPTS uninstall-programfilesDATA \ uninstall-programfileslanguagesDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS 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-linuxpkgconfigDATA install-man \ install-pdf install-pdf-am install-pkglibSCRIPTS \ install-programfilesDATA install-programfileslanguagesDATA \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-binSCRIPTS \ uninstall-linuxpkgconfigDATA uninstall-pkglibSCRIPTS \ uninstall-programfilesDATA uninstall-programfileslanguagesDATA all: $(ASSEMBLY) $(PROGRAMFILES_LANGUAGES) $(PROGRAMFILES) $(BINARIES) # macros # $(call emit-deploy-target,deploy-variable-name) define emit-deploy-target $($1): $($1_SOURCE) mkdir -p '$$(shell dirname '$$@')' cp '$$<' '$$@' endef # $(call emit-deploy-wrapper,wrapper-variable-name,wrapper-sourcefile,x) # assumes that for a wrapper foo.pc its source template is foo.pc.in # if $3 is non-empty then wrapper is marked exec define emit-deploy-wrapper $($1): $2 mkdir -p '$$(shell dirname '$$@')' cp '$$<' '$$@' $(if $3,chmod +x '$$@') endef $(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_dependencies,$(call get_culture,$(call get_resource_name,$(res))),$(call get_resource_name,$(res)))))) $(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_commandlines,$(call get_culture,$(call get_resource_name,$(res))),$(res))))) $(build_satellite_assembly_list): $(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME): mkdir -p '$(@D)' $(AL) -out:'$@' -culture:$* -t:lib $(cmd_line_satellite_$*) $(install_satellite_assembly_list): mkdir -p '$(@D)' cp $(subst $(DESTDIR)$(libdir)/$(PACKAGE), $(BUILD_DIR), $@) $@ install-satellite-assemblies: $(install_satellite_assembly_list) uninstall-satellite-assemblies: rm -rf $(install_satellite_assembly_list) $(eval $(call emit-deploy-target,ENGLISH_LF)) $(eval $(call emit-deploy-target,ITALIANO_LF)) $(eval $(call emit-deploy-target,SPANISH_LF)) $(eval $(call emit-deploy-target,THEMONOSPOT_BASE_DLL)) $(eval $(call emit-deploy-wrapper,THEMONOSPOT,themonospot,x)) $(eval $(call emit_resgen_targets)) $(build_xamlg_list): %.xaml.g.cs: %.xaml xamlg '$<' $(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list) mkdir -p $(shell dirname $(ASSEMBLY)) $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref) # 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: themonospot-0.7.3.1/themonospot-gui/resources/000755 000764 000764 00000000000 11220737005 017617 5ustar00000000 000000 themonospot-0.7.3.1/themonospot-gui/resources/infowin.glade000755 000764 000764 00000041254 11220736777 022316 0ustar00000000 000000 380 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 5 True GTK_WIN_POS_CENTER_ON_PARENT GDK_WINDOW_TYPE_HINT_DIALOG False True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 70 70 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 56 True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GTK_POS_TOP 0 False 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 False 30 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK label GTK_JUSTIFY_CENTER False 1 30 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK guiname GTK_JUSTIFY_CENTER True False 3 2 125 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_STRUCTURE_MASK GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_ETCHED_IN True GTK_RESIZE_QUEUE GTK_SHADOW_ETCHED_IN True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 3 label GTK_JUSTIFY_CENTER True 2 3 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK False 4 True False 5 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK False 20 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 powered by GTK_JUSTIFY_CENTER False 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 58 70 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GTK_POS_TOP 0 False 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 2 False 6 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK GTK_BUTTONBOX_END True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-close True 0 False GTK_PACK_END themonospot-0.7.3.1/themonospot-gui/resources/monoSPOT.glade000755 000764 000764 00000072416 11220736777 022327 0ustar00000000 000000 590 GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 12 themonospot center True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 18 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 none True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 5 4 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 6 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 1 Filename: True right FilenameChooser False 0 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Select The File To Scan 1 autoexport True True False True False 2 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 <b>Avi file to scan</b> True label_item False 0 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 none True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 6 5 5 5 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK automatic automatic etched-in 470 150 True True GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK False True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-missing-image 0 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK <b>Video</b> True 1 label_item 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 none True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 6 5 5 5 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK automatic automatic etched-in 360 110 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True False True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-missing-image 0 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK <b>Audio</b> True 1 label_item False 2 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK start True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK right True True True gtk-help 0 True 5 True 0 _About True 1 False False 0 0 True 30 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 6 end True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Save report as text file True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-edit 0 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK _Export True ExportButton 1 False False 0 True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Change FourCC value and description True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-find-and-replace 0 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK _FourCC True Change4ccButton 1 False False 1 True False True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Save file with standard UserData value (DivX999b000p) True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-save-as 0 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK _UserData True ChangeUserData 1 False False 2 True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-refresh 0 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK _Rescan True RescanButton 1 False False 3 1 False 3 themonospot-0.7.3.1/themonospot-gui/resources/video_mini.png000755 000764 000764 00000001024 11220736777 022466 0ustar00000000 000000 PNG  IHDRabKGD pHYs  tIMEaeIDAT8}@EcָIAEER3i~ D*ƀŝ#`lUg 6ww5Bj4RR!(il*uUp8`0PZPJaYVNQBhR u9@xJ?~'3()) |( JD.]ba0| 3"P9PTTlz*C]]JP%$o=<<ƿ9Cff& r, :B>AB@srrr T r@u69P~FO;H!!R/@P $D<Io888b ӇG(B`jP#TeA ۷Ir@ AZYY1DFF O>qtCD0@* |||`}: (!hP` YNJ6aB!@CH)@%6`1E* @1PHZFFwޅ@ P7eo2,^ʁaPU jt4 Az?~kğyyyV`Ԏ<{,@\ 'f@1rq\B .(]s $᠄s ~j*턷]iN(f#`8/CJd)@1ʻIIENDB`themonospot-0.7.3.1/themonospot-gui/resources/waitWindow.glade000755 000764 000764 00000010510 11220736777 022770 0ustar00000000 000000 400 110 True False True True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK saving data... wait please True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 10 10 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True False 1 True True 0.89999997615814209 True True gtk-cancel True 1 2 themonospot-0.7.3.1/themonospot-gui/resources/textfile.png000755 000764 000764 00000000345 11220736777 022175 0ustar00000000 000000 PNG  IHDRaIDATx ! DQK*s>Bđ xdp~'<ǁ2J3.3*^PDi'{Lku`jFAel=D\XM-#{. pG9gJ)9^H zM汋ja=H@z Xrr%IENDB`themonospot-0.7.3.1/themonospot-gui/resources/monoSPOT_16.png000755 000764 000764 00000001347 11220736777 022340 0ustar00000000 000000 PNG  IHDRaIDATxOH;lEqZ KiuRAPdx݋:vҡvd(MAeQfi DAVmuvu^`+*.>/tuAA钅'2euuQ?]]]|>ǡMǑyF8L>nu^>qqG:;;s(exx`0H.dxx$o~yلCF6% 055M 9@PO*iuuu˲mx<Λ$FTzy w2zD D__=?Jp *QWD"&&&p///c||5ΰ^/Q "ai(iJXYYE2Bq)X6h3g :BDHRX,..L&͖{ iv#"x<0(cccb1lۦ(/[ȁ]IzUU6X Fh4*""i"y_:*"w#rJپ|Sf'_ȓeY@HY皜O*illIJ,$x0uttPSSu2HquRʆ7;O4WIENDB`themonospot-0.7.3.1/themonospot-gui/resources/monoSPOT.png000755 000764 000764 00000002647 11220736777 022036 0ustar00000000 000000 PNG  IHDR szznIDATx_H\G]4J M) >1 6Bok!& " !l4&j!YM^W;׽[33|3s32'';bvk_%Y8  p|6??q)%NsҰl;o~Qi(H)ʢӹE1u] )..6ijjSNYHRJ9s ---wѱH!Y% BnB#,B&ƪM~5Vni 2t444Xl<v܅H$|@x@/D^HYRAww ~޽{2$4AAŇr7B+EQ,%~CtgEY1E5Y&''Mty0[#_n !%Df:o;As2!V)رcʼn;'M:zv2~~m엪xa'55GYY3Z.]DIIpEj*,BLZ[[M~nݺlp8, oqx.)M'T ,EA]DG ]JsWTUUa7ŧ477vu}@俉jU:V2JKK-ۭ:'OP<~xU8333g,P1M,P! q{5yhdha_#Y022b4;;T9b_R;N ?ip8LS).ܗrG+ۛ0OΡ\|rs^/ONZRLiDߩpčq\[Ν;طoabb"ibgͼ1WOst'#Ghz"%%߯xxQf`FqiOM&ǚ=uG~QDw6pE\.iM()–r^zEmm655*d6,VDl&<b f]z< 3fь(?gdzпE4:afffPUgϞuD.Z4]XXHcc㦟fk:f:rUUBpW`R􉵫y[DW(?@ZZ>KmyWVVzե"`@IENDB`themonospot-0.7.3.1/themonospot-gui/resources/themonospot.desktop000644 000764 000764 00000001055 11220736777 023611 0ustar00000000 000000 [Desktop Entry] Categories=AudioVideo;AudioVideoEditing;GTK;GNOME; Comment[it]=themonospot - estrae informazioni da un file avi o mkv Comment=themonospot - estrae informazioni da un file avi o mkv Comment[it_IT]=themonospot - estrae informazioni da un file avi o mkv Exec=themonospot GenericName[it]=themonospot GenericName=themonospot Icon=themonospot MimeType= Name[it]=themonospot Name=themonospot Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType= X-KDE-SubstituteUID=false X-KDE-Username= themonospot-0.7.3.1/themonospot-gui/resources/monoSPOT.ico000755 000764 000764 00000524246 11220736777 022030 0ustar00000000 000000 00h nV (> 00f $h~+ (0`` 9HH T@@ (B>"00 %fd    h>(0`wwwwwwwwwwwwpppsppw;7ppps?wwwp;5wwws? q;7s_;5pq?x33o򻻻7񳹻79;_q8/1_/wwwp_wwws;?pw37k_4ps;1;?/;_O/;7_pq xp38W391ppaA A$@`?????( @pxxpppp38ppp󻳏pw37;8pwxp;8p3sppp7ww󻻳?wpp;ps_pxw;;?xp{8;7;8p;p󹻹p;ww99?wwp33xppwxpwwwwwwww|<<<|<|<(0 wwpxpwpgxxwwxpa;pppwwwx{?pwww7wwwww;qwpw{w9wpx;8p`w;xww;pw;3xwwwwswppwppppp( ppp?pp;?ppxxw{wpw?xxxp8;7pxppp``(0`  3;!!!&&&***,,,333444???=M>F!>E%?E@K@KAL CPDR GV GVHY K\ M]ER%AH,BH=CE;IL>JM?LO!GQ*IP/JQ5LRRdUiUiWlXnZp\s^uayc|d}CCCBLOHHHLLLBNQFPRBRVIRUIUXMVXPPPRXYV[\YYYX]_]]]\ac```eeeeijjmnnnnsssrtttttzzzz{|}}}fknqtyz}|EOOOOOOOOOOOOOOOOOOOOOOF |  x I2$ E>E>E>4 IXrd8 >E>E>>6 KXrrrd$ KKKKKKE KWrrrrrd8 KKKKLLH KWrrrrrrrd8  rrrrrrprr2u uQrrrrrrr\@ tRrprrr]?  OSrrr]=  OTr_; }}}}}}u M-8 }}}}}}x }I  \UQ0+  %rrrrrrdO | (rrrrrrr)| } =nrrrrrrrQD  udrrrrrrrre  rrrrrrrrrk |+prrrrrrrrn |lrrrrrrrrn irrrrrrrrX| KKKKKKE prrrrrrrkE KKKKKKE u$tdrrrrrrrp( 6>6>6> :X^?$irrrrrrrr( 6>6>>64 }grrf0)drrrrrrrrn:  GPrrrrrrrrrrrrrrrrfK drrrrrrrrrrrrrrrrr2 z0prrrrrrrrrrrrrrrri$  x,nrrrrrrrrrrrrrrn  }grrrrrrrrrrrrk zzzzzzt 80irrrrrrrroX |zzzzzu EP\`d_W+ x {vtw~  Kt           >>>?????( @ """$$$)))---000666;;;>>>O\-U_^p/\g5]gj}/gu.hv!hz)iz2hv9iuDDDMMMTTT[[[\\\HpzLs}[w~aaafffiiivvv|||ntpr u|w*t'v3tFyOxKyJ|f}f~h}pdcTV``````````````VVjjj``uuuuuuuuuuuuuuuu`jjjj'huuunhuuuuuuusuuuuuuuuhuuuuThuuunhuuuuuupYuuuuuuuduuuuT duuuuupK@Yuuuuuuh huuuupKOO>Yuuuuuh huuunhuuupKOOOO>\uuuuduuuuThuuunduuusKOOOO:buuuuhuuuuTQ```ThuuuurKOO<`uuuuud```c%huuuuupK<_uuuuuuhVjhj`huuuuuup_uuuuuuudhhjh'huuunhuuuuh126#ouuuuuhuuuuThuuunduuuuhDOOOFRuuuuuduuuuT huuuul>OOOOACsuuuh % %huuuuu)OOOOOGouuh% %huuunduuuuu\AOOOOOOouduuuuThuuunhuuuuuuY:OOOOOL"uhuuuuT(V\VShuuuuuuud;OOOOO.pdV\V\ guuuubou4OOOOOAjh`nnndhuus9AO/3@OOOOO@ldnnnnQhuuunhujHOOOOOOOOOO*sduuuuThuuundsOOOOOOOOOOOK7uhuuuuThuj)LOOOOOOOOOpud&&&%huuo"AOOOOOOEnuuh&&&&huuunduuuuh70*-,4\uuuuguuuuThuuunhuuuuuuuusuuuuuuuduuuuT'VVTQVuuuuuuuuuuuuuuuuVTVVV &''''''''''''''&`d|<<<|<|<(0@ !!!%%%)))///666999>>>BBBEEEIIINNNRRRUUU[[[^^^bbbdddkkklllqqquuuyyy|i -//9=QF_[\om{{S      LLL llllllllllllLLJlllKlllllfllllllKJlliUSUKlllld'2lllllKUSS Kllle)GC2llllK lllKlliGGGC4lllKJllijljKlll8BGG(blllKJjlfKllll7B.allllKbbbKlllib]lllllKbe_lllKlllN>-*/llllKKlli KlllRGGG>8lllK JIJ Kllle:GGGD%ilKJIlllKllllP>GHGG%lJJlliWWYKlllllXVlK___Kll^0+@B:#ZllK__]lllKlllli_]fllllKKlli llllllllllllSSK Sppp( !!!)))---111444888===BBBFFFJJJLLLPPPVVVXXX^^^aaaeeejjjnnnxxx7_VLP~ (,f???????? MIMMMAIMMMMM MM@"#IMM MIMK++MMMMMMA!#IMME?MM=.KMMEE -,MM'+)MM-- 21MM:&+)K22?>MMM8%++6?? MD6 ++'MI;!+++++9MM K&++(M MIMMA754>3>2>1``( ''''(((''''(((''''(((''''(((''''((( '''''''ttt:::::::::::::::::mmm###:::::::::::::::::Y&&&   333qqqvvv??? fff||| lll:::======<<<====================================;;;;;; >>>RRR???>>>=============================================<<<,,,vvvOOO^^^---}}}VVVaaa---~~~TTTccc---~~~TTTccc---~~~TTTccc---~~~TTTccc---~~~TTTccc---~~~###'''TTTbbb...}}}+++TTTccc,,,$$$ f^v...TTTbbb...!!!fM`---UUUddd'''ccc j]u***AAAPPP(((jWl/// c|Pd111$$$ h[r111)))fNa... _xSh333FFFLLLIIIKKKHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIHHHIIIJJJ'''+++ e~Wn555LLLIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJ,,,vvv''']uEW555NNN]]]...~~~  bzVk222UUUbbb...///bzOc666UUUbbb,,,"""[qH[999UUUbbb---~~~...ShAQ@@@TTTccc---~~~RRRN%.\\\VVVbbb222HHHI\:HUUURRRbbb XXX:::BS7EUUU999EEE  BBBK^4ALLL ;;;OcBSLLL111K^9GLLL<<<TjBRFFF---UjJ\@@@:::>>>:::===::::::::::::::::::::::::::::::;;;;;;999;;;###111Rf:IBBB>>><<<<<<<<<;;;:::::::::::::::::::::::::::::::::::::::+++sss444ShM`???MMM\\\///}}}&&&<<<TTTbbb...111555UUUbbb---cccGGGRRRcccsssUUUccc---~~~---<<>> !g)))~~~}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}vvv---wwwFWmmmEEECCC;;; FFF+++hhhooo 777qqqUk#bbb (((666)4 ))) ###oooqqqtttsssssssssssssssssssssssssssssssssssssssqqqrrr???CT QQQJJJNb ---)))tttuuussssssssssssssssssssssssssssssssssssssssssrrrppp...///PPPv2?!!!CCC8885B :::UUUaaa---###0<6C!*%.h VVVUUUbbb...{{{ppp[rzzzRRRccc---~~~111$,ZpVVVbbb---~~~I[4ATTTccc---~~~[[[r ;;;TTTccc---~~~"""9HgTTTccc---~~~yyy Uk*4 TTTccc---}}}uuu t[[[UUUbbb---~~~CCCVl VVVbbb...$$$Xo\sbbbTTTbbblllrrrrrrvvvssssssssssssssssssssssssssssssrrrrrrsssmmm<<<000Rg| 111&&&ssssssssssssssssssssssssssssssssssssssssssssssssqqqmmm...444I[ 1110<$ ]]]!'{{{{{{ Vlttt111&vUj!!!SSSkkk2>&,,,777CCC///FFF0<y4AaaaSSSbbb...TTT DV~Zp KKKTTTccc...~~~lll''' -8Nath=M"+ WWWTTTccc...}}}qqq;;;""+'1%/' UUUSSSccc...~~~gggLLL???666111---...333999BBBSSSqqqSSSccc---~~~UUUccc---~~~UUUccc---~~~UUUccc///~~~TTTddd222TTTbbb/// SSS```gggllllllqqqnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnpppjjjlll999mmm|||%%%ooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnjjj...)))666 UUUeee  %%%www|||'''...''''555,,,'''',,,,,,''''(((,,,''''(((,,,''''(((,,,''''(((,,,''''((((` """'u"""'u"""'u"""'u ###'u  %%%((('''&&&&&&&&&&&&&&&&&&&&&&&&'''''' &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&!!!..."""000(((dddgggeeegggfffffffffffffffffffffffffff>>> gggffffffffffffffffffffffffffffffffffffLLLYYY$$$)))??? ZZZHHHHHHAAAZZZMMMJJJAAAZZZMMMJJJAAAZZZLLLKKKAAAZZZKKKRRRJJJ@@@ZZZKKKSSS(2KKKAAA ZZZKKKTTT/;KKKBBB ===cccLLLQQQ3@KKK+++xxx KKKRRR5CKKKKKKXXX5CKKKKKKZZZ 4@KKK  KKK\\\ /;KKKOOOKKK]]] )4KKK888[[[LLLZZZ .9KKKBBBZZZLLL\\\0< !KKKBBB ZZZKKKfff%.!!!KKKAAAZZZKKKi???KKKAAAZZZKKK l!<<N2?&0"  &&&KKKAAAZZZKKKCCCK^{mdddKKKAAA[[[KKKBBBM`J\555KKKAAA[[[KKKEEEI[KKKAAA[[[LLLLLLBSM0<&/$+ "' #:::DDD9999H $EEE9997E2?DDD8880=777888666666666666666666777555'0zzz%%%555666666666666666666666555--- 6D666444o +++&&&BS$vvvkkk~~~DDD:::$%2?^^^DDD999  8FaaaDDD999  *4DDD999w!DDD999%'(\tJ\CCC999777Rg000---,,,+++,,,,,,,,,,,,,,,++++++ ***| +++,,,,,,,,,,,,,,,++++++,,,$$$(((+5&.LLL+5L_=>>+5+5ppprrrqqqqqqqqqqqqqqqqqqqqqooo ZqPe/01777j*4OOOrrrqqqqqqqqqqqqqqqqqqqqqqqq]]]DDD999ppp"/: !&"(bz#*DDD888577?NDDD999r<<<DDD999QRR*4FWDDD999&&&DUDDD;;;#ARwwwAAABBBBBBBBBBBBBBBBBBBBBBBB??? s-//---BBBAAABBBBBBBBBBBBBBBBBBAAA555 !&'Qfl! mmmnnnmmmnnnnnnmmmnnnnnnmmmlll]^^"y8F678KKKnnnnnnnnnmmmnnnnnnnnnnnnnnnZZZEEE999BCC '`xGYDDD999kkk"%&")>N`xww_w;J &-./DDD999yyy]]]MMMGGGOOO^^^zzzCCC999DDD999FFF<<<YYY[[[[[[[[[[[[[[[[[[[[[[[[YYYJJJVVV???[[[[[[[[[[[[[[[[[[[[[[[[[[[JJJrrr EEEPPPNNNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMPPPJJJ!!!###က%%%888888888:::===============---III;;;uIII:::uIII999uIII999u(@ BVVVNVVVNVVVN***pppooonnnnnnnnnnnnnnnoooUUU nnnnnnnnnnnnnnnnnnnnnnnniii +++OOOSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSRRRQQQ///sssUUUmmm888CCCxxxxxx,,,333+++333+++333+++222 &- &,,,444@@@mmmkkkllllllllllllllllllQQQ%- "(kkklllllllllllllllllllllkkk$, %+ %, "(XXXrrr %+ %$+ "',,,333$#,,,333"&&),,,333"'#&,,,333#' #+++333333ZZZYYYYYYYYYYYYYYYYYYYYYDDD"'"&ZZZYYYYYYYYYYYYYYYYYYYYYWWW "'$) "("&SSSkkk #)#+++222&&'555GGGXXXiiiddd,,,333lzk^uPd"+,,,333}}}v~ddd,,,333q $+,,,333;;;dddcccbbbbbbbbbbbbbbbcccIIIay '/bbbbbbbbbbbbbbbbbbbbbbbbaaaAQGX@AA&+ $mmmVVV+4###))) !';Ivvv,,,222"*7E+++333 "(!'+++333&)ZZZ+++222,12z&+,,,333&&&@@@?????????????????????///!(*=M ??????????????????????????? QQQeffM`[r),m2>Ujfgggvvv*3:IFFF!$`x!!!&&&788Rgd}hI\,,,333 %+4,,,333VVV;J034+++333"$$kWm+++222OOO]t$%,,,333""";;;;;;:::::::::::::::;;;+++JJJWm*3 ;;;:::::::::::::::::::::999\\\?N:H $+-7wwwEFG/;]u"$%%%+++PPP $Ocx?N!#~~~,,,333jjj===#'))-*/),%()BBBuuu+++333,,,222+++333iiiooo,,,222!!!777999888888888888888888+++!!!))) 888888888888888888888888777666AAA uNNNNNNNNN\uNuNuN(0` %:N:N uuuuuyyy uuuuuuppp ```}}}~~~}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}ddd  333333333333333333***444333333333333333...---!!!---'''&&&!!!---&&&&&&!!!---&&&fijay>IL&&&!!!RRRQQQQQQQQQQQQQQQCCC&&&eij~>KO&&& QQQQQQQQQQQQQQQQQQHHH&&&ilm}?LO&&&tttuuutttttttttttt]]]&&&kmn{BLO&&&ttttttttttttttttttfff...&&&jnozBNQ&&&"""---&&&=Mc|&&&!!!---&&&kU[]&&&!!!,,,&&&nRXY&&&&&&z{|qMVX&&&&&&twwtISV&&& &&&rttXnGPR&&&---&&&mmm&&&!!!---&&&#=Dyk^uUi M]3;&&&!!!...&&&!GQzzz&&&!!!%%%&&&*IPRd&&&&&&IUXkV[\&&&&&& ?F&&&---&&& DR GV&&&"""---&&&UiHY&&&!!!---&&& K\>F&&&!!!---&&&@K&&&!!!ooooooooooooooonnnYYY&&&@KX]_&&&nnnooooooooooooooo```&&&=CE5LR&&&LLLLLLLLLLLLLLLLLL???&&&=KOJRU?JL/JQ&&& LLLLLLLLLLLLLLLLLLCCC...&&&AL\sReBRV&&&"""---&&&\acfsss&&&!!!---&&&%AHd}&&&!!!---&&&Yo;IL'''""" ------,,,,,,,,,,,,###&&&Zp CP&&&,,,+++,,,,,,,,,,,,&&&&&&ES GV&&&~~~&&&FPSaz%?E&&&...&&&W[\ERg~Wl,BH&&&!!!---&&&&&&!!!---&&&'''!!!***ttt444444333333333333333333333333333333333333333333333333333333333555000:::::::w111:N000:N???( @ b' {{{NNNi NNNN___$$$www/\g,,,666666666000-hw666666666666""">>>NNNNNNNNNDDD/hvNNNNNNNNNNNN////gu:iu8iueee3hv5]guuu^p'v3tJ|[w~)))111111111,,,p111111111111MMMbbbaaaaaaUUUp2iw aaaaaaaaaaaa;;;j}Ls}||||]]]-U_Oxh}wFy)iz tO\f}n!hzTTTiiiiiiiii\\\Hpz3iv iiiiiiiiiiii???f~*tt urKywww[[[gggvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvuuuvvvvvvvvvjjj:' ''''vvv:' 8<88<(0 `  hhh'HHHIIIJJJ888??????????????????????????????999(((IIIIIIAAA===mmmqqqVVVeeeCCC[___;;;:::;;;\!!!::::::777eee|occc{UUUixxxeeeQ ddddddddd))){999dddddd^^^ 777=NNNeee9IIIggg'''&&&&&&m_/&&&&&&$$$eee-eee   RRRF/ttteee qqqrrrrrr///^^^bbbAAArrrrrrkkk 444888hhhiii^^^hhh'0 p (  @III'7''888(((eee^^^222888eeeeeecccaaakkkJJJBBB>>>aaa (cccBBBBBBcccaaaVkkkJJJ!!!VVVPPPaaa ,dddVVVVVVXXXaaa_jjjCCC<<>>@themonospot-0.7.3.1/themonospot-gui/resources/ChangeFourCCwin.glade000755 000764 000764 00000017274 11220736777 023617 0ustar00000000 000000 5 False True GTK_WIN_POS_CENTER GDK_WINDOW_TYPE_HINT_NORMAL False True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK 2 True True 6 True 0 Update here FourCC Code value and FourCC Description value: GTK_JUSTIFY_CENTER True True True 80 True 0.89999997615814209 FourCC Code: GTK_JUSTIFY_RIGHT True True 4 1 1 True True True 80 True 0.89999997615814209 FourCC Descr: GTK_JUSTIFY_RIGHT True True 4 1 2 True True 6 3 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK GTK_BUTTONBOX_END True gtk-ok True 1 True gtk-cancel True 2 1 False GTK_PACK_END themonospot-0.7.3.1/themonospot-gui/resources/monoSPOT_48.png000755 000764 000764 00000005536 11220736777 022351 0ustar00000000 000000 PNG  IHDR00W %IDATxZ{pT}YR)ԄH 4a`jV- #@}!PL;{-xZ\Ft]pe"=!̉{GG?N'NP(h4JYYY0|pϷֲw΃DH{@a( h > ݊1c'MI<(0spkqFΞ=hw|04M#s@1A3ڵkqsqƘO|}vf%"RCC˦ӧOmⳢ(pCTs>w&n_?ڤZ B6n5j?zZ0jjj֒!شQX~\wVy7ypπ92wW{|~2?8wKMt//[?` >s?UmmmL0JKK1b<X*L{'~ޖJ4h+Wvբf׻HOO'яKؼߊnI0@:;;k.8(4ׯA/ PUUBy{*zi, PU?13#r r->&Oꅮ\›6ma6lb3+V !D]]]Lޙkkk/K 9U,oذx~*ҺYH\T(񽢢{>Io/H߉wDʽGԅf^*66fnUHWTT_Bo-dVI=E/bދ唝\-3ju]w@ u9T֥ `(Q*-Au3ǰ'OR~~p4B6oLlvs>^p3b]6$_PH2(m{TGW7 +N@?VE àP(Z;AP^^*NԩSUYdw?f^y{ , j׾ .ࡇ dddPQQTUMJ5M2 $"$u?Qm>MfMKeEqqk Κ.>6X~JjTx0rGfBZZ5Tʅo.7ۙ3gR'Lm@YD70شy%IBH۶mK pEgMu*a(+ëӄ=o'>phooOJ7pJZ2PU>/ʂ @[[žE .Ǵƭ=^HPU999ݪ\[[9Bطo<Õ23QRR+_zi rږG}؉S~߆M7݄G`0"DQb~"3SFFFntK^l78?tc?]_tW( rrrCZYYYHcs.ekIikkkn"=j\:~_xծ~L\+/4fdفNO0zh1뷧wI.̘1GD$?7LϗnG7*^}x;_D#k A999pew/_FYYk$q(!|qXL̞5C_଼wOE8uE⊢8~?=:)`p8?$hF^vcWwI;`|Yff&^W D"ڻwu3Æ hTaa0D]]52!bIJWE= hܹVۘT*6Ƹ3F:::իիW)i뽐B7 1j(A$ ՘4ilEŘݻwbȑq(YZ"UQ%uNLL8@j& [lAGGcS ?FZy…K;\޼bŊ杤%y|ĉqVV-[V`08d͚5/}/_BoUܼpCu)xU6 xIIENDB`themonospot-0.7.3.1/themonospot-gui/resources/sound.png000755 000764 000764 00000003170 11220736777 021500 0ustar00000000 000000 PNG  IHDR szzgAMA7tEXtSoftwareAdobe ImageReadyqe< IDATxb?2`ddd qV<˃n߾ŋU@ 5! @8PDDd~jj>H1Tkp%`r"xf`x% N ?2s . & w`Pegggfffpdggb^^^P: 9@@^^@ll>`@)]LL @lP ) 1F g{6[$[[[ rO.1A䀿:E777kĬ  0 ''oii{&&&3XXX-a b`eeeÛ7o@8@\h0# VsP2 A%ׯ_> K d(Y`ê(  i %6@bTb O@sKP[ 9`)hx9 RRR`A F<<< ۷ ^^^`:#e3 ^%4 `  ;w"(2T_`HCB-h6L+@i Zz ̂Z'O$@>%fPZf$uJ$ r!(uUP|N:*@p]pȀ6CpaM'Fy @_#^@s }= A{iO!Y*@@[ |?!\2TC̙3`t8C P5C R[D8tϠ<سgî]Y 9°fpk jO@C/DNTA Pʒ {(mvjPFF/ @3&%A129in߃tE; Y(Z }]3o Pl~0`p HzCOzNbw r'!І'|w`^ @:Êo$; ERIENDB`themonospot-0.7.3.1/themonospot-gui/resources/monologo.png000755 000764 000764 00000005162 11220736777 022204 0ustar00000000 000000 PNG  IHDR(0c{8bKGD 'IDATx͙[l̬.)ऱb@*$%)RJi ^DDP*-U>@(!A11iB q $8_׳;sNx=6!g̜统3G9 ;\` DYpK:o^nM$RyJq<50ۮ!0]b f} naxx˗5kUQV Lu<.Xj%}Fv%hRLr?6/^&2!{ikovy^P(-t ̪$'2L4!\3A~tvѲ|q*\O?Ӑ`h-QZvB6x~'yivd:Ts*|yk2Dmm5?~\7C|MWg[5w$} tԟeeeK_~K)y7x^CJ4>}b<1 j-ˎ;}}}8Ö-[xy'Zߟ56(B gc @(" .4/y.s\ell @2p?ȃ0===xGWW۷ogJ0dž Xd .6m԰}YRJݛ=]~= ,bٓ]ݻ>cLdtvvbYw0 Fyy9;v!mƖ-[D",=z饗ܹVuZD3aÆ $E;@}s z6?y3p`ĕ+W:ʕ+IuP{q]7Q Hn?cwِoʶaN&oiG5@VJDt- IENDB`themonospot-0.7.3.1/themonospot-gui/languages/english.lf000755 000764 000764 00000002140 11220736777 021546 0ustar00000000 000000 DESCFILE=File to scan LBLFILE=Filename: DESCVIDEO=Video VCOL1NAME=Information VCOL2NAME=Description DESCAUDIO=Audio ACOL1NAME=Information ACOL2NAME=Description ABOUTBT=_About EXPORTBT=_Export FOURCCBT=_FourCC UDATABT=_UserData RESCANBT=_Rescan FCTITLE=Select file to scan TTTEXPORT=Save report as text file TTTFOURCC=Change FourCC value and description TTTUDATA=Save file with standard UserData value (DivX999b000p) FOURCCSURE=Are you sure to update your avi file with new FourCC values ? FOURCCTITLE=Change FourCC Values UDATAERROR=Founded REC chunk or IX?? chunk. Export file is not possible UDATATITLE=Save File EXPORTTITLE=Insert file path to export scan result... BTCANCEL=Cancel BTACCEPT=Accept EXPMESSAGE1=update file header... wait please EXPMESSAGE2=update file content... wait please EXPMESSAGE3=update MOVI chunk... wait please EXPMESSAGE4=update IDX chunk... wait please WAITTITLE=Save file SAVEAS=Save file as... 4CCTITLE=FourCC Change... 4CCINFO=Update here FourCC Code value and FourCC Description value: 4CCCODE=FourCC Code: 4CCDESC=FourCC Descr: AUTOEXPORT=autoexport themonospot-0.7.3.1/themonospot-gui/languages/spanish.lf000755 000764 000764 00000002512 11220736777 021565 0ustar00000000 000000 DESCFILE=Archivo a analizar LBLFILE=Nombre de archivo: DESCVIDEO=Vídeo VCOL1NAME=Información VCOL2NAME=Descripción DESCAUDIO=Audio ACOL1NAME=Información ACOL2NAME=Descripción ABOUTBT=_Acerca de EXPORTBT=_Exportar FOURCCBT=_FourCC UDATABT=_UserData RESCANBT=_Re-analizar FCTITLE=Seleccionar archivo a analizar TTTEXPORT=Guardar informe como archivo de texto TTTFOURCC=Cambiar el valor y la descripción FourCC TTTUDATA=Guardar el archivo con el valor estándar de UserData (DivX999b000p) FOURCCSURE=¿Está seguro de querer actualizar el archivo avi con los nuevos valores FourCC? FOURCCTITLE=Cambiar valores FourCC UDATAERROR=Encontrada sección REC o IX??. No es posible exportar el archivo UDATATITLE=Guardar archivo EXPORTTITLE=Inserte ruta del archivo donde exportar el resultado del análisis... BTCANCEL=Cancelar BTACCEPT=Aceptar EXPMESSAGE1=actualizando cabecera del archivo... por favor espere EXPMESSAGE2=actualizando contenido del archivo... por favor espere EXPMESSAGE3=actualizando sección MOVI... por favor espere EXPMESSAGE4=actualizando sección IDX... por favor espere WAITTITLE=Guardar archivo SAVEAS=Guardar archivo como... 4CCTITLE=Cambiar FourCC... 4CCINFO=Actualizar aquí el valor del código y la descripción de FourCC: 4CCCODE=Código FourCC: 4CCDESC=Descr. FourCC: AUTOEXPORT=autoexport themonospot-0.7.3.1/themonospot-gui/languages/italiano.lf000755 000764 000764 00000002342 11220736777 021721 0ustar00000000 000000 DESCFILE=File da scansionare LBLFILE=Nome file: DESCVIDEO=Video VCOL1NAME=Informazione VCOL2NAME=Descrizione DESCAUDIO=Audio ACOL1NAME=Informazione ACOL2NAME=Descrizione ABOUTBT=_Info EXPORTBT=_Esporta FOURCCBT=_FourCC UDATABT=_UserData RESCANBT=_Rescan FCTITLE=Seleziona il file da scansionare TTTEXPORT=Salva il report in formato testo TTTFOURCC=Cambia il valore e la descrizione del FourCC TTTUDATA=Salva il file con un valore standard di UserData (DivX999b000p) FOURCCSURE=Sei sicuro di voler aggiornare il file con i nuovi valori di FourCC ? FOURCCTITLE=Modifica dei valori FourCC UDATAERROR=Trovata sezione REC o IX??. Impossibile procedere con il salvataggio del file UDATATITLE=Salvataggio file EXPORTTITLE=Inserisci il percorso dove esportare il report... BTCANCEL=Annulla BTACCEPT=Ok EXPMESSAGE1=aggiornamento header file... attendere EXPMESSAGE2=aggiornamento dei contenuti... attendere EXPMESSAGE3=aggiornamento sezione MOVI... attendere EXPMESSAGE4=aggiornamento sezione IDX... attendere WAITTITLE=Salva file SAVEAS=Salva il file come... 4CCTITLE=Cambia il FourCC... 4CCINFO=Aggiorna di seguito il codice e la descrizione del FourCC: 4CCCODE=Codice FourCC: 4CCDESC=Descr. FourCC: AUTOEXPORT=autoesportathemonospot-0.7.3.1/copying.gpl000644 000764 000764 00000043254 11220736777 014647 0ustar00000000 000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License.