diff -Nru xsnow-1.42/aclocal.m4 xsnow-2.0.9/aclocal.m4 --- xsnow-1.42/aclocal.m4 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/aclocal.m4 2019-07-19 14:11:49.000000000 +0000 @@ -0,0 +1,1411 @@ +# generated automatically by aclocal 1.16.1 -*- Autoconf -*- + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. + +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) + +dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +dnl serial 11 (pkg-config-0.29.1) +dnl +dnl Copyright © 2004 Scott James Remnant . +dnl Copyright © 2012-2015 Dan Nicholson +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, but +dnl WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. +dnl +dnl As a special exception to the GNU General Public License, if you +dnl distribute this file as part of a program that contains a +dnl configuration script generated by Autoconf, you may include it under +dnl the same distribution terms that you use for the rest of that +dnl program. + +dnl PKG_PREREQ(MIN-VERSION) +dnl ----------------------- +dnl Since: 0.29 +dnl +dnl Verify that the version of the pkg-config macros are at least +dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's +dnl installed version of pkg-config, this checks the developer's version +dnl of pkg.m4 when generating configure. +dnl +dnl To ensure that this macro is defined, also add: +dnl m4_ifndef([PKG_PREREQ], +dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) +dnl +dnl See the "Since" comment for each macro you use to see what version +dnl of the macros you require. +m4_defun([PKG_PREREQ], +[m4_define([PKG_MACROS_VERSION], [0.29.1]) +m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, + [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) +])dnl PKG_PREREQ + +dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) +dnl ---------------------------------- +dnl Since: 0.16 +dnl +dnl Search for the pkg-config tool and set the PKG_CONFIG variable to +dnl first found in the path. Checks that the version of pkg-config found +dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is +dnl used since that's the first version where most current features of +dnl pkg-config existed. +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=m4_default([$1], [0.9.0]) + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PKG_CONFIG="" + fi +fi[]dnl +])dnl PKG_PROG_PKG_CONFIG + +dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +dnl ------------------------------------------------------------------- +dnl Since: 0.18 +dnl +dnl Check to see whether a particular set of modules exists. Similar to +dnl PKG_CHECK_MODULES(), but does not set variables or print errors. +dnl +dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +dnl only at the first occurence in configure.ac, so if the first place +dnl it's called might be skipped (such as if it is within an "if", you +dnl have to call PKG_CHECK_EXISTS manually +AC_DEFUN([PKG_CHECK_EXISTS], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +if test -n "$PKG_CONFIG" && \ + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then + m4_default([$2], [:]) +m4_ifvaln([$3], [else + $3])dnl +fi]) + +dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +dnl --------------------------------------------- +dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting +dnl pkg_failed based on the result. +m4_define([_PKG_CONFIG], +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], + [pkg_failed=yes]) + else + pkg_failed=untried +fi[]dnl +])dnl _PKG_CONFIG + +dnl _PKG_SHORT_ERRORS_SUPPORTED +dnl --------------------------- +dnl Internal check to see if pkg-config supports short errors. +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi[]dnl +])dnl _PKG_SHORT_ERRORS_SUPPORTED + + +dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +dnl [ACTION-IF-NOT-FOUND]) +dnl -------------------------------------------------------------- +dnl Since: 0.4.0 +dnl +dnl Note that if there is a possibility the first call to +dnl PKG_CHECK_MODULES might not happen, you should be sure to include an +dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +AC_DEFUN([PKG_CHECK_MODULES], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $1]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + + m4_default([$4], [AC_MSG_ERROR( +[Package requirements ($2) were not met: + +$$1_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +_PKG_TEXT])[]dnl + ]) +elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( +[The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +_PKG_TEXT + +To get pkg-config, see .])[]dnl + ]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + $3 +fi[]dnl +])dnl PKG_CHECK_MODULES + + +dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +dnl [ACTION-IF-NOT-FOUND]) +dnl --------------------------------------------------------------------- +dnl Since: 0.29 +dnl +dnl Checks for existence of MODULES and gathers its build flags with +dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags +dnl and VARIABLE-PREFIX_LIBS from --libs. +dnl +dnl Note that if there is a possibility the first call to +dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to +dnl include an explicit call to PKG_PROG_PKG_CONFIG in your +dnl configure.ac. +AC_DEFUN([PKG_CHECK_MODULES_STATIC], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +_save_PKG_CONFIG=$PKG_CONFIG +PKG_CONFIG="$PKG_CONFIG --static" +PKG_CHECK_MODULES($@) +PKG_CONFIG=$_save_PKG_CONFIG[]dnl +])dnl PKG_CHECK_MODULES_STATIC + + +dnl PKG_INSTALLDIR([DIRECTORY]) +dnl ------------------------- +dnl Since: 0.27 +dnl +dnl Substitutes the variable pkgconfigdir as the location where a module +dnl should install pkg-config .pc files. By default the directory is +dnl $libdir/pkgconfig, but the default can be changed by passing +dnl DIRECTORY. The user can override through the --with-pkgconfigdir +dnl parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +])dnl PKG_INSTALLDIR + + +dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) +dnl -------------------------------- +dnl Since: 0.27 +dnl +dnl Substitutes the variable noarch_pkgconfigdir as the location where a +dnl module should install arch-independent pkg-config .pc files. By +dnl default the directory is $datadir/pkgconfig, but the default can be +dnl changed by passing DIRECTORY. The user can override through the +dnl --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +])dnl PKG_NOARCH_INSTALLDIR + + +dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, +dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +dnl ------------------------------------------- +dnl Since: 0.28 +dnl +dnl Retrieves the value of the pkg-config variable for the given module. +AC_DEFUN([PKG_CHECK_VAR], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl + +_PKG_CONFIG([$1], [variable="][$3]["], [$2]) +AS_VAR_COPY([$1], [pkg_cv_][$1]) + +AS_VAR_IF([$1], [""], [$5], [$4])dnl +])dnl PKG_CHECK_VAR + +# Copyright (C) 2002-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.16' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.16.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.16.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is '.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ([2.52])dnl + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + + +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], + [$1], [CXX], [depcc="$CXX" am_compiler_list=], + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], + [$1], [UPC], [depcc="$UPC" am_compiler_list=], + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE([dependency-tracking], [dnl +AS_HELP_STRING( + [--enable-dependency-tracking], + [do not reject slow dependency extractors]) +AS_HELP_STRING( + [--disable-dependency-tracking], + [speeds up one-time build])]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([am__nodep])dnl +_AM_SUBST_NOTMAKE([am__nodep])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + # TODO: see whether this extra hack can be removed once we start + # requiring Autoconf 2.70 or later. + AS_CASE([$CONFIG_FILES], + [*\'*], [eval set x "$CONFIG_FILES"], + [*], [set x $CONFIG_FILES]) + shift + # Used to flag and report bootstrapping failures. + am_rc=0 + for am_mf + do + # Strip MF so we end up with the name of the file. + am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile which includes + # dependency-tracking related rules and includes. + # Grep'ing the whole file directly is not great: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ + || continue + am_dirpart=`AS_DIRNAME(["$am_mf"])` + am_filepart=`AS_BASENAME(["$am_mf"])` + AM_RUN_LOG([cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles]) || am_rc=$? + done + if test $am_rc -ne 0; then + AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments + for automatic dependency tracking. Try re-running configure with the + '--disable-dependency-tracking' option to at least be able to build + the package (albeit without support for automatic dependency tracking).]) + fi + AS_UNSET([am_dirpart]) + AS_UNSET([am_filepart]) + AS_UNSET([am_mf]) + AS_UNSET([am_rc]) + rm -f conftest-deps.mk +} +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking is enabled. +# This creates each '.Po' and '.Plo' makefile fragment that we'll need in +# order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. +m4_define([AC_PROG_CC], +m4_defn([AC_PROG_CC]) +[_AM_PROG_CC_C_O +]) + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.65])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[AC_DIAGNOSE([obsolete], + [$0: two- and three-arguments forms are deprecated.]) +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if( + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + [ok:ok],, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) +AM_MISSING_PROG([AUTOCONF], [autoconf]) +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) +AM_MISSING_PROG([AUTOHEADER], [autoheader]) +AM_MISSING_PROG([MAKEINFO], [makeinfo]) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES([CC])], + [m4_define([AC_PROG_CC], + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES([CXX])], + [m4_define([AC_PROG_CXX], + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES([OBJC])], + [m4_define([AC_PROG_OBJC], + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], + [_AM_DEPENDENCIES([OBJCXX])], + [m4_define([AC_PROG_OBJCXX], + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl +]) +AC_REQUIRE([AM_SILENT_RULES])dnl +dnl The testsuite driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) + fi +fi +dnl The trailing newline in this macro's definition is deliberate, for +dnl backward compatibility and to allow trailing 'dnl'-style comments +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. +]) + +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST([install_sh])]) + +# Copyright (C) 2003-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_MAKE_INCLUDE() +# ----------------- +# Check whether make has an 'include' directive that can support all +# the idioms we need for our automatic dependency tracking code. +AC_DEFUN([AM_MAKE_INCLUDE], +[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) +cat > confinc.mk << 'END' +am__doit: + @echo this is the am__doit target >confinc.out +.PHONY: am__doit +END +am__include="#" +am__quote= +# BSD make does it like this. +echo '.include "confinc.mk" # ignored' > confmf.BSD +# Other make implementations (GNU, Solaris 10, AIX) do it like this. +echo 'include confinc.mk # ignored' > confmf.GNU +_am_result=no +for s in GNU BSD; do + AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) + AS_CASE([$?:`cat confinc.out 2>/dev/null`], + ['0:this is the am__doit target'], + [AS_CASE([$s], + [BSD], [am__include='.include' am__quote='"'], + [am__include='include' am__quote=''])]) + if test "$am__include" != "#"; then + _am_result="yes ($s style)" + break + fi +done +rm -f confinc.* confmf.* +AC_MSG_RESULT([${_am_result}]) +AC_SUBST([am__include])]) +AC_SUBST([am__quote])]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it is modern enough. +# If it is, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + AC_MSG_WARN(['missing' script is too old or missing]) +fi +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# -------------------- +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) + +# _AM_SET_OPTIONS(OPTIONS) +# ------------------------ +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_CC_C_O +# --------------- +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC +# to automatically call this. +AC_DEFUN([_AM_PROG_CC_C_O], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +AC_LANG_PUSH([C])dnl +AC_CACHE_CHECK( + [whether $CC understands -c and -o together], + [am_cv_prog_cc_c_o], + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i]) +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +AC_LANG_POP([C])]) + +# For backward compatibility. +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_RUN_LOG(COMMAND) +# ------------------- +# Run COMMAND, save the exit status in ac_status, and log it. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) +AC_DEFUN([AM_RUN_LOG], +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken + alias in your environment]) + fi + if test "$[2]" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT([yes]) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + [AC_MSG_CHECKING([that generated files are newer than configure]) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + AC_MSG_RESULT([done])]) +rm -f conftest.file +]) + +# Copyright (C) 2009-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Enable less verbose build rules; with the default set to DEFAULT +# ("yes" being less verbose, "no" or empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_ARG_ENABLE([silent-rules], [dnl +AS_HELP_STRING( + [--enable-silent-rules], + [less verbose build output (undo: "make V=1")]) +AS_HELP_STRING( + [--disable-silent-rules], + [verbose build output (undo: "make V=0")])dnl +]) +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +dnl +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor 'install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in "make install-strip", and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# -------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +# +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' + +m4_if([$1], [v7], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], + + [m4_case([$1], + [ustar], + [# The POSIX 1988 'ustar' format is defined with fixed-size fields. + # There is notably a 21 bits limit for the UID and the GID. In fact, + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 + # and bug#13588). + am_max_uid=2097151 # 2^21 - 1 + am_max_gid=$am_max_uid + # The $UID and $GID variables are not portable, so we need to resort + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls + # below are definitely unexpected, so allow the users to see them + # (that is, avoid stderr redirection). + am_uid=`id -u || echo unknown` + am_gid=`id -g || echo unknown` + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) + if test $am_uid -le $am_max_uid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) + if test $am_gid -le $am_max_gid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi], + + [pax], + [], + + [m4_fatal([Unknown tar format])]) + + AC_MSG_CHECKING([how to create a $1 tar archive]) + + # Go ahead even if we have the value already cached. We do so because we + # need to set the values for the 'am__tar' and 'am__untar' variables. + _am_tools=${am_cv_prog_tar_$1-$_am_tools} + + for _am_tool in $_am_tools; do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works. + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi + done + rm -rf conftest.dir + + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) + AC_MSG_RESULT([$am_cv_prog_tar_$1])]) + +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + diff -Nru xsnow-1.42/addcopyright.sh xsnow-2.0.9/addcopyright.sh --- xsnow-1.42/addcopyright.sh 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/addcopyright.sh 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,37 @@ +#!/bin/sh +# -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +n=0 +while [ "$1" ] ; do + f="$1" + shift + txt="-""copyright-" + if file --mime "$f" | grep -q binary ; then + echo "$f: binary" + continue + fi + if ! grep -q -- "$txt" "$f" ; then + echo "$f: no $txt" + continue + fi + sed -i "/^\s*#-#/d;/$txt/r copyright.inc" "$f" + n=`expr $n + 1` +done +echo "$n files copyrighted" diff -Nru xsnow-1.42/AUTHORS xsnow-2.0.9/AUTHORS --- xsnow-1.42/AUTHORS 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/AUTHORS 2019-03-26 13:48:09.000000000 +0000 @@ -0,0 +1,2 @@ +Rick Jansen +Willem Vermin diff -Nru xsnow-1.42/bootstrap xsnow-2.0.9/bootstrap --- xsnow-1.42/bootstrap 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/bootstrap 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,48 @@ +#!/bin/bash +# -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +./addcopyright.sh Makefile.am addcopyright.sh bootstrap configure.ac getversion README +find src \( -name '*.c' -o -name '*.h' -o -name '*.am' -o -name '*.xpm' -o -name '*.xbm' \ + -o -name '*.glade' -o -name '*.sh' \) -print0 | xargs -0 ./addcopyright.sh + +version=`./getversion` || exit 1 +date=`date -R` +echo "version = $version" +sed -i "/^AC_INIT(\[xsnow]/s/^.*/AC_INIT([xsnow], [$version], [wvermin@gmail.com])/" configure.ac || exit 1 + +for d in debian debian.disco debian.stretch debian.sid ; do + if [ -e $d/changelog ] ; then + sed -i "1s/(.*)/(1:$version-1)/" $d/changelog || exit 1 + sed -i "0,/^ --.*>/{/^ --.*>/s/> .*/> $date/}" $d/changelog || exit 1 + fi +done + +cp debian.sid/* debian + +mkdir -p debian/tests +for t in src/test*.sh ; do + cp $t debian/tests +done + +autoreconf -fvi || exit 1 + +echo "## Do not modify this file, it is generated from README by bootstrap ##">README.md +cat README >> README.md +echo "$0 done" diff -Nru xsnow-1.42/ChangeLog xsnow-2.0.9/ChangeLog --- xsnow-1.42/ChangeLog 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/ChangeLog 2019-07-19 13:15:03.000000000 +0000 @@ -0,0 +1,97 @@ +version 2.0.9 + some debian adjustments + fix xfce problems: the workspace of the transparent + snow window is not available in xfce + some windows have both the _NET_FRAME_EXTENTS and + _GTK_FRAME_EXTENTS. Priority is given to the latter. + Snowflakes that touch fallen snow are not erased any more: + erasure caused bad looking effects. + Removed 'showstats' from config +version 2.0.8 + some more debian stuff + add support for xfce desktop +version 2.0.7 + added some debian stuff +version 2.05 + Fixed issues when trees are not shown: snow was still + collecting on trees, snow was not visible after not-shown + tree. + +version 2.04 + Fixed bug in main.c: check for valid return value of + FindWindow() in do_wupdate(). + +Version 2.03 + Fixed bug in main.c: only set transworkspace if usingtrans. + +Version 2.02 + Snowing halted when a workspade before the snow workspace was + removed. Fixed by checking the workspace of SnowWin in do_wupdate(). + +Solved in 2.01 + tree-xpm's are mirrored randomly + flag -treeregion implemented + fluff on bottom in snow window when nokeepsnowonscreen + parametrize MAXONTREES + implement vintage + in fvwm: after minimize window, no snow is shown on the + window when it is restored. + Handle window that is visible on all workspaces + implement no snow when window disappears + implement nowplow + Try to snow on trees + plowing should be partial: only take snow away where Santa was: Won't + fix + stars are competing with fallen snow: let snow win: Won't fix + Create precise region from bitmap vintage tree + Implement nokeepsnowonwindows etc + when wind: make generated flakes at bottom cyclic + Solved strange behaviour with system monitor window + and others: gedit, nautilus etc. on gnome desktop + no problem on fvwm desktop + find automatically desired offsets + determine size of decoration from a partial screendump ? + use xwininfo to point to a gauge window ? + no rounding of edges of fallen snow at the bottom + automatically determine tree regions + create 'fuse': remove nearly all flakes when number is really too high + for testing purposes: color a region see do_testing() + read tree.xpm from ~/xsnow/pixmaps/tree.xpm if present + let Santa plough through fallensnow: do not redraw fallen snow + if overlap with Santa + faster update of fallen snow after move of window + animation of blown fallen snow + extra snow not cyclic + get rid of flake.x and y, use only rx and ry + animation of snow fallen from disappeared windows + gracefully exit when window where is snowing in, disappears + let trees not overlap + fallensnow surfaces often too jerky + round snow at the edges + animation of do_clean + let Santa be affected by strong wind + replace old wind by storm now and then + offsets for windows & bottom + wind is changing continuously + cyclic disappear, appear of flakes + Solve floating point exception when starting in too small + window (oclock) (div by 0 in RandInt) + move to other workspace of a window: bad behaviour: + snow stays on original workspace, window does no + receive snow any more: see put correct workspace in fallensnow areas + in xsnow.c + snow on windows: implemented + ctrl-c sometimes causes: cannot parse output of wmctrl: solved by + letting wmctrl return -1 in case of problems + +2019-01 + A few minor changes after 1.42: + changed timing loop + find Desktop in Gnome and KDE + can run in user-pointed window (-xwininfo) + added another kind of tree + added starts + added meteorite + changed algorithm for fallen snow + nosnowarea's + and some more ... diff -Nru xsnow-1.42/Changes xsnow-2.0.9/Changes --- xsnow-1.42/Changes 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/Changes 2019-01-08 13:22:31.000000000 +0000 @@ -0,0 +1,58 @@ + + Modification history + -------------------- + 1984/1985 Macintosh animated Christmas card + 1988/1990 Macintosh undying desk accessory, and MultiFinder version + 03DEC93 version 0 for X-windows + 04DEC93 background setting + 06DEC93 delay in main loop using select + 10DEC93 keep snow on top of windows and at bottom of display +11DEC93 snow kept sticking to the right of display (1.11) + 11DEC93 updated calcwindowtops + 12DEC93 call calcwindowtops after last exposure event only + 13DEC93 vroot added for virtual window managers + 14DEC93 separate options for snowdepth on windows and on screen +15DEC93 patch for fvwm from Mike Hollick (hollick@graphics.cis.upenn.edu) + 16DEC93 Really building up snow at bottom of screen + 16DEC93 A choice of Santa's. Thanks to Holger Veit (Holger.Veit@gmd.de) + for Santa no. 2. Santa 1 was derived from 2 by scaling down. + 20DEC93 Aaaargh! gnu C doesn't like the initialization of the new + Santa pixmaps. Extra braces do the trick, which is so often the case + 20DEC93 Deleted PaintSnowAtBottom. It's more of a surprise this way. +21DEC93 In case of negative x coordinates adapt width (CalcWindowTops) + 22DEC93 Rudolf's red nose. Silly. Grmbll. + 22DEC93 Bug with -nokeepsnowonwindows removed + 10JAN94 Improved handling of erasing snow at screen bottom in case of + window in or under the snow. + 18FEB94 X-speed really 0 inside snow layers - prevents snowflakes from + erasing already fallen snow a bit better + 30OCT94 More efficiency due to GC's in server and not drawing where + the windows are. + 30OCT94 1.30 Eiichi TAZOE's code for wind included in general distribution. + 11NOV94 Bug in XRectInRegion call resolved (santa not appearing gradually + from behind windows) + 15NOV94 Unsigned longs changed to longs, as strtoul is troublesome on many +systems (snowDelay) + 08DEC94 Snow is really building up on windows now + 10DEC94 1.36 Handle Popups (no snow on them) +16DEC94 1.37 -offset and (-nokeepsnowonwindows and -nokeepsnowonscreen back) + 20DEC94 1.38 Let Santa be a real snowplough now + 21DEC94 1.39 VMS fix for uSsleep, thanks to Ulrich Kabatek + + 19NOV95 1.40 Memory leak fixed in CalcWindowTops, thanks to Satoshi Asami + + 19NOV95 1.40 Greatly increased performance when using solid backgrounds + by using XFillRectangle instead of XClearArea. Thanks to + Benedikt Kessler + 20NOV95 1.40 Bug fixed with erasing snow at bot of screen + 1996 New macintosh version, in color http://www.euronet.nl/~rja/MacSnow/ + 1998 Snow for Windows http://www.euronet.nl/~rja/WinSnow/ + 18DEC2000 1.41 Fix for X-servers that do not send expose events after a + while, due to backing store. + 14DEC2001 KDE and other root window obstructors: sub borrowed from + xpenguins 2.2 to find the current "root" window for this system. + Credit to Robin Hogan + dec2018 Willem: use wmctrl to find Desktop window + invert pixmaps and display them inverted to get right + colors on gnome desktop + */ diff -Nru xsnow-1.42/compile xsnow-2.0.9/compile --- xsnow-1.42/compile 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/compile 2019-07-19 13:22:22.000000000 +0000 @@ -0,0 +1,348 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2018-03-07.03; # UTC + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; + -l*) + func_cl_dashl "${1#-l}" + set x "$@" "$lib" + shift + ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; + -L*) + func_cl_dashL "${1#-L}" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file 'INSTALL'. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no '-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # '.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff -Nru xsnow-1.42/config.h.in xsnow-2.0.9/config.h.in --- xsnow-1.42/config.h.in 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/config.h.in 2019-07-19 14:11:50.000000000 +0000 @@ -0,0 +1,132 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if you have the `alarm' function. */ +#undef HAVE_ALARM + +/* Define to 1 if you have the header file. */ +#undef HAVE_ASSERT_H + +/* Define to 1 if you have the `gettimeofday' function. */ +#undef HAVE_GETTIMEOFDAY + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the `m' library (-lm). */ +#undef HAVE_LIBM + +/* Define to 1 if you have the `X11' library (-lX11). */ +#undef HAVE_LIBX11 + +/* Define to 1 if you have the `Xpm' library (-lXpm). */ +#undef HAVE_LIBXPM + +/* Define to 1 if your system has a GNU libc compatible `malloc' function, and + to 0 otherwise. */ +#undef HAVE_MALLOC + +/* Define to 1 if you have the header file. */ +#undef HAVE_MATH_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if your system has a GNU libc compatible `realloc' function, + and to 0 otherwise. */ +#undef HAVE_REALLOC + +/* Define to 1 if you have the header file. */ +#undef HAVE_SIGNAL_H + +/* Define to 1 if you have the `sqrt' function. */ +#undef HAVE_SQRT + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the `strchr' function. */ +#undef HAVE_STRCHR + +/* Define to 1 if you have the `strdup' function. */ +#undef HAVE_STRDUP + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the `strstr' function. */ +#undef HAVE_STRSTR + +/* Define to 1 if you have the `strtol' function. */ +#undef HAVE_STRTOL + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TIME_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_X11_INTRINSIC_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_X11_XLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_X11_XOS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_X11_XPM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_X11_XUTIL_H + +/* Define to 1 if the system has the type `_Bool'. */ +#undef HAVE__BOOL + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Version number of package */ +#undef VERSION + +/* Define to rpl_malloc if the replacement function should be used. */ +#undef malloc + +/* Define to rpl_realloc if the replacement function should be used. */ +#undef realloc + +/* Define to `unsigned int' if does not define. */ +#undef size_t diff -Nru xsnow-1.42/configure xsnow-2.0.9/configure --- xsnow-1.42/configure 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/configure 2019-07-19 14:11:50.000000000 +0000 @@ -0,0 +1,6832 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69 for xsnow 2.0.9. +# +# Report bugs to . +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and wvermin@gmail.com +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='xsnow' +PACKAGE_TARNAME='xsnow' +PACKAGE_VERSION='2.0.9' +PACKAGE_STRING='xsnow 2.0.9' +PACKAGE_BUGREPORT='wvermin@gmail.com' +PACKAGE_URL='' + +ac_unique_file="src/xsnow.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +DBUS_LIBS +DBUS_CFLAGS +GTK_LIBS +GTK_CFLAGS +XML_LIBS +XML_CFLAGS +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +PKG_CONFIG +EGREP +GREP +CPP +XMKMF +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +am__nodep +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +runstatedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL +am__quote' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_silent_rules +enable_dependency_tracking +with_x +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +XMKMF +CPP +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR +XML_CFLAGS +XML_LIBS +GTK_CFLAGS +GTK_LIBS +DBUS_CFLAGS +DBUS_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' +runstatedir='${localstatedir}/run' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -runstatedir | --runstatedir | --runstatedi | --runstated \ + | --runstate | --runstat | --runsta | --runst | --runs \ + | --run | --ru | --r) + ac_prev=runstatedir ;; + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ + | --run=* | --ru=* | --r=*) + runstatedir=$ac_optarg ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir runstatedir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures xsnow 2.0.9 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/xsnow] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +X features: + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of xsnow 2.0.9:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-x use the X Window System + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + XMKMF Path to xmkmf, Makefile generator for X Window System + CPP C preprocessor + PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path + XML_CFLAGS C compiler flags for XML, overriding pkg-config + XML_LIBS linker flags for XML, overriding pkg-config + GTK_CFLAGS C compiler flags for GTK, overriding pkg-config + GTK_LIBS linker flags for GTK, overriding pkg-config + DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config + DBUS_LIBS linker flags for DBUS, 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. + +Report bugs to . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +xsnow configure 2.0.9 +generated by GNU Autoconf 2.69 + +Copyright (C) 2012 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## -------------------------------- ## +## Report this to wvermin@gmail.com ## +## -------------------------------- ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cache +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_type + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by xsnow $as_me 2.0.9, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +ac_config_headers="$ac_config_headers config.h" + +am__api_version='1.16' + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='xsnow' + VERSION='2.0.9' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +mkdir_p='$(MKDIR_P)' + +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar pax cpio none' + +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + + + + + + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 + fi +fi + +./prevent-remakes +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + + +# Checks for programs. +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } +cat > confinc.mk << 'END' +am__doit: + @echo this is the am__doit target >confinc.out +.PHONY: am__doit +END +am__include="#" +am__quote= +# BSD make does it like this. +echo '.include "confinc.mk" # ignored' > confmf.BSD +# Other make implementations (GNU, Solaris 10, AIX) do it like this. +echo 'include confinc.mk # ignored' > confmf.GNU +_am_result=no +for s in GNU BSD; do + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + case $?:`cat confinc.out 2>/dev/null` in #( + '0:this is the am__doit target') : + case $s in #( + BSD) : + am__include='.include' am__quote='"' ;; #( + *) : + am__include='include' am__quote='' ;; +esac ;; #( + *) : + ;; +esac + if test "$am__include" != "#"; then + _am_result="yes ($s style)" + break + fi +done +rm -f confinc.* confmf.* +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 +$as_echo "${_am_result}" >&6; } + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + + +# Checks for libraries. +# FIXME: Replace `main' with a function in `-lX11': + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5 +$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; } +if ${ac_cv_lib_X11_XOpenDisplay+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lX11 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char XOpenDisplay (); +int +main () +{ +return XOpenDisplay (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_X11_XOpenDisplay=yes +else + ac_cv_lib_X11_XOpenDisplay=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5 +$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; } +if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBX11 1 +_ACEOF + + LIBS="-lX11 $LIBS" + +else + + echo "libX11 is required" + exit -1 +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmCreatePixmapFromData in -lXpm" >&5 +$as_echo_n "checking for XpmCreatePixmapFromData in -lXpm... " >&6; } +if ${ac_cv_lib_Xpm_XpmCreatePixmapFromData+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lXpm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char XpmCreatePixmapFromData (); +int +main () +{ +return XpmCreatePixmapFromData (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_Xpm_XpmCreatePixmapFromData=yes +else + ac_cv_lib_Xpm_XpmCreatePixmapFromData=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5 +$as_echo "$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6; } +if test "x$ac_cv_lib_Xpm_XpmCreatePixmapFromData" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBXPM 1 +_ACEOF + + LIBS="-lXpm $LIBS" + +else + as_fn_error $? "Exiting" "$LINENO" 5 +fi + +# FIXME: Replace `main' with a function in `-lm': +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 +$as_echo_n "checking for sin in -lm... " >&6; } +if ${ac_cv_lib_m_sin+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sin (); +int +main () +{ +return sin (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_sin=yes +else + ac_cv_lib_m_sin=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 +$as_echo "$ac_cv_lib_m_sin" >&6; } +if test "x$ac_cv_lib_m_sin" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + + LIBS="-lm $LIBS" + +else + + echo "libm is required" + exit -1 +fi + + +# Checks for header files. +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 +$as_echo_n "checking for X... " >&6; } + + +# Check whether --with-x was given. +if test "${with_x+set}" = set; then : + withval=$with_x; +fi + +# $have_x is `yes', `no', `disabled', or empty when we do not yet know. +if test "x$with_x" = xno; then + # The user explicitly disabled X. + have_x=disabled +else + case $x_includes,$x_libraries in #( + *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( + *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : + $as_echo_n "(cached) " >&6 +else + # One or both of the vars are not set, and there is no cached value. +ac_x_includes=no ac_x_libraries=no +rm -f -r conftest.dir +if mkdir conftest.dir; then + cd conftest.dir + cat >Imakefile <<'_ACEOF' +incroot: + @echo incroot='${INCROOT}' +usrlibdir: + @echo usrlibdir='${USRLIBDIR}' +libdir: + @echo libdir='${LIBDIR}' +_ACEOF + if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then + # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. + for ac_var in incroot usrlibdir libdir; do + eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" + done + # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. + for ac_extension in a so sl dylib la dll; do + if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && + test -f "$ac_im_libdir/libX11.$ac_extension"; then + ac_im_usrlibdir=$ac_im_libdir; break + fi + done + # Screen out bogus values from the imake configuration. They are + # bogus both because they are the default anyway, and because + # using them would break gcc on systems where it needs fixed includes. + case $ac_im_incroot in + /usr/include) ac_x_includes= ;; + *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; + esac + case $ac_im_usrlibdir in + /usr/lib | /usr/lib64 | /lib | /lib64) ;; + *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; + esac + fi + cd .. + rm -f -r conftest.dir +fi + +# Standard set of common directories for X headers. +# Check X11 before X11Rn because it is often a symlink to the current release. +ac_x_header_dirs=' +/usr/X11/include +/usr/X11R7/include +/usr/X11R6/include +/usr/X11R5/include +/usr/X11R4/include + +/usr/include/X11 +/usr/include/X11R7 +/usr/include/X11R6 +/usr/include/X11R5 +/usr/include/X11R4 + +/usr/local/X11/include +/usr/local/X11R7/include +/usr/local/X11R6/include +/usr/local/X11R5/include +/usr/local/X11R4/include + +/usr/local/include/X11 +/usr/local/include/X11R7 +/usr/local/include/X11R6 +/usr/local/include/X11R5 +/usr/local/include/X11R4 + +/usr/X386/include +/usr/x386/include +/usr/XFree86/include/X11 + +/usr/include +/usr/local/include +/usr/unsupported/include +/usr/athena/include +/usr/local/x11r5/include +/usr/lpp/Xamples/include + +/usr/openwin/include +/usr/openwin/share/include' + +if test "$ac_x_includes" = no; then + # Guess where to find include files, by looking for Xlib.h. + # First, try using that file with no special directory specified. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # We can compile using X headers with no special include directory. +ac_x_includes= +else + for ac_dir in $ac_x_header_dirs; do + if test -r "$ac_dir/X11/Xlib.h"; then + ac_x_includes=$ac_dir + break + fi +done +fi +rm -f conftest.err conftest.i conftest.$ac_ext +fi # $ac_x_includes = no + +if test "$ac_x_libraries" = no; then + # Check for the libraries. + # See if we find them without any special options. + # Don't add to $LIBS permanently. + ac_save_LIBS=$LIBS + LIBS="-lX11 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +XrmInitialize () + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBS=$ac_save_LIBS +# We can link X programs with no special library path. +ac_x_libraries= +else + LIBS=$ac_save_LIBS +for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` +do + # Don't even attempt the hair of trying to link an X program! + for ac_extension in a so sl dylib la dll; do + if test -r "$ac_dir/libX11.$ac_extension"; then + ac_x_libraries=$ac_dir + break 2 + fi + done +done +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi # $ac_x_libraries = no + +case $ac_x_includes,$ac_x_libraries in #( + no,* | *,no | *\'*) + # Didn't find X, or a directory has "'" in its name. + ac_cv_have_x="have_x=no";; #( + *) + # Record where we found X for the cache. + ac_cv_have_x="have_x=yes\ + ac_x_includes='$ac_x_includes'\ + ac_x_libraries='$ac_x_libraries'" +esac +fi +;; #( + *) have_x=yes;; + esac + eval "$ac_cv_have_x" +fi # $with_x != no + +if test "$have_x" != yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 +$as_echo "$have_x" >&6; } + no_x=yes +else + # If each of the values was on the command line, it overrides each guess. + test "x$x_includes" = xNONE && x_includes=$ac_x_includes + test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries + # Update the cache value to reflect the command line values. + ac_cv_have_x="have_x=yes\ + ac_x_includes='$x_includes'\ + ac_x_libraries='$x_libraries'" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 +$as_echo "libraries $x_libraries, headers $x_includes" >&6; } +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_header in stdlib.h string.h sys/time.h unistd.h math.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +else + as_fn_error $? "Exiting" "$LINENO" 5 +fi + +done + +for ac_header in signal.h stdlib.h assert.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +else + as_fn_error $? "Exiting" "$LINENO" 5 +fi + +done + +for ac_header in X11/Xlib.h X11/Intrinsic.h X11/Xutil.h X11/Xos.h X11/xpm.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +else + as_fn_error $? "Exiting" "$LINENO" 5 +fi + +done + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5 +$as_echo_n "checking for XML... " >&6; } + +if test -n "$XML_CFLAGS"; then + pkg_cv_XML_CFLAGS="$XML_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$XML_LIBS"; then + pkg_cv_XML_LIBS="$XML_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1` + else + XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$XML_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (libxml-2.0) were not met: + +$XML_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 XML_CFLAGS +and XML_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_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 XML_CFLAGS +and XML_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" "$LINENO" 5; } +else + XML_CFLAGS=$pkg_cv_XML_CFLAGS + XML_LIBS=$pkg_cv_XML_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 +$as_echo_n "checking for GTK... " >&6; } + +if test -n "$GTK_CFLAGS"; then + pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 gmodule-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-3.0 gmodule-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 gmodule-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GTK_LIBS"; then + pkg_cv_GTK_LIBS="$GTK_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 gmodule-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-3.0 gmodule-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 gmodule-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 gmodule-2.0" 2>&1` + else + GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 gmodule-2.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTK_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (gtk+-3.0 gmodule-2.0) were not met: + +$GTK_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_CFLAGS +and GTK_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_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_CFLAGS +and GTK_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" "$LINENO" 5; } +else + GTK_CFLAGS=$pkg_cv_GTK_CFLAGS + GTK_LIBS=$pkg_cv_GTK_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 +$as_echo_n "checking for DBUS... " >&6; } + +if test -n "$DBUS_CFLAGS"; then + pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$DBUS_LIBS"; then + pkg_cv_DBUS_LIBS="$DBUS_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1` + else + DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$DBUS_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (dbus-1) were not met: + +$DBUS_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 DBUS_CFLAGS +and DBUS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_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 DBUS_CFLAGS +and DBUS_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" "$LINENO" 5; } +else + DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS + DBUS_LIBS=$pkg_cv_DBUS_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +# Checks for typedefs, structures, and compiler characteristics. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +if test "x$ac_cv_type_size_t" = xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned int +_ACEOF + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 +$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } +if ${ac_cv_header_stdbool_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #ifndef bool + "error: bool is not defined" + #endif + #ifndef false + "error: false is not defined" + #endif + #if false + "error: false is not 0" + #endif + #ifndef true + "error: true is not defined" + #endif + #if true != 1 + "error: true is not 1" + #endif + #ifndef __bool_true_false_are_defined + "error: __bool_true_false_are_defined is not defined" + #endif + + struct s { _Bool s: 1; _Bool t; } s; + + char a[true == 1 ? 1 : -1]; + char b[false == 0 ? 1 : -1]; + char c[__bool_true_false_are_defined == 1 ? 1 : -1]; + char d[(bool) 0.5 == true ? 1 : -1]; + /* See body of main program for 'e'. */ + char f[(_Bool) 0.0 == false ? 1 : -1]; + char g[true]; + char h[sizeof (_Bool)]; + char i[sizeof s.t]; + enum { j = false, k = true, l = false * true, m = true * 256 }; + /* The following fails for + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ + _Bool n[m]; + char o[sizeof n == m * sizeof n[0] ? 1 : -1]; + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; + /* Catch a bug in an HP-UX C compiler. See + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html + */ + _Bool q = true; + _Bool *pq = &q; + +int +main () +{ + + bool e = &s; + *pq |= q; + *pq |= ! q; + /* Refer to every declared value, to avoid compiler optimizations. */ + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + + !m + !n + !o + !p + !q + !pq); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdbool_h=yes +else + ac_cv_header_stdbool_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 +$as_echo "$ac_cv_header_stdbool_h" >&6; } + ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" +if test "x$ac_cv_type__Bool" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE__BOOL 1 +_ACEOF + + +fi + + + +# Checks for library functions. +for ac_header in stdlib.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" +if test "x$ac_cv_header_stdlib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STDLIB_H 1 +_ACEOF + +fi + +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 +$as_echo_n "checking for GNU libc compatible malloc... " >&6; } +if ${ac_cv_func_malloc_0_nonnull+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_func_malloc_0_nonnull=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined STDC_HEADERS || defined HAVE_STDLIB_H +# include +#else +char *malloc (); +#endif + +int +main () +{ +return ! malloc (0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_malloc_0_nonnull=yes +else + ac_cv_func_malloc_0_nonnull=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 +$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } +if test $ac_cv_func_malloc_0_nonnull = yes; then : + +$as_echo "#define HAVE_MALLOC 1" >>confdefs.h + +else + $as_echo "#define HAVE_MALLOC 0" >>confdefs.h + + case " $LIBOBJS " in + *" malloc.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS malloc.$ac_objext" + ;; +esac + + +$as_echo "#define malloc rpl_malloc" >>confdefs.h + +fi + + +for ac_header in stdlib.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" +if test "x$ac_cv_header_stdlib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STDLIB_H 1 +_ACEOF + +fi + +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 +$as_echo_n "checking for GNU libc compatible realloc... " >&6; } +if ${ac_cv_func_realloc_0_nonnull+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_func_realloc_0_nonnull=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined STDC_HEADERS || defined HAVE_STDLIB_H +# include +#else +char *realloc (); +#endif + +int +main () +{ +return ! realloc (0, 0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_realloc_0_nonnull=yes +else + ac_cv_func_realloc_0_nonnull=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 +$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } +if test $ac_cv_func_realloc_0_nonnull = yes; then : + +$as_echo "#define HAVE_REALLOC 1" >>confdefs.h + +else + $as_echo "#define HAVE_REALLOC 0" >>confdefs.h + + case " $LIBOBJS " in + *" realloc.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS realloc.$ac_objext" + ;; +esac + + +$as_echo "#define realloc rpl_realloc" >>confdefs.h + +fi + + +for ac_func in alarm gettimeofday sqrt strchr strdup strstr strtol +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +ac_config_files="$ac_config_files Makefile src/Makefile src/Pixmaps/Makefile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by xsnow $as_me 2.0.9, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +xsnow config.status 2.0.9 +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "src/Pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/Pixmaps/Makefile" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + # TODO: see whether this extra hack can be removed once we start + # requiring Autoconf 2.70 or later. + case $CONFIG_FILES in #( + *\'*) : + eval set x "$CONFIG_FILES" ;; #( + *) : + set x $CONFIG_FILES ;; #( + *) : + ;; +esac + shift + # Used to flag and report bootstrapping failures. + am_rc=0 + for am_mf + do + # Strip MF so we end up with the name of the file. + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile which includes + # dependency-tracking related rules and includes. + # Grep'ing the whole file directly is not great: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ + || continue + am_dirpart=`$as_dirname -- "$am_mf" || +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$am_mf" : 'X\(//\)[^/]' \| \ + X"$am_mf" : 'X\(//\)$' \| \ + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$am_mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + am_filepart=`$as_basename -- "$am_mf" || +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ + X"$am_mf" : 'X\(//\)$' \| \ + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$am_mf" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { echo "$as_me:$LINENO: cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles" >&5 + (cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } || am_rc=$? + done + if test $am_rc -ne 0; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "Something went wrong bootstrapping makefile fragments + for automatic dependency tracking. Try re-running configure with the + '--disable-dependency-tracking' option to at least be able to build + the package (albeit without support for automatic dependency tracking). +See \`config.log' for more details" "$LINENO" 5; } + fi + { am_dirpart=; unset am_dirpart;} + { am_filepart=; unset am_filepart;} + { am_mf=; unset am_mf;} + { am_rc=; unset am_rc;} + rm -f conftest-deps.mk +} + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + diff -Nru xsnow-1.42/configure.ac xsnow-2.0.9/configure.ac --- xsnow-1.42/configure.ac 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/configure.ac 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,67 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. +# +# -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# + +AC_PREREQ([2.69]) +AC_INIT([xsnow], [2.0.9], [wvermin@gmail.com]) +AC_CONFIG_SRCDIR([src/xsnow.h]) +AC_CONFIG_HEADERS([config.h]) +AM_INIT_AUTOMAKE +./prevent-remakes +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + +# Checks for programs. +AC_PROG_CC +AC_PROG_INSTALL + +# Checks for libraries. +# FIXME: Replace `main' with a function in `-lX11': +AC_CHECK_LIB([X11], [XOpenDisplay], [],[ + echo "libX11 is required" + exit -1]) +AC_CHECK_LIB([Xpm], [XpmCreatePixmapFromData], [], AC_MSG_ERROR([Exiting])) +# FIXME: Replace `main' with a function in `-lm': +AC_CHECK_LIB([m], [sin], [], [ + echo "libm is required" + exit -1]) + +# Checks for header files. +AC_PATH_X +AC_CHECK_HEADERS([stdlib.h string.h sys/time.h unistd.h math.h],[],AC_MSG_ERROR([Exiting])) +AC_CHECK_HEADERS([signal.h stdlib.h assert.h],[],AC_MSG_ERROR([Exiting])) +AC_CHECK_HEADERS([X11/Xlib.h X11/Intrinsic.h X11/Xutil.h X11/Xos.h X11/xpm.h],[],AC_MSG_ERROR([Exiting])) + +PKG_CHECK_MODULES(XML, [libxml-2.0]) +PKG_CHECK_MODULES(GTK, [gtk+-3.0 gmodule-2.0]) +PKG_CHECK_MODULES(DBUS, [dbus-1]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_TYPE_SIZE_T +AC_CHECK_HEADER_STDBOOL + +# Checks for library functions. +AC_FUNC_MALLOC +AC_FUNC_REALLOC +AC_CHECK_FUNCS([alarm gettimeofday sqrt strchr strdup strstr strtol]) + +AC_CONFIG_FILES([Makefile src/Makefile] src/Pixmaps/Makefile) +AC_OUTPUT diff -Nru xsnow-1.42/COPYING xsnow-2.0.9/COPYING --- xsnow-1.42/COPYING 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/COPYING 2019-05-04 13:24:04.000000000 +0000 @@ -0,0 +1,622 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. 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 +them 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 prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. 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. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If 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 convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU 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 that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + 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. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +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. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + diff -Nru xsnow-1.42/copyright.inc xsnow-2.0.9/copyright.inc --- xsnow-1.42/copyright.inc 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/copyright.inc 2019-05-11 02:10:28.000000000 +0000 @@ -0,0 +1,18 @@ +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# diff -Nru xsnow-1.42/debian/changelog xsnow-2.0.9/debian/changelog --- xsnow-1.42/debian/changelog 2018-04-03 12:53:05.000000000 +0000 +++ xsnow-2.0.9/debian/changelog 2019-09-24 19:30:27.000000000 +0000 @@ -1,3 +1,21 @@ +xsnow (1:2.0.9-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * No-change rebuild to allow testing migration. + + -- Boyuan Yang Tue, 24 Sep 2019 15:30:27 -0400 + +xsnow (1:2.0.9-1) unstable; urgency=low + + * New upstream release + * New maintainer (Closes: #931349) + * Changed Standards-Version: 4.4.0 + * Rewrote packaging + * Changed non-free -> main + * Bump debhelper compat level to 12. + + -- Willem Vermin Fri, 19 Jul 2019 14:59:21 +0200 + xsnow (1:1.42-9build1) bionic; urgency=high * No change rebuild to pick up -fPIE compiler default @@ -62,7 +80,7 @@ * Change subsection to x11/games -- Cai Qian Sat, 29 Dec 2005 22:33:08 +0000 - + xsnow (1:1.42-5xmas) unstable; urgency=low * Xmas version. @@ -77,7 +95,7 @@ * Remove hard coding postrm, prerm and postinst scripts. -- Cai Qian Thu, 22 Dec 2005 17:37:08 +0000 - + xsnow (1:1.42-3) unstable; urgency=low * Wrote README.Debian including some FAQs related to xsnow on KDE. @@ -89,7 +107,7 @@ * Used vroot.h from xscreensaver 4.23. -- Cai Qian Sun, 06 Nov 2005 11:03:00 +0000 - + xsnow (1:1.42-1) unstable; urgency=low * New maintainer. (Closes: #329485) diff -Nru xsnow-1.42/debian/compat xsnow-2.0.9/debian/compat --- xsnow-1.42/debian/compat 2012-03-05 00:50:34.000000000 +0000 +++ xsnow-2.0.9/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -7 diff -Nru xsnow-1.42/debian/control xsnow-2.0.9/debian/control --- xsnow-1.42/debian/control 2018-04-03 12:53:05.000000000 +0000 +++ xsnow-2.0.9/debian/control 2019-07-19 12:59:21.000000000 +0000 @@ -1,15 +1,14 @@ Source: xsnow -Section: non-free/games +Section: games Priority: optional -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Martin Lazar -Build-Depends: debhelper (>= 7), libx11-dev, libxext-dev, libxpm-dev, libxt-dev, xutils-dev -Standards-Version: 3.9.3 -XS-Autobuild: yes +Maintainer: Willem Vermin +Build-Depends: debhelper (>= 11), libx11-dev, libxpm-dev, libxt-dev, pkg-config, libxml2-dev,libgtk-3-dev, debhelper-compat (=12) +Standards-Version: 4.4.0 Package: xsnow Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, procps +Depends: ${shlibs:Depends}, ${misc:Depends} Description: brings Christmas to your desktop Xsnow is a X Window application that will snow on the desktop background. Santa and his reindeer will complete your festive-season feeling. + Xsnow runs in GNOME, KDE, FVWM and desktops that are derived from those. diff -Nru xsnow-1.42/debian/copyright xsnow-2.0.9/debian/copyright --- xsnow-1.42/debian/copyright 2012-03-05 00:50:34.000000000 +0000 +++ xsnow-2.0.9/debian/copyright 2019-05-15 06:52:18.000000000 +0000 @@ -1,25 +1,25 @@ -This is a Debian prepackaged version of xsnow. - -This package was put together by Joey Hess and later -maintained by Martin Schulze , Adrian Bunk , -Randall Donald , and Cai Qian . Current -maintained by Martin Lazar . - -It was downloaded from http://dropmix.xs4all.nl/rick/Xsnow/ - -This package is not part of Debian main because its license only allows -modifications for the purpose of packaging but not arbitrary modifications. - -Copyright: - - Copyright 1984, 1988, 1990, 1993-1995, 2000-2001 by Rick Jansen, all rights - reserved. - - This means Xsnow is available freely and you may give it to other - people as is, but I retain all rights. Therefore it does not classify - as 'Public Domain' software. It *is* allowed to package Xsnow for - Unix/Linux distributions, CD-Roms etc, and to make the necessary - changes to makefiles etc. to facilitate this. - - Permission to use and distribute Robin Hogan's toon_root.c under the terms - of the xsnow license when used as part of xsnow has been obtained. +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gnome-terminal +Source: https://download.gnome.org/sources/gnome-terminal/ + +Files: * +Copyright: 1993-2001 Rick Jansen + 2019 Willem Vermin +License: GPL-3+ + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in "/usr/share/common-licenses/GPL-3". File /tmp/tmp9X6VOL/lL6o6kXD4r/xsnow-1.42/debian/docs is a regular file while file /tmp/tmp9X6VOL/2s4GFEDwIH/xsnow-2.0.9/debian/docs is a directory diff -Nru xsnow-1.42/debian/menu xsnow-2.0.9/debian/menu --- xsnow-1.42/debian/menu 2012-03-05 00:50:34.000000000 +0000 +++ xsnow-2.0.9/debian/menu 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -?package(xsnow): needs="X11" section="Games/Toys" \ - title="Xsnow - Start" command="xsnow" -?package(xsnow): needs="X11" section="Games/Toys" \ - title="Xsnow - Stop" command="skill -c xsnow" diff -Nru xsnow-1.42/debian/patches/01_fixoptions.patch xsnow-2.0.9/debian/patches/01_fixoptions.patch --- xsnow-1.42/debian/patches/01_fixoptions.patch 2012-03-05 00:58:03.000000000 +0000 +++ xsnow-2.0.9/debian/patches/01_fixoptions.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,45 +0,0 @@ -Author: -Description: -nokeepsnow will not update screen if there are expose events. ie. after -start xsnow, move away a window, the snow will not show on the area of -previous window. - --nokeepsnowonwindows will cause snow erased on the bottom of screen as -well. ---- a/xsnow.c -+++ b/xsnow.c -@@ -653,7 +653,7 @@ - if (stilltddr) { - stilltddr = !DDLT(); - } -- if (!NoKeepSnow) { -+ - switch (ev.type) { - case Expose: - #if debug -@@ -746,7 +746,7 @@ - } - } - -- } -+ - #if debug - #endif - uSsleep(snowDelay); -@@ -1362,8 +1362,6 @@ - XOffsetRegion(rscrr, 0,MaxYStep+MaxSnowFlakeHeight); - XSubtractRegion(Wr,rscrr, rscrr); - if (NoKeepSWin) { -- XDestroyRegion(snscr); -- snscr = XCreateRegion(); - return; - } - XUnionRegion(rscrr,snscr, snscr); -@@ -1378,7 +1376,7 @@ - XOffsetRegion(sar, 0,-MaxWinSnowDepth); - XSubtractRegion(sar,Wr, sar); - } -- if (!NoKeepSWin) { -+ if (!NoKeepSBot) { - AllowRect.x = 0; - AllowRect.y = display_height - MaxScrSnowDepth; - AllowRect.width = display_width - 1; diff -Nru xsnow-1.42/debian/patches/02_manpage.patch xsnow-2.0.9/debian/patches/02_manpage.patch --- xsnow-1.42/debian/patches/02_manpage.patch 2012-03-05 01:48:23.000000000 +0000 +++ xsnow-2.0.9/debian/patches/02_manpage.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -Author: -Description: New patch generated from xsnow 1.42-7 diff.gz ---- a/xsnow.man -+++ b/xsnow.man -@@ -1,4 +1,4 @@ --.TH XSNOW 1 "Release 6" "X Version 11" -+.TH XSNOW 6 "Release 6" "X Version 11" - .SH NAME - xsnow \- let it snow on your desktop and windows - .SH SYNOPSIS diff -Nru xsnow-1.42/debian/patches/03_Imakefile.patch xsnow-2.0.9/debian/patches/03_Imakefile.patch --- xsnow-1.42/debian/patches/03_Imakefile.patch 2012-03-05 01:48:31.000000000 +0000 +++ xsnow-2.0.9/debian/patches/03_Imakefile.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -Author: -Description: New patch generated from xsnow 1.42-7 diff.gz ---- a/Imakefile -+++ b/Imakefile -@@ -1,4 +1,4 @@ --SYS_LIBRARIES = -lm -lXpm -+SYS_LIBRARIES = -lXpm - LOCAL_LIBRARIES = $(XLIB) - DEPLIBS = $(DEPXLIB) - SRCS = xsnow.c toon_root.c xsnow.h vroot.h diff -Nru xsnow-1.42/debian/patches/04_vroot.patch xsnow-2.0.9/debian/patches/04_vroot.patch --- xsnow-1.42/debian/patches/04_vroot.patch 2012-03-05 00:58:05.000000000 +0000 +++ xsnow-2.0.9/debian/patches/04_vroot.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,93 +0,0 @@ -Author: -Description: Used vroot.h from xscreensaver 4.23. ---- a/vroot.h -+++ b/vroot.h -@@ -1,3 +1,4 @@ -+/* -*- Mode: C; tab-width: 2 -*- */ - /*****************************************************************************/ - /** Copyright 1991 by Andreas Stolcke **/ - /** Copyright 1990 by Solbourne Computer Inc. **/ -@@ -52,13 +53,29 @@ - * - replaced all NULL's with properly cast 0's, 5/6/91 - * - free children list (suggested by Mark Martin ), 5/16/91 - * - include X11/Xlib.h and support RootWindowOfScreen, too 9/17/91 -+ * -+ * Jamie Zawinski , 28-Apr-1997 -+ * - use ANSI C -+ * -+ * Jamie Zawinski , 3-Sep-2003 -+ * - if the environment variable "XSCREENSAVER_WINDOW" is set, use that -+ * as the root window instead of searching for __SWM_VROOT. -+ * -+ * Jamie Zawinski , 14-Aug-2004 -+ * - changes to get gcc to stop whining about "type punning". -+ * -+ * Jamie Zawinski , 16-Dec-2004 -+ * - fixed that last fix. - */ - - #ifndef _VROOT_H_ - #define _VROOT_H_ -+#define _XSCREENSAVER_VROOT_H_ - - #if !defined(lint) && !defined(SABER) --static char vroot_rcsid[] = "$Id: vroot.h,v 1.4 1991/09/30 19:23:16 stolcke Exp stolcke $"; -+static const char vroot_rcsid[] = -+ "#Id: vroot.h,v 1.8 2004/12/16 05:33:54 jwz Exp #" "\n" -+ "#Id: vroot.h,v 1.4 1991/09/30 19:23:16 stolcke Exp stolcke #"; - #endif - - #include -@@ -66,8 +83,11 @@ - #include - - static Window --VirtualRootWindowOfScreen(screen) -- Screen *screen; -+#ifdef __STDC__ /* ANSIfication added by jwz, to avoid superfluous warnings. */ -+VirtualRootWindowOfScreen(Screen *screen) -+#else /* !__STDC__ */ -+VirtualRootWindowOfScreen(screen) Screen *screen; -+#endif /* !__STDC__ */ - { - static Screen *save_screen = (Screen *)0; - static Window root = (Window)0; -@@ -79,6 +99,19 @@ - Window rootReturn, parentReturn, *children; - unsigned int numChildren; - -+ /* first check for a hex or decimal window ID in the environment */ -+ const char *xss_id = getenv("XSCREENSAVER_WINDOW"); -+ if (xss_id && *xss_id) { -+ unsigned long id = 0; -+ char c; -+ if (1 == sscanf (xss_id, " 0x%lx %c", &id, &c) || -+ 1 == sscanf (xss_id, " %lu %c", &id, &c)) { -+ root = (Window) id; -+ save_screen = screen; -+ return root; -+ } -+ } -+ - root = RootWindowOfScreen(screen); - - /* go look for a virtual root */ -@@ -89,15 +122,15 @@ - Atom actual_type; - int actual_format; - unsigned long nitems, bytesafter; -- Window *newRoot = (Window *)0; -+ unsigned char *newRoot = 0; - - if (XGetWindowProperty(dpy, children[i], - __SWM_VROOT, 0, 1, False, XA_WINDOW, - &actual_type, &actual_format, - &nitems, &bytesafter, -- (unsigned char **) &newRoot) == Success -+ &newRoot) == Success - && newRoot) { -- root = *newRoot; -+ root = *((Window *) newRoot); - break; - } - } diff -Nru xsnow-1.42/debian/patches/05_hyphen-used-as-minus-sign.patch xsnow-2.0.9/debian/patches/05_hyphen-used-as-minus-sign.patch --- xsnow-1.42/debian/patches/05_hyphen-used-as-minus-sign.patch 2012-03-05 01:49:34.000000000 +0000 +++ xsnow-2.0.9/debian/patches/05_hyphen-used-as-minus-sign.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,265 +0,0 @@ -Author: -Description: Escape hyphens in manual page ---- a/xsnow.man -+++ b/xsnow.man -@@ -3,111 +3,111 @@ - xsnow \- let it snow on your desktop and windows - .SH SYNOPSIS - .B xsnow --[-option .,..] -+[\-option .,..] - .SH DESCRIPTION - Xsnow lets it snow on your desktop and windows (sic!). - .SH OPTIONS - .TP 8 ---display display_name -+\-display display_name - Drop the snowflakes on the given display. Make sure the display is nearby, - so you can hear them enjoy... - .TP 8 ---snowflakes num_snowflakes -+\-snowflakes num_snowflakes - This is the number of snowflakes. Default is 100, max is 1000. - .TP 8 ---sc snowflake_color -+\-sc snowflake_color - Use the given string as the color for the flakes instead of the default "snow". - .TP 8 ---bg background_color -+\-bg background_color - Use the given string as the color for the background. Note that the usual - default desktop pattern consisting of 50% white 50% black doesn't - particularly look good with Xsnow. - .TP 8 ---solidbg -+\-solidbg - When using solid colored backgrounds specifying this option MAY greatly - improve performance. (Not on SUN Solaris 2.5.1 for example!) - .TP 8 ---tc tree_color -+\-tc tree_color - Use the given string as the color for the trees. - .TP 8 ---slc sleigh_color -+\-slc sleigh_color - This option is obsolete in version 1.41. - Used to be the color for the sleigh. Santa has decided not to have you - interfere with the color of his means of transportation any more. - .TP 8 ---santa santa_size -+\-santa santa_size - There are 3 sizes of Santa: 0, 1 and 2. Default is 2. Thanks to Thomas - Linder for the (big) Santa! - .TP 8 ---santaspeed santa_speed -+\-santaspeed santa_speed - The speed Santa should not exceed if he doesn't want to get fined. - The default speed for Santa size 0 is 1, for Santa 1 it's 2 and for - Big Santa it's 4. - .TP 8 ---santaupdatefactor factor -+\-santaupdatefactor factor - This is to slow down Santa with respect to the snow. Default the value - is 3, meaning that Santa is moved only every third time the snow flakes - move. Specifying zero here is considered very naughty. - .TP 8 ---delay delay -+\-delay delay - This is the number of milliseconds delay after updating everything. - Default is 50 milliseconds, i.e. 20 updates per second max. - .TP 8 ---unsmooth -+\-unsmooth - .br - If you specify this option the snowflakes will 'whirl' more dramatically, - resulting in a somewhat jerkier movement. - .TP 8 ---whirl -+\-whirl - This sets the whirl factor, i.e. the maximum adjustment of the horizontal - speed. The default value is 4. - .TP 8 ---nowind --Default it gets windy now and then. If you prefer it quiet specify -nowind. -+\-nowind -+Default it gets windy now and then. If you prefer it quiet specify \-nowind. - .TP 8 ---windtimer period --With -windtimer you can specify how often it gets windy. It's sort of a -+\-windtimer period -+With \-windtimer you can specify how often it gets windy. It's sort of a - period in seconds, default value is 30. - .TP 8 ---xspeed -yspeed -+\-xspeed \-yspeed - These options set the maximum horizontal and vertical speed. The default X - maximum speed is 4, the default maximum Y speed is 8. - .TP 8 ---wsnowdepth -ssnowdepth -+\-wsnowdepth \-ssnowdepth - This sets the maximum thickness of the snow on top of windows and - at the bottom of the display respectively. The default snowdepth for - windows is 15, at the bottom of the screen the default is 50. - .TP 8 ---offset --With -offset you can specify that snow starts building up a number of -+\-offset -+With \-offset you can specify that snow starts building up a number of - pixels lower or higher. This is handy if you use twm and squeezed window - titles. - .TP 8 ---notrees -+\-notrees - Do not display the trees. - .TP 8 ---nosanta -+\-nosanta - Do not display Santa Claus running all over the screen. - .TP 8 ---norudolf -+\-norudolf - No Rudolf. - .TP 8 ---nokeepsnow -+\-nokeepsnow - Do not have snow sticking anywhere. - .TP 8 ---nokeepsnowonwindows -+\-nokeepsnowonwindows - Do not keep snow on top of the windows. - .TP 8 ---nokeepsnowonscreen -+\-nokeepsnowonscreen - Do not keep snow at the bottom of the screen. - .TP 8 ---nonopopup --Xsnow takes care to not let it snow on Pop-up windows, due to their -+\-nonopopup -+Xsnow takes care to not let it snow on Pop\-up windows, due to their - nature. If however, you use an Xserver that has backing store on for - all windows, then specify this option. Symptom would be that no snow - is kept on any window, but only at the screen bottom. - .TP 8 ---version -+\-version - Prints the current Xsnow version and does not start Xsnow. - The current version (of this man page) is 1.42, December 14th 2001 - .SH EXAMPLES -@@ -118,30 +118,30 @@ - .TP 8 - xsnow& - (Mind the empersand) Starts xsnow as a background process. Use this if you start xsnow from --a script. To stop xsnow find the process id (pid) as follows: ps -ef|grep xsnow -+a script. To stop xsnow find the process id (pid) as follows: ps \-ef|grep xsnow - and use the kill command to stop xsnow. - .TP 8 --xsnow -bg SkyBlue3 -sc snow -+xsnow \-bg SkyBlue3 \-sc snow - .br - Sets the background to a bluish color and lets it snow white. - .TP 8 --xsnow -ssnowdepth 100 -+xsnow \-ssnowdepth 100 - Starts with a thin layer of snow that gradually builds up at the bottom - of the screen. - .TP 8 --xsnow -santa 2 -santaspeed 10 -+xsnow \-santa 2 \-santaspeed 10 - Gives you the biggest Santa at a speed that is hardly legal. - .TP 8 --xsnow -delay 100 -notrees -+xsnow \-delay 100 \-notrees - For slow systems use longer delay and don't draw the trees. - .TP 8 --xsnow -snowflakes 1000 -delay 0 -+xsnow \-snowflakes 1000 \-delay 0 - .br - Uses the maximum number of snowflakes and runs as fast as possible. - .TP 8 --xsnow -bg SkyBlue3 -solidbg -+xsnow \-bg SkyBlue3 \-solidbg - .br --Sets the background to a bluish color and specify -solidbg for increased -+Sets the background to a bluish color and specify \-solidbg for increased - performance (depending on your system!). - .SH FILES - See /usr/lib/X11/rgb.txt for the list of colors and their respective -@@ -153,12 +153,12 @@ - .br - WWW: http://www.euronet.nl/~rja/ - .SH COPYRIGHT --Copyright 1984,1988,1990,1993-1995,2000-2001 by Rick Jansen (rja@euronet.nl) -+Copyright 1984,1988,1990,1993\-1995,2000\-2001 by Rick Jansen (rja@euronet.nl) - - Xsnow is available freely and you may give it to other people as is, - but I retain all rights. Therefore it does not classify as 'Public - Domain' software. However, it *is* allowed to package Xsnow for Unix/Linux --distributions, CD-Roms etc, and to make the necessary changes to -+distributions, CD\-Roms etc, and to make the necessary changes to - makefiles etc. to facilitate this. - - .SH CREDITS -@@ -183,7 +183,7 @@ - and/or network quite substantially. Use less snowflakes and a bigger delay - in such a case. On a standalone workstation there usually will not be - be any problem. Another improvement can be to specify a solid background --color with -bg and with this also specify the option -solidbg. This may -+color with \-bg and with this also specify the option \-solidbg. This may - greatly improve performance! DO check this though, on some systems (SUN - Solaris 2.5.1) performance is much WORSE. - -@@ -204,20 +204,20 @@ - /usr/lib/desktop/telldesktop quit - - The icons will disappear and Xsnow will work perfectly. To restart the --desktop just start /usr/lib/desktop/startdesktop or select Desktop->Home -+desktop just start /usr/lib/desktop/startdesktop or select Desktop\->Home - Directory from the toolchest. - --It's even possible to have both - desktop icons and xsnow (and even -+It's even possible to have both \- desktop icons and xsnow (and even - multiple desks). You need to modify the window manager's resource file --4DWm, the file ~/.desktop-`hostname`/4DWm. Example: -+4DWm, the file ~/.desktop\-`hostname`/4DWm. Example: - --*Global.backgroundDescription: -execute /etc/killall -TERM xsnow ; -+*Global.backgroundDescription: \-execute /etc/killall \-TERM xsnow ; - /usr/local/bin/xsnow - .br --*Desk 1.backgroundDescription: -execute /etc/killall -TERM xsnow ; -+*Desk 1.backgroundDescription: \-execute /etc/killall \-TERM xsnow ; - /usr/local/bin/xsnow - .br --*Desk 2.backgroundDescription: -execute /etc/killall -TERM xsnow ; -+*Desk 2.backgroundDescription: \-execute /etc/killall \-TERM xsnow ; - /usr/local/bin/xsnow - .br - -@@ -225,7 +225,7 @@ - appear. What this does is stop the currently running Xsnow and start - a new one when you switch to another desktop. - --.B HP and hp-ux -+.B HP and hp\-ux - .br - HP also uses a Workspace Manager which may interfere with Xsnow. - If Xsnow does not appear: -@@ -234,15 +234,15 @@ - - .B Snow does not stick? - .br --On black-and-white X terminals snow may not stick to windows because --backing store is on. Try specifying the option -nonopopup when -+On black\-and\-white X terminals snow may not stick to windows because -+backing store is on. Try specifying the option \-nonopopup when - starting Xsnow. - - .B Snow hovering above windows? - .br - If you use twm it is possible you see the snow layer hovering a little - bit above your windows. In that case set BorderWidth 0 in your .twmrc --file. If you use windows with 'squeezed title bars' specify a -offset to -+file. If you use windows with 'squeezed title bars' specify a \-offset to - get the snow on the windows itself. - .SH "SEE ALSO" - snowplough(1), your_travel_agent(1) diff -Nru xsnow-1.42/debian/patches/06_bts-568687_fix_react_to_resolution_change.patch xsnow-2.0.9/debian/patches/06_bts-568687_fix_react_to_resolution_change.patch --- xsnow-1.42/debian/patches/06_bts-568687_fix_react_to_resolution_change.patch 2012-03-05 01:51:08.000000000 +0000 +++ xsnow-2.0.9/debian/patches/06_bts-568687_fix_react_to_resolution_change.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,345 +0,0 @@ -Author: Adrian -List of changes: - -* to make xsnow aware of screen resolution changes: -[to see this bug with the original version: xrandr to a lower resolution; -launch xsnow; wait for some snow to accumulate at the bottom; switch -back to higher resolution: the bottom snow now accumulates at the -coordinate of the former display height, somewhere in mid-air] - -- moved some display-size-dependent initalisation code from main() to - new function prepare(), which is then invoked at every display size - change -- make the main event loop listen to StructureNotify masked events, so - that changes in root window size generate a ConfigureNotify event -- call prepare() from within the main event loop on - ConfigureNotify events where display size has changed - -* to erase bottom snow when full-screen app quits: -[to see this bug with the original version: launch xsnow and wait for -some snow to accumulate on bottom and/or windows (use -snowflakes 1000 -to wait less long...); start full-screen app (e.g. "mplayer -fs -somemovie.avi") and quit it: the snow has disappeared because of the -resulting redraw, but xsnow still thinks there are thick layers of -snow around. Flakes falling through these layers produce strange -trails of free-standing snow...] - -- modified the tests that MWR() uses to skip over some child windows. - These tests in particular would skip over any child window with the - top at y=0, such as full-screen-windows. Now skip only completely - invisible windows. - -* to make xsnow's memory of accumulated snow match full background - window redraws in the absence of child window changes (such as - occuring when switching VT or waking from suspend) -[to see bug with the original version: same procedure as for -full-screen-app bug, but switch to console and back to X11 instead -of launching fs-app. Same observation.] - -- immediately subtract newly exposed areas from the accumulated snow - region snscr (in the main event loop) -- as this places some additional load on the machine when windows are - moved around (was not able to measure the real impact reliably), - added "#define CLEANONEXPOSE 1" to xsnow.h and added preprocessor - instructions around the code in xsnow.c to conditionnally compile - according to the value of CLEANONEXPOSE in xsnow.h - -* other minor changes - -- removed declaration unused variable current_snow_height -- added a few comments here and there while figuring out xsnow's inner - workings -- corrected what seems like a typo: in MASR(), part of the code should - clearly depend on NoKeepSBot, not on NoKeepSWin; has no - effect in practice because snscr (initialised with the same code - without typo) is merged into sar afterwards. ---- a/xsnow.c -+++ b/xsnow.c -@@ -198,6 +198,10 @@ - 14DEC2001 KDE and other root window obstructors: sub borrowed from - xpenguins 2.2 to find the current "root" window for this system. - Credit to Robin Hogan -+ -+ 05FEB2010 Now reacts to a change of its root window size (e.g. mode -+ changes through xrandr) and erases bottom snow when full-screen-app -+ quits. [Adrian Daerr, no rights claimed on contribution - public domain] - */ - - #define debug 0 -@@ -211,7 +215,7 @@ - Xsnow dos mil - etc. - */ --#define VERSION "Xsnow-1.42, December 14th 2001 by Rick Jansen (rja@euronet.nl)\n\ -+#define VERSION "Xsnow-1.42resizeable, December 14th 2001 by Rick Jansen (rja@euronet.nl)\n\ - WWW: http://www.euronet.nl/~rja/Xsnow/\n" - - #ifdef VMS -@@ -315,7 +319,6 @@ - int wind = 0; - int direction=0; - int WindTimer=30; --int current_snow_height; - int geta=0; - XRectangle AddRect; - unsigned int RunCounter = 0; -@@ -324,6 +327,7 @@ - void Usage(); - void SigHandler(); - void SigHupHandler(); -+void prepare(int,int); - void InitSnowflake(); - void UpdateSnowflake(); - void DrawSnowflake(); -@@ -555,15 +559,6 @@ - rootWin = ToonGetRootWindow(display, screen, &Parent); - black = BlackPixel(display, screen); - white = WhitePixel(display, screen); -- display_width = DisplayWidth(display, screen); -- display_height = DisplayHeight(display, screen); -- center_x = display_width / 2; -- center_y = display_height / 2; -- current_snow_height = display_height; -- if (MaxScrSnowDepth> (display_height-SNOWFREE)) { -- printf("** Maximum snow depth set to %d\n", display_height-SNOWFREE); -- MaxScrSnowDepth = display_height-SNOWFREE; -- } - for (flake=0; flake<=SNOWFLAKEMAXTYPE; flake++) { - rp = &snowPix[flake]; - rp->pixmap = XCreateBitmapFromData(display, rootWin, -@@ -620,29 +615,9 @@ - XSetForeground(display,TreesGC,trPix); - XSetFillStyle(display, TreesGC, FillStippled); - -- -- -- -- Wr = XCreateRegion(); -- PrevWr = XCreateRegion(); -- snscr = XCreateRegion(); -- sar = XCreateRegion(); -- WDR = XCreateRegion(); -- CDR = XCreateRegion(); -- rscrr = XCreateRegion(); -- AddRect.x = 0; -- AddRect.y = display_height; -- AddRect.width = display_width - 1; -- AddRect.height = MaxYStep+MaxSnowFlakeHeight; -- if (!NoKeepSBot) -- XUnionRectWithRegion(&AddRect, snscr, snscr); -- for (i=0; i (display_height-SNOWFREE)) { -+ printf("** Maximum snow depth set to %d\n", display_height-SNOWFREE); -+ MaxScrSnowDepth = display_height-SNOWFREE; -+ } -+ AddRect.x = 0; -+ AddRect.y = display_height; -+ AddRect.width = display_width - 1; -+ AddRect.height = MaxYStep+MaxSnowFlakeHeight; -+ if (!NoKeepSBot) -+ XUnionRectWithRegion(&AddRect, snscr, snscr); -+ for (i=0; i (recy + height)) return 0; - return 1; - } -- -+ - void - InitSnowflake(rx) - int rx; -@@ -1028,6 +1074,8 @@ - False); - } - } -+ -+/* unused (see changelog 20DEC93) */ - void - PaintSnowAtBottom(depth) - int depth; -@@ -1329,10 +1377,7 @@ - &winWidth, &winHeight, &borderWidth, &depth); - /*if (winWidth == 1280) continue; /* debug */ - #if debug -- printf("\nw x:%d y:%d w:%d h:%d - bw:%d d:%d \n", winX,winY,winWidth,winHeight,borderWidth,depth); -- #endif -- #if debug -- printf("MakeWrx: (x;%d\ty:%d\tx+w%d\ty+h%d)\tbw:%d d:%d\n", -+ printf("MakeWr: x=%d\ty=%d\tx+w=%d\ty+h=%d,\tbw:%d depth:%d\n", - winX,winY,winX+winWidth,winY+winHeight,borderWidth,depth); - #endif - if (errorVal) continue; -@@ -1340,11 +1385,17 @@ - WinRect.y = winY; - WinRect.height = winHeight + 2*borderWidth; - WinRect.width = winWidth + 2*borderWidth; -+ // zap invisible windows - if (WinRect.x >= display_width) continue; - if (WinRect.y >= display_height) continue; -- if (WinRect.y <= 0) continue; -- if ((WinRect.x + WinRect.width) < 0) continue; -+ if (WinRect.y < 0) continue; -+ if ((WinRect.x + WinRect.width) <= 0) continue; - XUnionRectWithRegion(&WinRect,Wr, Wr); -+ #if debug -+ XClipBox( Wr, &WinRect ); -+ printf("Wr now: x=%d\ty=%d\tx+w=%d\ty+h=%d\n", -+ WinRect.x,WinRect.y,WinRect.x+WinRect.width,WinRect.y+WinRect.height); -+ #endif - } - } - XFree((char *)children); -@@ -1355,6 +1406,8 @@ - #endif - return 1; - } -+/** add to the region snscr strips of height -+ MaxYStep+MaxSnowFlakeHeight below every window-top */ - void RCSR() { - XDestroyRegion(rscrr); - rscrr = XCreateRegion(); -@@ -1367,6 +1420,7 @@ - XUnionRegion(rscrr,snscr, snscr); - if (SnowOffset != 0) XOffsetRegion(snscr,0,SnowOffset); - } -+/** create region 'sar' where snow may accumulate */ - void MASR() { - XRectangle AllowRect; - XDestroyRegion(sar); -@@ -1434,6 +1488,8 @@ - #endif - return 1; - } -+/** clear a given rectangle and remove it (plus margins related to -+ flake-size and snow-movement) from the snow-region snscr */ - void HEAr(int X,int Y,int W, int H) { - int AddX,AddY; - int ClearX, ClearY; ---- a/xsnow.h -+++ b/xsnow.h -@@ -9,6 +9,10 @@ - #define INITIALSCRPAINTSNOWDEPTH 8 /* Painted in advance */ - #define INITSCRSNOWDEPTH 50 /* Will build up to INITSCRSNOWDEPTH */ - #define SNOWFREE 25 /* Must stay snowfree on display :) */ -+#define CLEANONEXPOSE 1 /* clean memory of accumulated snow on expose -+ events without window change (e.g. VT -+ switching); increases server burden -+ during window movements */ - - /* ------------------------------------------------------------------ */ - diff -Nru xsnow-1.42/debian/patches/series xsnow-2.0.9/debian/patches/series --- xsnow-1.42/debian/patches/series 2012-03-05 01:38:39.000000000 +0000 +++ xsnow-2.0.9/debian/patches/series 2017-01-12 14:57:16.000000000 +0000 @@ -1,6 +0,0 @@ -01_fixoptions.patch -02_manpage.patch -03_Imakefile.patch -04_vroot.patch -05_hyphen-used-as-minus-sign.patch -06_bts-568687_fix_react_to_resolution_change.patch diff -Nru xsnow-1.42/debian/README.Debian xsnow-2.0.9/debian/README.Debian --- xsnow-1.42/debian/README.Debian 2012-03-05 00:50:34.000000000 +0000 +++ xsnow-2.0.9/debian/README.Debian 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -Note on xsnow in KDE - -If there is no snow in your KDE, please follow the intructions below. - -Right-click on your desktop and select Configure Desktop from the popup -menu. When the dialog box appears, click on the Behavior icon in the left hand -side bar. A three tabbed window will appear on the right hand side. Look near -the top on the General tab and you'll see check box with the words "Allow -programs in desktop window" (see the image below). Click that check box, then -click the OK button. - -Xsnow will wash away your icons in KDE. That is the normal behaviour. Please -see manpage for further information. - - -- Cai Qian Thu, 08 Dec 2005 18:01:00 +0000 diff -Nru xsnow-1.42/debian/rules xsnow-2.0.9/debian/rules --- xsnow-1.42/debian/rules 2012-03-05 01:04:31.000000000 +0000 +++ xsnow-2.0.9/debian/rules 2019-05-14 11:26:44.000000000 +0000 @@ -1,80 +1,9 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. -# -# Copyright (C) 2005 Cai Qian (caiqian@debian.org) -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -DESTDIR=$(CURDIR)/debian/xsnow -BINDIR=/usr/games -MANPATH=/usr/share/man - - -CFLAGS = -Wall -g - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - -build: build-arch build-indep -build-arch: build-stamp -build-indep: build-stamp -build-stamp: - dh_testdir - - xmkmf - $(MAKE) depend - $(MAKE) CDEBUGFLAGS="$(CFLAGS)" - - touch build-stamp - -clean: - dh_testdir - dh_testroot - dh_clean - - xmkmf - $(MAKE) clean - rm Makefile - -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs - - $(MAKE) BINDIR=$(BINDIR) MANPATH=$(MANPATH) DESTDIR=$(DESTDIR) install - -binary-indep: build install -# There are no architecture-independent files. - -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installmenu - dh_installman xsnow.man - dh_lintian - dh_link - dh_strip - dh_compress - dh_fixperms - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +%: + dh $@ diff -Nru xsnow-1.42/debian/tests/control xsnow-2.0.9/debian/tests/control --- xsnow-1.42/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian/tests/control 2019-05-15 07:38:28.000000000 +0000 @@ -0,0 +1,3 @@ +Tests: + test1.sh + test2.sh diff -Nru xsnow-1.42/debian/tests/test1.sh xsnow-2.0.9/debian/tests/test1.sh --- xsnow-1.42/debian/tests/test1.sh 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian/tests/test1.sh 2019-07-19 12:59:21.000000000 +0000 @@ -0,0 +1,26 @@ +#!/bin/sh +# -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# + +XSNOW=xsnow +if [ $(basename `pwd`) = "src" ]; then + XSNOW=./xsnow +fi +$XSNOW -h | grep -q -i xsnow diff -Nru xsnow-1.42/debian/tests/test2.sh xsnow-2.0.9/debian/tests/test2.sh --- xsnow-1.42/debian/tests/test2.sh 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian/tests/test2.sh 2019-07-19 12:59:21.000000000 +0000 @@ -0,0 +1,33 @@ +#!/bin/sh +# -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# + +XSNOW=xsnow +if [ $(basename `pwd`) = "src" ]; then + XSNOW=./xsnow +fi +if [ "$DISPLAY" ] ; then + $XSNOW -stopafter 3 + if [ "$?" -ne 0 ]; then + exit 77 + fi +else + exit 0 +fi diff -Nru xsnow-1.42/debian/watch xsnow-2.0.9/debian/watch --- xsnow-1.42/debian/watch 2012-03-05 00:50:34.000000000 +0000 +++ xsnow-2.0.9/debian/watch 2019-07-18 13:00:53.000000000 +0000 @@ -1,2 +1,3 @@ -version=3 -http://dropmix.xs4all.nl/rick/Xsnow/xsnow-(.*)\.tar\.gz +version=4 + +http://sf.net/xsnow/ xsnow-(.*)\.tar\.gz debian uupdate diff -Nru xsnow-1.42/debian/xsnow.lintian-overrides xsnow-2.0.9/debian/xsnow.lintian-overrides --- xsnow-1.42/debian/xsnow.lintian-overrides 2012-03-05 01:51:36.000000000 +0000 +++ xsnow-2.0.9/debian/xsnow.lintian-overrides 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -# we depend on procps -xsnow: menu-command-not-in-package usr/share/menu/xsnow:4 skill - diff -Nru xsnow-1.42/debian.disco/changelog xsnow-2.0.9/debian.disco/changelog --- xsnow-1.42/debian.disco/changelog 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian.disco/changelog 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,204 @@ +xsnow (1:2.0.9-1) unstable; urgency=low + + * New upstream release + * Changed Standards-Version: 4.3.0 + * Bump debhelper compat level to 11. + + -- Willem Vermin Fri, 19 Jul 2019 15:22:19 +0200 + +xsnow (1:1.42-9build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:53:05 +0000 + +xsnow (1:1.42-9) unstable; urgency=low + + * Switch to dpkg-source 3.0 (quilt) format + * Fixed lintian warnings: + - debian-rules-missing-recommended-target build-arch + - debian-rules-missing-recommended-target build-indep + - dh-clean-k-is-deprecated + - hyphen-used-as-minus-sign + * Fix react to resolution change (Closes: #568687) + * debian/control: + + Added XS-Autobuild: yes + + Bump Standards-Version to 3.9.3 + + Uncapitalize the short description + + -- Martin Lazar Mon, 05 Mar 2012 01:57:31 +0100 + +xsnow (1:1.42-8) unstable; urgency=low + + * Adopting package (Closes: #476129) + * debian/control + - set myself as maintainer + - bump Standards-Version to 3.8.0 + * debian/copyright + - set myself as maintainer + * fix lintian warning patch-system-but-direct-changes-in-diff + - add file debian/patches/02_manpage.dpatch + - add file debian/patches/03_Imakefile.dpatch + * debian/patches/vroot.h => debian/patches/04_vroot.dpatch + - convert direct copy of the file to dpatch + * debian/rules + - clean target: remove Makefile - it is automaticaly generated + - use dpatch.make (simplify the rules file) + + -- Martin Lazar Tue, 28 Oct 2008 20:57:49 +0100 + +xsnow (1:1.42-7) unstable; urgency=low + + * QA upload. + + Set maintainer to QA group. + * Replace xutils with xutils-dev in Build-Depends. + * Explain in debian/copyright that and why this package is + in non-free. + * Add lintian override for menu-command-not-in-package + and for hyphen-used-as-minus-sign. Use dh_lintian + to install it. + * Bump debhelper compat level to 7. + * Fix handling of CFLAGS and remove unused -lm. + + -- Frank Lichtenheld Wed, 06 Aug 2008 15:51:01 -0300 + +xsnow (1:1.42-6) unstable; urgency=low + + * Add {misc:Depends} + * Patch broken -nokeepsnowonwindows and -nokeepsnow options + * Improve menu + * Change subsection to x11/games + + -- Cai Qian Sat, 29 Dec 2005 22:33:08 +0000 + +xsnow (1:1.42-5xmas) unstable; urgency=low + + * Xmas version. + * Adjust debian/rules to make package cleaner and simpler. + + -- Cai Qian Sat, 24 Dec 2005 13:55:08 +0000 + +xsnow (1:1.42-4) unstable; urgency=low + + * Fix typos in README.Debian and debian/control. + * Rewrite debian/rules to use debhelper (>= 5). + * Remove hard coding postrm, prerm and postinst scripts. + + -- Cai Qian Thu, 22 Dec 2005 17:37:08 +0000 + +xsnow (1:1.42-3) unstable; urgency=low + + * Wrote README.Debian including some FAQs related to xsnow on KDE. + + -- Cai Qian Thu, 08 Dec 2005 18:01:00 +0000 + +xsnow (1:1.42-2) unstable; urgency=low + + * Used vroot.h from xscreensaver 4.23. + + -- Cai Qian Sun, 06 Nov 2005 11:03:00 +0000 + +xsnow (1:1.42-1) unstable; urgency=low + + * New maintainer. (Closes: #329485) + * New upstream release. (Closes: #224077, #283390) + * Used jwz's vroot.h that uses env XSCREENSAVER_WINDOW. + * Menu file goes to /usr/share/menu + * xsnow.man - belongs to section 6. + * Depended on psmisc, as menu file uses "killall". + * debian/copyright - fixed GPLed toon_root.c issue. + * debian/rules - fixed FSF address. + * debian/watch - Added watch file. + + -- Cai Qian Sat, 05 Nov 2005 14:56:00 +0000 + +xsnow (1:1.41-2) unstable; urgency=high + + * Re-upload of 1.41 due to GPL violation in 1.42. The code to find the + correct root window in 1.42 is taken from xpenguin and licenced under the + GPL. Sorry KDE and GNOME users. Hopefully this is temporary. (closes: #250689) + * Fix menu. + * Change Build-deps to reflect Xfree86 4.3 packaging. + + -- Randall Donald Mon, 24 May 2004 12:24:55 -0700 + +xsnow (1.42-4) unstable; urgency=low + + * Use jwz's vroot.h that uses env XSCREENSAVER_WINDOW (closes: #217700) + + -- Randall Donald Tue, 4 Nov 2003 18:42:14 -0800 + +xsnow (1.42-3) unstable; urgency=low + + * New maintainer. (closes #130848) + + -- Randall Donald Fri, 25 Jan 2002 18:52:16 -0800 + +xsnow (1.42-2) unstable; urgency=low + + * Orphaned this package. + + -- Adrian Bunk Fri, 25 Jan 2002 14:00:24 +0100 + +xsnow (1.42-1) unstable; urgency=high + + * New upstream release. + - xsnow does now work better with transparent windows. + (closes: #51180) + + -- Adrian Bunk Wed, 9 Jan 2002 08:59:54 +0100 + +xsnow (1.41-1) unstable; urgency=low + + * New maintainer. + * New upstream release. This release fixes the following bugs: + - The "-nokeepsnowonscreen" option is now working. (closes: #6896) + - xsnow clears snow pileup but doesn't reset "streaking" level + (closes: #13269) + * Added "-isp" to dpkg-gencontrol in debian/rules. + * /usr/doc -> /usr/share/doc (closes: #91731) + * /usr/X11R6/man -> /usr/share/man + * /usr/X11R6/bin -> /usr/bin + * Added build dependencies. + * Standards-Version: 3.1.1 + + -- Adrian Bunk Sat, 14 Apr 2001 20:15:43 +0200 + +xsnow (1.40-6) unstable; urgency=low + + * Improved description, "stolen" from Anselm Lingnau + + -- Martin Schulze Wed, 9 Dec 1998 23:39:10 +0100 + +xsnow (1.40-5) frozen unstable; urgency=low + + * Added Section: non-free/x11 (closes: Bug#14946, Bug#15347) + * New authors address in copyright file + + -- Martin Schulze Wed, 25 Mar 1998 01:16:18 +0100 + +xsnow (1.40-4) frozen unstable; urgency=low + + * New maintainer + * Pristine source + * Converted to my own packaging rules + + -- Martin Schulze Tue, 24 Mar 1998 01:06:20 +0100 + +xsnow (1.40-3) unstable; urgency=low + + * Non-maintainer release to fix broken man page permissions. + + -- Joey Hess Wed, 10 Sep 1997 18:59:49 -0400 + +xsnow (1.40-2) unstable; urgency=low + + * Non-maintainer release. (Ignore previous upload of this same version, + it was made in error.) + * New source format and general package reworking. Fixes #4281, #6076, + #9546 + * Moved man page to section 6. + * Added a menu file. + * Libc6. + + -- Joey Hess Wed, 10 Sep 1997 00:36:40 -0400 diff -Nru xsnow-1.42/debian.disco/compat xsnow-2.0.9/debian.disco/compat --- xsnow-1.42/debian.disco/compat 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian.disco/compat 2019-06-04 10:02:53.000000000 +0000 @@ -0,0 +1 @@ +11 diff -Nru xsnow-1.42/debian.disco/control xsnow-2.0.9/debian.disco/control --- xsnow-1.42/debian.disco/control 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian.disco/control 2019-06-04 10:02:53.000000000 +0000 @@ -0,0 +1,14 @@ +Source: xsnow +Section: games +Priority: optional +Maintainer: Willem Vermin +Build-Depends: debhelper (>= 11), libx11-dev, libxpm-dev, libxt-dev, pkg-config, libxml2-dev,libgtk-3-dev +Standards-Version: 4.3.0 + +Package: xsnow +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: brings Christmas to your desktop + Xsnow is a X Window application that will snow on the desktop background. + Santa and his reindeer will complete your festive-season feeling. + Xsnow runs in GNOME, KDE, FVWM and desktops that are derived from those. diff -Nru xsnow-1.42/debian.sid/changelog xsnow-2.0.9/debian.sid/changelog --- xsnow-1.42/debian.sid/changelog 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian.sid/changelog 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,207 @@ +xsnow (1:2.0.9-1) unstable; urgency=low + + * New upstream release + * New maintainer (Closes: #931349) + * Changed Standards-Version: 4.4.0 + * Rewrote packaging + * Changed non-free -> main + * Bump debhelper compat level to 12. + + -- Willem Vermin Fri, 19 Jul 2019 15:22:19 +0200 + +xsnow (1:1.42-9build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:53:05 +0000 + +xsnow (1:1.42-9) unstable; urgency=low + + * Switch to dpkg-source 3.0 (quilt) format + * Fixed lintian warnings: + - debian-rules-missing-recommended-target build-arch + - debian-rules-missing-recommended-target build-indep + - dh-clean-k-is-deprecated + - hyphen-used-as-minus-sign + * Fix react to resolution change (Closes: #568687) + * debian/control: + + Added XS-Autobuild: yes + + Bump Standards-Version to 3.9.3 + + Uncapitalize the short description + + -- Martin Lazar Mon, 05 Mar 2012 01:57:31 +0100 + +xsnow (1:1.42-8) unstable; urgency=low + + * Adopting package (Closes: #476129) + * debian/control + - set myself as maintainer + - bump Standards-Version to 3.8.0 + * debian/copyright + - set myself as maintainer + * fix lintian warning patch-system-but-direct-changes-in-diff + - add file debian/patches/02_manpage.dpatch + - add file debian/patches/03_Imakefile.dpatch + * debian/patches/vroot.h => debian/patches/04_vroot.dpatch + - convert direct copy of the file to dpatch + * debian/rules + - clean target: remove Makefile - it is automaticaly generated + - use dpatch.make (simplify the rules file) + + -- Martin Lazar Tue, 28 Oct 2008 20:57:49 +0100 + +xsnow (1:1.42-7) unstable; urgency=low + + * QA upload. + + Set maintainer to QA group. + * Replace xutils with xutils-dev in Build-Depends. + * Explain in debian/copyright that and why this package is + in non-free. + * Add lintian override for menu-command-not-in-package + and for hyphen-used-as-minus-sign. Use dh_lintian + to install it. + * Bump debhelper compat level to 7. + * Fix handling of CFLAGS and remove unused -lm. + + -- Frank Lichtenheld Wed, 06 Aug 2008 15:51:01 -0300 + +xsnow (1:1.42-6) unstable; urgency=low + + * Add {misc:Depends} + * Patch broken -nokeepsnowonwindows and -nokeepsnow options + * Improve menu + * Change subsection to x11/games + + -- Cai Qian Sat, 29 Dec 2005 22:33:08 +0000 + +xsnow (1:1.42-5xmas) unstable; urgency=low + + * Xmas version. + * Adjust debian/rules to make package cleaner and simpler. + + -- Cai Qian Sat, 24 Dec 2005 13:55:08 +0000 + +xsnow (1:1.42-4) unstable; urgency=low + + * Fix typos in README.Debian and debian/control. + * Rewrite debian/rules to use debhelper (>= 5). + * Remove hard coding postrm, prerm and postinst scripts. + + -- Cai Qian Thu, 22 Dec 2005 17:37:08 +0000 + +xsnow (1:1.42-3) unstable; urgency=low + + * Wrote README.Debian including some FAQs related to xsnow on KDE. + + -- Cai Qian Thu, 08 Dec 2005 18:01:00 +0000 + +xsnow (1:1.42-2) unstable; urgency=low + + * Used vroot.h from xscreensaver 4.23. + + -- Cai Qian Sun, 06 Nov 2005 11:03:00 +0000 + +xsnow (1:1.42-1) unstable; urgency=low + + * New maintainer. (Closes: #329485) + * New upstream release. (Closes: #224077, #283390) + * Used jwz's vroot.h that uses env XSCREENSAVER_WINDOW. + * Menu file goes to /usr/share/menu + * xsnow.man - belongs to section 6. + * Depended on psmisc, as menu file uses "killall". + * debian/copyright - fixed GPLed toon_root.c issue. + * debian/rules - fixed FSF address. + * debian/watch - Added watch file. + + -- Cai Qian Sat, 05 Nov 2005 14:56:00 +0000 + +xsnow (1:1.41-2) unstable; urgency=high + + * Re-upload of 1.41 due to GPL violation in 1.42. The code to find the + correct root window in 1.42 is taken from xpenguin and licenced under the + GPL. Sorry KDE and GNOME users. Hopefully this is temporary. (closes: #250689) + * Fix menu. + * Change Build-deps to reflect Xfree86 4.3 packaging. + + -- Randall Donald Mon, 24 May 2004 12:24:55 -0700 + +xsnow (1.42-4) unstable; urgency=low + + * Use jwz's vroot.h that uses env XSCREENSAVER_WINDOW (closes: #217700) + + -- Randall Donald Tue, 4 Nov 2003 18:42:14 -0800 + +xsnow (1.42-3) unstable; urgency=low + + * New maintainer. (closes #130848) + + -- Randall Donald Fri, 25 Jan 2002 18:52:16 -0800 + +xsnow (1.42-2) unstable; urgency=low + + * Orphaned this package. + + -- Adrian Bunk Fri, 25 Jan 2002 14:00:24 +0100 + +xsnow (1.42-1) unstable; urgency=high + + * New upstream release. + - xsnow does now work better with transparent windows. + (closes: #51180) + + -- Adrian Bunk Wed, 9 Jan 2002 08:59:54 +0100 + +xsnow (1.41-1) unstable; urgency=low + + * New maintainer. + * New upstream release. This release fixes the following bugs: + - The "-nokeepsnowonscreen" option is now working. (closes: #6896) + - xsnow clears snow pileup but doesn't reset "streaking" level + (closes: #13269) + * Added "-isp" to dpkg-gencontrol in debian/rules. + * /usr/doc -> /usr/share/doc (closes: #91731) + * /usr/X11R6/man -> /usr/share/man + * /usr/X11R6/bin -> /usr/bin + * Added build dependencies. + * Standards-Version: 3.1.1 + + -- Adrian Bunk Sat, 14 Apr 2001 20:15:43 +0200 + +xsnow (1.40-6) unstable; urgency=low + + * Improved description, "stolen" from Anselm Lingnau + + -- Martin Schulze Wed, 9 Dec 1998 23:39:10 +0100 + +xsnow (1.40-5) frozen unstable; urgency=low + + * Added Section: non-free/x11 (closes: Bug#14946, Bug#15347) + * New authors address in copyright file + + -- Martin Schulze Wed, 25 Mar 1998 01:16:18 +0100 + +xsnow (1.40-4) frozen unstable; urgency=low + + * New maintainer + * Pristine source + * Converted to my own packaging rules + + -- Martin Schulze Tue, 24 Mar 1998 01:06:20 +0100 + +xsnow (1.40-3) unstable; urgency=low + + * Non-maintainer release to fix broken man page permissions. + + -- Joey Hess Wed, 10 Sep 1997 18:59:49 -0400 + +xsnow (1.40-2) unstable; urgency=low + + * Non-maintainer release. (Ignore previous upload of this same version, + it was made in error.) + * New source format and general package reworking. Fixes #4281, #6076, + #9546 + * Moved man page to section 6. + * Added a menu file. + * Libc6. + + -- Joey Hess Wed, 10 Sep 1997 00:36:40 -0400 diff -Nru xsnow-1.42/debian.sid/control xsnow-2.0.9/debian.sid/control --- xsnow-1.42/debian.sid/control 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian.sid/control 2019-07-19 13:08:39.000000000 +0000 @@ -0,0 +1,14 @@ +Source: xsnow +Section: games +Priority: optional +Maintainer: Willem Vermin +Build-Depends: debhelper (>= 11), libx11-dev, libxpm-dev, libxt-dev, pkg-config, libxml2-dev,libgtk-3-dev, debhelper-compat (=12) +Standards-Version: 4.4.0 + +Package: xsnow +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: brings Christmas to your desktop + Xsnow is a X Window application that will snow on the desktop background. + Santa and his reindeer will complete your festive-season feeling. + Xsnow runs in GNOME, KDE, FVWM and desktops that are derived from those. diff -Nru xsnow-1.42/debian.stretch/changelog xsnow-2.0.9/debian.stretch/changelog --- xsnow-1.42/debian.stretch/changelog 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian.stretch/changelog 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,204 @@ +xsnow (1:2.0.9-1) unstable; urgency=low + + * New upstream release + * Changed Standards-Version: 3.9.8 + * Bump debhelper compat level to 9. + + -- Willem Vermin Fri, 19 Jul 2019 15:22:19 +0200 + +xsnow (1:1.42-9build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:53:05 +0000 + +xsnow (1:1.42-9) unstable; urgency=low + + * Switch to dpkg-source 3.0 (quilt) format + * Fixed lintian warnings: + - debian-rules-missing-recommended-target build-arch + - debian-rules-missing-recommended-target build-indep + - dh-clean-k-is-deprecated + - hyphen-used-as-minus-sign + * Fix react to resolution change (Closes: #568687) + * debian/control: + + Added XS-Autobuild: yes + + Bump Standards-Version to 3.9.3 + + Uncapitalize the short description + + -- Martin Lazar Mon, 05 Mar 2012 01:57:31 +0100 + +xsnow (1:1.42-8) unstable; urgency=low + + * Adopting package (Closes: #476129) + * debian/control + - set myself as maintainer + - bump Standards-Version to 3.8.0 + * debian/copyright + - set myself as maintainer + * fix lintian warning patch-system-but-direct-changes-in-diff + - add file debian/patches/02_manpage.dpatch + - add file debian/patches/03_Imakefile.dpatch + * debian/patches/vroot.h => debian/patches/04_vroot.dpatch + - convert direct copy of the file to dpatch + * debian/rules + - clean target: remove Makefile - it is automaticaly generated + - use dpatch.make (simplify the rules file) + + -- Martin Lazar Tue, 28 Oct 2008 20:57:49 +0100 + +xsnow (1:1.42-7) unstable; urgency=low + + * QA upload. + + Set maintainer to QA group. + * Replace xutils with xutils-dev in Build-Depends. + * Explain in debian/copyright that and why this package is + in non-free. + * Add lintian override for menu-command-not-in-package + and for hyphen-used-as-minus-sign. Use dh_lintian + to install it. + * Bump debhelper compat level to 7. + * Fix handling of CFLAGS and remove unused -lm. + + -- Frank Lichtenheld Wed, 06 Aug 2008 15:51:01 -0300 + +xsnow (1:1.42-6) unstable; urgency=low + + * Add {misc:Depends} + * Patch broken -nokeepsnowonwindows and -nokeepsnow options + * Improve menu + * Change subsection to x11/games + + -- Cai Qian Sat, 29 Dec 2005 22:33:08 +0000 + +xsnow (1:1.42-5xmas) unstable; urgency=low + + * Xmas version. + * Adjust debian/rules to make package cleaner and simpler. + + -- Cai Qian Sat, 24 Dec 2005 13:55:08 +0000 + +xsnow (1:1.42-4) unstable; urgency=low + + * Fix typos in README.Debian and debian/control. + * Rewrite debian/rules to use debhelper (>= 5). + * Remove hard coding postrm, prerm and postinst scripts. + + -- Cai Qian Thu, 22 Dec 2005 17:37:08 +0000 + +xsnow (1:1.42-3) unstable; urgency=low + + * Wrote README.Debian including some FAQs related to xsnow on KDE. + + -- Cai Qian Thu, 08 Dec 2005 18:01:00 +0000 + +xsnow (1:1.42-2) unstable; urgency=low + + * Used vroot.h from xscreensaver 4.23. + + -- Cai Qian Sun, 06 Nov 2005 11:03:00 +0000 + +xsnow (1:1.42-1) unstable; urgency=low + + * New maintainer. (Closes: #329485) + * New upstream release. (Closes: #224077, #283390) + * Used jwz's vroot.h that uses env XSCREENSAVER_WINDOW. + * Menu file goes to /usr/share/menu + * xsnow.man - belongs to section 6. + * Depended on psmisc, as menu file uses "killall". + * debian/copyright - fixed GPLed toon_root.c issue. + * debian/rules - fixed FSF address. + * debian/watch - Added watch file. + + -- Cai Qian Sat, 05 Nov 2005 14:56:00 +0000 + +xsnow (1:1.41-2) unstable; urgency=high + + * Re-upload of 1.41 due to GPL violation in 1.42. The code to find the + correct root window in 1.42 is taken from xpenguin and licenced under the + GPL. Sorry KDE and GNOME users. Hopefully this is temporary. (closes: #250689) + * Fix menu. + * Change Build-deps to reflect Xfree86 4.3 packaging. + + -- Randall Donald Mon, 24 May 2004 12:24:55 -0700 + +xsnow (1.42-4) unstable; urgency=low + + * Use jwz's vroot.h that uses env XSCREENSAVER_WINDOW (closes: #217700) + + -- Randall Donald Tue, 4 Nov 2003 18:42:14 -0800 + +xsnow (1.42-3) unstable; urgency=low + + * New maintainer. (closes #130848) + + -- Randall Donald Fri, 25 Jan 2002 18:52:16 -0800 + +xsnow (1.42-2) unstable; urgency=low + + * Orphaned this package. + + -- Adrian Bunk Fri, 25 Jan 2002 14:00:24 +0100 + +xsnow (1.42-1) unstable; urgency=high + + * New upstream release. + - xsnow does now work better with transparent windows. + (closes: #51180) + + -- Adrian Bunk Wed, 9 Jan 2002 08:59:54 +0100 + +xsnow (1.41-1) unstable; urgency=low + + * New maintainer. + * New upstream release. This release fixes the following bugs: + - The "-nokeepsnowonscreen" option is now working. (closes: #6896) + - xsnow clears snow pileup but doesn't reset "streaking" level + (closes: #13269) + * Added "-isp" to dpkg-gencontrol in debian/rules. + * /usr/doc -> /usr/share/doc (closes: #91731) + * /usr/X11R6/man -> /usr/share/man + * /usr/X11R6/bin -> /usr/bin + * Added build dependencies. + * Standards-Version: 3.1.1 + + -- Adrian Bunk Sat, 14 Apr 2001 20:15:43 +0200 + +xsnow (1.40-6) unstable; urgency=low + + * Improved description, "stolen" from Anselm Lingnau + + -- Martin Schulze Wed, 9 Dec 1998 23:39:10 +0100 + +xsnow (1.40-5) frozen unstable; urgency=low + + * Added Section: non-free/x11 (closes: Bug#14946, Bug#15347) + * New authors address in copyright file + + -- Martin Schulze Wed, 25 Mar 1998 01:16:18 +0100 + +xsnow (1.40-4) frozen unstable; urgency=low + + * New maintainer + * Pristine source + * Converted to my own packaging rules + + -- Martin Schulze Tue, 24 Mar 1998 01:06:20 +0100 + +xsnow (1.40-3) unstable; urgency=low + + * Non-maintainer release to fix broken man page permissions. + + -- Joey Hess Wed, 10 Sep 1997 18:59:49 -0400 + +xsnow (1.40-2) unstable; urgency=low + + * Non-maintainer release. (Ignore previous upload of this same version, + it was made in error.) + * New source format and general package reworking. Fixes #4281, #6076, + #9546 + * Moved man page to section 6. + * Added a menu file. + * Libc6. + + -- Joey Hess Wed, 10 Sep 1997 00:36:40 -0400 diff -Nru xsnow-1.42/debian.stretch/compat xsnow-2.0.9/debian.stretch/compat --- xsnow-1.42/debian.stretch/compat 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian.stretch/compat 2019-06-04 11:57:48.000000000 +0000 @@ -0,0 +1 @@ +9 diff -Nru xsnow-1.42/debian.stretch/control xsnow-2.0.9/debian.stretch/control --- xsnow-1.42/debian.stretch/control 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/debian.stretch/control 2019-06-04 11:58:21.000000000 +0000 @@ -0,0 +1,14 @@ +Source: xsnow +Section: games +Priority: optional +Maintainer: Willem Vermin +Build-Depends: debhelper (>= 9), libx11-dev, libxpm-dev, libxt-dev, pkg-config, libxml2-dev,libgtk-3-dev +Standards-Version: 3.9.8 + +Package: xsnow +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: brings Christmas to your desktop + Xsnow is a X Window application that will snow on the desktop background. + Santa and his reindeer will complete your festive-season feeling. + Xsnow runs in GNOME, KDE, FVWM and desktops that are derived from those. diff -Nru xsnow-1.42/depcomp xsnow-2.0.9/depcomp --- xsnow-1.42/depcomp 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/depcomp 2019-07-19 13:22:22.000000000 +0000 @@ -0,0 +1,791 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2018-03-07.03; # UTC + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva . + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputting dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +# Get the directory component of the given path, and save it in the +# global variables '$dir'. Note that this directory component will +# be either empty or ending with a '/' character. This is deliberate. +set_dir_from () +{ + case $1 in + */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; + *) dir=;; + esac +} + +# Get the suffix-stripped basename of the given path, and save it the +# global variable '$base'. +set_base_from () +{ + base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` +} + +# If no dependency file was actually created by the compiler invocation, +# we still have to create a dummy depfile, to avoid errors with the +# Makefile "include basename.Plo" scheme. +make_dummy_depfile () +{ + echo "#dummy" > "$depfile" +} + +# Factor out some common post-processing of the generated depfile. +# Requires the auxiliary global variable '$tmpdepfile' to be set. +aix_post_process_depfile () +{ + # If the compiler actually managed to produce a dependency file, + # post-process it. + if test -f "$tmpdepfile"; then + # Each line is of the form 'foo.o: dependency.h'. + # Do two passes, one to just change these to + # $object: dependency.h + # and one to simply output + # dependency.h: + # which is needed to avoid the deleted-header problem. + { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" + sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" + } > "$depfile" + rm -f "$tmpdepfile" + else + make_dummy_depfile + fi +} + +# A tabulation character. +tab=' ' +# A newline character. +nl=' +' +# Character ranges might be problematic outside the C locale. +# These definitions help. +upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ +lower=abcdefghijklmnopqrstuvwxyz +digits=0123456789 +alpha=${upper}${lower} + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Avoid interferences from the environment. +gccflag= dashmflag= + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvisualcpp +fi + +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + +if test "$depmode" = xlc; then + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. + gccflag=-qmakedep=gcc,-MF + depmode=gcc +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. +## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. +## (see the conditional assignment to $gccflag above). +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). Also, it might not be +## supported by the other compilers which use the 'gcc' depmode. +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The second -e expression handles DOS-style file names with drive + # letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the "deleted header file" problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. +## Some versions of gcc put a space before the ':'. On the theory +## that the space means something, we add a space to the output as +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like '#:fec' to the end of the + # dependency line. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ + | tr "$nl" ' ' >> "$depfile" + echo >> "$depfile" + # The second pass generates a dummy entry for each header file. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" + ;; + +xlc) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts '$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + aix_post_process_depfile + ;; + +tcc) + # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 + # FIXME: That version still under development at the moment of writing. + # Make that this statement remains true also for stable, released + # versions. + # It will wrap lines (doesn't matter whether long or short) with a + # trailing '\', as in: + # + # foo.o : \ + # foo.c \ + # foo.h \ + # + # It will put a trailing '\' even on the last line, and will use leading + # spaces rather than leading tabs (at least since its commit 0394caf7 + # "Emit spaces for -MD"). + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. + # We have to change lines of the first kind to '$object: \'. + sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" + # And for each line of the second kind, we have to emit a 'dep.h:' + # dummy dependency, to avoid the deleted-header problem. + sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" + rm -f "$tmpdepfile" + ;; + +## The order of this option in the case statement is important, since the +## shell code in configure will try each of these formats in the order +## listed in this file. A plain '-MD' option would be understood by many +## compilers, so we must ensure this comes after the gcc and icc options. +pgcc) + # Portland's C compiler understands '-MD'. + # Will always output deps to 'file.d' where file is the root name of the + # source file under compilation, even if file resides in a subdirectory. + # The object file name does not affect the name of the '.d' file. + # pgcc 10.2 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using '\' : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + set_dir_from "$object" + # Use the source, not the object, to determine the base name, since + # that's sadly what pgcc will do too. + set_base_from "$source" + tmpdepfile=$base.d + + # For projects that build the same source file twice into different object + # files, the pgcc approach of using the *source* file root name can cause + # problems in parallel builds. Use a locking strategy to avoid stomping on + # the same $tmpdepfile. + lockdir=$base.d-lock + trap " + echo '$0: caught signal, cleaning up...' >&2 + rmdir '$lockdir' + exit 1 + " 1 2 13 15 + numtries=100 + i=$numtries + while test $i -gt 0; do + # mkdir is a portable test-and-set. + if mkdir "$lockdir" 2>/dev/null; then + # This process acquired the lock. + "$@" -MD + stat=$? + # Release the lock. + rmdir "$lockdir" + break + else + # If the lock is being held by a different process, wait + # until the winning process is done or we timeout. + while test -d "$lockdir" && test $i -gt 0; do + sleep 1 + i=`expr $i - 1` + done + fi + i=`expr $i - 1` + done + trap - 1 2 13 15 + if test $i -le 0; then + echo "$0: failed to acquire lock after $numtries attempts" >&2 + echo "$0: check lockdir '$lockdir'" >&2 + exit 1 + fi + + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" + # Add 'dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in 'foo.d' instead, so we check for that too. + # Subdirectories are respected. + set_dir_from "$object" + set_base_from "$object" + + if test "$libtool" = yes; then + # Libtool generates 2 separate objects for the 2 libraries. These + # two compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir$base.o.d # libtool 1.5 + tmpdepfile2=$dir.libs/$base.o.d # Likewise. + tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + # Same post-processing that is required for AIX mode. + aix_post_process_depfile + ;; + +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/'"$tab"'\1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/'"$tab"'/ + G + p +}' >> "$depfile" + echo >> "$depfile" # make sure the fragment doesn't end with a backslash + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for ':' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. + "$@" $dashmflag | + sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this sed invocation + # correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no eat=no + for arg + do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + if test $eat = yes; then + eat=no + continue + fi + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix=`echo "$object" | sed 's/^.*\././'` + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process the last invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed '1,2d' "$tmpdepfile" \ + | tr ' ' "$nl" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E \ + | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + | sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + IFS=" " + for arg + do + case "$arg" in + -o) + shift + ;; + $object) + shift + ;; + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" + echo "$tab" >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff -Nru xsnow-1.42/dependencies xsnow-2.0.9/dependencies --- xsnow-1.42/dependencies 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/dependencies 2019-05-13 14:34:25.000000000 +0000 @@ -0,0 +1,6 @@ +libx11-dev +libxpm-dev +libxt-dev +pkg-config +libxml2-dev +libgtk-3-dev diff -Nru xsnow-1.42/getversion xsnow-2.0.9/getversion --- xsnow-1.42/getversion 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/getversion 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,21 @@ +#!/bin/bash +# -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +grep -w VERSION src/version.h | awk '{print $3}' | tr -d '"' diff -Nru xsnow-1.42/Imakefile xsnow-2.0.9/Imakefile --- xsnow-1.42/Imakefile 2001-12-15 23:11:23.000000000 +0000 +++ xsnow-2.0.9/Imakefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,7 +0,0 @@ -SYS_LIBRARIES = -lm -lXpm -LOCAL_LIBRARIES = $(XLIB) -DEPLIBS = $(DEPXLIB) -SRCS = xsnow.c toon_root.c xsnow.h vroot.h -OBJS = xsnow.o toon_root.o - -ComplexProgramTarget(xsnow) diff -Nru xsnow-1.42/INSTALL xsnow-2.0.9/INSTALL --- xsnow-1.42/INSTALL 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/INSTALL 2019-07-19 13:22:22.000000000 +0000 @@ -0,0 +1,368 @@ +Installation Instructions +************************* + + Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software +Foundation, Inc. + + Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. This file is offered as-is, +without warranty of any kind. + +Basic Installation +================== + + Briefly, the shell command './configure && make && make install' +should configure, build, and install this package. The following +more-detailed instructions are generic; see the 'README' file for +instructions specific to this package. Some packages provide this +'INSTALL' file but do not implement all of the features documented +below. The lack of an optional feature in a given package is not +necessarily a bug. More recommendations for GNU packages can be found +in *note Makefile Conventions: (standards)Makefile Conventions. + + The 'configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a 'Makefile' in each directory of the package. +It may also create one or more '.h' files containing system-dependent +definitions. Finally, it creates a shell script 'config.status' that +you can run in the future to recreate the current configuration, and a +file 'config.log' containing compiler output (useful mainly for +debugging 'configure'). + + It can also use an optional file (typically called 'config.cache' and +enabled with '--cache-file=config.cache' or simply '-C') that saves the +results of its tests to speed up reconfiguring. Caching is disabled by +default to prevent problems with accidental use of stale cache files. + + If you need to do unusual things to compile the package, please try +to figure out how 'configure' could check whether to do them, and mail +diffs or instructions to the address given in the 'README' so they can +be considered for the next release. If you are using the cache, and at +some point 'config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file 'configure.ac' (or 'configure.in') is used to create +'configure' by a program called 'autoconf'. You need 'configure.ac' if +you want to change it or regenerate 'configure' using a newer version of +'autoconf'. + + The simplest way to compile this package is: + + 1. 'cd' to the directory containing the package's source code and type + './configure' to configure the package for your system. + + Running 'configure' might take a while. While running, it prints + some messages telling which features it is checking for. + + 2. Type 'make' to compile the package. + + 3. Optionally, type 'make check' to run any self-tests that come with + the package, generally using the just-built uninstalled binaries. + + 4. Type 'make install' to install the programs and any data files and + documentation. When installing into a prefix owned by root, it is + recommended that the package be configured and built as a regular + user, and only the 'make install' phase executed with root + privileges. + + 5. Optionally, type 'make installcheck' to repeat any self-tests, but + this time using the binaries in their final installed location. + This target does not install anything. Running this target as a + regular user, particularly if the prior 'make install' required + root privileges, verifies that the installation completed + correctly. + + 6. You can remove the program binaries and object files from the + source code directory by typing 'make clean'. To also remove the + files that 'configure' created (so you can compile the package for + a different kind of computer), type 'make distclean'. There is + also a 'make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + + 7. Often, you can also type 'make uninstall' to remove the installed + files again. In practice, not all packages have tested that + uninstallation works correctly, even though it is required by the + GNU Coding Standards. + + 8. Some packages, particularly those that use Automake, provide 'make + distcheck', which can by used by developers to test that all other + targets like 'make install' and 'make uninstall' work correctly. + This target is generally not run by end users. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the 'configure' script does not know about. Run './configure --help' +for details on some of the pertinent environment variables. + + You can give 'configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here is +an example: + + ./configure CC=c99 CFLAGS=-g LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you can use GNU 'make'. 'cd' to the +directory where you want the object files and executables to go and run +the 'configure' script. 'configure' automatically checks for the source +code in the directory that 'configure' is in and in '..'. This is known +as a "VPATH" build. + + With a non-GNU 'make', it is safer to compile the package for one +architecture at a time in the source code directory. After you have +installed the package for one architecture, use 'make distclean' before +reconfiguring for another architecture. + + On MacOS X 10.5 and later systems, you can create libraries and +executables that work on multiple system types--known as "fat" or +"universal" binaries--by specifying multiple '-arch' options to the +compiler but only a single '-arch' option to the preprocessor. Like +this: + + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CPP="gcc -E" CXXCPP="g++ -E" + + This is not guaranteed to produce working output in all cases, you +may have to build one architecture at a time and combine the results +using the 'lipo' tool if you have problems. + +Installation Names +================== + + By default, 'make install' installs the package's commands under +'/usr/local/bin', include files under '/usr/local/include', etc. You +can specify an installation prefix other than '/usr/local' by giving +'configure' the option '--prefix=PREFIX', where PREFIX must be an +absolute file name. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +pass the option '--exec-prefix=PREFIX' to 'configure', the package uses +PREFIX as the prefix for installing programs and libraries. +Documentation and other data files still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like '--bindir=DIR' to specify different values for particular +kinds of files. Run 'configure --help' for a list of the directories +you can set and what kinds of files go in them. In general, the default +for these options is expressed in terms of '${prefix}', so that +specifying just '--prefix' will affect all of the other directory +specifications that were not explicitly provided. + + The most portable way to affect installation locations is to pass the +correct locations to 'configure'; however, many packages provide one or +both of the following shortcuts of passing variable assignments to the +'make install' command line to change installation locations without +having to reconfigure or recompile. + + The first method involves providing an override variable for each +affected directory. For example, 'make install +prefix=/alternate/directory' will choose an alternate location for all +directory configuration variables that were expressed in terms of +'${prefix}'. Any directories that were specified during 'configure', +but not in terms of '${prefix}', must each be overridden at install time +for the entire installation to be relocated. The approach of makefile +variable overrides for each directory variable is required by the GNU +Coding Standards, and ideally causes no recompilation. However, some +platforms have known limitations with the semantics of shared libraries +that end up requiring recompilation when using this method, particularly +noticeable in packages that use GNU Libtool. + + The second method involves providing the 'DESTDIR' variable. For +example, 'make install DESTDIR=/alternate/directory' will prepend +'/alternate/directory' before all installation names. The approach of +'DESTDIR' overrides is not required by the GNU Coding Standards, and +does not work on platforms that have drive letters. On the other hand, +it does better at avoiding recompilation issues, and works well even +when some directory options were not specified in terms of '${prefix}' +at 'configure' time. + +Optional Features +================= + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving 'configure' the +option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'. + + Some packages pay attention to '--enable-FEATURE' options to +'configure', where FEATURE indicates an optional part of the package. +They may also pay attention to '--with-PACKAGE' options, where PACKAGE +is something like 'gnu-as' or 'x' (for the X Window System). The +'README' should mention any '--enable-' and '--with-' options that the +package recognizes. + + For packages that use the X Window System, 'configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the 'configure' options '--x-includes=DIR' and +'--x-libraries=DIR' to specify their locations. + + Some packages offer the ability to configure how verbose the +execution of 'make' will be. For these packages, running './configure +--enable-silent-rules' sets the default to minimal output, which can be +overridden with 'make V=1'; while running './configure +--disable-silent-rules' sets the default to verbose, which can be +overridden with 'make V=0'. + +Particular systems +================== + + On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC +is not installed, it is recommended to use the following options in +order to use an ANSI C compiler: + + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" + +and if that doesn't work, install pre-built binaries of GCC for HP-UX. + + HP-UX 'make' updates targets which have the same time stamps as their +prerequisites, which makes it generally unusable when shipped generated +files such as 'configure' are involved. Use GNU 'make' instead. + + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot +parse its '' header file. The option '-nodtk' can be used as a +workaround. If GNU CC is not installed, it is therefore recommended to +try + + ./configure CC="cc" + +and if that doesn't work, try + + ./configure CC="cc -nodtk" + + On Solaris, don't put '/usr/ucb' early in your 'PATH'. This +directory contains several dysfunctional programs; working variants of +these programs are available in '/usr/bin'. So, if you need '/usr/ucb' +in your 'PATH', put it _after_ '/usr/bin'. + + On Haiku, software installed for all users goes in '/boot/common', +not '/usr/local'. It is recommended to use the following options: + + ./configure --prefix=/boot/common + +Specifying the System Type +========================== + + There may be some features 'configure' cannot figure out +automatically, but needs to determine by the type of machine the package +will run on. Usually, assuming the package is built to be run on the +_same_ architectures, 'configure' can figure that out, but if it prints +a message saying it cannot guess the machine type, give it the +'--build=TYPE' option. TYPE can either be a short name for the system +type, such as 'sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS + KERNEL-OS + + See the file 'config.sub' for the possible values of each field. If +'config.sub' isn't included in this package, then this package doesn't +need to know the machine type. + + If you are _building_ compiler tools for cross-compiling, you should +use the option '--target=TYPE' to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with '--host=TYPE'. + +Sharing Defaults +================ + + If you want to set default values for 'configure' scripts to share, +you can create a site shell script called 'config.site' that gives +default values for variables like 'CC', 'cache_file', and 'prefix'. +'configure' looks for 'PREFIX/share/config.site' if it exists, then +'PREFIX/etc/config.site' if it exists. Or, you can set the +'CONFIG_SITE' environment variable to the location of the site script. +A warning: not all 'configure' scripts look for a site script. + +Defining Variables +================== + + Variables not defined in a site shell script can be set in the +environment passed to 'configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the 'configure' command line, using 'VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +causes the specified 'gcc' to be used as the C compiler (unless it is +overridden in the site shell script). + +Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an +Autoconf limitation. Until the limitation is lifted, you can use this +workaround: + + CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash + +'configure' Invocation +====================== + + 'configure' recognizes the following options to control how it +operates. + +'--help' +'-h' + Print a summary of all of the options to 'configure', and exit. + +'--help=short' +'--help=recursive' + Print a summary of the options unique to this package's + 'configure', and exit. The 'short' variant lists options used only + in the top level, while the 'recursive' variant lists options also + present in any nested packages. + +'--version' +'-V' + Print the version of Autoconf used to generate the 'configure' + script, and exit. + +'--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally 'config.cache'. FILE defaults to '/dev/null' to + disable caching. + +'--config-cache' +'-C' + Alias for '--cache-file=config.cache'. + +'--quiet' +'--silent' +'-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to '/dev/null' (any error + messages will still be shown). + +'--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + 'configure' can determine that directory automatically. + +'--prefix=DIR' + Use DIR as the installation prefix. *note Installation Names:: for + more details, including other options available for fine-tuning the + installation locations. + +'--no-create' +'-n' + Run the configure checks, but stop before creating any output + files. + +'configure' also accepts some other, not widely useful, options. Run +'configure --help' for more details. diff -Nru xsnow-1.42/install-sh xsnow-2.0.9/install-sh --- xsnow-1.42/install-sh 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/install-sh 2019-07-19 13:22:22.000000000 +0000 @@ -0,0 +1,518 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2018-03-11.20; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# 'make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +tab=' ' +nl=' +' +IFS=" $tab$nl" + +# Set DOITPROG to "echo" to test this script. + +doit=${DOITPROG-} +doit_exec=${doit:-exec} + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +is_target_a_directory=possibly + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) + is_target_a_directory=always + dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + shift;; + + -T) is_target_a_directory=never;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +# We allow the use of options -d and -T together, by making -d +# take the precedence; this is for compatibility with GNU install. + +if test -n "$dir_arg"; then + if test -n "$dst_arg"; then + echo "$0: target directory not allowed when installing a directory." >&2 + exit 1 + fi +fi + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call 'install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + if test $# -gt 1 || test "$is_target_a_directory" = always; then + if test ! -d "$dst_arg"; then + echo "$0: $dst_arg: Is not a directory." >&2 + exit 1 + fi + fi +fi + +if test -z "$dir_arg"; then + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names problematic for 'test' and other utilities. + case $src in + -* | [=\(\)!]) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + dst=$dst_arg + + # If destination is a directory, append the input filename. + if test -d "$dst"; then + if test "$is_target_a_directory" = never; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dstbase=`basename "$src"` + case $dst in + */) dst=$dst$dstbase;; + *) dst=$dst/$dstbase;; + esac + dstdir_status=0 + else + dstdir=`dirname "$dst"` + test -d "$dstdir" + dstdir_status=$? + fi + fi + + case $dstdir in + */) dstdirslash=$dstdir;; + *) dstdirslash=$dstdir/;; + esac + + 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. + ;; + *) + # Note that $RANDOM variable is not portable (e.g. dash); Use it + # here however when possible just to lower collision chance. + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + + trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 + + # Because "mkdir -p" follows existing symlinks and we likely work + # directly in world-writeable /tmp, make sure that the '$tmpdir' + # directory is successfully created first before we actually test + # 'mkdir -p' feature. + if (umask $mkdir_umask && + $mkdirprog $mkdir_mode "$tmpdir" && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + test_tmpdir="$tmpdir/a" + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + [-=\(\)!]*) prefix='./';; + *) prefix='';; + esac + + oIFS=$IFS + IFS=/ + set -f + set fnord $dstdir + shift + set +f + IFS=$oIFS + + prefixes= + + for d + do + test X"$d" = X && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=${dstdirslash}_inst.$$_ + rmtmp=${dstdirslash}_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + set +f && + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff -Nru xsnow-1.42/make2.com xsnow-2.0.9/make2.com --- xsnow-1.42/make2.com 1995-11-19 11:53:27.000000000 +0000 +++ xsnow-2.0.9/make2.com 1970-01-01 00:00:00.000000000 +0000 @@ -1,51 +0,0 @@ -$! Compile and link Xsnow under VMS -$! -$! Get compiler info -$! -$ CFLAGS = "/optimize" -$ decc = f$search("SYS$SYSTEM:DECC$COMPILER.EXE") .nes. "" - - .and. CFLAGS - "/VAXC" .eqs. CFLAGS -$ all_cflags = CFLAGS -$ if decc then all_cflags = "/DECC/PREFIX=ALL " + all_cflags -$! -$! Build the option-file -$! -$ open/write optf xsnow.opt -$ write optf "xsnow" -$ if .not.decc then write optf "SYS$SHARE:ucx$ipc/lib" -$ write optf "Identification=""Xsnow 1.39"" -$! -$! -$! Find out which X-Version we're running. This will fail for older -$! VMS versions (i.e., v5.5-1). Therefore, choose DECWindows XUI for -$! default. -$! -$ On Error Then GoTo XUI -$ @sys$update:decw$get_image_version sys$share:decw$xlibshr.exe decw$version -$ if f$extract(4,3,decw$version).eqs."1.0" -$ then -$ write optf "Sys$share:DECW$DWTLIBSHR.EXE/Share" -$ endif -$ if f$extract(4,3,decw$version).eqs."1.1" -$ then -$ write optf "sys$share:decw$xmulibshr.exe/share" -$ write optf "sys$share:decw$xtshr.exe/share" -$ endif -$ if f$extract(4,3,decw$version).eqs."1.2" -$ then -$ write optf "sys$share:decw$xmulibshrr5.exe/share" -$ write optf "sys$share:decw$xtlibshrr5.exe/share" -$ endif -$ GoTo MAIN -$! -$XUI: -$! -$ write optf "Sys$share:DECW$DWTLIBSHR.EXE/Share" -$MAIN: -$! -$ write optf "sys$share:decw$xlibshr.exe/share" -$ if .not.decc then write optf "SYS$SHARE:VAXCRTL/SHARE" -$ close optf -$ cc'all_cflags' xsnow.c -$ link xsnow.opt/opt -$ exit diff -Nru xsnow-1.42/make.com xsnow-2.0.9/make.com --- xsnow-1.42/make.com 1995-11-19 11:53:27.000000000 +0000 +++ xsnow-2.0.9/make.com 1970-01-01 00:00:00.000000000 +0000 @@ -1,85 +0,0 @@ -$! Compile and link Xsnow under VMS -$! -$! Get compiler info -$! -$ XSNOW_VERSION = "Xsnow 1.37" -$ -$ echo := write sys$output -$ echo " --- This is a command procedure to build ''XSNOW_VERSION' ---" -$ -$ CFLAGS = "/OPTIMIZE" -$ decc = f$search("SYS$SYSTEM:DECC$COMPILER.EXE") .nes. "" - - .and. CFLAGS - "/VAXC" .eqs. CFLAGS -$ all_cflags = CFLAGS -$ if decc then all_cflags = "/DECC/PREFIX=ALL " + all_cflags -$! -$! Build the option-file -$! -$ open/write optf xsnow.opt -$ write optf "xsnow" -$ if .not.decc -$ then -$ if f$trnlmn("MULTINET").nes."" -$ then -$ ! Try first the SHARE in MULTINET: -$ write optf "MULTINET:UCX$IPC_SHR/SHARE" -$ else -$ ! Well, try the OLB then ... -$ if f$search("SYS$SHARE:UCX$IPC.OLB").nes."" -$ then write optf "SYS$SHARE:ucx$ipc/lib" -$ endif -$ endif -$ endif -$ write optf "Identification=""''XSNOW_VERSION'"" -$! -$! -$! Find out which X-Version we're running. This will fail for older -$! VMS versions (i.e., v5.5-1). Therefore, choose DECWindows XUI for -$! default. -$! -$ On Error Then GoTo XUI -$ IF F$SEARCH("SYS$UPDATE:DECW$GET_IMAGE_VERSION.COM").NES."" -$ THEN -$ @sys$update:decw$get_image_version sys$share:decw$xlibshr.exe decw$version -$ if f$extract(4,3,decw$version).eqs."1.0" -$ then -$ write optf "Sys$share:DECW$DWTLIBSHR.EXE/Share" -$ endif -$ if f$extract(4,3,decw$version).eqs."1.1" -$ then -$ write optf "sys$share:decw$xmulibshr.exe/share" -$ write optf "sys$share:decw$xtshr.exe/share" -$ endif -$ if f$extract(4,3,decw$version).eqs."1.2" -$ then -$ write optf "sys$share:decw$xmulibshrr5.exe/share" -$ write optf "sys$share:decw$xtlibshrr5.exe/share" -$ endif -$ GoTo MAIN -$ ENDIF -$! -$XUI: -$! -$ write optf "Sys$share:DECW$DWTLIBSHR.EXE/Share" -$MAIN: -$! -$ set noon -$ write optf "sys$share:decw$xlibshr.exe/share" -$ if .not.decc then write optf "SYS$SHARE:VAXCRTL/SHARE" -$ close optf -$ echo " . Compiling Xsnow " -$ cc'all_cflags' xsnow.c -$ echo " . Linking Xsnow" -$ on error then goto ERR -$ link xsnow.opt/opt -$ echo "" -$ echo "Xsnow is ready." -$ echo " XSNOW :== $''f$env("DEFAULT")'XSNOW" -$ echo "" -$ XSNOW :== $'f$env("DEFAULT")'XSNOW -$ exit -$ -$ ERR: -$ echo "" -$ echo "An error occur while linking Xsnow - Sorry" -$ EXIT diff -Nru xsnow-1.42/Makefile xsnow-2.0.9/Makefile --- xsnow-1.42/Makefile 2001-12-15 23:43:31.000000000 +0000 +++ xsnow-2.0.9/Makefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,957 +0,0 @@ -# Makefile generated by imake - do not edit! -# $TOG: imake.c /main/104 1998/03/24 12:45:15 kaleb $ - -# ---------------------------------------------------------------------- -# Makefile generated from "Imake.tmpl" and -# $TOG: Imake.tmpl /main/249 1997/10/13 15:28:56 kaleb $ -# -# -# -# -# $XFree86: xc/config/cf/Imake.tmpl,v 3.87 2000/12/02 19:06:57 herrb Exp $ -# ---------------------------------------------------------------------- - -all:: - -.SUFFIXES: .i - -# $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $ - -# $XFree86: xc/config/cf/Imake.cf,v 3.63 2000/11/06 19:24:00 dawes Exp $ - -# Keep cpp from replacing path elements containing 1/i586/i686 - -# for compatibility with 3.3.x - -# ----------------------------------------------------------------------- -# site-specific configuration parameters that need to come before -# the platform-specific parameters - edit site.def to change - -# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $ - -# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $ - -# $XFree86: xc/config/cf/xf86site.def,v 3.170 2000/12/14 16:38:45 dawes Exp $ - -# ---------------------------------------------------------------------- -# platform-specific configuration parameters - edit linux.cf to change - -# platform: $TOG: linux.cf /main/47 1998/04/17 11:32:51 mgreess - -# platform: $XFree86: xc/config/cf/linux.cf,v 3.157 2000/12/14 17:00:46 dawes Exp $ - -# operating system: SuSE Linux [ELF] (2.4.0) -# libc: (6.2.0) -# binutils: (30) - -# $TOG: lnxLib.rules /main/14 1998/03/16 11:15:30 mgreess $ -# $XFree86: xc/config/cf/lnxLib.rules,v 3.38 2000/06/15 20:49:56 dawes Exp $ - -# $XFree86: xc/config/cf/xfree86.cf,v 3.338 2000/12/14 16:59:06 dawes Exp $ - -# $TOG: xfree86.cf /main/38 1997/10/22 13:01:59 kaleb $ - -AFB_DEFS = -DUSE_AFB - -DRIVERSDKDIR = $(USRLIBDIR)/Server -DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules -DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include - - XF86SRC = $(SERVERSRC)/hw/xfree86 - XF86COMSRC = $(XF86SRC)/common - XF86PARSERSRC = $(XF86SRC)/parser - XF86OSSRC = $(XF86SRC)/os-support - XF86DRIVERSRC = $(XF86SRC)/drivers - DRIVERSRC = $(XF86DRIVERSRC) - - XFREE86DOCDIR = $(DOCDIR) - XFREE86PSDOCDIR = $(DOCPSDIR) - XFREE86HTMLDOCDIR = $(DOCHTMLDIR) -XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese - -# $XConsortium: xf86.rules /main/9 1996/10/31 14:54:26 kaleb $ -# $XFree86: xc/config/cf/xf86.rules,v 3.32 2000/10/30 23:02:06 tsi Exp $ - -# ---------------------------------------------------------------------- -# site-specific configuration parameters that go after -# the platform-specific parameters - edit site.def to change - -# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $ - -# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $ - -# --------------------------------------------------------------------- -# Imake rules for building libraries, programs, scripts, and data files -# rules: $TOG: Imake.rules /main/227 1998/02/02 12:07:57 kaleb $ -# -# -# -# -# rules: $XFree86: xc/config/cf/Imake.rules,v 3.86 2000/12/12 17:05:30 dawes Exp $ - - _NULLCMD_ = @ echo -n - -GLIDE2INCDIR = /usr/include/glide - -GLIDE3INCDIR = /usr/include/glide3 - -GLIDE3LIBNAME = glide3 - -TKLIBNAME = - -TKLIBDIR = - -TCLLIBNAME = - -TCLIBDIR = - - PATHSEP = / - SHELL = /bin/sh -e - - TOP = . - CURRENT_DIR = . - - IMAKE = imake - DEPEND = gccmakedep - MKDIRHIER = mkdir -p - REVPATH = revpath - EXPORTLISTGEN = - RMAN = rman - RMANOPTIONS = -f HTML - CONFIGSRC = $(TOP)/config - IMAKESRC = $(CONFIGSRC)/imake - DEPENDSRC = $(CONFIGSRC)/util - - INCROOT = /usr/X11R6/include - USRLIBDIR = /usr/X11R6/lib - VARDIR = /var - VARLIBDIR = $(VARDIR)/lib - SYSTEMUSRLIBDIR = /usr/lib - SYSTEMUSRINCDIR = /usr/include - SHLIBDIR = /usr/X11R6/lib - LINTLIBDIR = $(USRLIBDIR)/lint - MANPATH = /usr/X11R6/man - MANSOURCEPATH = $(MANPATH)/man - MANDIR = $(MANSOURCEPATH)1 - LIBMANDIR = $(MANSOURCEPATH)3 - FILEMANDIR = $(MANSOURCEPATH)5 - MISCMANDIR = $(MANSOURCEPATH)$(MISCMANSUFFIX) - DRIVERMANDIR = $(MANSOURCEPATH)$(DRIVERMANSUFFIX) - LOGDIRECTORY = $(VARDIR)/log - - VARRUNDIR = $(VARDIR)/run - - VARDBDIR = /var/lib - - AR = ar clq - BOOTSTRAPCFLAGS = - CC = gcc - AS = as - -.SUFFIXES: .cc - - CXX = c++ - CXXFILT = c++filt - CXXLIB = - CXXDEBUGFLAGS = -O2 -CXXDEPENDINCLUDES = - CXXEXTRA_DEFINES = -CXXEXTRA_INCLUDES = - CXXSTD_DEFINES = -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE $(CXXPROJECT_DEFINES) - CXXOPTIONS = - CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES) - CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(CXXEXTRA_DEFINES) $(DEFINES) - CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES) - - COMPRESS = compress - GZIPCMD = gzip - CPP = /lib/cpp $(STD_CPP_DEFINES) - RAWCPP = /lib/cpp -undef $(STD_CPP_OPTIONS) - PREPROCESSCMD = gcc -E $(STD_CPP_DEFINES) - INSTALL = install - INSTALLFLAGS = -c - LD = ld - LEX = flex -l - M4 = m4 - M4FLAGS = - LEXLIB = -lfl - YACC = bison -y - CCYACC = bison -y - LINT = lint - LINTLIBFLAG = -C - LINTOPTS = -axz - LN = ln -s - MAKE = make - MV = mv -f - CP = cp - - RANLIB = ranlib - RANLIBINSTFLAGS = - - RM = rm -f - PERL = perl - PERLOPTS = - MANSUFFIX = 1x - LIBMANSUFFIX = 3x - FILEMANSUFFIX = 5x - MISCMANSUFFIX = 7 - DRIVERMANSUFFIX = 4 - MANDEFS = -D__filemansuffix__=$(FILEMANSUFFIX) -D__miscmansuffix__=$(MISCMANSUFFIX) -D__drivermansuffix__=$(DRIVERMANSUFFIX) -D__projectroot__=$(PROJECTROOT) - - TROFF = groff -Tps - NROFF = nroff - MSMACROS = -ms - MANMACROS = -man - TBL = tbl - EQN = eqn - NEQN = neqn - COL = col - COLFLAGS = -b - MODCC = gcc - MODCPP = /lib/cpp - MODCFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREAD_CFLAGS) $(ALLDEFINES) - MODAS = as - MODASFLAGS = - MODLD = ld - MODLDFLAGS = -MODLDCOMBINEFLAGS = -r - MODAR = ar clq - MODRANLIB = - - STD_INCLUDES = - STD_CPP_OPTIONS = -traditional - STD_CPP_DEFINES = -traditional -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE $(PROJECT_DEFINES) - STD_DEFINES = -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE $(PROJECT_DEFINES) - EXTRA_LOAD_FLAGS = - EXTRA_LDOPTIONS = - EXTRA_LIBRARIES = - TAGS = ctags - - PARALLELMFLAGS = - - SHAREDCODEDEF = - SHLIBDEF = - - SHLIBLDFLAGS = -shared - - PICFLAGS = -fPIC - - CXXPICFLAGS = -fPIC - - PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO - - INSTPGMFLAGS = - - INSTBINFLAGS = -m 0755 - INSTUIDFLAGS = -m 4711 - INSTLIBFLAGS = -m 0644 - INSTINCFLAGS = -m 0444 - INSTMANFLAGS = -m 0444 - INSTDATFLAGS = -m 0444 - INSTKMEMFLAGS = -m 4711 - - PROJECTROOT = /usr/X11R6 - - CDEBUGFLAGS = -O2 - CCOPTIONS = - - ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES) - ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) - CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES) - LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES) - LDPRELIB = -L$(USRLIBDIR) - LDPOSTLIB = - LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS) - CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS) - - LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) - - CCLINK = $(CC) - - CXXLINK = $(CXX) - - LDSTRIPFLAGS = -x - LDCOMBINEFLAGS = -r - DEPENDFLAGS = - -# Not sure this belongs here - TKLIBDIR = - TKINCDIR = - TKLIBNAME = - TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME) - TCLLIBDIR = - TCLINCDIR = - TCLLIBNAME = - TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME) - - MACROFILE = linux.cf - RM_CMD = $(RM) - - IMAKE_DEFINES = - - IRULESRC = $(CONFIGDIR) - IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) - - ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/X11.tmpl $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) $(IRULESRC)/xfree86.cf $(IRULESRC)/xf86.rules $(IRULESRC)/xf86site.def $(IRULESRC)/host.def $(EXTRA_ICONFIGFILES) - -# $TOG: X11.rules /main/4 1997/04/30 15:23:24 kaleb $ - -# $XFree86: xc/config/cf/X11.rules,v 1.5 2000/11/06 19:24:00 dawes Exp $ - -# ---------------------------------------------------------------------- -# X Window System Build Parameters and Rules -# $TOG: X11.tmpl /main/308 1998/06/16 15:14:24 msr $ -# -# -# -# -# $XFree86: xc/config/cf/X11.tmpl,v 1.93 2000/12/15 18:18:04 keithp Exp $ - -STICKY_DEFINES = -DHAS_STICKY_DIR_BIT - -FCHOWN_DEFINES = -DHAS_FCHOWN - -# ----------------------------------------------------------------------- -# X Window System make variables; these need to be coordinated with rules - - XTOP = $(TOP) - BINDIR = /usr/X11R6/bin - BUILDINCROOT = $(TOP)/exports - BUILDINCDIR = $(BUILDINCROOT)/include - BUILDINCTOP = ../.. - BUILDLIBDIR = $(TOP)/exports/lib - BUILDLIBTOP = ../.. - BUILDBINDIR = $(TOP)/exports/bin - BUILDBINTOP = ../.. - BUILDMODULEDIR = $(BUILDLIBDIR)/modules - BUILDMODULETOP = $(BUILDLIBTOP)/.. - XBUILDINCROOT = $(XTOP)/exports - XBUILDINCDIR = $(XBUILDINCROOT)/include/X11 - XBUILDINCTOP = ../../.. - XBUILDBINDIR = $(XBUILDINCROOT)/bin - INCDIR = $(INCROOT) - ADMDIR = /usr/adm - LIBDIR = $(USRLIBDIR)/X11 - LIBEXECDIR = /usr/X11R6/libexec - MODULEDIR = $(USRLIBDIR)/modules - TOP_X_INCLUDES = - - ETCX11DIR = /etc/X11 - - CONFDIR = $(ETCX11DIR) - - DOCDIR = $(LIBDIR)/doc - DOCHTMLDIR = $(DOCDIR)/html - DOCPSDIR = $(DOCDIR)/PostScript - FONTDIR = $(LIBDIR)/fonts - ENCODINGSDIR = $(FONTDIR)/encodings - XINITDIR = $(LIBDIR)/xinit - XDMDIR = /etc/X11/xdm - XDMVARDIR = $(VARLIBDIR)/xdm - TWMDIR = $(LIBDIR)/twm - XSMDIR = $(LIBDIR)/xsm - NLSDIR = $(LIBDIR)/nls - XLOCALEDIR = $(LIBDIR)/locale - PEXAPIDIR = $(LIBDIR)/PEX - LBXPROXYDIR = $(LIBDIR)/lbxproxy - PROXYMANAGERDIR = $(LIBDIR)/proxymngr - XPRINTDIR = $(LIBDIR)/xserver - XAPPLOADDIR = $(LIBDIR)/app-defaults - FONTCFLAGS = -t - - INSTAPPFLAGS = $(INSTDATFLAGS) - - RGB = $(BINDIR)/rgb - FONTC = $(BINDIR)/bdftopcf - MKFONTDIR = $(BINDIR)/mkfontdir - MKHTMLINDEX = $(BINDIR)/mkhtmlindex - UCS2ANY = $(BINDIR)/ucs2any.pl - BDFTRUNCATE = $(BINDIR)/bdftruncate.pl - UCSMAPPREFIX = $(FONTDIR)/util/map- - - HTMLINDEXCMD = HtmlIndexCmd - - DOCUTILSRC = $(XTOP)/doc/util - CLIENTSRC = $(TOP)/clients - DEMOSRC = $(TOP)/demos - XDOCMACROS = $(DOCUTILSRC)/macros.t - XIDXMACROS = $(DOCUTILSRC)/indexmacros.t - PROGRAMSRC = $(TOP)/programs - LIBSRC = $(XTOP)/lib - FONTSRC = $(XTOP)/fonts - ENCODINGSSRC = $(FONTSRC)/encodings - INCLUDESRC = $(BUILDINCROOT)/include - XINCLUDESRC = $(INCLUDESRC)/X11 - SERVERSRC = $(XTOP)/programs/Xserver - CONTRIBSRC = $(XTOP)/../contrib - UNSUPPORTEDSRC = $(XTOP)/unsupported - DOCSRC = $(XTOP)/doc - RGBSRC = $(XTOP)/programs/rgb - BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf - MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir - FONTSERVERSRC = $(PROGRAMSRC)/xfs - FONTINCSRC = $(XTOP)/include/fonts - EXTINCSRC = $(XTOP)/include/extensions - FTSOURCEDIR = $(TOP)/extras/FreeType - XTTSOURCEDIR = $(TOP)/extras/X-TrueType - MESASRCDIR = $(TOP)/extras/Mesa - OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample - PSWRAPSRC = $(XTOP)/config/pswrap - TRANSCOMMSRC = $(LIBSRC)/xtrans - TRANS_INCLUDES = -I$(TRANSCOMMSRC) - CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES) - - XENVLIBDIR = $(USRLIBDIR) - CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) - -# $TOG: lnxLib.tmpl /main/7 1998/03/20 14:26:41 mgreess $ -# $XFree86: xc/config/cf/lnxLib.tmpl,v 3.12 1999/06/27 14:07:17 dawes Exp $ - - XLIBSRC = $(LIBSRC)/X11 - -SOXLIBREV = 6.2 -DEPXONLYLIB = -XONLYLIB = -lX11 - -LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln - - XLIBONLY = $(XONLYLIB) - - XEXTLIBSRC = $(LIBSRC)/Xext - -SOXEXTREV = 6.4 -DEPEXTENSIONLIB = -EXTENSIONLIB = -lXext - -LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln - -LINTEXTENSIONLIB = $(LINTEXTENSION) - DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB) - XLIB = $(EXTENSIONLIB) $(XONLYLIB) - LINTXLIB = $(LINTXONLYLIB) - - XSSLIBSRC = $(LIBSRC)/Xss - -DEPXSSLIB = $(USRLIBDIR)/libXss.a -XSSLIB = -lXss - -LINTXSS = $(LINTLIBDIR)/llib-lXss.ln - - XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc - -SOXXF86MISCREV = 1.0 -DEPXXF86MISCLIB = -XXF86MISCLIB = -lXxf86misc - -LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln - - XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm - -SOXXF86VMREV = 1.0 -DEPXXF86VMLIB = -XXF86VMLIB = -lXxf86vm - -LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln - - XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga - -SOXXF86DGAREV = 1.0 -DEPXXF86DGALIB = -XXF86DGALIB = -lXxf86dga - -LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln - - XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush - -DEPXXF86RUSHLIB = $(USRLIBDIR)/libXxf86rush.a -XXF86RUSHLIB = -lXxf86rush - -LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln - - XVLIBSRC = $(LIBSRC)/Xv - -SOXVREV = 1.0 -DEPXVLIB = -XVLIB = -lXv - -LINTXV = $(LINTLIBDIR)/llib-lXv.ln - - XINERAMALIBSRC = $(LIBSRC)/Xinerama - -DEPXINERAMALIB = $(USRLIBDIR)/libXinerama.a -XINERAMALIB = -lXinerama - -LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln - - XINERAMALIBSRC = $(LIBSRC)/Xinerama - -DEPXINERAMALIB = $(USRLIBDIR)/libXinerama.a -XINERAMALIB = -lXinerama - -LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln - - DPSLIBSRC = $(LIBSRC)/dps - -SODPSREV = 1.0 -DEPDPSLIB = -DPSLIB = -ldps - -LINTDPS = $(LINTLIBDIR)/llib-ldps.ln - - DPSTKLIBSRC = $(LIBSRC)/dpstk - -SODPSTKREV = 1.0 -DEPDPSTKLIB = -DPSTKLIB = -ldpstk - -LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln - - PSRESLIBSRC = $(LIBSRC)/psres - -SOPSRESREV = 1.0 -DEPPSRESLIB = -PSRESLIB = -lpsres - -LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln - - GLXLIBSRC = $(LIBSRC)/GL - -SOGLREV = 1.2 -DEPGLXLIB = -GLXLIB = -lGL - -LINTGLX = $(LINTLIBDIR)/llib-lGL.ln - - GLWIDGETSRC = $(LIBSRC)/GLw - -DEPGLWLIB = $(USRLIBDIR)/libGLw.a -GLWLIB = -lGLw - -LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln - - XRENDERLIBSRC = $(LIBSRC)/Xrender - -SOXRENDERREV = 1.0 -DEPXRENDERLIB = -XRENDERLIB = -lXrender - -LINTXRENDER = $(LINTLIBDIR)/llib-lXrender.ln - - XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache - -DEPXFONTCACHELIB = $(USRLIBDIR)/libXfontcache.a -XFONTCACHELIB = -lXfontcache - -LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln - - XAUTHSRC = $(LIBSRC)/Xau - -DEPXAUTHLIB = $(USRLIBDIR)/libXau.a -XAUTHLIB = -lXau - -LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln - - XDMCPLIBSRC = $(LIBSRC)/Xdmcp - -DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a -XDMCPLIB = -lXdmcp - -LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln - - XMUSRC = $(LIBSRC)/Xmu - -SOXMUREV = 6.2 -DEPXMULIB = -XMULIB = -lXmu - -LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln - - OLDXLIBSRC = $(LIBSRC)/oldX - -DEPOLDXLIB = $(USRLIBDIR)/liboldX.a -OLDXLIB = -loldX - -LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln - - XPLIBSRC = $(LIBSRC)/Xp - -SOXPREV = 6.2 -DEPXPLIB = -XPLIB = -lXp - -LINTXP = $(LINTLIBDIR)/llib-lXp.ln - - TOOLKITSRC = $(LIBSRC)/Xt - -SOXTREV = 6.0 -DEPXTOOLONLYLIB = -XTOOLONLYLIB = -lXt - -LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln - - DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB) - XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB) - LINTXTOOLLIB = $(LINTXTOOLONLYLIB) - - XALIBSRC = $(LIBSRC)/Xa - -SOXAREV = 1.0 -DEPXALIB = -XALIB = -lXa - -LINTXA = $(LINTLIBDIR)/llib-lXa.ln - - AWIDGETSRC = $(LIBSRC)/Xaw - -SOXAWREV = 7.0 -DEPXAWLIB = -XAWLIB = -lXaw - -LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln - - AWIDGET6SRC = $(LIBSRC)/Xaw6 - -SOXAW6REV = 6.1 -DEPXAW6LIB = -XAW6LIB = -lXaw - -LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln - - XILIBSRC = $(LIBSRC)/Xi - -SOXINPUTREV = 6.0 -DEPXILIB = -XILIB = -lXi - -LINTXI = $(LINTLIBDIR)/llib-lXi.ln - - XTESTLIBSRC = $(LIBSRC)/Xtst - -SOXTESTREV = 6.1 -DEPXTESTLIB = -XTESTLIB = -lXtst - -LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln - - PEXLIBSRC = $(LIBSRC)/PEX5 - -SOPEXREV = 6.0 -DEPPEXLIB = -PEXLIB = -lPEX5 - -LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln - - XIELIBSRC = $(LIBSRC)/XIE - -SOXIEREV = 6.0 -DEPXIELIB = -XIELIB = -lXIE - -LINTXIE = $(LINTLIBDIR)/llib-lXIE.ln - - PHIGSLIBSRC = $(LIBSRC)/PHIGS - -DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a -PHIGSLIB = -lphigs - -LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln - -DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a -XBSDLIB = -lXbsd - -LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln - - ICESRC = $(LIBSRC)/ICE - -SOICEREV = 6.3 -DEPICELIB = -ICELIB = -lICE - -LINTICE = $(LINTLIBDIR)/llib-lICE.ln - - SMSRC = $(LIBSRC)/SM - -SOSMREV = 6.0 -DEPSMLIB = -SMLIB = -lSM - -LINTSM = $(LINTLIBDIR)/llib-lSM.ln - - XKEYSRC = $(LIBSRC)/Xkey - -SOXKEYREV = 6.0 -DEPXKEYLIB = -XKEYLIB = -lXkey - -LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln - - FSLIBSRC = $(LIBSRC)/FS - -DEPFSLIB = $(USRLIBDIR)/libFS.a -FSLIB = -lFS - -LINTFS = $(LINTLIBDIR)/llib-lFS.ln - - FONTLIBSRC = $(LIBSRC)/font - -SOFONTREV = 1.3 -DEPFONTLIB = -FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont - -LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln -# -SOFONTREV = 1.3 -DEPXFONTLIB = -XFONTLIB = -lXfont - -LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln - - FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs - -DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a -FONTSTUBLIB = -lfntstubs - -LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln - DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB) - FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) - - XPMLIBSRC = $(LIBSRC)/Xpm - -SOXPMREV = 4.11 -DEPXPMLIB = -XPMLIB = -lXpm - -LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln - - XFTLIBSRC = $(LIBSRC)/Xft - -SOXFTREV = 1.0 -DEPXFTLIB = -XFTLIB = -lXft - -LINTXFT = $(LINTLIBDIR)/llib-lXft.ln - -FREETYPE2DIR = freetype-2.0.1 -FREETYPE2LIBDIR = freetype-2.0.1/lib -FREETYPE2INCDIR = freetype-2.0.1/include/freetype2 -FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR) -FREETYPE2LIB = -L$(FREETYPE2LIBDIR) -lfreetype -FREETYPE2DEFINES = -DFREETYPE2 - - XKBFILELIBSRC = $(LIBSRC)/xkbfile - -DEPXKBFILELIB = $(USRLIBDIR)/libxkbfile.a -XKBFILELIB = -lxkbfile - -LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln - - XKBCOMPCMD = $(BINDIR)/xkbcomp - - XKBUILIBSRC = $(LIBSRC)/xkbui - -DEPXKBUILIB = $(USRLIBDIR)/libxkbui.a -XKBUILIB = -lxkbui - -LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln - - DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) - - DEPLIBS1 = $(DEPLIBS) - DEPLIBS2 = $(DEPLIBS) - DEPLIBS3 = $(DEPLIBS) - DEPLIBS4 = $(DEPLIBS) - DEPLIBS5 = $(DEPLIBS) - DEPLIBS6 = $(DEPLIBS) - DEPLIBS7 = $(DEPLIBS) - DEPLIBS8 = $(DEPLIBS) - DEPLIBS9 = $(DEPLIBS) - DEPLIBS10 = $(DEPLIBS) - -XMULIBONLY = -lXmu -XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB) - - CONFIGDIR = $(LIBDIR)/config - - USRLIBDIRPATH = $(USRLIBDIR) - LDPRELIBS = -L$(USRLIBDIR) - LDPOSTLIBS = - TOP_INCLUDES = -I$(INCROOT) $(TOP_X_INCLUDES) - PROJECT_DEFINES = - -CXXPROJECT_DEFINES = - -# ---------------------------------------------------------------------- -# start of Imakefile - -SYS_LIBRARIES = -lm -lXpm -LOCAL_LIBRARIES = $(XLIB) -DEPLIBS = $(DEPXLIB) -SRCS = xsnow.c toon_root.c xsnow.h vroot.h -OBJS = xsnow.o toon_root.o - - PROGRAM = xsnow - -all:: xsnow - -xsnow: $(OBJS) $(DEPLIBS) - $(RM) $@ - $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS) - -install:: xsnow - @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \ - else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi - $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) xsnow $(DESTDIR)$(BINDIR)/xsnow - -install.man:: xsnow.man - @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \ - else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi - $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) xsnow.man $(DESTDIR)$(MANDIR)/xsnow.$(MANSUFFIX) - -depend:: - $(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS) - -lint: - $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS) -lint1: - $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS) - -clean:: - $(RM) xsnow - -# ---------------------------------------------------------------------- -# common rules for all Makefiles - do not edit - -.c.i: - $(RM) $@ - $(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@ - -.SUFFIXES: .s - -.c.s: - $(RM) $@ - $(CC) -S $(CFLAGS) $(_NOOP_) $*.c - -emptyrule:: - -clean:: - $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"* - -Makefile:: - -@if [ -f Makefile ]; then set -x; \ - $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \ - else exit 0; fi - $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) - -tags:: - $(TAGS) -w *.[ch] - $(TAGS) -xw *.[ch] > TAGS - -man_keywords:: - -html_index:: - -# ---------------------------------------------------------------------- -# empty rules for directories that do not have SUBDIRS - do not edit - -install:: - @echo "install in $(CURRENT_DIR) done" - -install.man:: - @echo "install.man in $(CURRENT_DIR) done" - -install.sdk:: - @echo "install.sdk in $(CURRENT_DIR) done" - -Makefiles:: - -includes:: - -depend:: - -# ---------------------------------------------------------------------- -# dependencies generated by makedepend - -# DO NOT DELETE -xsnow.o: xsnow.c /usr/X11R6/include/X11/Intrinsic.h \ - /usr/X11R6/include/X11/Xlib.h /usr/include/sys/types.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/bits/types.h \ - /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h \ - /usr/include/time.h /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/sys/sysmacros.h \ - /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h \ - /usr/X11R6/include/X11/Xosdefs.h /usr/X11R6/include/X11/Xutil.h \ - /usr/X11R6/include/X11/Xresource.h /usr/include/string.h \ - /usr/X11R6/include/X11/Core.h /usr/X11R6/include/X11/Composite.h \ - /usr/X11R6/include/X11/Constraint.h /usr/X11R6/include/X11/Object.h \ - /usr/X11R6/include/X11/RectObj.h /usr/X11R6/include/X11/Xos.h \ - /usr/include/fcntl.h /usr/include/bits/fcntl.h \ - /usr/include/sys/stat.h /usr/include/bits/stat.h \ - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/include/sys/time.h /usr/include/bits/time.h \ - /usr/X11R6/include/X11/Xarch.h /usr/X11R6/include/X11/xpm.h \ - /usr/include/stdio.h \ - /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdarg.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/include/bits/wchar.h /usr/include/gconv.h \ - /usr/include/bits/stdio_lim.h /usr/include/math.h \ - /usr/include/bits/huge_val.h /usr/include/bits/mathdef.h \ - /usr/include/bits/mathcalls.h \ - /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/float.h \ - /usr/include/signal.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/wordsize.h \ - /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ - /usr/include/asm/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/ucontext.h /usr/include/sys/ucontext.h \ - /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/limits.h \ - /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/include/stdlib.h /usr/include/bits/waitflags.h \ - /usr/include/bits/waitstatus.h /usr/include/alloca.h xsnow.h \ - pixmaps/snow00.xbm pixmaps/snow01.xbm pixmaps/snow02.xbm \ - pixmaps/snow03.xbm pixmaps/snow04.xbm pixmaps/snow05.xbm \ - pixmaps/snow06.xbm pixmaps/tannenbaum.xbm pixmaps/BigSanta1.XPM \ - pixmaps/BigSanta2.XPM pixmaps/BigSanta3.XPM pixmaps/BigSanta4.XPM \ - pixmaps/BigSantaRudolf1.XPM pixmaps/BigSantaRudolf2.XPM \ - pixmaps/BigSantaRudolf3.XPM pixmaps/BigSantaRudolf4.XPM \ - pixmaps/MediumSanta1.XPM pixmaps/MediumSanta2.XPM \ - pixmaps/MediumSanta3.XPM pixmaps/MediumSanta4.XPM \ - pixmaps/MediumSantaRudolf1.XPM pixmaps/MediumSantaRudolf2.XPM \ - pixmaps/MediumSantaRudolf3.XPM pixmaps/MediumSantaRudolf4.XPM \ - pixmaps/RegularSanta1.XPM pixmaps/RegularSanta2.XPM \ - pixmaps/RegularSanta3.XPM pixmaps/RegularSanta4.XPM \ - pixmaps/RegularSantaRudolf1.XPM pixmaps/RegularSantaRudolf2.XPM \ - pixmaps/RegularSantaRudolf3.XPM pixmaps/RegularSantaRudolf4.XPM \ - toon.h /usr/X11R6/include/X11/extensions/shape.h -toon_root.o: toon_root.c toon.h /usr/X11R6/include/X11/Intrinsic.h \ - /usr/X11R6/include/X11/Xlib.h /usr/include/sys/types.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/bits/types.h \ - /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stddef.h \ - /usr/include/time.h /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/sys/sysmacros.h \ - /usr/X11R6/include/X11/X.h /usr/X11R6/include/X11/Xfuncproto.h \ - /usr/X11R6/include/X11/Xosdefs.h /usr/X11R6/include/X11/Xutil.h \ - /usr/X11R6/include/X11/Xresource.h /usr/include/string.h \ - /usr/X11R6/include/X11/Core.h /usr/X11R6/include/X11/Composite.h \ - /usr/X11R6/include/X11/Constraint.h /usr/X11R6/include/X11/Object.h \ - /usr/X11R6/include/X11/RectObj.h /usr/X11R6/include/X11/Xos.h \ - /usr/include/fcntl.h /usr/include/bits/fcntl.h \ - /usr/include/sys/stat.h /usr/include/bits/stat.h \ - /usr/include/unistd.h /usr/include/bits/posix_opt.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/include/sys/time.h /usr/include/bits/time.h \ - /usr/X11R6/include/X11/Xarch.h /usr/X11R6/include/X11/xpm.h \ - /usr/X11R6/include/X11/extensions/shape.h \ - /usr/X11R6/include/X11/Xatom.h /usr/X11R6/include/X11/Xproto.h \ - /usr/X11R6/include/X11/Xmd.h /usr/X11R6/include/X11/Xprotostr.h \ - /usr/include/stdio.h \ - /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/stdarg.h \ - /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/include/bits/wchar.h /usr/include/gconv.h \ - /usr/include/bits/stdio_lim.h diff -Nru xsnow-1.42/Makefile.am xsnow-2.0.9/Makefile.am --- xsnow-1.42/Makefile.am 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/Makefile.am 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,26 @@ +# -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +AUTOMAKE_OPTIONS = gnu +SUBDIRS = src + +EXTRA_DIST = bootstrap Changes getversion README.md \ + copyright.inc addcopyright.sh prevent-remakes \ + pbuilderscript makeupload debian dependencies \ + debian.disco debian.stretch debian.sid diff -Nru xsnow-1.42/Makefile.in xsnow-2.0.9/Makefile.in --- xsnow-1.42/Makefile.in 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/Makefile.in 2019-07-19 14:11:50.000000000 +0000 @@ -0,0 +1,805 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) $(am__DIST_COMMON) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir distdir-am dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \ + COPYING ChangeLog INSTALL NEWS README compile depcomp \ + install-sh missing +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +DIST_TARGETS = dist-gzip +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DBUS_CFLAGS = @DBUS_CFLAGS@ +DBUS_LIBS = @DBUS_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GREP = @GREP@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XMKMF = @XMKMF@ +XML_CFLAGS = @XML_CFLAGS@ +XML_LIBS = @XML_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +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@ +runstatedir = @runstatedir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ + +# -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +AUTOMAKE_OPTIONS = gnu +SUBDIRS = src +EXTRA_DIST = bootstrap Changes getversion README.md \ + copyright.inc addcopyright.sh prevent-remakes \ + pbuilderscript makeupload debian dependencies \ + debian.disco debian.stretch debian.sid + +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @test -f $@ || rm -f stamp-h1 + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz + $(am__post_remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-tarZ: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=../.. --prefix="$$dc_install_base" \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile config.h +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(am__recursive_targets) all install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ + dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ + distcheck distclean distclean-generic distclean-hdr \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff -Nru xsnow-1.42/makeupload xsnow-2.0.9/makeupload --- xsnow-1.42/makeupload 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/makeupload 2019-06-05 15:04:51.000000000 +0000 @@ -0,0 +1,33 @@ +#!/bin/bash +# creates directory for upload +# version numbers for upstream releases: +newversion=`./getversion` +oldversion=1.42 +curdir=`pwd` +dist=sid +tar=$curdir/xsnow-$newversion.tar.gz +uploaddir=$curdir/../upload/upload-$newversion +./configure +make distcheck || exit 1 +echo removing $uploaddir ... +mkdir -p $uploaddir +sudo chown -R willem.willem $uploaddir +rm -rf $uploaddir +mkdir -p $uploaddir +cd $uploaddir || exit 1 +cp -v $tar . || exit 1 +#apt source xsnow || exit 1 +sudo bash `which pbuilder` --execute --bindmounts $PWD \ + --configfile ~root/pbuilderrc.$dist \ + -- $curdir/pbuilderscript $PWD $oldversion $newversion|| exit 1 +sudo chown -R willem.willem $uploaddir +rm -r xsnow-$oldversion +rm xsnow_$oldversion-*.debian.tar.[gx]z +rm xsnow_$oldversion-*.dsc +rm xsnow_$oldversion.orig.tar.gz +rm -r xsnow-$newversion +rm -r xsnow-$newversion.orig +debsign *.changes +echo to check: dput -s mentors $uploaddir/*.changes +echo to upload: dput mentors $uploaddir/*.changes +echo "$0 done" diff -Nru xsnow-1.42/missing xsnow-2.0.9/missing --- xsnow-1.42/missing 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/missing 2019-07-19 13:22:22.000000000 +0000 @@ -0,0 +1,215 @@ +#! /bin/sh +# Common wrapper for a few potentially missing GNU programs. + +scriptversion=2018-03-07.03; # UTC + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Originally written by Fran,cois Pinard , 1996. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try '$0 --help' for more information" + exit 1 +fi + +case $1 in + + --is-lightweight) + # Used by our autoconf macros to check whether the available missing + # script is modern enough. + exit 0 + ;; + + --run) + # Back-compat with the calling convention used by older automake. + shift + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due +to PROGRAM being missing or too old. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + +Supported PROGRAM values: + aclocal autoconf autoheader autom4te automake makeinfo + bison yacc flex lex help2man + +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. + +Send bug reports to ." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" + exit 1 + ;; + +esac + +# Run the given program, remember its exit status. +"$@"; st=$? + +# If it succeeded, we are done. +test $st -eq 0 && exit 0 + +# Also exit now if we it failed (or wasn't found), and '--version' was +# passed; such an option is passed most likely to detect whether the +# program is present and works. +case $2 in --version|--help) exit $st;; esac + +# Exit code 63 means version mismatch. This often happens when the user +# tries to use an ancient version of a tool on a file that requires a +# minimum version. +if test $st -eq 63; then + msg="probably too old" +elif test $st -eq 127; then + # Program was missing. + msg="missing on your system" +else + # Program was found and executed, but failed. Give up. + exit $st +fi + +perl_URL=https://www.perl.org/ +flex_URL=https://github.com/westes/flex +gnu_software_URL=https://www.gnu.org/software + +program_details () +{ + case $1 in + aclocal|automake) + echo "The '$1' program is part of the GNU Automake package:" + echo "<$gnu_software_URL/automake>" + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/autoconf>" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + autoconf|autom4te|autoheader) + echo "The '$1' program is part of the GNU Autoconf package:" + echo "<$gnu_software_URL/autoconf/>" + echo "It also requires GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + esac +} + +give_advice () +{ + # Normalize program name to check for. + normalized_program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + + printf '%s\n' "'$1' is $msg." + + configure_deps="'configure.ac' or m4 files included by 'configure.ac'" + case $normalized_program in + autoconf*) + echo "You should only need it if you modified 'configure.ac'," + echo "or m4 files included by it." + program_details 'autoconf' + ;; + autoheader*) + echo "You should only need it if you modified 'acconfig.h' or" + echo "$configure_deps." + program_details 'autoheader' + ;; + automake*) + echo "You should only need it if you modified 'Makefile.am' or" + echo "$configure_deps." + program_details 'automake' + ;; + aclocal*) + echo "You should only need it if you modified 'acinclude.m4' or" + echo "$configure_deps." + program_details 'aclocal' + ;; + autom4te*) + echo "You might have modified some maintainer files that require" + echo "the 'autom4te' program to be rebuilt." + program_details 'autom4te' + ;; + bison*|yacc*) + echo "You should only need it if you modified a '.y' file." + echo "You may want to install the GNU Bison package:" + echo "<$gnu_software_URL/bison/>" + ;; + lex*|flex*) + echo "You should only need it if you modified a '.l' file." + echo "You may want to install the Fast Lexical Analyzer package:" + echo "<$flex_URL>" + ;; + help2man*) + echo "You should only need it if you modified a dependency" \ + "of a man page." + echo "You may want to install the GNU Help2man package:" + echo "<$gnu_software_URL/help2man/>" + ;; + makeinfo*) + echo "You should only need it if you modified a '.texi' file, or" + echo "any other file indirectly affecting the aspect of the manual." + echo "You might want to install the Texinfo package:" + echo "<$gnu_software_URL/texinfo/>" + echo "The spurious makeinfo call might also be the consequence of" + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" + echo "want to install GNU make:" + echo "<$gnu_software_URL/make/>" + ;; + *) + echo "You might have modified some files without having the proper" + echo "tools for further handling them. Check the 'README' file, it" + echo "often tells you about the needed prerequisites for installing" + echo "this package. You may also peek at any GNU archive site, in" + echo "case some other package contains this missing '$1' program." + ;; + esac +} + +give_advice "$1" | sed -e '1s/^/WARNING: /' \ + -e '2,$s/^/ /' >&2 + +# Propagate the correct exit status (expected to be 127 for a program +# not found, 63 for a program that failed due to version mismatch). +exit $st + +# Local variables: +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff -Nru xsnow-1.42/patchlevel.h xsnow-2.0.9/patchlevel.h --- xsnow-1.42/patchlevel.h 1995-11-19 11:53:27.000000000 +0000 +++ xsnow-2.0.9/patchlevel.h 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -#define PATCHLEVEL 0 diff -Nru xsnow-1.42/pbuilderscript xsnow-2.0.9/pbuilderscript --- xsnow-1.42/pbuilderscript 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/pbuilderscript 2019-05-15 06:39:03.000000000 +0000 @@ -0,0 +1,42 @@ +#!/bin/bash +# script for pbuilder to create upload directory +workdir=$1 +oldversion=$2 +newversion=$3 +if [ -z "$3" ] ; then + echo usage: pbuilderscript workdir oldversion newversion + exit 1 +fi +cd "$workdir" || exit 1 +echo "working in `pwd`" +export DEBEMAIL=wvermin@gmail.com +export DEBFULLNAME="Willem Vermin" +sed -i 's/^#//;s/$/ non-free/' /etc/apt/sources.list # oncomment 2de regel +apt update +apt -y install apt-utils || exit 1 +apt -y install quilt devscripts debhelper autotools-dev equivs || exit 1 +apt source xsnow || exit 1 +cd xsnow-$oldversion || exit 1 +uupdate -v $newversion ../xsnow-$newversion.tar.gz || exit 1 +cd ../xsnow-$newversion +if [ -d debian.upstream ] ; then + rm -r debian + mv debian.upstream debian || exit 1 +fi +#apt -y install vim +#echo dpkg-source ... +#dpkg-source --commit +echo quilt ... +while quilt push; do quilt refresh; done +#dch +echo "---------- mk-build-deps -----------------" +echo | mk-build-deps -i -r debian/control || exit 1 +#dpkg-source --commit +#while quilt push; do quilt refresh; done +echo "-------------- dpkg-buildpackage ------------" +dpkg-buildpackage -us -uc +cd .. +echo "running lintian ..." +lintian -i -I --show-overrides xsnow_$newversion-1_amd64.changes +echo "end lintian" +echo $0 done diff -Nru xsnow-1.42/pixmaps/BigSanta1.XPM xsnow-2.0.9/pixmaps/BigSanta1.XPM --- xsnow-1.42/pixmaps/BigSanta1.XPM 2000-12-17 00:56:50.000000000 +0000 +++ xsnow-2.0.9/pixmaps/BigSanta1.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,58 +0,0 @@ -/* XPM */ -static char *BigSanta1[] = { -/* width height num_colors chars_per_pixel */ -" 177 34 17 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #f1f1f1", -"b c #cccccc", -"c c #cc9999", -"d c #cc9933", -"e c #cc6633", -"f c #cc0000", -"g c none", -"h c #993333", -"i c #990000", -"j c #663300", -"k c #33cc00", -"l c #111111", -"m c #009900", -"n c #0066cc", -"o c #003399", -/* pixels */ -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg", -"gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghggggggggggggggggggggggggggggggggggggghggghggggggggggggggggggggggggggggggghggghgggggggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghgggghghhhggggggggggggggggggggggggggggggggghhgghhgggggggggggggggggggggggggggggghhgghhghhhggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhggghhhgggggggggggggggggggggggggggggggggggghhgghhhhgggggggggggggggggggggggggggghhgghhhggggggggg", -"gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhghhgggggggggggggggggggggggggggggggggggggghhhhgggggggggggggggggggggggggggggggghhhhggggggggggg", -"gggggggggggggggggggggggffffggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhgggggghggggggggggggggggggggggggggggggggghhggggggggggggggggggggggggggggggggggghhgggggghgggg", -"gggggggggggggggggggggffiffffgggggggggggggggggggggggggggggggggggggggggggggggggggggggggghgggggghhhhggggggggggggggggggggggggggggggghggggggghgggggggggggggggggggggggggggghhggggghghhg", -"ggggggggggggggggggggififfffffggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhggggghhhgggggggggggggggggggggggggggggggghhggggghhhhgggggggggggggggggggggggggghhggggghhhgg", -"gggggggggggggggggggffiffifffffagggggggggggggggggggggggggggggggggggggggggggggggggggggggghhgggghggggggggggggggggggggggggggggggggggghhggghhhhgggggggggggggggggggggggggggghhgggghhggg", -"ggggggggggggggggggfiifiififffbgggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhhhggggggggggggggggggggggggggggggggggggghhgghgggggggggggggggggggggggggggggggghhghhggggg", -"gggggggggggggggggfigggffiffcacgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhggggggggggggggggggggggggggggggggggggggghhhhggggggggggggggggggggggggggggggggghhhgggggg", -"gggggggggggggggg.igggggiffcalccgggggggggggggggggggggggggggggggggggggggggggggggggggggggggheeeeeggggggggggggggggggggggggggggggggggggeeeeeegggggggggggggggggggggggggggggggheeeeggggg", -"ggggggggggggggg...gggggfbabcccccgggggggggggggggggggggggggggggggggggggggggggggggggggggllehhjjheeggggggggggggggggggggggggggggggggeejhheheegggggggggggggggggggggggggggggeejhheheeggg", -"gggggggggggggggg.ggggggbbbabcbbccggggggggggggggggggggggggggggggggggggeeeeeeggggggeeeellejjjeeleeggggggggggggeeeeeeeeggggggeelleeejhjeeleegggggggggggeeeeeeggggggeeellleejjeeleegg", -"ggggggggggggggggggggggggbbbaabaacgggggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeelleeeeeeeeegggggggggeeeeeeeeeeeeeeeeeeelleeeeeeeeeeggggggggeeeeeeeeeeeeeeeeeeelleeeeeeeeeeg", -"ggggggggggggggggiffgggggbabbbabaggggggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeeelleehhheejgggggggggeeeeeeeeeeeeeeeeeeeelleeehheeeeelglggggeeeeeeeeeeeeeeeeeeeelleeehheeejg", -"ggggggggggggggggfffhhggiiaibabbagggggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeeeeellhhhhhejlgggggggeeeeeeeeeeeeeeeeeeeeeeelhhhheeeejggglgleeeeeeeeeeeeeeeeeeeeeeelhhheheejg", -"gggggggggggggggbifihhgifiiiaiagggggggggggggggggggggggggggggggglgleeeeeeeeeeeeeeeeeeeeeehellggghhgglglglgleeeeeeeeeeeeeeeeeeeeeehelhhgggeejggggggeeeeeeeeeeeeeeeeeeeeeehelhggghegg", -"gggggggagaggkfmbbbbhhgiffffifffggglgggggggggggggggggggglglglgggggeeeeeeheeeeeeeeeeeeehhehhlggggggggggggggeeeeeeheeeeeeeeeeeeehhehllgggggggggggggeeeeeeheeeeeeeeeeeeehhehlgggggggg", -"gggbgnbnanfgkf##f#fghhifffffffiigfflllglglglglglglglglgggggggggggeeeeeeehhheeeeeeeeeeehegglllggggggggggggeeeeeeehhheeeeeeeeeeehegllllllllllllllleeeeeeehhheeeeeeeeeeehegggggggggg", -"gggbbbnnaongkfk##ffghhiifififfffafffgggggggggggggggggggggggglllllheeeeeeehhhhhhhheeeeeeegglllllllllllllllheeeeeeehhhhhhhheeeeeeeglllllllllllllllheeeeeeehhhhhhhheeeeeeegggggggggg", -"gmm#bmmmanooonno#nonhhiiffiiiiffaffflllllllllllllllllllllllllllgghheeeeeeehhhhhhheeeeeehgggggllllllllllllhheeeeeeehhhhhhheeeeeehgggggggggggggggghheeeeeeehhhhhhheeeeeehgggggggggg", -"ggdmbdmmffofannn#nnnhhiiifffffiiffggglllllllllllllllllllllllggggggeeeeeeeeehhhhhheeeeehgggggggggggggggggggeeeeeeeeehhhhhheeeeehggggggggggggggggggeeeeeeeeehhhhhheeeeehggggggggggg", -"ghmmbmmdffoffnnn#nonhhhiiifffffffagggghhgggggggggggggggggggggggggggggeeeeeegggggggeeehgggggggggggggggggggggggeeeeeegggggggeeehggggggggggggggggggggggeeeeeegggggggeeehgggggggggggg", -"hmdmbdmmfaoffnno#nnnghhiiiiiffffff.ggghhgggggggggggggggggggggggggggggggeeeegggggggeeehgggggggggggggggggggggggggeeeegggggggeeehggggggggggggggggggggggggeeeegggggggeeehgggggggggggg", -"h#mmbm#mffofannn#onnghhgiiiiiiffff.ggghhggggggggggggggggggggggggggggggggeehgggggggeehgggggggggggggggggggggggggggeehgggggggeehggggggggggggggggggggggggggeehgggggggeehggggggggggggg", -"ghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhggggggggggggggggggggggggggggggggeeeggggggeeehgggggggggggggggggggggggggggeeeggggggeeehggggggggggggggggggggggggggeeeggggggeeehggggggggggggg", -"gjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhggggggggggggggggggggggggggggggggeeeegggggeehhgggggggggggggggggggggggggggeeeegggggeehhggggggggggggggggggggggggggeeeegggggeehhggggggggggggg", -"gggggjjgggggggggggggggggggjjiiiiii.ggghhgggggggggggggggggggggggggggggggggheegggggeehgggggggggggggggggggggggggggggheegggggeehggggggggggggggggggggggggggggheegggggeehgggggggggggggg", -"gggggjjgggggggggggggggggggjjaaaaaallgghhggggggggggggggggggggggggggggggggghhelgggeehhggggggggggggggggggggggggggggghhelgggeehhgggggggggggggggggggggggggggghhelgggeehhgggggggggggggg", -"gghggjjgggggggggggggggggggjjggllllllghhhgggggggggggggggggggggggggggggggggghelgggeehggggggggggggggggggggggggggggggghelgggeehgggggggggggggggggggggggggggggghelgggeehggggggggggggggg", -"ghgggjjgggggggggggggggggggjjggglllgghhhgggggggggggggggggggggggggggggggggggggggggllggggggggggggggggggggggggggggggggggggggllgggggggggggggggggggggggggggggggggggggllgggggggggggggggg", -"gghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg" -}; diff -Nru xsnow-1.42/pixmaps/BigSanta2.XPM xsnow-2.0.9/pixmaps/BigSanta2.XPM --- xsnow-1.42/pixmaps/BigSanta2.XPM 2000-12-17 00:56:50.000000000 +0000 +++ xsnow-2.0.9/pixmaps/BigSanta2.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -/* XPM */ -static char *BigSanta2[] = { -/* width height num_colors chars_per_pixel */ -" 177 34 18 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #f1f1f1", -"b c #cccccc", -"c c #cc9999", -"d c #cc9933", -"e c #cc6633", -"f c #cc0000", -"g c none", -"h c #b2b2b2", -"i c #993333", -"j c #990000", -"k c #663300", -"l c #33cc00", -"m c #111111", -"n c #009900", -"o c #0066cc", -"p c #003399", -/* pixels */ -"gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggigggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggigggiggggggggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiggggigiiigggggggggggggggggggggggggggggggggigggigggggggggggggggggggggggggggggggiiggiigiiigggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiigggiiigggggggggggggggggggggggggggggggggggiiggiigggggggggggggggggggggggggggggggiiggiiigggggggggg", -"gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiiigiigggggggggggggggggggggggggggggggggggggiiggiiiigggggggggggggggggggggggggggggiiiigggggggggggg", -"gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiiigggggggggggggggggggggggggggggggggggggggiiiiggggggggggggggggggggggggggggggggggiigggggggggggg", -"ggggggggggggggggggggggffffgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiggggggggggggggggggggggggggggggggggggggggiiggggggggggggggggggggggggggggggggggggiiggggggggggg", -"ggggggggggggggggggggffjffffggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiiggggggigggggggggggggggggggggggggggggggggiggggggggggggggggggggggggggggggggggggiiggggggigggg", -"gggggggggggggggggggjfjffffffggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiigggggiiiiggggggggggggggggggggggggggggggiigggggggiggggggggggggggggggggggggggggiigggggigiig", -"ggggggggggggggggggffjffjfffffagggggggggggggggggggggggggggggggggggggggggggggggggggggggggiiggggiiiggggggggggggggggggggggggggggggggiigggggiiiigggggggggggggggggggggggggggiiggggiiigg", -"gggggggggggggggggfjjfjjfjfffbgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiiiiiiiggggggggggggggggggggggggggggggggggiiiggiiiigggggggggggggggggggggggggggggiiiiiiiggg", -"ggggggggggggggggfjgggffjffcacgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiigggggggggggggggggggggggggggggggggggggggiiiiggggggggggggggggggggggggggggggggggiigggggg", -"ggggggggggggggg.jgggggjffcamccggggggggggggggggggggggggggggggggggggggggggggggggggggggggggieeeeeggggggggggggggggggggggggggggggggggggeeeeeegggggggggggggggggggggggggggggggieeeeggggg", -"gggggggggggggg...gggggfbabcccccggggggggggggggggggggggggggggggggggggggggggggggggggggggmmeiikkieeggggggggggggggggggggggggggggggggeekiieieegggggggggggggggggggggggggggggeekiieieeggg", -"ggggggggggggggg.ggggggbbbabcbbccgggggggggggggggggggggggggggggggggggggeeeeeeggggggeeeemmekkkeemeeggggggggggggeeeeeeeeggggggeemmeeekikeemeegggggggggggeeeeeeggggggeeemmmeekkeemeegg", -"ggggggggggggggggjffggggbbbaabaacggggggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeemmeeeeeeeeegggggggggeeeeeeeeeeeeeeeeeeemmeeeeeeeeeeggggggggeeeeeeeeeeeeeeeeeeemmeeeeeeeeeeg", -"ggggggggggggggggfffggggbabbbabagggmgggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeeemmeeiiieekgggggggggeeeeeeeeeeeeeeeeeeeemmeeeiieeeeemgmgmgmeeeeeeeeeeeeeeeeeeeemmeeeiieeekg", -"gggggggggggggggbjfjiiggjjjbabbaggffggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeeeeemmiiiiiekmgmgmgmgeeeeeeeeeeeeeeeeeeeeeemmiiiieeeekggggggeeeeeeeeeeeeeeeeeeeeeemmiiieieekg", -"gggggggagagglfnbbbbiigjfjjjjahffafffgggggggggggggggggggggggggggmgeeeeeeeeeeeeeeeeeeeeeeiemmgggiigggggggggeeeeeeeeeeeeeeeeeeeeeeiemiigggeekggggggeeeeeeeeeeeeeeeeeeeeeeiemigggiegg", -"gggbgoboaofglf##f#fiigjffffjffffafffmmmgmgmgmmgmgmgmgmgmgmgmgmgggieeeeeieeeeeeeeeeeeeiieiimmmggggggggggggieeeeeieeeeeeeeeeeeeiieimmgggggggggggggieeeeeieeeeeeeeeeeeeiieimgggggggg", -"gggbbbooffpfafl##ff.iijffffffjjjgggggggggggggggggggggggggggggggggieeeeeeiiieeeeeeeeeeiiiemmmmmmmmmmmmmmmmieeeeeeiiieeeeeeeeeeiiiemmmmggggggmmmmmieeeeeeiiieeeeeeeeeeiiieggggggggg", -"gnn#bnnnffpffoop#opoiijjfjfjjjfaggggiiggggggggggggggggggggggmmmmmiieeeeeiiiiiiiiieeeeeiigggggmmmmmmmmmmmmiieeeeeiiiiiiiiieeeeeiiggmmmmmmmmmmmmmmiieeeeeiiiiiiiiieeeeeiigggggggggg", -"gndnbdnnfapffooo#oooiijjffjjffffaggigimmmmmmmmmmmmmmmmmmmmmmmmmmmiieeeeeeiiiiiiieeeeeeeggggggggggggggggggiieeeeeeiiiiiiieeeeeeeggggggmmmmmmmggggiieeeeeeiiiiiiieeeeeeeggggggggggg", -"gnnnbnndffpfgooo#opoiijjjffffffffagggiimmmmmmmmmmmmmmmmmmmmmgggggiieeeeeeggiiiiiiieeeeeggggggggggggggggggiieeeeeeggiiiiiiieeeeegggggggggggggggggiieeeeeeggiiiiiiieeeeeggggggggggg", -"gidnbdnngggggoop#oooiiijjjfffffffaggggiiggggggggggggggggggggggggggiieeeeeggggggggiiieeeeggggggggggggggggggiieeeeeggggggggiiieeeegggggggggggggggggiieeeeeggggggggiiieeeegggggggggg", -"i#nnbn#ngggggooo#poogiijjjjjffffffagggiigggggggggggggggggggggggggggieeeeggggggggggggeeeigggggggggggggggggggieeeeggggggggggggeeeiggggggggggggggggggieeeeggggggggggggeeeigggggggggg", -"iggggggggggggggggggggiigjjjjjjffffagggiigggggggggggggggggggggggggggeeeeegggggggggggggeeigggggggggggggggggggeeeeegggggggggggggeeiggggggggggggggggggeeeeegggggggggggggeeigggggggggg", -"giiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiigggggggggggggggggggggggggggeeeiggggggggggggggeeigggggggggggggggggggeeeiggggggggggggggeeiggggggggggggggggggeeeiggggggggggggggeeigggggggggg", -"gkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkiigggggggggggggggggggggggggggeeeigggggggggggggeeemgggggggggggggggggggeeeigggggggggggggeeemggggggggggggggggggeeeigggggggggggggeeemgggggggggg", -"gggggkkgggggggggggggggggggkkjjjjjjagggiiggggggggggggggggggggggggggggeeiggggggggggggmmeggggggggggggggggggggggeeiggggggggggggmmegggggggggggggggggggggeeiggggggggggggmmegggggggggggg", -"gggggkkgggggggggggggggggggkkaaaaaammggiiggggggggggggggggggggggggggggeeigggggggggggggggggggggggggggggggggggggeeiggggggggggggggggggggggggggggggggggggeeiggggggggggggggggggggggggggg", -"ggiggkkgggggggggggggggggggkkggmmmmmmgiiiggggggggggggggggggggggggggggeeiiggggggggggggggggggggggggggggggggggggeeiigggggggggggggggggggggggggggggggggggeeiigggggggggggggggggggggggggg", -"gigggkkgggggggggggggggggggkkgggmmmggiiiggggggggggggggggggggggggggggggeemgggggggggggggggggggggggggggggggggggggeemggggggggggggggggggggggggggggggggggggeemgggggggggggggggggggggggggg", -"ggiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiigggggggggggggggggggggggggggggggmmggggggggggggggggggggggggggggggggggggggmmgggggggggggggggggggggggggggggggggggggmmggggggggggggggggggggggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg" -}; diff -Nru xsnow-1.42/pixmaps/BigSanta3.XPM xsnow-2.0.9/pixmaps/BigSanta3.XPM --- xsnow-1.42/pixmaps/BigSanta3.XPM 2000-12-17 00:56:50.000000000 +0000 +++ xsnow-2.0.9/pixmaps/BigSanta3.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,58 +0,0 @@ -/* XPM */ -static char *BigSanta3[] = { -/* width height num_colors chars_per_pixel */ -" 177 34 17 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #f1f1f1", -"b c #cccccc", -"c c #cc9999", -"d c #cc9933", -"e c #cc6633", -"f c #cc0000", -"g c none", -"h c #993333", -"i c #990000", -"j c #663300", -"k c #33cc00", -"l c #111111", -"m c #009900", -"n c #0066cc", -"o c #003399", -/* pixels */ -"gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghgggghghhhggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghggghgggggggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhggghhhggggggggggggggggggggggggggggggggggghggghggggggggggggggggggggggggggggggghhgghhghhhggggggg", -"gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhghhgggggggggggggggggggggggggggggggggggghhgghhggggggggggggggggggggggggggggggghhgghhhggggggggg", -"gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhgggggggggggggggggggggggggggggggggggggghhgghhhhggggggggggggggggggggggggggggghhhhggggggggggg", -"gggggggggggggggggggggffffggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghggggggggggggggggggggggggggggggggggggggghhhhgggggggggggggggggggggggggggggggggghhgggggghgggg", -"gggggggggggggggggggffiffffgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhgggghgggggggggggggggggggggggggggggggggghhggggggghgggggggggggggggggggggggggggghhggggghghhg", -"ggggggggggggggggggififfffffgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhggghhhhgggggggggggggggggggggggggggggggghgggggghhhhgggggggggggggggggggggggggghhggggghhhgg", -"gggggggggggggggggffiffifffffaggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghggghhhggggggggggggggggggggggggggggggggghhgggghhhhgggggggggggggggggggggggggggghhgggghhggg", -"ggggggggggggggggfiifiififffbgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhhhhggggggggggggggggggggggggggggggggggghhggghgggggggggggggggggggggggggggggggghhghhggggg", -"gggggggggggggggfigggffiffcacgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhgggggggggggggggggggggggggggggggggggggghhhhhggggggggggggggggggggggggggggggggghhhgggggg", -"gggggggggggggg.igggggiffcalccgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggheeeeeggggggggggggggggggggggggggggggggggggeeeeeegggggggggggggggggggggggggggggggheeeeggggg", -"ggggggggggggg...gggggfbabcccccgggggggggggggggggggggggggggggggggggggggggggggggggggggggllehhjjheeggggggggggggggggggggggggggggggggeejhheheegggggggggggggggggggggggggggggeejhheheeggg", -"gggggggggggggg.giffggbbbabcbbccggglggggggggggggggggggggggggggggggggggeeeeeeggggggeeeellejjjeeleeggggggggggggeeeeeeeggggggeeelleeejhjeeleegggggggggggeeeeeeggggggeeellleejjeeleegg", -"ggggggggggggggggfffgggbbbaabaacggffgggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeelleeeeeeeeegggggggggeeeeeeeeeeeeeeeeeeelleeeeeeeeeeggglglggeeeeeeeeeeeeeeeeeeelleeeeeeeeeeg", -"ggggggggaongkggbifigggbabbbabafg.fffggglglglglglglglglggggggggggggeeeeeeeeeeeeeeeeeeeeelleehhheejggllglglleeeeeeeeeeeeeeeeeeeelleeehheeeeelgggggleeeeeeeeeeeeeeeeeeeelleeehheeejg", -"gggggggaanooofmbbbbhhggiibabbfff.ffflllgggggggggggggggglgglglggggeeeeeeeeeeeeeeeeeeeeeeellhhhhhejlgggggggeeeeeeeeeeeeeeeeeeeeeellhhhheeeejggggggeeeeeeeeeeeeeeeeeeeeeellhhheheejg", -"gggbgnbnffofaf##f#fhhgifiiiaffffgggggggggggggggggggggggggggggglgleeeeeeeeeeeeeeeeeeeeeehellggghhgggggggggeeeeeeeeeeeeeeeeeeeeeeellhhgggeejggggggeeeeeeeeeeeeeeeeeeeeeeellhggghegg", -"gggbbbnnffofffk##ffhhgiffffiffffgggggggggggggggggggggggggggggggggeeeeeeheeeeeeeeeeeeehhehhlggggggggggggggeeeeeeheeeeeeeeeeeeehhehhlgggggggggggggeeeeeeheeeeeeeeeeeeehhehhlggggggg", -"gmm#bmmmfaoffnno#nonhhiffffffiiggggggggggggggggggggggggggggggggggeeeeeeehhheeeeeeeeeehhhellllggggggggggggeeeeeeehhheeeeeeeeeehhhellllllllllllllgeeeeeeehhheeeeeeeeeehhhelllgggggg", -"gmdmbdmmffofgnnn#nnnhhiififiiifagggghhggggggggggggggggggggggllllleeeeeeehhhhhhhheeeeehhhggllllllllllllllleeeeeeehhhhhhhheeeeehhhgglllllllllllllleeeeeeehhhhhhhheeeeehhhggllgggggg", -"gmmmbmmdgggggnnn#nonhhiiffiiffffagghghllllllllllllllllllllllllllleeeeeeeehhhhhhhheeeeehhggggglllllllllllleeeeeeeehhhhhhhheeeeehhgggggggggggggggleeeeeeeehhhhhhhheeeeehhgggggggggg", -"gmdmbdmmgggggnno#nnnhhiiiffffffffaggghhlllllllllllllllllllllggggggeeeeeeehghhhhhhheeeeehggggggggggggggggggeeeeeeehghhhhhhheeeeehgggggggggggggggggeeeeeeehghhhhhhheeeeehgggggggggg", -"ghmmbm#mgggggnnn#onnhhhiiifffffffagggghhgggggggggggggggggggggggggggeeeeehhggggggggggeeehhggggggggggggggggggeeeeehhggggggggggeeehhgggggggggggggggggeeeeehhggggggggggeeehhggggggggg", -"hgggggggggggggggggggghhiiiiiffffffaggghhgggggggggggggggggggggggggggeeeehhggggggggggggeeeehhggggggggggggggggeeeehhggggggggggggeeeehhgggggggggggggggeeeehhggggggggggggeeeehhggggggg", -"hgggggggggggggggggggghhgiiiiiiffffaggghhggggggggggggggggggggggggggeeeeehggggggggggggggeeeeehggggggggggggggeeeeehggggggggggggggeeeeehgggggggggggggeeeeehggggggggggggggeeeeehgggggg", -"ghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhgggggggggggggggggggggggggeeeehhgggggggggggggggggehelgggggggggggggeeeehhgggggggggggggggggehelggggggggggggeeeehhgggggggggggggggggehelgggggg", -"gjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhgggggggggggggggggggggggggeeehggggggggggggggggggggellgggggggggggggeeehggggggggggggggggggggellggggggggggggeeehggggggggggggggggggggellgggggg", -"gggggjjgggggggggggggggggggjjiiiiiiallghhggggggggggggggggggggggggeeehhgggggggggggggggggggggggggggggggggggeeehhggggggggggggggggggggggggggggggggggeeehhggggggggggggggggggggggggggggg", -"gggggjjgggggggggggggggggggjjaaaaaalllghhggggggggggggggggggggggggeehhhgggggggggggggggggggggggggggggggggggeehhhggggggggggggggggggggggggggggggggggeehhhggggggggggggggggggggggggggggg", -"gghggjjgggggggggggggggggggjjggglllllghhhggggggggggggggggggggggggeeghlgggggggggggggggggggggggggggggggggggeeghlggggggggggggggggggggggggggggggggggeeghlggggggggggggggggggggggggggggg", -"ghgggjjgggggggggggggggggggjjgggggggghhhggggggggggggggggggggggggglegllggggggggggggggggggggggggggggggggggglegllgggggggggggggggggggggggggggggggggglegllggggggggggggggggggggggggggggg", -"gghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhggggggggggggggggggggggggggllggggggggggggggggggggggggggggggggggggggllgggggggggggggggggggggggggggggggggggggllgggggggggggggggggggggggggggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg" -}; diff -Nru xsnow-1.42/pixmaps/BigSanta4.XPM xsnow-2.0.9/pixmaps/BigSanta4.XPM --- xsnow-1.42/pixmaps/BigSanta4.XPM 2000-12-17 00:56:50.000000000 +0000 +++ xsnow-2.0.9/pixmaps/BigSanta4.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,58 +0,0 @@ -/* XPM */ -static char *BigSanta4[] = { -/* width height num_colors chars_per_pixel */ -" 177 34 17 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #f1f1f1", -"b c #cccccc", -"c c #cc9999", -"d c #cc9933", -"e c #cc6633", -"f c #cc0000", -"g c none", -"h c #993333", -"i c #990000", -"j c #663300", -"k c #33cc00", -"l c #111111", -"m c #009900", -"n c #0066cc", -"o c #003399", -/* pixels */ -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghggghggggggggggggg", -"gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghgggghghhhggggggggggggggggggggggggggggggggghggghggggggggggggggggggggggggggggggghhgghhghhhgggggggg", -"gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhggghhhggggggggggggggggggggggggggggggggggghhgghhggggggggggggggggggggggggggggggghhgghhhgggggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhghhggggggggggggggggggggggggggggggggggggghhgghhhhggggggggggggggggggggggggggggghhhhgggggggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhggggggggggggggggggggggggggggggggggggggghhhhgggggggggggggggggggggggggggggggggghhgggggggggggg", -"ggggggggggggggggggggggffffggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghgggggggggggggggggggggggggggggggggggggggghhgggggggggggggggggggggggggggggggggggghhggggggggggg", -"ggggggggggggggggggggffiffffgggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhgggggghggggggggggggggggggggggggggggggggghgggggggggggggggggggggggggggggggggggghhgggggghgggg", -"gggggggggggggggggggififfffffgggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhggggghhhhgggggggggggggggggggggggggggggghhggggggghgggggggggggggggggggggggggggghhggggghghhg", -"ggggggggggggggggggffiffifffffaggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhgggghhhgggggggggggggggggggggggggggggggghhggggghhhhggggggggggggggggggggggggggghhgggghhhgg", -"gggggggggggggggggfiifiififffbggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhhhhhgggggggggggggggggggggggggggggggggghhhgghhhhggggggggggggggggggggggggggggghhhhhhhggg", -"ggggggggggggggggfigggffiffcacggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhggggggggggggggggggggggggggggggggggggggghhhhgggggggggggggggggggggggggggggggggghhgggggg", -"gggggggggggggggaigggggiffcalccggggggggggggggggggggggggggggggggggggggggggggggggggggggggggheeeeeggggggggggggggggggggggggggggggggggggeeeeeegggggggggggggggggggggggggggggggheeeeggggg", -"gggggggggggggga.agggggfbabcccccggggggggggggggggggggggggggggggggggggggggggggggggggggggllehhjjheeggggggggggggggggggggggggggggggggeejhheheegggggggggggggggggggggggggggggeejhheheeggg", -"gggggggggggggggaggggggbbbabcbbccgggggggggggggggggggggggggggggggggggggeeeeeeggggggeeeellejjjeeleeggggggggggggeeeeeeeeggggggeelleeejhjeeleegggggggggggeeeeeeggggggeeellleejjeeleegg", -"ggggggggggggggggiffggggbbbaabaacggggggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeelleeeeeeeeegggggggggeeeeeeeeeeeeeeeeeeelleeeeeeeeeeggggggggeeeeeeeeeeeeeeeeeeelleeeeeeeeeeg", -"ggggggggggggggggfffggggbabbbabaggglgggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeeelleehhheejgggggggggeeeeeeeeeeeeeeeeeeeelleeehheeeeelglglgleeeeeeeeeeeeeeeeeeeelleeehheeejg", -"gggggggggggggggbifihhggiiibabbaggffggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeeeeellhhhhhejlglglglgeeeeeeeeeeeeeeeeeeeeeeelhhhheeeejggggeeeeeeeeeeeeeeeeeeeeeeelllhhheheejg", -"gggggggagaggkfmbbbbhhgifiiiiacffafffggggggggggggggggggggggggggglgeeeeeeeeeehhheeeeeeeeehellggghhgggggggggeeeeeeeeeehhheeeeeeeeehelhhgggeejggggeeeeeeeeeehhheeeeeeeeeheellhggghegg", -"gggbgnbnanfgkf##f#fhhgiffffiffffaffflllglglgllglglglglglglglglgggheeeeeeeeehhheeeeeeehhehhlllggggggggggggheeeeeeeeehhheeeeeeehhehllgggggggggggheeeeeeeeehhheeeeeeehhehhelgggggggg", -"gggbbbnnffofafk##ffghhiffffffiiigggggggggggggggggggggggggggggggggeeeeeeeeeeehheeeeeeehhhelllllllllllllllleeeeeeeeeeehheeeeeeehhhellllggggggllleeeeeeeeeeehheeeeeeehhheheggggggggg", -"gmm#bmmmffoffnno#nonhhiififiiifagggghhgggggggggggggggggggggglllllheeeeeeeeeehehhheeeeehhgggggllllllllllllheeeeeeeeeehehhheeeeehhglllllllllllllheeeeeeeeeehehhheeeeehhgggggggggggg", -"gmdmbdmmfaoffnnn#nnnhhiiffiiffffagghghlllllllllllllllllllllllllllhheeeeeeeehhehheeeeeeehggggggggggggggggghheeeeeeeehhehheeeeeeehggggglllllllgghheeeeeeeehhehheeeeeeehgggggggggggg", -"gmmmbmmdffofgnnn#nonhhiiiffffffffaggghhlllllllllllllllllllllgggggghheeeeeehheehhhheeeeeegggggggggggggggggghheeeeeehheehhhheeeeeeggggggggggggggghheeeeeehheehhhheeeeeegggggggggggg", -"ghdmbdmmgggggnno#nnnhhhiiifffffffagggghhgggggggggggggggggggggggggggggeeeeehgggggghhheeeegggggggggggggggggggggeeeeehgggggghhheeeeggggggggggggggggggeeeeehgggggghhheeeegggggggggggg", -"h#mmbm#mgggggnnn#onnghhiiiiiffffffaggghhggggggggggggggggggggggggggggeeeehhggggggggggeeehggggggggggggggggggggeeeehhggggggggggeeehgggggggggggggggggeeeehhggggggggggeeehgggggggggggg", -"hgggggggggggggggggggghhgiiiiiiffffaggghhggggggggggggggggggggggggggggeeehgggggggggggggeeeggggggggggggggggggggeeehgggggggggggggeeegggggggggggggggggeeehgggggggggggggeeegggggggggggg", -"ghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhgggggggggggggggggggggggggggeeehhgggggggggggggeeeeggggggggggggggggggeeehhgggggggggggggeeeegggggggggggggggeeehhgggggggggggggeeeeggggggggggg", -"gjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhgggggggggggggggggggggggggggeehhgggggggggggggggeeeggggggggggggggggggeehhgggggggggggggggeeegggggggggggggggeehhgggggggggggggggeeeggggggggggg", -"gggggjjgggggggggggggggggggjjiiiiiiaggghhgggggggggggggggggggggggggggeehhgggggggggggggggheeggggggggggggggggggeehhgggggggggggggggheegggggggggggggggeehhgggggggggggggggheeggggggggggg", -"gggggjjgggggggggggggggggggjjaaaaaallgghhggggggggggggggggggggggggggglehlgggggggggggggggheegggggggggggggggggglehlgggggggggggggggheeggggggggggggggglehlgggggggggggggggheeggggggggggg", -"gghggjjgggggggggggggggggggjjggllllllghhhgggggggggggggggggggggggggggllgggggggggggggggghheeggggggggggggggggggllgggggggggggggggghheegggggggggggggggllgggggggggggggggghheeggggggggggg", -"ghgggjjgggggggggggggggggggjjggglll..hhhggggggggggggggggggggggggggggggggggggggggggggggllelggggggggggggggggggggggggggggggggggggllelgggggggggggggggggggggggggggggggggllelggggggggggg", -"gghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhgggggggggggggggggggggggggggggggggggggggggggggggggllggggggggggggggggggggggggggggggggggggggllgggggggggggggggggggggggggggggggggggllggggggggggg", -"ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg" -}; diff -Nru xsnow-1.42/pixmaps/BigSantaRudolf1.XPM xsnow-2.0.9/pixmaps/BigSantaRudolf1.XPM --- xsnow-1.42/pixmaps/BigSantaRudolf1.XPM 2000-12-17 00:56:50.000000000 +0000 +++ xsnow-2.0.9/pixmaps/BigSantaRudolf1.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -/* XPM */ -static char *BigSantaRudolf1[] = { -/* width height num_colors chars_per_pixel */ -" 177 34 18 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #ff0000", -"b c #f1f1f1", -"c c #cccccc", -"d c #cc9999", -"e c #cc9933", -"f c #cc6633", -"g c #cc0000", -"h c none", -"i c #993333", -"j c #990000", -"k c #663300", -"l c #33cc00", -"m c #111111", -"n c #009900", -"o c #0066cc", -"p c #003399", -/* pixels */ -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhihhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhhihiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhiihiiihhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhiiihhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiihiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiihhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiihhhhhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhhihhhh", -"hhhhhhhhhhhhhhhhhhhhhggjgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhhhhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhhhhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhihiih", -"hhhhhhhhhhhhhhhhhhhhjgjgggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhiiihh", -"hhhhhhhhhhhhhhhhhhhggjggjgggggbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhiihhh", -"hhhhhhhhhhhhhhhhhhgjjgjjgjgggchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihiihhhhh", -"hhhhhhhhhhhhhhhhhgjhhhggjggdbdhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiihhhhhh", -"hhhhhhhhhhhhhhhh.jhhhhhjggdbmddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhifffffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiffffhhhhh", -"hhhhhhhhhhhhhhh...hhhhhgcbcdddddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmmfiikkiffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffkiififfhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffkiififfhhh", -"hhhhhhhhhhhhhhhh.hhhhhhcccbcdccddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhffffmmfkkkffmffhhhhhhhhhhhhffffffffhhhhhhffmmfffkikffmffhhhhhhhhhhhffffffhhhhhhfffmmmffkkffmffhh", -"hhhhhhhhhhhhhhhhhhhhhhhhcccbbcbbdhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffffffffffffffffmmfffffffffhhhhhhhhhfffffffffffffffffffmmffffffffffhhhhhhhhfffffffffffffffffffmmffffffffaaa", -"hhhhhhhhhhhhhhhhjgghhhhhcbcccbcbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffffffffffffffffffffmmffiiiffkhhhhhhhhhffffffffffffffffffffmmfffiifffffmhmhhhhffffffffffffffffffffmmfffiiffaaa", -"hhhhhhhhhhhhhhhhgggiihhjjbjcbccbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffffffffffffffffffffffmmiiiiifkmhhhhhhhfffffffffffffffffffffffmiiiiffffkhhhmhmfffffffffffffffffffffffmiiififaaa", -"hhhhhhhhhhhhhhhcjgjiihjgjjjbjbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmhmffffffffffffffffffffffifmmhhhiihhmhmhmhmffffffffffffffffffffffifmiihhhffkhhhhhhffffffffffffffffffffffifmihhhifhh", -"hhhhhhhbhbhhlgncccciihjggggjggghhhmhhhhhhhhhhhhhhhhhhhhmhmhmhhhhhffffffifffffffffffffiifiimhhhhhhhhhhhhhhffffffifffffffffffffiifimmhhhhhhhhhhhhhffffffifffffffffffffiifimhhhhhhhh", -"hhhchocoboghlg##g#ghiijgggggggjjhggmmmhmhmhmhmhmhmhmhmhhhhhhhhhhhfffffffiiifffffffffffifhhmmmhhhhhhhhhhhhfffffffiiifffffffffffifhmmmmmmmmmmmmmmmfffffffiiifffffffffffifhhhhhhhhhh", -"hhhcccoobpohlgl##gghiijjgjgjggggbggghhhhhhhhhhhhhhhhhhhhhhhhmmmmmifffffffiiiiiiiifffffffhhmmmmmmmmmmmmmmmifffffffiiiiiiiifffffffhmmmmmmmmmmmmmmmifffffffiiiiiiiifffffffhhhhhhhhhh", -"hnn#cnnnbopppoop#opoiijjggjjjjggbgggmmmmmmmmmmmmmmmmmmmmmmmmmmmhhiifffffffiiiiiiiffffffihhhhhmmmmmmmmmmmmiifffffffiiiiiiiffffffihhhhhhhhhhhhhhhhiifffffffiiiiiiiffffffihhhhhhhhhh", -"hhencennggpgbooo#oooiijjjgggggjjgghhhmmmmmmmmmmmmmmmmmmmmmmmhhhhhhfffffffffiiiiiifffffihhhhhhhhhhhhhhhhhhhfffffffffiiiiiifffffihhhhhhhhhhhhhhhhhhfffffffffiiiiiifffffihhhhhhhhhhh", -"hinncnneggpggooo#opoiiijjjgggggggbhhhhiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhhfffihhhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhhfffihhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhhfffihhhhhhhhhhhh", -"inencenngbpggoop#ooohiijjjjjggggggbhhhiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffhhhhhhhfffihhhhhhhhhhhhhhhhhhhhhhhhhffffhhhhhhhfffihhhhhhhhhhhhhhhhhhhhhhhhffffhhhhhhhfffihhhhhhhhhhhh", -"i#nncn#nggpgbooo#poohiihjjjjjjggggbhhhiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffihhhhhhhffihhhhhhhhhhhhhhhhhhhhhhhhhhhffihhhhhhhffihhhhhhhhhhhhhhhhhhhhhhhhhhffihhhhhhhffihhhhhhhhhhhhh", -"hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffhhhhhhfffihhhhhhhhhhhhhhhhhhhhhhhhhhhfffhhhhhhfffihhhhhhhhhhhhhhhhhhhhhhhhhhfffhhhhhhfffihhhhhhhhhhhhh", -"hkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffhhhhhffiihhhhhhhhhhhhhhhhhhhhhhhhhhhffffhhhhhffiihhhhhhhhhhhhhhhhhhhhhhhhhhffffhhhhhffiihhhhhhhhhhhhh", -"hhhhhkkhhhhhhhhhhhhhhhhhhhkkjjjjjjbhhhiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiffhhhhhffihhhhhhhhhhhhhhhhhhhhhhhhhhhhhiffhhhhhffihhhhhhhhhhhhhhhhhhhhhhhhhhhhiffhhhhhffihhhhhhhhhhhhhh", -"hhhhhkkhhhhhhhhhhhhhhhhhhhkkbbbbbbmmhhiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiifmhhhffiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhiifmhhhffiihhhhhhhhhhhhhhhhhhhhhhhhhhhhiifmhhhffiihhhhhhhhhhhhhh", -"hhihhkkhhhhhhhhhhhhhhhhhhhkkhhmmmmmmhiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhifmhhhffihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhifmhhhffihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhifmhhhffihhhhhhhhhhhhhhh", -"hihhhkkhhhhhhhhhhhhhhhhhhhkkhhhmmmhhiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmmhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmmhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmmhhhhhhhhhhhhhhhh", -"hhiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh" -}; diff -Nru xsnow-1.42/pixmaps/BigSantaRudolf2.XPM xsnow-2.0.9/pixmaps/BigSantaRudolf2.XPM --- xsnow-1.42/pixmaps/BigSantaRudolf2.XPM 2000-12-17 00:56:50.000000000 +0000 +++ xsnow-2.0.9/pixmaps/BigSantaRudolf2.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,60 +0,0 @@ -/* XPM */ -static char *BigSantaRudolf2[] = { -/* width height num_colors chars_per_pixel */ -" 177 34 19 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #ff0000", -"b c #f1f1f1", -"c c #cccccc", -"d c #cc9999", -"e c #cc9933", -"f c #cc6633", -"g c #cc0000", -"h c none", -"i c #b2b2b2", -"j c #993333", -"k c #990000", -"l c #663300", -"m c #33cc00", -"n c #111111", -"o c #009900", -"p c #0066cc", -"q c #003399", -/* pixels */ -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhjhhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhhjhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhjjhjjjhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhjjjhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhggkgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhjhhhh", -"hhhhhhhhhhhhhhhhhhhkgkgggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhjhjjh", -"hhhhhhhhhhhhhhhhhhggkggkgggggbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhjjjhh", -"hhhhhhhhhhhhhhhhhgkkgkkgkgggchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjjjjhhh", -"hhhhhhhhhhhhhhhhgkhhhggkggdbdhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhh", -"hhhhhhhhhhhhhhh.khhhhhkggdbnddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjfffffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjffffhhhhh", -"hhhhhhhhhhhhhh...hhhhhgcbcdddddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnfjjlljffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffljjfjffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffljjfjffhhh", -"hhhhhhhhhhhhhhh.hhhhhhcccbcdccddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhffffnnflllffnffhhhhhhhhhhhhffffffffhhhhhhffnnfffljlffnffhhhhhhhhhhhffffffhhhhhhfffnnnffllffnffhh", -"hhhhhhhhhhhhhhhhkgghhhhcccbbcbbdhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffffffffffffffffnnfffffffffhhhhhhhhhfffffffffffffffffffnnffffffffffhhhhhhhhfffffffffffffffffffnnffffffffaaa", -"hhhhhhhhhhhhhhhhggghhhhcbcccbcbhhhnhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffffffffffffffffffffnnffjjjfflhhhhhhhhhffffffffffffffffffffnnfffjjfffffnhnhnhnffffffffffffffffffffnnfffjjffaaa", -"hhhhhhhhhhhhhhhckgkjjhhkkkcbccbhhgghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffffffffffffffffffffffnnjjjjjflnhnhnhnhffffffffffffffffffffffnnjjjjfffflhhhhhhffffffffffffffffffffffnnjjjfjfaaa", -"hhhhhhhbhbhhmgoccccjjhkgkkkkbiggbggghhhhhhhhhhhhhhhhhhhhhhhhhhhnhffffffffffffffffffffffjfnnhhhjjhhhhhhhhhffffffffffffffffffffffjfnjjhhhfflhhhhhhffffffffffffffffffffffjfnjhhhjfhh", -"hhhchpcpbpghmg##g#gjjhkggggkggggbgggnnnhnhnhnnhnhnhnhnhnhnhnhnhhhjfffffjfffffffffffffjjfjjnnnhhhhhhhhhhhhjfffffjfffffffffffffjjfjnnhhhhhhhhhhhhhjfffffjfffffffffffffjjfjnhhhhhhhh", -"hhhcccppggqgbgm##gg.jjkggggggkkkhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjffffffjjjffffffffffjjjfnnnnnnnnnnnnnnnnjffffffjjjffffffffffjjjfnnnnhhhhhhnnnnnjffffffjjjffffffffffjjjfhhhhhhhhh", -"hoo#coooggqggppq#pqpjjkkgkgkkkgbhhhhjjhhhhhhhhhhhhhhhhhhhhhhnnnnnjjfffffjjjjjjjjjfffffjjhhhhhnnnnnnnnnnnnjjfffffjjjjjjjjjfffffjjhhnnnnnnnnnnnnnnjjfffffjjjjjjjjjfffffjjhhhhhhhhhh", -"hoeoceoogbqggppp#pppjjkkggkkggggbhhjhjnnnnnnnnnnnnnnnnnnnnnnnnnnnjjffffffjjjjjjjfffffffhhhhhhhhhhhhhhhhhhjjffffffjjjjjjjfffffffhhhhhhnnnnnnnhhhhjjffffffjjjjjjjfffffffhhhhhhhhhhh", -"hooocooeggqghppp#pqpjjkkkggggggggbhhhjjnnnnnnnnnnnnnnnnnnnnnhhhhhjjffffffhhjjjjjjjfffffhhhhhhhhhhhhhhhhhhjjffffffhhjjjjjjjfffffhhhhhhhhhhhhhhhhhjjffffffhhjjjjjjjfffffhhhhhhhhhhh", -"hjeoceoohhhhhppq#pppjjjkkkgggggggbhhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhjjfffffhhhhhhhhjjjffffhhhhhhhhhhhhhhhhhhjjfffffhhhhhhhhjjjffffhhhhhhhhhhhhhhhhhjjfffffhhhhhhhhjjjffffhhhhhhhhhh", -"j#ooco#ohhhhhppp#qpphjjkkkkkggggggbhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhjffffhhhhhhhhhhhhfffjhhhhhhhhhhhhhhhhhhhjffffhhhhhhhhhhhhfffjhhhhhhhhhhhhhhhhhhjffffhhhhhhhhhhhhfffjhhhhhhhhhh", -"jhhhhhhhhhhhhhhhhhhhhjjhkkkkkkggggbhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhfffffhhhhhhhhhhhhhffjhhhhhhhhhhhhhhhhhhhfffffhhhhhhhhhhhhhffjhhhhhhhhhhhhhhhhhhfffffhhhhhhhhhhhhhffjhhhhhhhhhh", -"hjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhfffjhhhhhhhhhhhhhhffjhhhhhhhhhhhhhhhhhhhfffjhhhhhhhhhhhhhhffjhhhhhhhhhhhhhhhhhhfffjhhhhhhhhhhhhhhffjhhhhhhhhhh", -"hllllllllllllllllllllllllllllllllllllljjhhhhhhhhhhhhhhhhhhhhhhhhhhhfffjhhhhhhhhhhhhhfffnhhhhhhhhhhhhhhhhhhhfffjhhhhhhhhhhhhhfffnhhhhhhhhhhhhhhhhhhfffjhhhhhhhhhhhhhfffnhhhhhhhhhh", -"hhhhhllhhhhhhhhhhhhhhhhhhhllkkkkkkbhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhffjhhhhhhhhhhhhnnfhhhhhhhhhhhhhhhhhhhhhhffjhhhhhhhhhhhhnnfhhhhhhhhhhhhhhhhhhhhhffjhhhhhhhhhhhhnnfhhhhhhhhhhhh", -"hhhhhllhhhhhhhhhhhhhhhhhhhllbbbbbbnnhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhffjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffjhhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hhjhhllhhhhhhhhhhhhhhhhhhhllhhnnnnnnhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhffjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffjjhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hjhhhllhhhhhhhhhhhhhhhhhhhllhhhnnnhhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffnhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffnhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffnhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hhjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnhhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh" -}; diff -Nru xsnow-1.42/pixmaps/BigSantaRudolf3.XPM xsnow-2.0.9/pixmaps/BigSantaRudolf3.XPM --- xsnow-1.42/pixmaps/BigSantaRudolf3.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/BigSantaRudolf3.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -/* XPM */ -static char *BigSantaRudolf3[] = { -/* width height num_colors chars_per_pixel */ -" 177 34 18 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #ff0000", -"b c #f1f1f1", -"c c #cccccc", -"d c #cc9999", -"e c #cc9933", -"f c #cc6633", -"g c #cc0000", -"h c none", -"i c #993333", -"j c #990000", -"k c #663300", -"l c #33cc00", -"m c #111111", -"n c #009900", -"o c #0066cc", -"p c #003399", -/* pixels */ -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhhihiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhihhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhiihiiihhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiihiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhiiihhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiihhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhhihhhh", -"hhhhhhhhhhhhhhhhhhhggjgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhihiih", -"hhhhhhhhhhhhhhhhhhjgjgggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhhhhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhiiihh", -"hhhhhhhhhhhhhhhhhggjggjgggggbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhihhhiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhiihhh", -"hhhhhhhhhhhhhhhhgjjgjjgjgggchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihiihhhhh", -"hhhhhhhhhhhhhhhgjhhhggjggdbdhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiihhhhhh", -"hhhhhhhhhhhhhh.jhhhhhjggdbmddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhifffffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiffffhhhhh", -"hhhhhhhhhhhhh...hhhhhgcbcdddddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmmfiikkiffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffkiififfhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffkiififfhhh", -"hhhhhhhhhhhhhh.hjgghhcccbcdccddhhhmhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhffffmmfkkkffmffhhhhhhhhhhhhfffffffhhhhhhfffmmfffkikffmffhhhhhhhhhhhffffffhhhhhhfffmmmffkkffmffhh", -"hhhhhhhhhhhhhhhhggghhhcccbbcbbdhhgghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffffffffffffffffmmfffffffffhhhhhhhhhfffffffffffffffffffmmffffffffffhhhmhmhhfffffffffffffffffffmmffffffffaaa", -"hhhhhhhhbpohlhhcjgjhhhcbcccbcbghbggghhhmhmhmhmhmhmhmhmhhhhhhhhhhhhfffffffffffffffffffffmmffiiiffkhhmmhmhmmffffffffffffffffffffmmfffiifffffmhhhhhmffffffffffffffffffffmmfffiiffaaa", -"hhhhhhhbbopppgncccciihhjjcbccgggbgggmmmhhhhhhhhhhhhhhhhmhhmhmhhhhfffffffffffffffffffffffmmiiiiifkmhhhhhhhffffffffffffffffffffffmmiiiiffffkhhhhhhffffffffffffffffffffffmmiiififaaa", -"hhhchocoggpgbg##g#giihjgjjjbgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmhmffffffffffffffffffffffifmmhhhiihhhhhhhhhfffffffffffffffffffffffmmiihhhffkhhhhhhfffffffffffffffffffffffmmihhhifhh", -"hhhcccooggpgggl##ggiihjggggjgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffifffffffffffffiifiimhhhhhhhhhhhhhhffffffifffffffffffffiifiimhhhhhhhhhhhhhffffffifffffffffffffiifiimhhhhhhh", -"hnn#cnnngbpggoop#opoiijggggggjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffffffiiiffffffffffiiifmmmmhhhhhhhhhhhhfffffffiiiffffffffffiiifmmmmmmmmmmmmmmhfffffffiiiffffffffffiiifmmmhhhhhh", -"hnencennggpghooo#oooiijjgjgjjjgbhhhhiihhhhhhhhhhhhhhhhhhhhhhmmmmmfffffffiiiiiiiifffffiiihhmmmmmmmmmmmmmmmfffffffiiiiiiiifffffiiihhmmmmmmmmmmmmmmfffffffiiiiiiiifffffiiihhmmhhhhhh", -"hnnncnnehhhhhooo#opoiijjggjjggggbhhihimmmmmmmmmmmmmmmmmmmmmmmmmmmffffffffiiiiiiiifffffiihhhhhmmmmmmmmmmmmffffffffiiiiiiiifffffiihhhhhhhhhhhhhhhmffffffffiiiiiiiifffffiihhhhhhhhhh", -"hnencennhhhhhoop#oooiijjjggggggggbhhhiimmmmmmmmmmmmmmmmmmmmmhhhhhhfffffffihiiiiiiifffffihhhhhhhhhhhhhhhhhhfffffffihiiiiiiifffffihhhhhhhhhhhhhhhhhfffffffihiiiiiiifffffihhhhhhhhhh", -"hinncn#nhhhhhooo#pooiiijjjgggggggbhhhhiihhhhhhhhhhhhhhhhhhhhhhhhhhhfffffiihhhhhhhhhhfffiihhhhhhhhhhhhhhhhhhfffffiihhhhhhhhhhfffiihhhhhhhhhhhhhhhhhfffffiihhhhhhhhhhfffiihhhhhhhhh", -"ihhhhhhhhhhhhhhhhhhhhiijjjjjggggggbhhhiihhhhhhhhhhhhhhhhhhhhhhhhhhhffffiihhhhhhhhhhhhffffiihhhhhhhhhhhhhhhhffffiihhhhhhhhhhhhffffiihhhhhhhhhhhhhhhffffiihhhhhhhhhhhhffffiihhhhhhh", -"ihhhhhhhhhhhhhhhhhhhhiihjjjjjjggggbhhhiihhhhhhhhhhhhhhhhhhhhhhhhhhfffffihhhhhhhhhhhhhhfffffihhhhhhhhhhhhhhfffffihhhhhhhhhhhhhhfffffihhhhhhhhhhhhhfffffihhhhhhhhhhhhhhfffffihhhhhh", -"hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiihhhhhhhhhhhhhhhhhhhhhhhhhffffiihhhhhhhhhhhhhhhhhfifmhhhhhhhhhhhhhffffiihhhhhhhhhhhhhhhhhfifmhhhhhhhhhhhhffffiihhhhhhhhhhhhhhhhhfifmhhhhhh", -"hkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkiihhhhhhhhhhhhhhhhhhhhhhhhhfffihhhhhhhhhhhhhhhhhhhhfmmhhhhhhhhhhhhhfffihhhhhhhhhhhhhhhhhhhhfmmhhhhhhhhhhhhfffihhhhhhhhhhhhhhhhhhhhfmmhhhhhh", -"hhhhhkkhhhhhhhhhhhhhhhhhhhkkjjjjjjbmmhiihhhhhhhhhhhhhhhhhhhhhhhhfffiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffiihhhhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hhhhhkkhhhhhhhhhhhhhhhhhhhkkbbbbbbmmmhiihhhhhhhhhhhhhhhhhhhhhhhhffiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffiiihhhhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hhihhkkhhhhhhhhhhhhhhhhhhhkkhhhmmmmmhiiihhhhhhhhhhhhhhhhhhhhhhhhffhimhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffhimhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffhimhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hihhhkkhhhhhhhhhhhhhhhhhhhkkhhhhhhhhiiihhhhhhhhhhhhhhhhhhhhhhhhhmfhmmhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmfhmmhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmfhmmhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hhiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiihhhhhhhhhhhhhhhhhhhhhhhhhhmmhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmmhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhmmhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh" -}; diff -Nru xsnow-1.42/pixmaps/BigSantaRudolf4.XPM xsnow-2.0.9/pixmaps/BigSantaRudolf4.XPM --- xsnow-1.42/pixmaps/BigSantaRudolf4.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/BigSantaRudolf4.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,60 +0,0 @@ -/* XPM */ -static char *BigSantaRudolf4[] = { -/* width height num_colors chars_per_pixel */ -" 177 34 19 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #ff0000", -"b c #f1f1f1", -"c c #cccccc", -"d c #cc9999", -"e c #cc9933", -"f c #cc6633", -"g c #cc0000", -"h c none", -"i c #b2b2b2", -"j c #993333", -"k c #990000", -"l c #663300", -"m c #33cc00", -"n c #111111", -"o c #009900", -"p c #0066cc", -"q c #003399", -/* pixels */ -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhjhhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhhjhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhjjhjjjhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhjjjhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhggkgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhjhhhh", -"hhhhhhhhhhhhhhhhhhhkgkgggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhjhjjh", -"hhhhhhhhhhhhhhhhhhggkggkgggggbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhjjjhh", -"hhhhhhhhhhhhhhhhhgkkgkkgkgggchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjjjjhhh", -"hhhhhhhhhhhhhhhhgkhhhggkggdbdhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhh", -"hhhhhhhhhhhhhhh.khhhhhkggdbnddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjfffffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjffffhhhhh", -"hhhhhhhhhhhhhh...hhhhhgcbcdddddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnfjjlljffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffljjfjffhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffljjfjffhhh", -"hhhhhhhhhhhhhhh.hhhhhhcccbcdccddhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffhhhhhhffffnnflllffnffhhhhhhhhhhhhffffffffhhhhhhffnnfffljlffnffhhhhhhhhhhhffffffhhhhhhfffnnnffllffnffhh", -"hhhhhhhhhhhhhhhhkgghhhhcccbbcbbdhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffffffffffffffffffnnfffffffffhhhhhhhhhfffffffffffffffffffnnffffffffffhhhhhhhhfffffffffffffffffffnnffffffffaaa", -"hhhhhhhhhhhhhhhhggghhhhcbcccbcbhhhnhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffffffffffffffffffffnnffjjjfflhhhhhhhhhffffffffffffffffffffnnfffjjfffffnhnhnhnffffffffffffffffffffnnfffjjffaaa", -"hhhhhhhhhhhhhhhckgkjjhhkkkcbccbhhgghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffffffffffffffffffffffnnjjjjjflnhnhnhnhfffffffffffffffffffffffnjjjjfffflhhhhfffffffffffffffffffffffnnnjjjfjfaaa", -"hhhhhhhbhbhhmgoccccjjhkgkkkkbiggbggghhhhhhhhhhhhhhhhhhhhhhhhhhhnhffffffffffjjjfffffffffjfnnhhhjjhhhhhhhhhffffffffffjjjfffffffffjfnjjhhhfflhhhhffffffffffjjjfffffffffjffnnjhhhjfhh", -"hhhchpcpbpghmg##g#gjjhkggggkggggbgggnnnhnhnhnnhnhnhnhnhnhnhnhnhhhjfffffffffjjjfffffffjjfjjnnnhhhhhhhhhhhhjfffffffffjjjfffffffjjfjnnhhhhhhhhhhhjfffffffffjjjfffffffjjfjjfnhhhhhhhh", -"hhhcccppggqgbgm##gghjjkggggggkkkhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffffffffffjjfffffffjjjfnnnnnnnnnnnnnnnnfffffffffffjjfffffffjjjfnnnnhhhhhhnnnfffffffffffjjfffffffjjjfjfhhhhhhhhh", -"hoo#coooggqggppq#pqpjjkkgkgkkkgbhhhhjjhhhhhhhhhhhhhhhhhhhhhhnnnnnjffffffffffjfjjjfffffjjhhhhhnnnnnnnnnnnnjffffffffffjfjjjfffffjjhnnnnnnnnnnnnnjffffffffffjfjjjfffffjjhhhhhhhhhhhh", -"hoeoceoogbqggppp#pppjjkkggkkggggbhhjhjnnnnnnnnnnnnnnnnnnnnnnnnnnnjjffffffffjjfjjfffffffjhhhhhhhhhhhhhhhhhjjffffffffjjfjjfffffffjhhhhhnnnnnnnhhjjffffffffjjfjjfffffffjhhhhhhhhhhhh", -"hooocooeggqghppp#pqpjjkkkggggggggbhhhjjnnnnnnnnnnnnnnnnnnnnnhhhhhhjjffffffjjffjjjjffffffhhhhhhhhhhhhhhhhhhjjffffffjjffjjjjffffffhhhhhhhhhhhhhhhjjffffffjjffjjjjffffffhhhhhhhhhhhh", -"hjeoceoohhhhhppq#pppjjjkkkgggggggbhhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffffjhhhhhhjjjffffhhhhhhhhhhhhhhhhhhhhhfffffjhhhhhhjjjffffhhhhhhhhhhhhhhhhhhfffffjhhhhhhjjjffffhhhhhhhhhhhh", -"j#ooco#ohhhhhppp#qpphjjkkkkkggggggbhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffjjhhhhhhhhhhfffjhhhhhhhhhhhhhhhhhhhhffffjjhhhhhhhhhhfffjhhhhhhhhhhhhhhhhhffffjjhhhhhhhhhhfffjhhhhhhhhhhhh", -"jhhhhhhhhhhhhhhhhhhhhjjhkkkkkkggggbhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffjhhhhhhhhhhhhhfffhhhhhhhhhhhhhhhhhhhhfffjhhhhhhhhhhhhhfffhhhhhhhhhhhhhhhhhfffjhhhhhhhhhhhhhfffhhhhhhhhhhhh", -"hjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhfffjjhhhhhhhhhhhhhffffhhhhhhhhhhhhhhhhhhfffjjhhhhhhhhhhhhhffffhhhhhhhhhhhhhhhfffjjhhhhhhhhhhhhhffffhhhhhhhhhhh", -"hllllllllllllllllllllllllllllllllllllljjhhhhhhhhhhhhhhhhhhhhhhhhhhhffjjhhhhhhhhhhhhhhhfffhhhhhhhhhhhhhhhhhhffjjhhhhhhhhhhhhhhhfffhhhhhhhhhhhhhhhffjjhhhhhhhhhhhhhhhfffhhhhhhhhhhh", -"hhhhhllhhhhhhhhhhhhhhhhhhhllkkkkkkbhhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhffjjhhhhhhhhhhhhhhhjffhhhhhhhhhhhhhhhhhhffjjhhhhhhhhhhhhhhhjffhhhhhhhhhhhhhhhffjjhhhhhhhhhhhhhhhjffhhhhhhhhhhh", -"hhhhhllhhhhhhhhhhhhhhhhhhhllbbbbbbnnhhjjhhhhhhhhhhhhhhhhhhhhhhhhhhhnfjnhhhhhhhhhhhhhhhjffhhhhhhhhhhhhhhhhhhnfjnhhhhhhhhhhhhhhhjffhhhhhhhhhhhhhhhnfjnhhhhhhhhhhhhhhhjffhhhhhhhhhhh", -"hhjhhllhhhhhhhhhhhhhhhhhhhllhhnnnnnnhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhnnhhhhhhhhhhhhhhhhjjffhhhhhhhhhhhhhhhhhhnnhhhhhhhhhhhhhhhhjjffhhhhhhhhhhhhhhhnnhhhhhhhhhhhhhhhhjjffhhhhhhhhhhh", -"hjhhhllhhhhhhhhhhhhhhhhhhhllhhhnnnhhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnfnhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnfnhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnfnhhhhhhhhhhh", -"hhjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhnnhhhhhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh" -}; diff -Nru xsnow-1.42/pixmaps/MediumSanta1.XPM xsnow-2.0.9/pixmaps/MediumSanta1.XPM --- xsnow-1.42/pixmaps/MediumSanta1.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/MediumSanta1.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,42 +0,0 @@ -/* XPM */ -static char *MediumSanta1[] = { -/* width height num_colors chars_per_pixel */ -" 88 17 18 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #f1f1f1", -"b c #cccccc", -"c c #cc9999", -"d c #cc9933", -"e c #cc6633", -"f c #cc0000", -"g c none", -"h c #c0c0c0", -"i c #993333", -"j c #990000", -"k c #663300", -"l c #111111", -"m c #009900", -"n c #0066cc", -"o c #003399", -"p c #000000", -/* pixels */ -"ggggggggggggggggggggggggggggggggggggggggiggigggggggggggggggggiiggggggggggggggggiiggggggg", -"ggggggggggggggggggggggggggggggggggggggggiigiggggggggggggggggggigiiggggggggggggggigiigggg", -"gggggggggggffgggggggggggggggggggggggggggggigggiggggggggggggggggiiggggggggggggggggiiggggg", -"gggggggggfffffgggggggggggggggggggggggggggggiigiiggggggggggggggggigggigggggggggggggigggig", -"ggggggggfjfjjfhgggggggggggggggggggggggggggggiigggggggggggggggggggigigggggggggggggggigigg", -"ggggggggaggjfpcgggggggggggggggggggggggggggggeeeggggggggggggggggggeeegggggggggggggggieegg", -"gggggggggggbbbbcggggggggggggggggggeeeeggeelekeleggggggeeeegggelekkeeggggggeeegggellekeeg", -"ggggggggfgggabaagggggggggggggggggeeeeeeeeeeleiiegggggeeeeeeeeeeleieeelgleeeeeeeeeeleeiek", -"gggggggbfigfjaagggggggggggggggggeeeeeeeeeeeilggiglgleeeeeeeeeeeiligeegggeeeeeeeeeeeeigig", -"gbnnngf##giffffjf.lllllllllgggggeeeeieeeeeeeglggggggeeeeieeeeeeegllllllleeeiieeeeeiggggg", -"m#mmnononnijfjjfffllggggggllllllieeeeiiieeeiggllllllieeeeiiieeeiggggggggieeeiiiieeeggggg", -"immdffnnnnijjfffaggiggggggggggggggeeeggggeigggggggggggeeeggggeigggggggggggeeegggeegggggg", -"#mmmffnnonigjjjffggigggggggggggggggeeggggegggggggggggggeeggggegggggggggggggeigggeigggggg", -"kkkkkkkkkkkkkkkkkkkiggggggggggggggggeeggeiggggggggggggggeeggeigggggggggggggeeegeeigggggg", -"gggkgggggggggkgg..giggggggggggggggggipggeiggggggggggggggipggeiggggggggggggggilgeiggggggg", -"gggigggggggggigggpiggggggggggggggggggggglggggggggggggggggggglgggggggggggggggggglgggggggg", -"iiiiiiiiiiiiiiiiiigggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg" -}; diff -Nru xsnow-1.42/pixmaps/MediumSanta2.XPM xsnow-2.0.9/pixmaps/MediumSanta2.XPM --- xsnow-1.42/pixmaps/MediumSanta2.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/MediumSanta2.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,42 +0,0 @@ -/* XPM */ -static char *MediumSanta2[] = { -/* width height num_colors chars_per_pixel */ -" 88 17 18 1", -/* colors */ -". c #ff9933", -"# c #f1f1f1", -"a c #cccccc", -"b c #cc9999", -"c c #cc9933", -"d c #cc6633", -"e c #cc0000", -"f c none", -"g c #c0c0c0", -"h c #b2b2b2", -"i c #993333", -"j c #990000", -"k c #663300", -"l c #111111", -"m c #009900", -"n c #0066cc", -"o c #003399", -"p c #000000", -/* pixels */ -"ffffffffffffffffffffffffffffffffffffffffffiiifffffffffffffffiififfffffffffffffiifififfff", -"ffffffffffffffffffffffffffffffffffffffffiiiffffffffffffffffffiifiiffffffffffffffiififfff", -"fffffffffffeefffffffffffffffffffffffffffffiffffffffffffffffffffiffffffffffffffffffifffff", -"fffffffffjjeeefffffffffffffffffffffffffffffiifiifffffffffffffffiifffffffffffffffffiifffi", -"ffffffffejjeeegfffffffffffffffffffffffffffffiiifffffffffffffffffiifiiffffffffffffffiiiif", -"fffffff#fffeblbfffffffffffffffffffffffffffffdddfffffffffffffffffidddfffffffffffffffiddff", -"fffffffffffa#babffffffffffffffffffffffffddldkdldfffffffffffffddlkkddffffffffffffddlkkddf", -"ffffffffeffaaaaffffffffffffffffffddddddddddldiidflflffddddddddddlddddflflddddddddddldidk", -"fff##feaaifejjheee#llffllffllfflfddddddddddilffffffffddddddddddddlfdifffddddddddddddlfif", -"faaneee.efieeejjfffffffffffffffffdddidddddiillllllllfdddiidddddidllllllfdddiidddddidlfff", -"mmcm#ennnnijejeefiilllllllllllllldddiiiiddddfffffffflidddiiiddddffffffflidddiiiddddfffff", -"imcmffnonnijjeee#ffiffffffffffffffddffffffddffffffffffddffffffddfffffffffddffffffddfffff", -"ffffffffffifjjjeeffiffffffffffffffddfffffffiffffffffffddfffffffdfffffffffddfffffffdfffff", -"kkkkkkkkkkkkkkkkkkkiffffffffffffffidffffffldffffffffffddffffffpdfffffffffddffffffpdfffff", -"fffkfffffffffkff##fiffffffffffffffifffffffffffffffffffdffffffffffffffffffdffffffffffffff", -"fffifffffffffifffpifffffffffffffffpfffffffffffffffffffpffffffffffffffffffpffffffffffffff", -"iiiiiiiiiiiiiiiiiiffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" -}; diff -Nru xsnow-1.42/pixmaps/MediumSanta3.XPM xsnow-2.0.9/pixmaps/MediumSanta3.XPM --- xsnow-1.42/pixmaps/MediumSanta3.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/MediumSanta3.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,41 +0,0 @@ -/* XPM */ -static char *MediumSanta3[] = { -/* width height num_colors chars_per_pixel */ -" 88 17 17 1", -/* colors */ -". c #ff9933", -"# c #f1f1f1", -"a c #cccccc", -"b c #cc9999", -"c c #cc9933", -"d c #cc6633", -"e c #cc0000", -"f c none", -"g c #c0c0c0", -"h c #993333", -"i c #990000", -"j c #663300", -"k c #111111", -"l c #009900", -"m c #0066cc", -"n c #003399", -"o c #000000", -/* pixels */ -"ffffffffffffffffffffffffffffffffffffffffhfhhhfffffffffffffffffffffffffffffffffffffhfffff", -"fffffffffffffffffffffffffffffffffffffffffhhhfffffffffffffffffhhfhhhffffffffffffhhfhhhfff", -"ffffffffffeefffffffffffffffffffffffffffffffhffffffffffffffffffhhhffffffffffffffffhhfffff", -"fffffffffeeeeffffffffffffffffffffffffffffffhhfhhfffffffffffffffhhffhhfffffffffffffhffhhh", -"ffffffffieiiegffffffffffffffffffffffffffffffhhhfffffffffffffffffhhfhfffffffffffffffhfhff", -"ffffffff#fieobffffffffffffffffffffffffffffffdddfffffffffffffffffhdddfffffffffffffffhddff", -"ffffffffefaaaabfffffffffffffffffffffffffddkdjdkdfffffffffffffddkjjddffffffffffffddkjjddf", -"ffffnffaeff#a##fee#kfkfkfkfffffffddddddddddkdhhdkfkfffddddddddddkdhddkfffddddddddddkdhdj", -"fammeee..hfei#eeffffffffffkfkfkfhddddddddddhkffhffffkddddddddddddkfdjffkddddddddddddkfhf", -"l.ll#emnmmheeeifffffffffffffffffhdddhdddddhhkkfffffffdddhhdddddhdkkfffffdddhhdddddhdkkff", -"lllcffmmmmhieieefhhkkkkkkkkkkkkkhdddhhhhdddhffkkkkkkkdddhhhhhddhffkkkkkkdddhhhhhddhfffff", -"hlllffmmnmhiieee#ffhffffffffffffhddhffffffdhhfffffffffdhfffffffdhffffffffdhfffffffdhffff", -"ffffffffffhfiiieeffhfffffffffffffddfffffffffdhfffffffddhffffffffddfffffffdhffffffffddfff", -"jjjjjjjjjjjjjjjjjjjhffffffffffffddfffffffffffkfffffffdhffffffffffhffffffdhffffffffffhfff", -"fffjfffffffffjff##fhfffffffffffdfhffffffffffffffffffdfhffffffffffffffffdfhffffffffffffff", -"fffjfffffffffjfffohffffffffffffdfkffffffffffffffffffkfkffffffffffffffffkfkffffffffffffff", -"hhhhhhhhhhhhhhhhhhffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" -}; diff -Nru xsnow-1.42/pixmaps/MediumSanta4.XPM xsnow-2.0.9/pixmaps/MediumSanta4.XPM --- xsnow-1.42/pixmaps/MediumSanta4.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/MediumSanta4.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,42 +0,0 @@ -/* XPM */ -static char *MediumSanta4[] = { -/* width height num_colors chars_per_pixel */ -" 88 17 18 1", -/* colors */ -". c #ff9933", -"# c #f1f1f1", -"a c #cccccc", -"b c #cc9999", -"c c #cc9933", -"d c #cc6633", -"e c #cc0000", -"f c none", -"g c #c0c0c0", -"h c #b2b2b2", -"i c #993333", -"j c #990000", -"k c #663300", -"l c #111111", -"m c #009900", -"n c #0066cc", -"o c #003399", -"p c #000000", -/* pixels */ -"fffffffffffffffffffffffffffffffffffffffffffiiffffffffffffffffififffffffffffffffifififfff", -"ffffffffffffffffffffffffffffffffffffffffifiifffffffffffffffffiifiiffffffffffffffiiiiffff", -"fffffffffffeeffffffffffffffffffffffffffffiifffffffffffffffffffiifffffffffffffffffiifffff", -"fffffffffjjeeeffffffffffffffffffffffffffffiiffiifffffffffffffffiiffiffffffffffffffiffifi", -"ffffffffejjeeegffffffffffffffffffffffffffffiiiifffffffffffffffffiifiiffffffffffffffiiiif", -"fffffff#fffeblbfffffffffffffffffffffffffffffdddfffffffffffffffffidddfffffffffffffffiddff", -"fffffffffffa#babffffffffffffffffffffffffddldkdldfffffffffffffddlkkddffffffffffffddlkkddf", -"ffffffffeffaaaaffffffffffffffffffddddddddddldiidffffffddddddddddlddddffffddddddddddldidk", -"fff##feaaifejjheee#lfflflfflflfldddddiiddddilffiflflfdddddiddddddlfdkflfdddddiddddddlfif", -"faaneee.efieeejjffffffffffffffffddddddidddiilllffffffdddddiddddidllfffffdddddiddddidlfff", -"mmcm#ennnnijejeefiillllllllllllllddddididddfffllllllllddddiiddddfflllllllddddiiddddfffff", -"imcmffnonnijjeee#ffiffffffffffffffddfffffidffffffffffffddfffffddffffffffffddfffffddfffff", -"ffffffffffifjjjeeffifffffffffffffddfffffffddffffffffffddfffffffdfffffffffddfffffffdfffff", -"kkkkkkkkkkkkkkkkkkkifffffffffffffdfffffffffdffffffffffdffffffffdfffffffffdffffffffdfffff", -"fffkfffffffffkff##fiffffffffffffflfffffffffdffffffffffpffffffffifffffffffpffffffffifffff", -"fffifffffffffifffpifffffffffffffffffffffffflffffffffffffffffffflfffffffffffffffffflfffff", -"iiiiiiiiiiiiiiiiiiffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" -}; diff -Nru xsnow-1.42/pixmaps/MediumSantaRudolf1.XPM xsnow-2.0.9/pixmaps/MediumSantaRudolf1.XPM --- xsnow-1.42/pixmaps/MediumSantaRudolf1.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/MediumSantaRudolf1.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +0,0 @@ -/* XPM */ -static char *MediumSantaRudolf1[] = { -/* width height num_colors chars_per_pixel */ -" 88 17 19 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #ff0000", -"b c #f1f1f1", -"c c #cccccc", -"d c #cc9999", -"e c #cc9933", -"f c #cc6633", -"g c #cc0000", -"h c none", -"i c #c0c0c0", -"j c #993333", -"k c #990000", -"l c #663300", -"m c #111111", -"n c #009900", -"o c #0066cc", -"p c #003399", -"q c #000000", -/* pixels */ -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhjhhhhhhhhhhhhhhhhhjjhhhhhhhhhhhhhhhhjjhhhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhjhhhhhhhhhhhhhhhhhhjhjjhhhhhhhhhhhhhhjhjjhhhh", -"hhhhhhhhhhhgghhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhjhhhhhhhhhhhhhhhhjjhhhhhhhhhhhhhhhhjjhhhhh", -"hhhhhhhhhggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhjjhhhhhhhhhhhhhhhhjhhhjhhhhhhhhhhhhhjhhhjh", -"hhhhhhhhgkgkkgihhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhhhhhhhhhhhhhhhhhhhjhjhhhhhhhhhhhhhhhjhjhh", -"hhhhhhhh.hhkgqdhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffhhhhhhhhhhhhhhhhhhfffhhhhhhhhhhhhhhhjffhh", -"hhhhhhhhhhhccccdhhhhhhhhhhhhhhhhhhffffhhffmflfmfhhhhhhffffhhhfmfllffhhhhhhfffhhhfmmflffh", -"hhhhhhhhghhhbcbbhhhhhhhhhhhhhhhhhffffffffffmfjjfhhhhhffffffffffmfjfffmhmffffffffffmffjaa", -"hhhhhhhcgjhgkbbhhhhhhhhhhhhhhhhhfffffffffffjmhhjhmhmfffffffffffjmjhffhhhffffffffffffjhaa", -"hcooohg##hjggggkg.mmmmmmmmmhhhhhffffjfffffffhmhhhhhhffffjfffffffhmmmmmmmfffjjfffffjhhhhh", -"n#nnopopoojkgkkgggmmhhhhhhmmmmmmjffffjjjfffjhhmmmmmmjffffjjjfffjhhhhhhhhjfffjjjjfffhhhhh", -"jnneggoooojkkggg.hhjhhhhhhhhhhhhhhfffhhhhfjhhhhhhhhhhhfffhhhhfjhhhhhhhhhhhfffhhhffhhhhhh", -"#nnnggoopojhkkkgghhjhhhhhhhhhhhhhhhffhhhhfhhhhhhhhhhhhhffhhhhfhhhhhhhhhhhhhfjhhhfjhhhhhh", -"llllllllllllllllllljhhhhhhhhhhhhhhhhffhhfjhhhhhhhhhhhhhhffhhfjhhhhhhhhhhhhhfffhffjhhhhhh", -"hhhlhhhhhhhhhlhh..hjhhhhhhhhhhhhhhhhjqhhfjhhhhhhhhhhhhhhjqhhfjhhhhhhhhhhhhhhjmhfjhhhhhhh", -"hhhjhhhhhhhhhjhhhqjhhhhhhhhhhhhhhhhhhhhhmhhhhhhhhhhhhhhhhhhhmhhhhhhhhhhhhhhhhhhmhhhhhhhh", -"jjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh" -}; diff -Nru xsnow-1.42/pixmaps/MediumSantaRudolf2.XPM xsnow-2.0.9/pixmaps/MediumSantaRudolf2.XPM --- xsnow-1.42/pixmaps/MediumSantaRudolf2.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/MediumSantaRudolf2.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,44 +0,0 @@ -/* XPM */ -static char *MediumSantaRudolf2[] = { -/* width height num_colors chars_per_pixel */ -" 88 17 20 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #ff0000", -"b c #f1f1f1", -"c c #cccccc", -"d c #cc9999", -"e c #cc9933", -"f c #cc6633", -"g c #cc0000", -"h c none", -"i c #c0c0c0", -"j c #b2b2b2", -"k c #993333", -"l c #990000", -"m c #663300", -"n c #111111", -"o c #009900", -"p c #0066cc", -"q c #003399", -"r c #000000", -/* pixels */ -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhkkkhhhhhhhhhhhhhhhkkhkhhhhhhhhhhhhhhkkhkhkhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhkkkhhhhhhhhhhhhhhhhhhkkhkkhhhhhhhhhhhhhhkkhkhhhh", -"hhhhhhhhhhhgghhhhhhhhhhhhhhhhhhhhhhhhhhhhhkhhhhhhhhhhhhhhhhhhhhkhhhhhhhhhhhhhhhhhhkhhhhh", -"hhhhhhhhhllggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhkkhkkhhhhhhhhhhhhhhhkkhhhhhhhhhhhhhhhhhkkhhhk", -"hhhhhhhhgllgggihhhhhhhhhhhhhhhhhhhhhhhhhhhhhkkkhhhhhhhhhhhhhhhhhkkhkkhhhhhhhhhhhhhhkkkkh", -"hhhhhhh.hhhgdndhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffhhhhhhhhhhhhhhhhhkfffhhhhhhhhhhhhhhhkffhh", -"hhhhhhhhhhhcbdcdhhhhhhhhhhhhhhhhhhhhhhhhffnfmfnfhhhhhhhhhhhhhffnmmffhhhhhhhhhhhhffnmmffh", -"hhhhhhhhghhcccchhhhhhhhhhhhhhhhhhffffffffffnfkkfhnhnhhffffffffffnffffhnhnffffffffffnfkaa", -"hhhbbhgcckhglljggg.nnhhnnhhnnhhnhffffffffffknhhhhhhhhffffffffffffnhfkhhhffffffffffffnhaa", -"hccpggg#ghkgggllhhhhhhhhhhhhhhhhhfffkfffffkknnnnnnnnhfffkkfffffkfnnnnnnhfffkkfffffkfnhhh", -"ooeobgppppklglgghkknnnnnnnnnnnnnnfffkkkkffffhhhhhhhhnkfffkkkffffhhhhhhhnkfffkkkffffhhhhh", -"koeohhpqppkllggg.hhkhhhhhhhhhhhhhhffhhhhhhffhhhhhhhhhhffhhhhhhffhhhhhhhhhffhhhhhhffhhhhh", -"hhhhhhhhhhkhlllgghhkhhhhhhhhhhhhhhffhhhhhhhkhhhhhhhhhhffhhhhhhhfhhhhhhhhhffhhhhhhhfhhhhh", -"mmmmmmmmmmmmmmmmmmmkhhhhhhhhhhhhhhkfhhhhhhnfhhhhhhhhhhffhhhhhhrfhhhhhhhhhffhhhhhhrfhhhhh", -"hhhmhhhhhhhhhmhh..hkhhhhhhhhhhhhhhkhhhhhhhhhhhhhhhhhhhfhhhhhhhhhhhhhhhhhhfhhhhhhhhhhhhhh", -"hhhkhhhhhhhhhkhhhrkhhhhhhhhhhhhhhhrhhhhhhhhhhhhhhhhhhhrhhhhhhhhhhhhhhhhhhrhhhhhhhhhhhhhh", -"kkkkkkkkkkkkkkkkkkhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh" -}; diff -Nru xsnow-1.42/pixmaps/MediumSantaRudolf3.XPM xsnow-2.0.9/pixmaps/MediumSantaRudolf3.XPM --- xsnow-1.42/pixmaps/MediumSantaRudolf3.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/MediumSantaRudolf3.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +0,0 @@ -/* XPM */ -static char *MediumSantaRudolf3[] = { -/* width height num_colors chars_per_pixel */ -" 88 17 19 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #ff0000", -"b c #f1f1f1", -"c c #cccccc", -"d c #cc9999", -"e c #cc9933", -"f c #cc6633", -"g c #cc0000", -"h c none", -"i c #c0c0c0", -"j c #993333", -"k c #990000", -"l c #663300", -"m c #111111", -"n c #009900", -"o c #0066cc", -"p c #003399", -"q c #000000", -/* pixels */ -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjhhhhhhhhhhhhhhhhhjjhjjjhhhhhhhhhhhhjjhjjjhhh", -"hhhhhhhhhhgghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjhhhhhhhhhhhhhhhhhhjjjhhhhhhhhhhhhhhhhjjhhhhh", -"hhhhhhhhhgggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjhjjhhhhhhhhhhhhhhhjjhhjjhhhhhhhhhhhhhjhhjjj", -"hhhhhhhhkgkkgihhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjhhhhhhhhhhhhhhhhhjjhjhhhhhhhhhhhhhhhjhjhh", -"hhhhhhh.hhkgqdhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffhhhhhhhhhhhhhhhhhjfffhhhhhhhhhhhhhhhjffhh", -"hhhhhhhhghccccdhhhhhhhhhhhhhhhhhhhhhhhhhffmflfmfhhhhhhhhhhhhhffmllffhhhhhhhhhhhhffmllffh", -"hhhhphhcghhbcbbhgg.mhmhmhmhhhhhhhffffffffffmfjjfmhmhhhffffffffffmfjffmhhhffffffffffmfjaa", -"hcooggg##jhgkbgghhhhhhhhhhmhmhmhjffffffffffjmhhjhhhhmffffffffffffmhflhhmffffffffffffmhaa", -"n#nnbgopoojgggkhhhhhhhhhhhhhhhhhjfffjfffffjjmmhhhhhhhfffjjfffffjfmmhhhhhfffjjfffffjfmmhh", -"nnnehhoooojkgkgghjjmmmmmmmmmmmmmjfffjjjjfffjhhmmmmmmmfffjjjjjffjhhmmmmmmfffjjjjjffjhhhhh", -"jnnnhhoopojkkgggbhhjhhhhhhhhhhhhjffjhhhhhhfjjhhhhhhhhhfjhhhhhhhfjhhhhhhhhfjhhhhhhhfjhhhh", -"hhhhhhhhhhjhkkkgghhjhhhhhhhhhhhhhffhhhhhhhhhfjhhhhhhhffjhhhhhhhhffhhhhhhhfjhhhhhhhhffhhh", -"llllllllllllllllllljhhhhhhhhhhhhffhhhhhhhhhhhmhhhhhhhfjhhhhhhhhhhjhhhhhhfjhhhhhhhhhhjhhh", -"hhhlhhhhhhhhhlhh..hjhhhhhhhhhhhfhjhhhhhhhhhhhhhhhhhhfhjhhhhhhhhhhhhhhhhfhjhhhhhhhhhhhhhh", -"hhhlhhhhhhhhhlhhhqjhhhhhhhhhhhhfhmhhhhhhhhhhhhhhhhhhmhmhhhhhhhhhhhhhhhhmhmhhhhhhhhhhhhhh", -"jjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh" -}; diff -Nru xsnow-1.42/pixmaps/MediumSantaRudolf4.XPM xsnow-2.0.9/pixmaps/MediumSantaRudolf4.XPM --- xsnow-1.42/pixmaps/MediumSantaRudolf4.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/MediumSantaRudolf4.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,44 +0,0 @@ -/* XPM */ -static char *MediumSantaRudolf4[] = { -/* width height num_colors chars_per_pixel */ -" 88 17 20 1", -/* colors */ -". c #ffffff", -"# c #ff9933", -"a c #ff0000", -"b c #f1f1f1", -"c c #cccccc", -"d c #cc9999", -"e c #cc9933", -"f c #cc6633", -"g c #cc0000", -"h c none", -"i c #c0c0c0", -"j c #b2b2b2", -"k c #993333", -"l c #990000", -"m c #663300", -"n c #111111", -"o c #009900", -"p c #0066cc", -"q c #003399", -"r c #000000", -/* pixels */ -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhkkhhhhhhhhhhhhhhhhkhkhhhhhhhhhhhhhhhkhkhkhhhh", -"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhkhkkhhhhhhhhhhhhhhhhhkkhkkhhhhhhhhhhhhhhkkkkhhhh", -"hhhhhhhhhhhgghhhhhhhhhhhhhhhhhhhhhhhhhhhhkkhhhhhhhhhhhhhhhhhhhkkhhhhhhhhhhhhhhhhhkkhhhhh", -"hhhhhhhhhllggghhhhhhhhhhhhhhhhhhhhhhhhhhhhkkhhkkhhhhhhhhhhhhhhhkkhhkhhhhhhhhhhhhhhkhhkhk", -"hhhhhhhhgllgggihhhhhhhhhhhhhhhhhhhhhhhhhhhhkkkkhhhhhhhhhhhhhhhhhkkhkkhhhhhhhhhhhhhhkkkkh", -"hhhhhhh.hhhgdndhhhhhhhhhhhhhhhhhhhhhhhhhhhhhfffhhhhhhhhhhhhhhhhhkfffhhhhhhhhhhhhhhhkffhh", -"hhhhhhhhhhhcbdcdhhhhhhhhhhhhhhhhhhhhhhhhffnfmfnfhhhhhhhhhhhhhffnmmffhhhhhhhhhhhhffnmmffh", -"hhhhhhhhghhcccchhhhhhhhhhhhhhhhhhffffffffffnfkkfhhhhhhffffffffffnffffhhhhffffffffffnfkaa", -"hhhbbhgcckhglljggg.nhhnhnhhnhnhnfffffkkffffknhhkhnhnhfffffkffffffnhfmhnhfffffkffffffnhaa", -"hccpggg#ghkgggllhhhhhhhhhhhhhhhhffffffkfffkknnnhhhhhhfffffkffffkfnnhhhhhfffffkffffkfnhhh", -"ooeobgppppklglgghkknnnnnnnnnnnnnnffffkfkfffhhhnnnnnnnnffffkkffffhhnnnnnnnffffkkffffhhhhh", -"koeohhpqppkllggg.hhkhhhhhhhhhhhhhhffhhhhhkfhhhhhhhhhhhhffhhhhhffhhhhhhhhhhffhhhhhffhhhhh", -"hhhhhhhhhhkhlllgghhkhhhhhhhhhhhhhffhhhhhhhffhhhhhhhhhhffhhhhhhhfhhhhhhhhhffhhhhhhhfhhhhh", -"mmmmmmmmmmmmmmmmmmmkhhhhhhhhhhhhhfhhhhhhhhhfhhhhhhhhhhfhhhhhhhhfhhhhhhhhhfhhhhhhhhfhhhhh", -"hhhmhhhhhhhhhmhh..hkhhhhhhhhhhhhhnhhhhhhhhhfhhhhhhhhhhrhhhhhhhhkhhhhhhhhhrhhhhhhhhkhhhhh", -"hhhkhhhhhhhhhkhhhrkhhhhhhhhhhhhhhhhhhhhhhhhnhhhhhhhhhhhhhhhhhhhnhhhhhhhhhhhhhhhhhhnhhhhh", -"kkkkkkkkkkkkkkkkkkhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh" -}; diff -Nru xsnow-1.42/pixmaps/RegularSanta1.XPM xsnow-2.0.9/pixmaps/RegularSanta1.XPM --- xsnow-1.42/pixmaps/RegularSanta1.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/RegularSanta1.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -/* XPM */ -static char *RegularSanta1[] = { -/* width height num_colors chars_per_pixel */ -" 56 8 7 1", -/* colors */ -". c #ffffff", -"# c #ff9999", -"a c #ff0000", -"b c none", -"c c #663333", -"d c #663300", -"e c #000000", -/* pixels */ -"bbbaa.bbbbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbc", -"bb.b#bbbbbbbbbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbbbbbbbbbbcbcb", -"bbbb#abbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbcbb", -"bebbaaa.eebbbbbbbbbbcbbbbcbbbebebbcbbbbcbbbbbbbbcbbbbcbb", -"beb...aebbebbbbbbbbbbcccccbbbbbbbbbcccccbbbbbbbbbcccccbb", -"beeeeaebbbeebebbebbbbccbcbbbbbbbbbbccbdbbbbebebbbccbcbbb", -"bbebeba.beebbbbbbbbbccbbbcbbbbbbbbccbbbcbbbbbbbbccbbbcbb", -"eeeeeeeeeebbbbbbbbbbcbbbbcbbbbbbbbcbbbbcbbbbbbbbcbbbbcbb" -}; diff -Nru xsnow-1.42/pixmaps/RegularSanta2.XPM xsnow-2.0.9/pixmaps/RegularSanta2.XPM --- xsnow-1.42/pixmaps/RegularSanta2.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/RegularSanta2.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -/* XPM */ -static char *RegularSanta2[] = { -/* width height num_colors chars_per_pixel */ -" 56 8 6 1", -/* colors */ -". c #ffffff", -"# c #ff9999", -"a c #ff0000", -"b c none", -"c c #663333", -"d c #000000", -/* pixels */ -"bbbaa.bbbbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbc", -"bb.b#bbbbbbbbbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbbbbbbbbbbcbcb", -"bbbb#ab.bbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbcbb", -"bdbbaaabddbbbbbbbbbbcbbbbcbbbbbbbbcbbbbcbbbbbbbbcbbbbcbb", -"bdb...adbbddbdbbdbbbbcccccbbbdbdbbbcccccbbbdbdbbbcccccbb", -"bddddadbbbdbbbbbbbbbbccbcbbbbbbbbbbccbcbbbbbbbbbbccbcbbb", -"bbdbdbabbddbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbb", -"ddddddddddbbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbb" -}; diff -Nru xsnow-1.42/pixmaps/RegularSanta3.XPM xsnow-2.0.9/pixmaps/RegularSanta3.XPM --- xsnow-1.42/pixmaps/RegularSanta3.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/RegularSanta3.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -/* XPM */ -static char *RegularSanta3[] = { -/* width height num_colors chars_per_pixel */ -" 56 8 6 1", -/* colors */ -". c #ffffff", -"# c #ff9999", -"a c #ff0000", -"b c none", -"c c #663333", -"d c #000000", -/* pixels */ -"bbbaa.bbbbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbc", -"bb.b#bbbbbbbbbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbbbbbbbbbbcbcb", -"bbbb#ab.bbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbcbb", -"bdbbaaabddbdbdbbdbbbcbbbbcbbbbbbbbcbbbbcbbbdbdbbcbbbbcbb", -"bdb...adbbdbbbbbbbbbbcccccbbbbbbbbbcccccbbbbbbbbbcccccbb", -"bddddadbbbdbbbbbbbbbbccbcbbbbdbdbbbccbcbbbbbbbbbbccbcbbb", -"bbdbdba.bddbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbb", -"ddddddddddbbbbbbbbbbbbccbbbbbbbbbbbbccbbbbbbbbbbbbccbbbb" -}; diff -Nru xsnow-1.42/pixmaps/RegularSanta4.XPM xsnow-2.0.9/pixmaps/RegularSanta4.XPM --- xsnow-1.42/pixmaps/RegularSanta4.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/RegularSanta4.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -/* XPM */ -static char *RegularSanta4[] = { -/* width height num_colors chars_per_pixel */ -" 56 8 6 1", -/* colors */ -". c #ffffff", -"# c #ff9999", -"a c #ff0000", -"b c none", -"c c #663333", -"d c #000000", -/* pixels */ -"bbbaa.bbbbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbc", -"bb.b#bbbbbbbbbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbbbbbbbbbbcbcb", -"bbbb#abbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbcbb", -"bdbbaaa.ddbbbbbbbbbbcbbbbcbbbbbbbbcbbbbcbbbbbbbbcbbbbcbb", -"bdb...adbbddbdbbdbbbbcccccbbbdbdbbbcccccbbbdbdbbbcccccbb", -"bddddadbbbdbbbbbbbbbbccbcbbbbbbbbbbccbcbbbbbbbbbbccbcbbb", -"bbdbdba.bddbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbb", -"ddddddddddbbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbb" -}; diff -Nru xsnow-1.42/pixmaps/RegularSantaRudolf1.XPM xsnow-2.0.9/pixmaps/RegularSantaRudolf1.XPM --- xsnow-1.42/pixmaps/RegularSantaRudolf1.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/RegularSantaRudolf1.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -/* XPM */ -static char *RegularSantaRudolf1[] = { -/* width height num_colors chars_per_pixel */ -" 56 8 7 1", -/* colors */ -". c #ffffff", -"# c #ff9999", -"a c #ff0000", -"b c none", -"c c #663333", -"d c #663300", -"e c #000000", -/* pixels */ -"bbbaa.bbbbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbc", -"bb.b#bbbbbbbbbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbbbbbbbbbbcbcb", -"bbbb#abbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbcbb", -"bebbaaa.eebbbbbbbbbbcbbbbcbbbebebbcbbbbcbbbbbbbbcbbbbcab", -"beb...aebbebbbbbbbbbbcccccbbbbbbbbbcccccbbbbbbbbbcccccbb", -"beeeeaebbbeebebbebbbbccbcbbbbbbbbbbccbdbbbbebebbbccbcbbb", -"bbebeba.beebbbbbbbbbccbbbcbbbbbbbbccbbbcbbbbbbbbccbbbcbb", -"eeeeeeeeeebbbbbbbbbbcbbbbcbbbbbbbbcbbbbcbbbbbbbbcbbbbcbb" -}; diff -Nru xsnow-1.42/pixmaps/RegularSantaRudolf2.XPM xsnow-2.0.9/pixmaps/RegularSantaRudolf2.XPM --- xsnow-1.42/pixmaps/RegularSantaRudolf2.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/RegularSantaRudolf2.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -/* XPM */ -static char *RegularSantaRudolf2[] = { -/* width height num_colors chars_per_pixel */ -" 56 8 6 1", -/* colors */ -". c #ffffff", -"# c #ff9999", -"a c #ff0000", -"b c none", -"c c #663333", -"d c #000000", -/* pixels */ -"bbbaa.bbbbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbc", -"bb.b#bbbbbbbbbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbbbbbbbbbbcbcb", -"bbbb#ab.bbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbcbb", -"bdbbaaabddbbbbbbbbbbcbbbbcbbbbbbbbcbbbbcbbbbbbbbcbbbbcab", -"bdb...adbbddbdbbdbbbbcccccbbbdbdbbbcccccbbbdbdbbbcccccbb", -"bddddadbbbdbbbbbbbbbbccbcbbbbbbbbbbccbcbbbbbbbbbbccbcbbb", -"bbdbdbabbddbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbb", -"ddddddddddbbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbb" -}; diff -Nru xsnow-1.42/pixmaps/RegularSantaRudolf3.XPM xsnow-2.0.9/pixmaps/RegularSantaRudolf3.XPM --- xsnow-1.42/pixmaps/RegularSantaRudolf3.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/RegularSantaRudolf3.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -/* XPM */ -static char *RegularSantaRudolf3[] = { -/* width height num_colors chars_per_pixel */ -" 56 8 6 1", -/* colors */ -". c #ffffff", -"# c #ff9999", -"a c #ff0000", -"b c none", -"c c #663333", -"d c #000000", -/* pixels */ -"bbbaa.bbbbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbc", -"bb.b#bbbbbbbbbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbbbbbbbbbbcbcb", -"bbbb#ab.bbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbcbb", -"bdbbaaabddbdbdbbdbbbcbbbbcbbbbbbbbcbbbbcbbbdbdbbcbbbbcab", -"bdb...adbbdbbbbbbbbbbcccccbbbbbbbbbcccccbbbbbbbbbcccccbb", -"bddddadbbbdbbbbbbbbbbccbcbbbbdbdbbbccbcbbbbbbbbbbccbcbbb", -"bbdbdba.bddbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbb", -"ddddddddddbbbbbbbbbbbbccbbbbbbbbbbbbccbbbbbbbbbbbbccbbbb" -}; diff -Nru xsnow-1.42/pixmaps/RegularSantaRudolf4.XPM xsnow-2.0.9/pixmaps/RegularSantaRudolf4.XPM --- xsnow-1.42/pixmaps/RegularSantaRudolf4.XPM 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/RegularSantaRudolf4.XPM 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -/* XPM */ -static char *RegularSantaRudolf4[] = { -/* width height num_colors chars_per_pixel */ -" 56 8 6 1", -/* colors */ -". c #ffffff", -"# c #ff9999", -"a c #ff0000", -"b c none", -"c c #663333", -"d c #000000", -/* pixels */ -"bbbaa.bbbbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbc", -"bb.b#bbbbbbbbbbbbbbbbbbbcbcbbbbbbbbbbbcbcbbbbbbbbbbbcbcb", -"bbbb#abbbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbcbbbbbbbbbbbbbcbb", -"bdbbaaa.ddbbbbbbbbbbcbbbbcbbbbbbbbcbbbbcbbbbbbbbcbbbbcab", -"bdb...adbbddbdbbdbbbbcccccbbbdbdbbbcccccbbbdbdbbbcccccbb", -"bddddadbbbdbbbbbbbbbbccbcbbbbbbbbbbccbcbbbbbbbbbbccbcbbb", -"bbdbdba.bddbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbb", -"ddddddddddbbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbbbbbbbbbcbbcbbb" -}; diff -Nru xsnow-1.42/pixmaps/snow00.xbm xsnow-2.0.9/pixmaps/snow00.xbm --- xsnow-1.42/pixmaps/snow00.xbm 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/snow00.xbm 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -#define snow00_width 3 -#define snow00_height 3 -static char snow00_bits[] = { - 0x05, 0x02, 0x05}; diff -Nru xsnow-1.42/pixmaps/snow01.xbm xsnow-2.0.9/pixmaps/snow01.xbm --- xsnow-1.42/pixmaps/snow01.xbm 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/snow01.xbm 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -#define snow01_width 8 -#define snow01_height 8 -static char snow01_bits[] = { - 0x22, 0x6b, 0x14, 0x2a, 0x14, 0x6b, 0x22, 0x00}; diff -Nru xsnow-1.42/pixmaps/snow02.xbm xsnow-2.0.9/pixmaps/snow02.xbm --- xsnow-1.42/pixmaps/snow02.xbm 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/snow02.xbm 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -#define snow02_width 8 -#define snow02_height 8 -static char snow02_bits[] = { - 0x14, 0x08, 0x49, 0x36, 0x49, 0x08, 0x14, 0x00}; diff -Nru xsnow-1.42/pixmaps/snow03.xbm xsnow-2.0.9/pixmaps/snow03.xbm --- xsnow-1.42/pixmaps/snow03.xbm 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/snow03.xbm 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -#define snow03_width 8 -#define snow03_height 8 -static char snow03_bits[] = { - 0x14, 0x08, 0x49, 0x36, 0x49, 0x08, 0x14, 0x00}; diff -Nru xsnow-1.42/pixmaps/snow04.xbm xsnow-2.0.9/pixmaps/snow04.xbm --- xsnow-1.42/pixmaps/snow04.xbm 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/snow04.xbm 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -#define snow04_width 8 -#define snow04_height 8 -static char snow04_bits[] = { - 0x22, 0x6b, 0x14, 0x2a, 0x14, 0x6b, 0x22, 0x00}; diff -Nru xsnow-1.42/pixmaps/snow05.xbm xsnow-2.0.9/pixmaps/snow05.xbm --- xsnow-1.42/pixmaps/snow05.xbm 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/snow05.xbm 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -#define snow05_width 8 -#define snow05_height 8 -static char snow05_bits[] = { - 0x14, 0x08, 0x49, 0x36, 0x49, 0x08, 0x14, 0x00}; diff -Nru xsnow-1.42/pixmaps/snow06.xbm xsnow-2.0.9/pixmaps/snow06.xbm --- xsnow-1.42/pixmaps/snow06.xbm 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/snow06.xbm 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -#define snow06_width 3 -#define snow06_height 3 -static char snow06_bits[] = { - 0x05, 0x02, 0x05}; diff -Nru xsnow-1.42/pixmaps/tannenbaum.xbm xsnow-2.0.9/pixmaps/tannenbaum.xbm --- xsnow-1.42/pixmaps/tannenbaum.xbm 2000-12-17 00:56:51.000000000 +0000 +++ xsnow-2.0.9/pixmaps/tannenbaum.xbm 1970-01-01 00:00:00.000000000 +0000 @@ -1,36 +0,0 @@ -#define tannenbaum_width 56 -#define tannenbaum_height 56 -static char tannenbaum_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x80, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, - 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x20, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x0f, 0x01, 0x00, - 0x00, 0x00, 0x00, 0x3c, 0xf9, 0x07, 0x00, 0x00, 0x00, 0x00, 0x87, 0x10, - 0x1c, 0x00, 0x00, 0x00, 0x80, 0x80, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, - 0x40, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x20, 0x42, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x82, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x10, 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, - 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x48, 0x20, 0x03, 0x00, 0x00, 0x00, - 0x00, 0x04, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x02, 0x07, 0x04, 0x00, - 0x00, 0x00, 0x80, 0xe1, 0x1c, 0x08, 0x00, 0x00, 0x00, 0xc0, 0x18, 0x20, - 0x30, 0x00, 0x00, 0x00, 0x30, 0x1c, 0xc0, 0x7f, 0x00, 0x00, 0x00, 0x1c, - 0x0a, 0x80, 0xf0, 0x01, 0x00, 0x00, 0xa2, 0x8b, 0x00, 0x81, 0x07, 0x00, - 0x00, 0x89, 0x44, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x02, 0x10, 0x02, - 0x00, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x04, 0x00, 0x00, 0x00, 0x80, 0x00, - 0x00, 0x0c, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, - 0x30, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x0e, 0xf8, 0x01, 0xc2, 0x00, - 0x00, 0xe0, 0x01, 0x06, 0x07, 0x00, 0x07, 0x00, 0xbf, 0x8f, 0x01, 0x39, - 0x00, 0x78, 0x00, 0x00, 0x78, 0x00, 0xc5, 0x01, 0xfc, 0x0f, 0x00, 0x00, - 0x00, 0x05, 0xfe, 0x03, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}; diff -Nru xsnow-1.42/prevent-remakes xsnow-2.0.9/prevent-remakes --- xsnow-1.42/prevent-remakes 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/prevent-remakes 2019-05-16 11:30:05.000000000 +0000 @@ -0,0 +1,17 @@ +#!/bin/sh +# fix-timestamp.sh: prevents useless rebuilds after "cvs update" +sleep 1 +# aclocal-generated aclocal.m4 depends on locally-installed +# '.m4' macro files, as well as on 'configure.ac' +touch aclocal.m4 +sleep 1 +# autoconf-generated configure depends on aclocal.m4 and on +# configure.ac +touch configure +# so does autoheader-generated config.h.in +touch config.h.in +# and all the automake-generated Makefile.in files +touch `find . -name Makefile.in -print` +# finally, the makeinfo-generated '.info' files depend on the +# corresponding '.texi' files +#touch doc/*.info diff -Nru xsnow-1.42/README xsnow-2.0.9/README --- xsnow-1.42/README 2001-12-15 23:13:41.000000000 +0000 +++ xsnow-2.0.9/README 2019-07-18 05:58:29.000000000 +0000 @@ -1,174 +1,27 @@ -Copyright 1984,1988,1990,1993-1995,2000-2001 by Rick Jansen, all rights reserved. +xsnow: let it snow on your desktop - X S N O W - * - * * - * * - * - * - -December 14th 2001 - -Latest news: ------------- -December 2001: -All you KDE-users can now be even happier with a KDE-enabled Xsnow 1.42! -The snow will magnificently wipe out your icons, but not to worry, they're -not really gone. By wiping with a window or something you can make them -reappear. Car owners are used to this for years. - -December 2000: -After 5 years here's a new Xsnow! The program has been around bit, and -is now even making it snow on many Windows machines, so it's high time -for an improved verson for X. Xsnow 1.41 works with modern X servers -like XFree86, where older versions made snow build up somewhere in the -sky at times, defying gravity. - -Xsnow 1.41 features a new Santa, many thanks to Thomas Linder -(Thomas.Linder@gmx.net). - -It is now possible to slow Santa down. See the option -santaupdatefactor - - -Where to get Xsnow: -------------------- -Xsnow is available from the author's WWW page: - - http://www.euronet.nl/~rja/ +xsnow is derived from Rick Jansen's xsnow-1.42. +It runs in many desktop environments: Gnome, KDE, FVWM, etc. + +The file 'dependencies' lists the dependencies. These should be +installed before compiling xsnow. + +Compilation and installation: -Click on the appropriate item and the tar file will be downloaded -upon your request. + tar xf xsnow-.tar.gz + cd xsnow- + ./configure + make + sudo make install + +xsnow will be installed in /usr/local/games. + +For users of debian distro's: you can download the appropriate +.deb file and install with: + + sudo apt install ./xsnow__.deb -Xsnow is also archived at ftp.x.org in the contrib/games directory. +Raspberry pi - Raspian users: choose the .deb with arch='armhf' . +Have fun! -How to compile: ---------------- -To build: - xmkmf - make depend - make - -To run: - ./xsnow - or: - ./xsnow& (in the background) - -To install (be root): - make install - make install.man - -If xmkmf does not work and you cannot get a working Makefile that way -then try compiling yourself, eh, xsnow this way: - - cc -o xsnow snow.c -lXext -lX11 -lXpm -lm -lsocket -lnsl - -gcc, SUN Solaris users without a C-compiler, but with gcc installed, -try the following two commands. The first compiles Xsnow, the second -links Xsnow. - - gcc -c -O2 -I/usr/openwin/include -DSVR4 -DSYSV xsnow.c - gcc -o xsnow xsnow.o -O2 -L/usr/openwin/lib -lXext -lX11 -lXpm -lm -lsocket -lnsl - -Note: Xsnow-1.41 needs the Xpm library. It is available from: - - ftp://ftp.x.org/contrib/libraries/ - -The current Xpm version is xpm3.4k - - -VMS ---- -This distribution contains a file 'make.com' to build Xsnow on -VMS systems, and 'xsnow.hlp'. To build type '@make' in the -xsnow directory. Another make.com is make2.com - -Virtual window managers ------------------------ -For compatibility with virtual window managers Xsnow uses 'vroot.h', -an include file that makes X programs compatible with window managers -like swm and tvtwm. The complete vroot distribution is available from -'ftp.x.org' in the contrib directory as 'vroot.shar.Z'. -Vroot was written by Andreas Stolcke , 9/7/90 -and is copyright 1991 by Andreas Stolcke, copyright 1990 by Solbourne -Computer Inc. - -Silicon Graphics IRIX 5.x ------------------------- -Silicon Graphics and Irix 5.x users may not see any snow or -Santa at all, as long the desktop icons are visible. To -circumvent this problem issue this command: - - /usr/lib/desktop/telldesktop quit - -The icons will disappear and xsnow will work perfectly. To -restart the desktop just start /usr/lib/desktop/startdesktop -or select Desktop->Home Directory from the toolchest. - -It's even possible to have both - desktop icons and xsnow -(and even multiple desks). You need to modify the window -manager's resource file 4DWm, the file - - ~/.desktop-`hostname`/4DWm. - -Example: - -*Global.backgroundDescription: -execute /etc/killall -TERM -xsnow ; /usr/local/bin/xsnow -*Desk 1.backgroundDescription: -execute /etc/killall -TERM -xsnow ; /usr/local/bin/xsnow -*Desk 2.backgroundDescription: -execute /etc/killall -TERM -xsnow ; /usr/local/bin/xsnow - -Restart the he toolchest and Xsnow should appear. What this -does is stop the currently running Xsnow and start a new one -when you switch to another desktop. - -HP and hp-ux: -------------- -HP also uses a Workspace Manager which may interfere with Xsnow. -If Xsnow does not appear: -In the "Style Manager", choose "Backdrop" and select "NoBackdrop". -You should now be able to run Xsnow. - - -Update history --------------- - 1.22 Really building up snow at bottom of screen - 1.22 A choice of Santa's. Thanks to Holger Veit (Holger.Veit@gmd.de) - for Santa no. 2. Santa 1 was derived from 2 by scaling down. - 1.23 Aaaargh! gnu C doesn't like the initialization of the new - Santa pixmaps. Extra braces do the trick, which is so often the case - 1.24 Deleted PaintSnowAtBottom. It's more of a surprise this way. - 1.24 Bug removed with windows off-screen to the left - 1.25 Rudolf's red nose. Silly. Grmbll. - 1.25 Bug with -nokeepsnowonwindows removed - 1.27 Bug with erasing snow on top of windows removed - Erasing of snow at bottom of screen improved in case of expose event - 1.30 Performance improved. Wind. - 1.31 Make.com and xsnow.hlp for VMS - 1.32 unsigned long snowDelay changed to long, as strtoul is troublesome - 1.35 Snow really builds up on windows now, and does not snow on pop-ups. - 1.37 Offset for certain window managers like twm, nokeepsnowonwindows - and nokeepsnowonscreen are back. - 1.38 Santa is a real snow plough now. - 1.39 usSleep fixed for VMS. Bug resulted in using too much resources. - 1.40 -solidbg for improved performance, memory leak fixed. - 1.41 -santaupdatefactor, fix for X-servers that use backing store, new - Santa by Thomas Linder - 1.42 Xsnow now works with KDE - - Copyright - --------- - Xsnow is available freely and you may give it to other people as is, - but I retain all rights. Therefore it does not classify as 'Public - Domain' software. It *is* allowed to package Xsnow for Unix/Linux - distributions, CD-Roms etc, and to make the necessary changes to - makefiles etc. to facilitate this. - -Merry X-mas! - -Rick Jansen --- -rja@euronet.nl -http://www.euronet.nl/~rja/ diff -Nru xsnow-1.42/README.md xsnow-2.0.9/README.md --- xsnow-1.42/README.md 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/README.md 2019-07-19 13:22:22.000000000 +0000 @@ -0,0 +1,28 @@ +## Do not modify this file, it is generated from README by bootstrap ## +xsnow: let it snow on your desktop + +xsnow is derived from Rick Jansen's xsnow-1.42. +It runs in many desktop environments: Gnome, KDE, FVWM, etc. + +The file 'dependencies' lists the dependencies. These should be +installed before compiling xsnow. + +Compilation and installation: + + tar xf xsnow-.tar.gz + cd xsnow- + ./configure + make + sudo make install + +xsnow will be installed in /usr/local/games. + +For users of debian distro's: you can download the appropriate +.deb file and install with: + + sudo apt install ./xsnow__.deb + +Raspberry pi - Raspian users: choose the .deb with arch='armhf' . + +Have fun! + diff -Nru xsnow-1.42/src/alarm.h xsnow-2.0.9/src/alarm.h --- xsnow-1.42/src/alarm.h 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/alarm.h 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,47 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# + */ +#ifndef ALARM_H +#define ALARM_H +#define ALARMALL \ +ALARM(blowoff, 0.50 ) /* time between blow snow off windows */ \ +ALARM(clean, 1.00 ) /* time between cleaning desktop */ \ +ALARM(emeteorite, 0.20 ) /* time between meteorites erasures */ \ +ALARM(event, 0.01 ) /* time between checking events */ \ +ALARM(fallen, 0.15 * factor ) /* time between redraw fallen snow */ \ +ALARM(fuse, 1.00 ) /* time between testing on too much flakes */ \ +ALARM(genflakes, 0.10 ) /* time between generation of flakes */ \ +ALARM(meteorite, 3.00 ) /* time between meteorites */ \ +ALARM(newwind, 1.00 ) /* time between changing wind */ \ +ALARM(santa, 0.05 * factor ) /* time between drawings of santa */ \ +ALARM(santa1, 0.01 * factor ) /* time between redrawings of santa */ \ +ALARM(sfallen, 2.30 ) /* time between smoothing of fallen snow */ \ +ALARM(snowflakes, 0.05 * factor ) /* time between redrawings of snow on trees */ \ +ALARM(snow_on_trees, 0.50 ) /* time between redrawings of snow */ \ +ALARM(stars, 0.50 ) /* time between drawing stars */ \ +ALARM(testing, 1.05 ) /* time between testing code */ \ +ALARM(tree, 0.05 * factor ) /* time between redrawings of trees */ \ +ALARM(ui_check, 0.25 ) /* time between checking values from ui */ \ +ALARM(ui_loop, 0.01 ) /* time between entering ui_loop */ \ +ALARM(usanta, 0.05 ) /* time between update of santa position */ \ +ALARM(ustars, 2.00 ) /* time between updating stars */ \ +ALARM(wind, 0.10 ) /* time between starting or ending wind */ \ +ALARM(wupdate, 0.50 ) /* time between getting windows information */ +#endif diff -Nru xsnow-1.42/src/clientwin.c xsnow-2.0.9/src/clientwin.c --- xsnow-1.42/src/clientwin.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/clientwin.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,237 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +// from the program xprop +/* + * Copyright 2007 Kim woelders + * + * Permission to use, copy, modify, distribute, and sell this software and its + * documentation for any purpose is hereby granted without fee, provided that + * the above copyright notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting documentation, and + * that the name of the copyright holders not be used in advertising or + * publicity pertaining to distribution of the software without specific, + * written prior permission. The copyright holders make no representations + * about the suitability of this software for any purpose. It is provided "as + * is" without express or implied warranty. + * + * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + * OF THIS SOFTWARE. + */ +#include +#include + +#include "clientwin.h" + +static Atom atom_wm_state = None; + +/* + * Check if window has given property + */ +static Bool +Window_Has_Property(Display * dpy, Window win, Atom atom) +{ + Atom type_ret; + int format_ret; + unsigned char *prop_ret; + unsigned long bytes_after, num_ret; + + type_ret = None; + prop_ret = NULL; + XGetWindowProperty(dpy, win, atom, 0, 0, False, AnyPropertyType, + &type_ret, &format_ret, &num_ret, + &bytes_after, &prop_ret); + if (prop_ret) + XFree(prop_ret); + + return (type_ret != None) ? True : False; +} + +/* + * Check if window is viewable + */ +static Bool +Window_Is_Viewable(Display * dpy, Window win) +{ + Bool ok; + XWindowAttributes xwa; + + XGetWindowAttributes(dpy, win, &xwa); + + ok = (xwa.class == InputOutput) && (xwa.map_state == IsViewable); + + return ok; +} + +/* + * Find a window that has WM_STATE set in the window tree below win. + * Unmapped/unviewable windows are not considered valid matches. + * Children are searched in top-down stacking order. + * The first matching window is returned, None if no match is found. + */ +static Window +Find_Client_In_Children(Display * dpy, Window win) +{ + Window root, parent; + Window *children; + unsigned int n_children; + int i; + + if (!XQueryTree(dpy, win, &root, &parent, &children, &n_children)) + return None; + if (!children) + return None; + + /* Check each child for WM_STATE and other validity */ + win = None; + for (i = (int) n_children - 1; i >= 0; i--) { + if (!Window_Is_Viewable(dpy, children[i])) { + children[i] = None; /* Don't bother descending into this one */ + continue; + } + if (!Window_Has_Property(dpy, children[i], atom_wm_state)) + continue; + + /* Got one */ + win = children[i]; + goto done; + } + + /* No children matched, now descend into each child */ + for (i = (int) n_children - 1; i >= 0; i--) { + if (children[i] == None) + continue; + win = Find_Client_In_Children(dpy, children[i]); + if (win != None) + break; + } + + done: + XFree(children); + + return win; +} + +/* + * Find virtual roots (_NET_VIRTUAL_ROOTS) + */ +static unsigned long * +Find_Roots(Display * dpy, Window root, unsigned int *num) +{ + Atom type_ret; + int format_ret; + unsigned char *prop_ret; + unsigned long bytes_after, num_ret; + Atom atom; + + *num = 0; + atom = XInternAtom(dpy, "_NET_VIRTUAL_ROOTS", False); + if (!atom) + return NULL; + + type_ret = None; + prop_ret = NULL; + if (XGetWindowProperty(dpy, root, atom, 0, 0x7fffffff, False, + XA_WINDOW, &type_ret, &format_ret, &num_ret, + &bytes_after, &prop_ret) != Success) + return NULL; + + if (prop_ret && type_ret == XA_WINDOW && format_ret == 32) { + *num = num_ret; + return ((unsigned long *) prop_ret); + } + if (prop_ret) + XFree(prop_ret); + + return NULL; +} + +/* + * Find child window at pointer location + */ +static Window +Find_Child_At_Pointer(Display * dpy, Window win) +{ + Window root_return, child_return; + int dummyi; + unsigned int dummyu; + + XQueryPointer(dpy, win, &root_return, &child_return, + &dummyi, &dummyi, &dummyi, &dummyi, &dummyu); + + return child_return; +} + +/* + * Find client window at pointer location + * + * root is the root window. + * subwin is the subwindow reported by a ButtonPress event on root. + * + * If the WM uses virtual roots subwin may be a virtual root. + * If so, we descend the window stack at the pointer location and assume the + * child is the client or one of its WM frame windows. + * This will of course work only if the virtual roots are children of the real + * root. + */ +Window +Find_Client(Display * dpy, Window root, Window subwin) +{ + unsigned long *roots; + unsigned int i, n_roots; + Window win; + + /* Check if subwin is a virtual root */ + roots = Find_Roots(dpy, root, &n_roots); + for (i = 0; i < n_roots; i++) { + if (subwin != roots[i]) + continue; + win = Find_Child_At_Pointer(dpy, subwin); + if (win == None) + return subwin; /* No child - Return virtual root. */ + subwin = win; + break; + } + if (roots) + XFree(roots); + + if (atom_wm_state == None) { + atom_wm_state = XInternAtom(dpy, "WM_STATE", False); + if (!atom_wm_state) + return subwin; + } + + /* Check if subwin has WM_STATE */ + if (Window_Has_Property(dpy, subwin, atom_wm_state)) + return subwin; + + /* Attempt to find a client window in subwin's children */ + win = Find_Client_In_Children(dpy, subwin); + if (win != None) + return win; /* Found a client */ + + /* Did not find a client */ + return subwin; +} diff -Nru xsnow-1.42/src/clientwin.h xsnow-2.0.9/src/clientwin.h --- xsnow-1.42/src/clientwin.h 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/clientwin.h 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,50 @@ +// from the program xprop +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# + */ +/* + * Copyright 2007 Kim woelders + * + * Permission to use, copy, modify, distribute, and sell this software and its + * documentation for any purpose is hereby granted without fee, provided that + * the above copyright notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting documentation, and + * that the name of the copyright holders not be used in advertising or + * publicity pertaining to distribution of the software without specific, + * written prior permission. The copyright holders make no representations + * about the suitability of this software for any purpose. It is provided "as + * is" without express or implied warranty. + * + * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + * OF THIS SOFTWARE. + */ +#ifndef _CLIENTWIN_H_ +#define _CLIENTWIN_H_ + +#include + +extern Window Find_Client(Display * dpy, Window root, Window target_win); + +#endif diff -Nru xsnow-1.42/src/clocks.c xsnow-2.0.9/src/clocks.c --- xsnow-1.42/src/clocks.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/clocks.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,35 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#include +#include +#include +#include "clocks.h" + +double wallclock() +{ + struct timeval toot; + double r; + + gettimeofday(&toot,0); + r=toot.tv_sec+0.000001*(double)toot.tv_usec; + return(r); +} + diff -Nru xsnow-1.42/src/clocks.h xsnow-2.0.9/src/clocks.h --- xsnow-1.42/src/clocks.h 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/clocks.h 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,24 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#ifndef CLOCKS_H +#define CLOCKS_H +extern double wallclock(void); +#endif diff -Nru xsnow-1.42/src/csvpos.c xsnow-2.0.9/src/csvpos.c --- xsnow-1.42/src/csvpos.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/csvpos.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,63 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#include +#include +#include +#include "csvpos.h" +// given s like "9,2,0" fill k with 9,2,0, set n to 3. +// all values positive, if negative 0 is inserted +// k is allocated in csvpos, free it with free(3) +void csvpos(char *s, int **k, int *n) +{ + char *p = s; + char *q; + (*n) = 0; + (*k) = malloc(sizeof(**k)); + while (p) + { + q = p; + int i = strtol(p, &q, 0); + if (p == q) + break; + if (i<0) + i = 0; + (*n)++; + (*k) = realloc(*k,sizeof(**k)*(*n)); + (*k)[(*n)-1] = i; + p = strchr(p,','); + if(p) p++; + } +} +void vsc(char **s, int *k, int n) +{ + *s = strdup(""); + int i; + char p[256]; + int l = strlen(*s); + for (i=0; i. +#-# +*/ +#ifndef CVSPOS_H +#define CVSPOS_H +void csvpos(char *s, int **k, int *n); +void vsc(char **s, int *k, int n); +#endif diff -Nru xsnow-1.42/src/docs.c xsnow-2.0.9/src/docs.c --- xsnow-1.42/src/docs.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/docs.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,346 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#include +#include +#include +#include "xsnow.h" +#include "docs.h" +#include "version.h" + +// return char* with all occurences of needle in s replaced with rep +// s, needle, rep will not be modified +static char *replace_all(const char *s, const char *needle, const char *rep); +static void manout(const char*flag, const char*txt); +static int doman; + +void docs_usage(int man) +{ + + if (man) + { + doman = 1; + printf(".\\\" DO NOT MODIFY THIS FILE! It was created by xsnow -manpage\n"); + printf(".TH XSNOW \"6\" \"2019\" \"xsnow\\-" VERSION "\" \"User Commands\"\n"); + printf(".SH NAME\n"); + printf("xsnow \\- Snow and Santa on your Gnome desktop\n"); + printf(".SH SYNOPSIS\n"); + printf(".B xsnow\n"); + printf("[\\fIOPTION\\fR]...\n"); + printf(".PP\n"); + printf(".SH DESCRIPTION\n"); + printf("Xsnow shows an animation of Santa and snow on your desktop.\n"); + printf("Xsnow can also run in one or more windows, see options -xwininfo, -id.\n"); + printf(".PP\n"); + printf(".SS \"General options:\n"); + } + else + { + doman = 0; + printf("XSNOW 2019 xsnow-" VERSION " User Commands\n"); + printf("NAME\n"); + printf("xsnow - Snow and Santa on your Gnome desktop\n"); + printf("SYNOPSIS\n"); + printf("xsnow "); + printf("[OPTION...\n"); + printf("\n"); + printf("DESCRIPTION\n"); + printf("Xsnow shows an animation of Santa and snow on your desktop.\n"); + printf("Xsnow can also run in one or more windows, see options -xwininfo, -id.\n"); + printf("\n"); + printf("General options:\n"); + } + + manout(" ","Below: denotes an unsigned decimal (e.g 123)"); + manout(" ","or octal (e.g. 017) or hex (e.g. 0x50009) number."); + manout(" "," denotes a color name like \"red\" or \"#123456\"."); + manout(" "," "); + if (!doman) + printf("\n"); + manout("-h, -help" ,"print this text"); + manout("-H, -manpage" ,"print man page"); + manout("-v, -version" ,"prints xsnow version"); + manout("-display name" ,"Drop the snowflakes on the given display."); + manout(" " ,"Make sure the display is nearby, so you can hear them enjoy..."); + manout("-vintage" ,"Run xsnow in vintage settings"); + manout("-defaults" ,"Do not read config file (see FILES)."); + manout("-noconfig" ,"Do not read or write config file (see FILES)."); + manout("-nomenu" ,"Do not how interactive menu."); + manout("-id " ,"Snow in window with id (for example from xwininfo)."); + manout("-desktop" ,"Act as if window is a desktop."); + manout("-fullscreen" ,"Snow on fullscreen window: panels, taskbars etc. will be not accessible."); + manout("-above" ,"Snow above your windows. Default is to snow below your windows."); + manout("-xwininfo " ,"Use a cursor to point at the window you want the snow to be fallen in."); + manout("-bg " ,"Use color to erase obsolete drawings (snow, santa, ...)."); + manout(" " ,"Useful in for example KDE: create mono colored background, and specify"); + manout(" " ,"the same color here, eg: -bg \"#123456\" (default: " EQ(DEFAULT_bgcolor) ".)"); + manout("-kdebg" ,"sets the KDE desktop background color to the value given at '-bg'"); + manout("-exposures" ,"Force XClearArea(...,exposures=True) when erasing."); + manout("-noexposures" ,"Force XClearArea(...,exposures=False) when erasing."); + manout(" " ,"Exposures have effect with '-alpha 0' or '-xwininfo'"); + manout("-alpha " ,"0: do not use alpha channel; 1: use alpha channel"); + manout("-kde" ,"prepare for KDE: use background (see -bg), -alpha 1, -noexposures"); + manout("-fvwm" ,"prepare for FVWM: no background, -alpha 0, -exposures"); + manout("-gnome" ,"prepare for GNOME: no background, -alpha 1, -noexposures"); + manout("-stopafter " ,"Stop Xsnow after so many seconds."); + manout("-showstats" ,"Print some statistics about the various things that happen in Xsnow."); + manout("-noquiet" ,"Print during running info about disappeared windows, blown fuses etc."); + if(doman) + { + printf(".PP\n"); printf(".SS \"Snow options:\n"); + } + else + { + printf("\n Snow options:\n\n"); + } + manout("-snowflakes " ,"The higher, the more snowflakes are generated per second. Default: " EQ(DEFAULT_snowflakesfactor) "."); + manout("-noblowsnow" ,"Do not animate blowing snow from trees or windows."); + manout("-sc " ,"Use the given string as color for the flakes (default: " EQ(DEFAULT_snowflakesfactor) ")."); + manout("-snowspeedfactor " ,"Multiply the speed of snow with this number/100 (default:" EQ(DEFAULT_SnowSpeedFactor) ")."); + manout("-nosnowflakes" ,"Do not show falling snowflakes. (Weird!)"); + manout("-flakecountmax " ,"Maximum number of active flakes (default " EQ(DEFAULT_flakecountmax) ")."); + manout("-blowofffactor " ,"The higher, the more snow is generated in blow-off scenarios (default: " EQ(DEFAULT_blowofffactor) ")."); + + if(doman) + { + printf(".PP\n"); printf(".SS \"Tree options:\n"); + } + else + { + printf("\n Tree options:\n\n"); + } + manout("-treetype [, ...]" ,"Choose tree types: minimum 0, maximum " EQ(MAXTREETYPE) " (default " EQ(DEFAULT_TreeType) ")."); + manout(" " ,"Thanks to Carla Vermin for numbers >=3!"); + manout(" " ,"Credits: Image by b0red on Pixabay"); + manout("-treetype all" ,"Use all available treetypes"); + manout("-tc " ,"Use the given string as the color for the default trees (default: " EQ(DEFAULT_trColor) ")."); + manout(" " ,"Works only for treetype 0."); + manout("-notrees" ,"Do not display the trees."); + manout("-trees " ,"Desired number of trees. Default " EQ(DEFAULT_desired_number_of_trees) "."); + manout("-treefill " ,"Region in percents of the height of the window where trees grow (default: " EQ(DEFAULT_treefill) ")."); + + if(doman) + { + printf(".PP\n"); printf(".SS \"Santa options:\n"); + } + else + { + printf("\n Santa options:\n\n"); + } + manout("-nosanta" ,"Do not display Santa running all over the screen."); + manout("-norudolf" ,"No Rudolf."); + manout("-santa " ,"The minimum size of Santa is 0, the maximum size is " EQ(MAXSANTA) ". Default is " EQ(DEFAULT_SantaSize) "."); + manout(" " ,"Thanks to Thomas Linder for the (big) Santa 2!"); + manout(" " ,"Santa 3 is derived from Santa 2, and shows the required eight reindeers."); + manout(" " ,"The appearance of Santa 4 may be a surprise, thanks to Carla Vermin for this one."); + manout("-santaspeedfactor " ,"The speed Santa should not be excessive if he doesn't want to get"); + manout(" " ,"fined. The appropriate speed for the Santa chosen"); + manout(" " ,"will be multiplied by santaspeedfactor/100 (default: " EQ(DEFAULT_SantaSpeedFactor) ")."); + + if(doman) + { + printf(".PP\n"); printf(".SS \"Wind options:\n"); + } + else + { + printf("\n Wind options:\n\n"); + } + manout("-nowind " ,"By default it gets windy now and then. If you prefer quiet weather"); + manout(" " ,"specify -nowind."); + manout("-whirlfactor " ,"This sets the whirl factor, i.e. the maximum adjustment of the"); + manout(" " ,"horizontal speed. The default value is " EQ(DEFAULT_WhirlFactor) "."); + manout("-windtimer " ,"With -windtimer you can specify how often it gets windy. It's"); + manout(" " ,"sort of a period in seconds, default value is " EQ(DEFAULT_WindTimer) "."); + + if(doman) + { + printf(".PP\n"); printf(".SS \"Fallen snow options:\n"); + } + else + { + printf("\n Fallen snow options:\n\n"); + } + manout("-wsnowdepth " ,"Maximum thickness of snow on top of windows (default: " EQ(DEFAULT_MaxWinSnowDepth) ")."); + manout("-ssnowdepth " ,"Maximum thickness of snow at the bottom of the screen (default: " EQ(DEFAULT_MaxScrSnowDepth) ")."); + manout("-maxontrees " ,"Maximum number of flakes on trees. Default " EQ(DEFAULT_maxontrees) "."); + manout("-nokeepsnowonwindows" ,"Do not keep snow on top of the windows."); + manout("-nokeepsnowonscreen" ,"Do not keep snow at the bottom of the screen."); + manout("-nokeepsnowontrees" ,"Do not keep snow on trees."); + manout("-nokeepsnow" ,"Do not have snow sticking anywhere."); + manout("-nofluffy" ,"Do not create fluff on fallen snow."); + manout("-offsetx " ,"Correction for window-manager provided of x-coordinate of window. Default " EQ(DEFAULT_offset_x) "."); + manout("-offsety " ,"Correction for window-managr provided of y-coordinate of window. Default " EQ(DEFAULT_offset_y) "."); + manout("-offsetw " ,"Correction for window-manager provided of width of window. Default " EQ(DEFAULT_offset_w) "."); + manout("-offsets " ,"Correction for bottom coordinate of your screen. A negative value lifts"); + manout(" " ,"the xsnow screen up. Default " EQ(DEFAULT_offset_s) "."); + + + if(doman) + { + printf(".PP\n"); printf(".SS \"Other options:\n"); + } + else + { + printf("\n Other options:\n\n"); + } + manout("-stars " ,"The number of stars (default: " EQ(DEFAULT_nstars) ")."); + manout("-nometeorites" ,"Do not show meteorites."); + manout("-cpuload " ,"How busy is your system with xsnow:"); + manout(" " ,"the higher, the more load on the system (default: " EQ(DEFAULT_cpuload) ")."); + + if(doman) + { + printf(".PP\n"); printf(".SS \"FILES\n"); + printf(".br\n"); + } + else + { + printf("\n FILES\n\n"); + } + manout("$HOME/.xsnowrc", "Settings are read from and written to this file."); + manout(" ","See flags -noconfig and -defaults how to influence this behaviour."); + manout (" "," "); + manout("$HOME/xsnow/pixmaps/tree.xpm", "If present, xsnow will try this file for displaying"); + manout(" ", "the trees. The format must be xpm (X PixMap) format, see"); + manout(" ", "https://en.wikipedia.org/wiki/X_PixMap"); + manout("$HOME/xsnow/pixmaps/santa.xpm", "where = 1,2,3,4."); + manout(" ", "If present, xsnow will try this files (4 of them) for displaying"); + manout(" ", "Santa. The format must be xpm (X PixMap) format, see"); + manout(" ", "https://en.wikipedia.org/wiki/X_PixMap"); + + if(doman) + { + printf(".PP\n"); printf(".SS \"EXAMPLES\n"); + printf(".br\n"); + } + else + { + printf("\n EXAMPLES\n\n"); + } + manout("."," $ xsnow -defaults # run with defaults."); + manout("."," $ xsnow # run using values from the config file."); + manout("."," $ xsnow -treetype 1,2 # use treetype 1 and 2."); + manout("."," $ xsnow -kde -kdebg -bg blue4 # for the KDE environment."); + + if(doman) + { + printf(".PP\n"); printf(".SS \"BUGS\n"); + printf(".br\n"); + } + else + { + printf("\n BUGS\n\n"); + } + manout(" ","Xsnow needs a complete rewrite: the code is a mess."); + manout(" ","Xsnow stresses the Xserver too much."); + manout(" ","Xsnow generates race conditions, e.g.: sometimes fallen snow is not"); + manout(" ","removed when it should be."); + manout(" ","Xsnow does not run in Wayland."); + manout(" ","Remnants of fluffy snow can persist after removing the"); + manout(" ","fallen snow. These will gradually disappear, so no big deal."); + + + if(doman) + { + printf(".PP\n"); printf(".SS \"SEE ALSO\n"); + printf(".br\n"); + } + else + { + printf("\n SEE ALSO\n\n"); + } + manout(" ","man xcolors(1)"); + + if(doman) + { + printf(".PP\n"); printf(".SH COPYRIGHT\n"); + printf(".br\n"); + } + else + { + printf("\n COPYRIGHT\n"); + } + manout(" ","This is free software; see the source for copying conditions."); + manout(" ","There is NO warranty; not even for MERCHANTABILITY or FITNESS"); + manout(" ","FOR A PARTICULAR PURPOSE."); +} + +char *replace_all(const char *s, const char *needle, const char *rep) +{ + if (strlen(needle) == 0) + return strdup(s); + char *result = strdup(""); + const char *haystack = s; // startpoint to search for needle + while(1) + { + char *q = strstr(haystack,needle); + if (q == 0) // no needle in haystack + { // cat haystack to result + result = realloc(result,strlen(result)+strlen(haystack)+1); + result = strcat(result,haystack); + break; + } + else // needle is in haystack + { // cat first part of haystack + rep to result + result = realloc(result,strlen(result)+strlen(haystack)+strlen(rep)+1); + result = strncat(result, haystack, q-haystack); + result = strcat(result, rep); + haystack = q+strlen(needle); + } + } + return result; +} + +// +// doman == 1: output in man page format +// flag: " ": normal continuation line +// otherwize : skip to new paragraph and use bold format +// txt: Line to output +// +void manout(const char*flag, const char*txt) +{ + + if (doman) + { + char *mantxt = replace_all(txt, "-","\\-"); + char *manflag = replace_all(flag,"-","\\-"); + if (!strcmp(manflag," ")) + printf("%s\n",mantxt); + else if(!strcmp(manflag,".")) + printf(".br\n%s\n",mantxt); + else + { + printf(".TP\n"); printf("\\fB%s\\fR\n",manflag); + printf("%s\n",mantxt); + } + free(mantxt); + free(manflag); + } + else + { + if (!strcmp(flag," ")) + printf("\t\t %s\n",txt); + else if(!strcmp(flag,".")) + printf("%s\n",txt); + else + printf("%s\t: %s\n",flag,txt); + } +} + diff -Nru xsnow-1.42/src/docs.h xsnow-2.0.9/src/docs.h --- xsnow-1.42/src/docs.h 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/docs.h 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,29 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# + */ +#ifndef DOCS_H +#define DOCS_H + +extern void docs_usage(int man); + +#define Q(a) #a +#define EQ(a) Q(a) + +#endif diff -Nru xsnow-1.42/src/doit.h xsnow-2.0.9/src/doit.h --- xsnow-1.42/src/doit.h 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/doit.h 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,91 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#ifndef DOIT_H +#define DOIT_H +// calls macro's for elements of FLAGS +// DOIT_I is for x that should be output as 1234 +// DOIT_S is for x that is a char* +// DOIT_L is for x that should be output as 0x123456 + +// these flags are not written to the config file and +// are no part of the ui +#define DOITALL \ + DOIT_I(defaults) \ + DOIT_I(desktop) \ + DOIT_I(noconfig) \ + DOIT_I(nomenu) \ + DOIT_I(stopafter) \ + DOIT_I(done) \ + DOIT_I(windnow) \ + DOIT_I(xwininfohandling) \ + DOIT_I(showstats) \ + DOIT_L(window_id) \ + DOIT + +// following flags are written to the config file and +// are part of the ui +#define DOIT \ + DOIT_I(below) \ + DOIT_I(blowofffactor) \ + DOIT_I(cpuload) \ + DOIT_I(desired_number_of_trees) \ + DOIT_I(exposures) \ + DOIT_I(flakecountmax) \ + DOIT_I(fullscreen) \ + DOIT_I(KDEbg) \ + DOIT_I(maxontrees) \ + DOIT_I(MaxScrSnowDepth) \ + DOIT_I(MaxWinSnowDepth) \ + DOIT_I(NoBlowSnow) \ + DOIT_I(NoFluffy) \ + DOIT_I(NoKeepSBot) \ + DOIT_I(NoKeepSnow) \ + DOIT_I(NoKeepSnowOnTrees) \ + DOIT_I(NoKeepSWin) \ + DOIT_I(NoMeteorites) \ + DOIT_I(NoRudolf) \ + DOIT_I(NoSanta) \ + DOIT_I(NoSnowFlakes) \ + DOIT_I(NoTrees) \ + DOIT_I(NoWind) \ + DOIT_I(nstars) \ + DOIT_I(offset_s) \ + DOIT_I(offset_w) \ + DOIT_I(offset_x) \ + DOIT_I(offset_y) \ + DOIT_I(quiet) \ + DOIT_I(SantaSize) \ + DOIT_I(SantaSpeedFactor) \ + DOIT_I(snowflakesfactor) \ + DOIT_I(SnowSpeedFactor) \ + DOIT_I(treefill) \ + DOIT_I(usealpha) \ + DOIT_I(usebg) \ + DOIT_I(WhirlFactor) \ + DOIT_I(WindTimer) \ + \ + DOIT_S(bgcolor) \ + DOIT_S(display_name) \ + DOIT_S(snowColor) \ + DOIT_S(trColor) \ + DOIT_S(TreeType) + +#endif diff -Nru xsnow-1.42/src/dsimple.c xsnow-2.0.9/src/dsimple.c --- xsnow-1.42/src/dsimple.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/dsimple.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,384 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +// from the program xprop +/* + + Copyright 1993, 1998 The Open Group + + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. + + 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 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of The Open Group shall + not be used in advertising or otherwise to promote the sale, use or + other dealings in this Software without prior written authorization + from The Open Group. + +*/ + +#include +#include +#include +#include +#include +#include +#include +/* + * Other_stuff.h: Definitions of routines in other_stuff. + * + * Written by Mark Lillibridge. Last updated 7/1/87 + */ + +#include "clientwin.h" +#include "dsimple.h" + +// added: +static void usage() +{ + printf("Problems in %s, exiting.\n",__FILE__); + exit(1); +} + +/* + * Just_display: A group of routines designed to make the writting of simple + * X11 applications which open a display but do not open + * any windows much faster and easier. Unless a routine says + * otherwise, it may be assumed to require program_name, dpy, + * and screen already defined on entry. + * + * Written by Mark Lillibridge. Last updated 7/1/87 + */ + + +/* This stuff is defined in the calling program by just_display.h */ +const char *program_name = "unknown_program"; +Display *dpy = NULL; +int screen = 0; + +/* + * Get_Display_Name (argc, argv) Look for -display, -d, or host:dpy (obselete) + * If found, remove it from command line. Don't go past a lone -. + */ +char *Get_Display_Name( + int *pargc, /* MODIFIED */ + char **argv) /* MODIFIED */ +{ + int argc = *pargc; + char **pargv = argv+1; + char *displayname = NULL; + int i; + + for (i = 1; i < argc; i++) { + char *arg = argv[i]; + + if (!strcmp (arg, "-display") || !strcmp (arg, "-d")) { + if (++i >= argc) usage (); + + displayname = argv[i]; + *pargc -= 2; + continue; + } + if (!strcmp(arg,"-")) { + while (i Selects window with id . may + * be either in decimal or hex. + * -name Selects the window with name . + * + * Call as Select_Window_Args(&argc, argv) in main before + * parsing any of your program's command line arguments. + * Select_Window_Args will remove its arguments so that + * your program does not have to worry about them. + * The window returned is the window selected or 0 if + * none of the above arguments was present. If 0 is + * returned, Select_Window should probably be called after + * all command line arguments, and other setup is done. + * For examples of usage, see xwininfo, xwd, or xprop. + */ +Window Select_Window_Args( + int *rargc, + char **argv) +#define ARGC (*rargc) +{ + int nargc=1; + int argc; + char **nargv; + Window w=0; + + nargv = argv+1; argc = ARGC; +#define OPTION argv[0] +#define NXTOPTP ++argv, --argc>0 +#define NXTOPT if (++argv, --argc==0) usage() +#define COPYOPT nargv++[0]=OPTION, nargc++ + + while (NXTOPTP) { + if (!strcmp(OPTION, "-")) { + COPYOPT; + while (NXTOPTP) + COPYOPT; + break; + } + if (!strcmp(OPTION, "-root")) { + w=RootWindow(dpy, screen); + continue; + } + if (!strcmp(OPTION, "-name")) { + NXTOPT; + w = Window_With_Name(dpy, RootWindow(dpy, screen), + OPTION); + if (!w) + Fatal_Error("No window with name %s exists!",OPTION); + continue; + } + if (!strcmp(OPTION, "-id")) { + NXTOPT; + w=0; + sscanf(OPTION, "0x%lx", &w); + if (!w) + sscanf(OPTION, "%lu", &w); + if (!w) + Fatal_Error("Invalid window id format: %s.", OPTION); + continue; + } + COPYOPT; + } + ARGC = nargc; + + return(w); +} + +/* + * Other_stuff: A group of routines which do common X11 tasks. + * + * Written by Mark Lillibridge. Last updated 7/1/87 + */ + + + +/* + * Routine to let user select a window using the mouse + */ + +Window Select_Window(Display *dpy, int descend) +{ + int status; + Cursor cursor; + XEvent event; + Window target_win = None, root = RootWindow(dpy,screen); + int buttons = 0; + + /* Make the target cursor */ + cursor = XCreateFontCursor(dpy, XC_crosshair); + + /* Grab the pointer using target cursor, letting it room all over */ + status = XGrabPointer(dpy, root, False, + ButtonPressMask|ButtonReleaseMask, GrabModeSync, + GrabModeAsync, root, cursor, CurrentTime); + if (status != GrabSuccess) Fatal_Error("Can't grab the mouse."); + + /* Let the user select a window... */ + while ((target_win == None) || (buttons != 0)) { + /* allow one more event */ + XAllowEvents(dpy, SyncPointer, CurrentTime); + XWindowEvent(dpy, root, ButtonPressMask|ButtonReleaseMask, &event); + switch (event.type) { + case ButtonPress: + if (target_win == None) { + target_win = event.xbutton.subwindow; /* window selected */ + if (target_win == None) target_win = root; + } + buttons++; + break; + case ButtonRelease: + if (buttons > 0) /* there may have been some down before we started */ + buttons--; + break; + } + } + + XUngrabPointer(dpy, CurrentTime); /* Done with pointer */ + + if (!descend || (target_win == root)) + return(target_win); + + target_win = Find_Client(dpy, root, target_win); + + return(target_win); +} + + +/* + * Window_With_Name: routine to locate a window with a given name on a display. + * If no window with the given name is found, 0 is returned. + * If more than one window has the given name, the first + * one found will be returned. Only top and its subwindows + * are looked at. Normally, top should be the RootWindow. + */ +Window Window_With_Name( + Display *dpy, + Window top, + const char *name) +{ + Window *children, dummy; + unsigned int nchildren; + int i; + Window w=0; + char *window_name; + + // this leaks memory: + //if (XFetchName(dpy, top, &window_name) && !strcmp(window_name, name)) + // return(top); + // therefore: + if (XFetchName(dpy, top, &window_name) && !strcmp(window_name, name)) + { + XFree(window_name); + return(top); + } + XFree(window_name); + + if (!XQueryTree(dpy, top, &dummy, &dummy, &children, &nchildren)) + return(0); + + for (i=0; i. +#-# + */ +// from the program xprop +/* + +Copyright 1993, 1998 The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +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 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The Open Group shall +not be used in advertising or otherwise to promote the sale, use or +other dealings in this Software without prior written authorization +from The Open Group. + +*/ + +/* + * Just_display.h: This file contains the definitions needed to use the + * functions in just_display.c. It also declares the global + * variables dpy, screen, and program_name which are needed to + * use just_display.c. + * + * Written by Mark Lillibridge. Last updated 7/1/87 + * + * Send bugs, etc. to chariot@athena.mit.edu. + */ +#ifndef _DSIMPLE_H +#define _DSIMPLE_H + + + /* Simple helper macros */ +#ifndef MAX +#define MAX(a,b) (((a)>(b))?(a):(b)) +#endif /* MAX */ +#ifndef MIN +#define MIN(a,b) (((a)<(b))?(a):(b)) +#endif /* MIN */ + + /* Global variables used by routines in just_display.c */ + +extern const char *program_name; /* Name of this program */ +extern Display *dpy; /* The current display */ +extern int screen; /* The current screen */ + +#define INIT_NAME program_name=argv[0] /* use this in main to setup + program_name */ + + /* Declarations for functions in just_display.c */ + +char *Get_Display_Name(int *, char **); +Display *Open_Display(const char *); +void Setup_Display_And_Screen(int *, char **); +void Close_Display(void); +XFontStruct *Open_Font(const char *); +Window Select_Window_Args(int *, char **); +// removed: +// void usage(void) _X_NORETURN; + +#define X_USAGE "[host:display]" /* X arguments handled by + Get_Display_Name */ + +/* + * Other_stuff.h: Definitions of routines in other_stuff. + * + * Written by Mark Lillibridge. Last updated 7/1/87 + * + * Send bugs, etc. to chariot@athena.mit.edu. + */ + +Window Select_Window(Display *, int descend); +Window Window_With_Name(Display *, Window, const char *); + +void Fatal_Error(const char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1,2); +#endif diff -Nru xsnow-1.42/src/fallensnow.c xsnow-2.0.9/src/fallensnow.c --- xsnow-1.42/src/fallensnow.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/fallensnow.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,154 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#include +#include +#include "fallensnow.h" +#include +#include +#include +static void drawquartcircle(int n, short int *y) // nb: dimension of y > n+1 +{ + int i; + float n2 = n*n; + for(i=0; i<=n; i++) + y[i] = lrintf(sqrtf(n2 - i*i)); +} + +// insert a node at the start of the list +void PushFallenSnow(FallenSnow **first, int window_id, int ws, int sticky, + int x, int y, unsigned int w, unsigned int h) +{ + FallenSnow *p = malloc(sizeof(FallenSnow)); + p->id = window_id; + p->x = x; + p->y = y; + p->w = w; + p->h = h; + p->w8 = ((w-1)/8+1)*8; + p->acth = malloc(sizeof(*(p->acth))*w); + p->desh = malloc(sizeof(*(p->desh))*w); + p->ws = ws; + p->sticky = sticky; + p->hidden = 0; + p->clean = 0; + int l = 0,i; + for (i=0; iacth[i] = 0; // specify l to get sawtooth effect + p->desh[i] = h; + l++; + if (l > h) + l = 0; + } + + if (w > h && window_id != 0) + { + drawquartcircle(h,&(p->desh[w-h-1])); + for(i=0; i<=h; i++) + p->desh[i] = p->desh[w-1-i]; + } + + p->next = *first; + *first = p; +} + +// pop from list +int PopFallenSnow(FallenSnow **list) +{ + FallenSnow *next_node = NULL; + + if (*list == NULL) + return 0; + + next_node = (*list)->next; + FreeFallenSnow(*list); + *list = next_node; + return 1; +} + +// remove by id +int RemoveFallenSnow(FallenSnow **list, int id) +{ + if (*list == 0) + return 0; + + FallenSnow *fallen = *list; + if (fallen->id == id) + { + fallen = fallen->next; + FreeFallenSnow(*list); + *list = fallen; + return 1; + } + + FallenSnow *scratch = NULL; + + while (1) + { + if (fallen->next == NULL) + return 0; + scratch = fallen->next; + if (scratch->id == id) + break; + fallen = fallen->next; + } + + fallen->next = scratch->next; + FreeFallenSnow(scratch); + + return 1; +} + +void FreeFallenSnow(FallenSnow *fallen) +{ + free(fallen->acth); + free(fallen->desh); + //XDestroyRegion(fallen->region); + free(fallen); +} + +FallenSnow *FindFallen(FallenSnow *first, Window id) +{ + FallenSnow *fsnow = first; + while(fsnow) + { + if(fsnow->id == id) + return fsnow; + fsnow = fsnow->next; + } + return 0; +} +// print list +void PrintFallenSnow(FallenSnow *list) +{ + FallenSnow *fallen = list; + + while (fallen != NULL) { + int sumact = 0; + int i; + for(i=0; iw; i++) + sumact += fallen->acth[i]; + printf("%#lx ws:%d x:%d y:%d w:%d c:%d s:%d\n", fallen->id, fallen->ws, + fallen->x, fallen->y, fallen->w, fallen->clean, sumact); + fallen = fallen->next; + } +} + diff -Nru xsnow-1.42/src/fallensnow.h xsnow-2.0.9/src/fallensnow.h --- xsnow-1.42/src/fallensnow.h 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/fallensnow.h 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,58 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# + */ +#ifndef FALLENSNOW_H +#define FALLENSNOW_H +#include +#include +typedef struct FallenSnow { + long int id; // window id, 0 for snow at bottom + int x,y; // Coordinates of fallen snow, y for bottom + unsigned int w,h; // width, max height of fallen snow + unsigned int w8; // width rounded up to 8-fold + short int *acth; // actual height + short int *desh; // desired height + short int ws; // visible on workspace ws + unsigned int hidden : 1; // if True, the window is hidden (iconized) + unsigned int clean : 1; // if True, this area has been cleaned + unsigned int sticky : 1; // visible on all workspaces + struct FallenSnow *next; // pointer to next item +} FallenSnow; + +// insert a node at the start of the list +extern void PushFallenSnow(FallenSnow **first, int window_id, int ws, int sticky, + int x, int y, unsigned int w, unsigned int h); + +// pop first element +extern int PopFallenSnow(FallenSnow **list); + +// remove by id +extern int RemoveFallenSnow(FallenSnow **list, int id); + +// print list +extern void PrintFallenSnow(FallenSnow *list); + +// free fallen +extern void FreeFallenSnow(FallenSnow *fallen); + +// find fallensnow with id +extern FallenSnow *FindFallen(FallenSnow *first, Window id); + +#endif diff -Nru xsnow-1.42/src/flags.c xsnow-2.0.9/src/flags.c --- xsnow-1.42/src/flags.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/flags.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,351 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#include +#include +#include +#include +#include +#include +#include "flags.h" +#include "xsnow.h" +#include "docs.h" +#include "version.h" +#include "doit.h" + +static long int s2int(char *s) // string to integer +{ + return strtol(s,0,0); +} +static long int s2posint(char *s) //string to positive integer +{ + int x = s2int(s); + if (x<0) return 0; + return x; +} +static void printversion() +{ + printf("Xsnow-%s\n" "December 14th 2001 by Rick Jansen \n" + "March 2019 by Willem Vermin\n" + , VERSION); +} + +char *flagsfile = 0; + +void setdefaultflags() +{ + //flags.window_id = WINDOW_ID; +#define DOIT_I(x) flags.x = DEFAULT_ ## x ; +#define DOIT_S(x) free(flags.x); flags.x = strdup(DEFAULT_ ## x); +#define DOIT_L(x) DOIT_I(x) + DOITALL; +#undef DOIT_I +#undef DOIT_L +#undef DOIT_S +} + +// return value: +// -1: error found +// 0: all is well +// 1: did request, program can stop. +#define checkax {if(ax>=argc-1){fprintf(stderr,"** missing parameter for '%s', exiting.\n",argv[ax]);return -1;}} + +void init_flags() +{ + // to make sure that strings in flags are malloc'd +#define DOIT_I(x) flags.x = 0; +#define DOIT_S(x) flags.x = strdup(""); +#define DOIT_L(x) DOIT_I(x) + DOITALL; +#undef DOIT_I +#undef DOIT_L +#undef DOIT_S +} + +#define handlestring(x) checkax; free(flags.x); flags.x = strdup(argv[++ax]) + +#define handle_ia(x,y) else if (!strcmp(arg,# x)) \ + do { checkax; flags.y=s2posint(argv[++ax]);} while(0) + +#define handle_im(x,y) else if (!strcmp(arg,# x)) \ + do { checkax; flags.y=s2int(argv[++ax]);} while(0) + +#define handle_iv(x,y,z) else if (!strcmp(arg,# x)) \ + do { flags.y = z; } while(0) + +#define handle_is(x,y) else if (!strcmp(arg, #x)) \ + do { handlestring(y);} while(0) + +int handleflags(int argc, char*argv[]) +{ + setdefaultflags(); + char *arg; + int ax; + int pass; + for(pass = 1; pass <=2; pass++) + { + if (pass == 2) + { + if(flags.defaults || flags.noconfig) + break; + readflags(); + } + for (ax=1; ax MAXSANTA)) { + printf("** Maximum Santa is %d\n",MAXSANTA); + return -1; + } + /* Eskimo warning */ + if (strstr(flags.snowColor,"yellow") != NULL) + printf("\nWarning: don't eat yellow snow!\n\n"); + if (!strcmp(flags.TreeType,"all")) + { + free(flags.TreeType); + flags.TreeType = strdup(ALLTREETYPES); + } + return 0; +} +#undef checkax +#undef handlestring +#undef handle_iv +#undef handle_is +#undef handle_ia + +static xmlXPathObjectPtr getnodeset (xmlDocPtr doc, xmlChar *xpath){ + + xmlXPathContextPtr context; + xmlXPathObjectPtr result; + + context = xmlXPathNewContext(doc); + if (context == NULL) { + //printf("Error in xmlXPathNewContext\n"); + return NULL; + } + result = xmlXPathEvalExpression(xpath, context); + xmlXPathFreeContext(context); + if (result == NULL) { + //printf("Error in xmlXPathEvalExpression\n"); + return NULL; + } + if(xmlXPathNodeSetIsEmpty(result->nodesetval)){ + xmlXPathFreeObject(result); + //printf("No result\n"); + return NULL; + } + return result; +} + +static void makeflagsfile() +{ + if (flagsfile != 0) return; + flagsfile = strdup(getenv("HOME")); + flagsfile = realloc (flagsfile,strlen(flagsfile) + 1 + strlen(FLAGSFILE) + 1); + strcat(flagsfile,"/"); + strcat(flagsfile,FLAGSFILE); + //printf("%d: flagsfile: %s\n",__LINE__,flagsfile); +} + +void readflags() +{ + xmlXPathObjectPtr result; + xmlChar *value; + xmlNodeSetPtr nodeset; + long int intval; + xmlDocPtr doc; + makeflagsfile(); + doc = xmlParseFile(flagsfile); +#define DOIT_I(x) \ + /* printf("%d:DOIT_I:%s\n",__LINE__,#x); */ \ + result = getnodeset(doc, BAD_CAST "//" # x); \ + if (result) {\ + nodeset = result->nodesetval; \ + value = xmlNodeListGetString(doc, nodeset->nodeTab[0]->xmlChildrenNode, 1); \ + if(value == NULL) \ + intval = 0; \ + else \ + intval = strtol((char*)value,0,0); \ + flags.x = intval; \ + /* printf(# x ": %ld\n",(long int)flags.x); */ \ + xmlFree(value); \ + xmlXPathFreeObject(result); \ + } +#define DOIT_L(x) DOIT_I(x) +#define DOIT_S(x) \ + /* printf("%d:DOIT_S:%s\n",__LINE__,#x); */ \ + result = getnodeset(doc, BAD_CAST "//" # x); \ + if (result) {\ + nodeset = result->nodesetval; \ + value = xmlNodeListGetString(doc, nodeset->nodeTab[0]->xmlChildrenNode, 1); \ + free(flags.x); \ + if (value == NULL) \ + flags.x = strdup(""); \ + else \ + flags.x = strdup((char*)value); \ + /* printf(# x ": %s\n",flags.x); */ \ + xmlFree(value); \ + xmlXPathFreeObject(result); \ + } + DOIT; + //printf("%d\n",__LINE__); +#undef DOIT_I +#undef DOIT_L +#undef DOIT_S + xmlFreeDoc(doc); + xmlCleanupParser(); +} + +static void myxmlNewChild(xmlNodePtr node, xmlNsPtr p, char *name,long int value,char*fmt) +{ + char svalue[256]; + sprintf(svalue,fmt,value); + xmlNewChild(node, p, BAD_CAST name, BAD_CAST svalue); +} + +void writeflags() +{ + xmlDocPtr doc = NULL; + xmlNodePtr root_node = NULL; + doc = xmlNewDoc(BAD_CAST "1.0"); + root_node = xmlNewNode(NULL, BAD_CAST "xsnow_flags"); + xmlDocSetRootElement(doc, root_node); + +#define DOIT_I(x) myxmlNewChild(root_node,NULL,# x,flags.x,"%d"); +#define DOIT_L(x) DOIT_I(x) +#define DOIT_S(x) xmlNewChild(root_node,NULL,BAD_CAST # x,BAD_CAST flags.x); + DOIT; +#undef DOIT_I +#undef DOIT_L +#undef DOIT_S + + makeflagsfile(); + xmlSaveFormatFileEnc(flagsfile , doc, "UTF-8", 1); + xmlFreeDoc(doc); +} diff -Nru xsnow-1.42/src/flags.h xsnow-2.0.9/src/flags.h --- xsnow-1.42/src/flags.h 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/flags.h 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,62 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#ifndef FLAGS_H +#define FLAGS_H +#include +#include "doit.h" + +#define DOIT_I(x) int x; +#define DOIT_L(x) unsigned long int x; +#define DOIT_S(x) char *x; + +typedef struct flags { + //unsigned long int window_id; + DOITALL +}FLAGS; +#undef DOIT_I +#undef DOIT_L +#undef DOIT_S + +#define FVWMFLAGS \ + do { \ + flags.usealpha = 0; \ + flags.usebg = 0; \ + flags.exposures = 0; } while(0) + +#define GNOMEFLAGS \ + do { \ + flags.usealpha = 1; \ + flags.usebg = 0; \ + flags.exposures = 0; } while(0) + +#define KDEFLAGS \ + do { \ + flags.usealpha = 1; \ + flags.usebg = 0; \ + flags.exposures = 0; } while(0) + +void readflags(); +void writeflags(); +void init_flags(); +extern FLAGS flags; +void setdefaultflags(); +int handleflags(int argc, char*argv[]); +#endif diff -Nru xsnow-1.42/src/gaussian.c xsnow-2.0.9/src/gaussian.c --- xsnow-1.42/src/gaussian.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/gaussian.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,44 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#include +#include +#include "gaussian.h" +// https://www.alanzucconi.com/2015/09/16/how-to-sample-from-a-gaussian-distribution/ + +double gaussian (double mean, double std, double min, double max) +{ + double x; + do { + double v1, v2, s; + do { + v1 = 2.0 * drand48() - 1.0; + v2 = 2.0 * drand48() - 1.0; + s = v1 * v1 + v2 * v2; + } while (s >= 1.0 || s == 0); + x = mean + v1 * sqrt((-2.0 * log(s)) / s) * std; + } while (x < min || x > max); + return x; +} + +void sgaussian(long int seed) +{ + srand48(seed); +} diff -Nru xsnow-1.42/src/gaussian.h xsnow-2.0.9/src/gaussian.h --- xsnow-1.42/src/gaussian.h 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/gaussian.h 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,27 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#ifndef GAUSSIAN_H +#define GAUSSIAN_H +// obtain normally distributed number. The number will be between min and max: +double gaussian (double mean, double standard_deviation, double min, double max); +// seed the random generator (alternatively, srand48() can be used): +void sgaussian(long int seed); +#endif diff -Nru xsnow-1.42/src/ixpm.c xsnow-2.0.9/src/ixpm.c --- xsnow-1.42/src/ixpm.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/ixpm.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,167 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#include +#include +#include +#include "ixpm.h" +// from the xpm package: +static void xpmCreatePixmapFromImage( + Display *display, + Drawable d, + XImage *ximage, + Pixmap *pixmap_return) +{ + GC gc; + XGCValues values; + + *pixmap_return = XCreatePixmap(display, d, ximage->width, + ximage->height, ximage->depth); + /* set fg and bg in case we have an XYBitmap */ + values.foreground = 1; + values.background = 0; + gc = XCreateGC(display, *pixmap_return, + GCForeground | GCBackground, &values); + + XPutImage(display, *pixmap_return, gc, ximage, 0, 0, 0, 0, + ximage->width, ximage->height); + + XFreeGC(display, gc); +} + +void paintit(XImage *img, long int color) +{ + int x,y; + for (y=0; yheight; y++) + for (x=0; xwidth; x++) + { + XPutPixel(img, x,y,color); + } +} + + +// reverse characters in string, characters taken in chunks of l +// if you know what I mean +static void strrevert(char*s, size_t l) +{ + size_t n = strlen(s)/l; + size_t i; + char *c = malloc(l*sizeof(*c)); + char *a = s; + char *b = s+strlen(s)-l; + //printf("%d: %s\n",__LINE__,b); + //exit(0); + for (i=0; i. +#-# +*/ +#ifndef IXPM_H +#define IXPM_H +#include +extern int iXpmCreatePixmapFromData(Display *display, Drawable d, + char **data, Pixmap *p,Pixmap *s, XpmAttributes *attr, int flop); +extern Region regionfromxpm(char **data, int flop); +#endif diff -Nru xsnow-1.42/src/kdesetbg.c xsnow-2.0.9/src/kdesetbg.c --- xsnow-1.42/src/kdesetbg.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/kdesetbg.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,130 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +#include +#include +#include +#include +#include +#include "kdesetbg.h" + +static size_t mywrite(int fd, const void *buf, size_t count) +{ + size_t r = count; + while (r != 0) + { + ssize_t rc = write(fd,(char*)buf + (count - r), r); + if (rc < 0) + return rc; + r -= rc; + } + return count; +} + +int kdesetbg(const char *color) +{ + DBusConnection *connection; + DBusError error; + DBusMessage *message; + DBusMessageIter iter; + DBusBusType type = DBUS_BUS_SESSION; + const char *address = NULL; + + char *s; + if (color) + { + s = strdup("/tmp/colorXXXXXX.xpm"); + int f = mkstemps(s,4); + // printf("%d: %s\n",__LINE__,s); + if (f<0) + { + printf("Cannot create %s\n",s); + return 1; + } + const char *xpm1 = + "/* XPM */\n" + "static char *x[] = {\n" + "\"1 1 1 1\",\n" + "\". c "; + const char *xpm2 = + "\",\n" + "\".\"\n};\n"; + mywrite(f,xpm1, strlen(xpm1)); + mywrite(f,color,strlen(color)); + mywrite(f,xpm2, strlen(xpm2)); + close(f); + } + else + s = strdup(""); + + dbus_error_init (&error); + + connection = dbus_bus_get (type, &error); + + if (connection == NULL) + { + fprintf (stderr, "Failed to open connection to \"%s\" message bus: %s\n", + (address != NULL) ? address : + ((type == DBUS_BUS_SYSTEM) ? "system" : "session"), + error.message); + dbus_error_free (&error); + return -1; + } + + message = dbus_message_new_method_call (NULL, + "/PlasmaShell", + "org.kde.PlasmaShell", + "evaluateScript"); + dbus_message_set_auto_start (message, TRUE); + + if (message == NULL) + { + fprintf (stderr, "Couldn't allocate D-Bus message\n"); + exit (1); + } + + dbus_message_set_destination (message, "org.kde.plasmashell"); + + dbus_message_iter_init_append (message, &iter); + + const char *c = + "var Desktops = desktops();\n" + "for (i=0;i. +#-# +*/ +#ifndef KDESETBG_H +#define KDESETBG_H +int kdesetbg(const char *color); +#endif diff -Nru xsnow-1.42/src/main.c xsnow-2.0.9/src/main.c --- xsnow-1.42/src/main.c 1970-01-01 00:00:00.000000000 +0000 +++ xsnow-2.0.9/src/main.c 2019-07-19 13:22:19.000000000 +0000 @@ -0,0 +1,3021 @@ +/* -copyright- +#-# +#-# xsnow: let it snow on your desktop +#-# Copyright (C) 1984,1988,1990,1993-1995,2000-2001 Rick Jansen +#-# 2019 Willem Vermin +#-# +#-# This program is free software: you can redistribute it and/or modify +#-# it under the terms of the GNU General Public License as published by +#-# the Free Software Foundation, either version 3 of the License, or +#-# (at your option) any later version. +#-# +#-# This program is distributed in the hope that it will be useful, +#-# but WITHOUT ANY WARRANTY; without even the implied warranty of +#-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#-# GNU General Public License for more details. +#-# +#-# You should have received a copy of the GNU General Public License +#-# along with this program. If not, see . +#-# +*/ +/* + And in a vocoded voice it sounds: + Xsnow zwei-tausend + Xsnow two-thousand + Xsnow deux mille + Xsnow dos mil + etc. + */ + +#define debug 0 +#define dosync 0 /* synchronise X-server. Change to 1 will detoriate the performance + but allow for better analysis + */ + +/* + * Reals dealing with time are declared as double. + * Other reals as float + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "alarm.h" +#include "clocks.h" +#include "transparent.h" +#include "csvpos.h" +#include "docs.h" +#include "doit.h" +#include "dsimple.h" +#include "fallensnow.h" +#include "flags.h" +#include "gaussian.h" +#include "ixpm.h" +#include "kdesetbg.h" +#include "pixmaps.h" +#include "snowflakes.h" +#include "ui.h" +#include "version.h" +#include "windows.h" +#include "wmctrl.h" +#include "xsnow.h" + +#ifdef DEBUG +#undef DEBUG +#endif +#define DEBUG +#ifdef DEBUG +#define P(...) printf ("%s: %d: ",__FILE__,__LINE__);printf(__VA_ARGS__) +#else +#define P(...) +#endif + +// from flags.h +FLAGS flags; +FLAGS oldflags; + +// from windows.h +Display *display; +int screen; +Window SnowWin; +int SnowWinBorderWidth; +int SnowWinDepth; +int SnowWinHeight; +int SnowWinWidth; +int SnowWinX; +int SnowWinY; + +// locals +// snow flakes stuff +static float blowofffactor; +static int DoNotMakeSnow = 0; +static Snow *firstflake = 0; +static int flakecount = 0; +static float flakes_per_sec; +static int MaxSnowFlakeHeight = 0; /* Biggest flake */ +static int MaxSnowFlakeWidth = 0; /* Biggest flake */ +static float SnowSpeedFactor; + +// fallen snow stuff +static FallenSnow *fsnow_first = 0; +static int MaxScrSnowDepth = 0; +static int ontrees = 0; + +// miscellaneous +char Copyright[] = "\nXsnow\nCopyright 1984,1988,1990,1993-1995,2000-2001 by Rick Jansen, all rights reserved, 2019 also by Willem Vermin\n"; +static int activate_clean = 0; // trigger for do_clean + +// tree stuff +static int ntrees; // actual number of trees +static int ntreetypes = 0; +static Treeinfo *tree = 0; +static Pixmap TreeMaskPixmap[MAXTREETYPE+1][2]; +static Pixmap TreePixmap[MAXTREETYPE+1][2]; +static int *TreeType; +static int treeread = 0; +static int TreeWidth[MAXTREETYPE+1], TreeHeight[MAXTREETYPE+1]; +static char **treexpm = 0; + +// Santa stuff +static float ActualSantaSpeed; +static int CurrentSanta; +static int oldSantaX=0; // the x value of Santa when he was last drawn +static int oldSantaY=0; // the y value of Santa when he was last drawn +static int SantaHeight; +static Pixmap SantaMaskPixmap[PIXINANIMATION] = {0,0,0,0}; +static Pixmap SantaPixmap[PIXINANIMATION] = {0,0,0,0}; +static float SantaSpeed; +static int SantaWidth; +static float SantaXr; +static int SantaX; // should always be lrintf(SantaXr) +static int SantaY; +static int SantaYStep; + +/* Speed for each Santa in pixels/second*/ +static float Speed[] = {SANTASPEED0, /* Santa 0 */ + SANTASPEED1, /* Santa 1 */ + SANTASPEED2, /* Santa 2 */ + SANTASPEED3, /* Santa 3 */ + SANTASPEED4, /* Santa 4 */ +}; + +// star stuff +static Skoordinaten *star = 0; +static int nstars; + +// meteorites stuff +static MeteoMap meteorite; + +// timing stuff +static unsigned int RunCounter = 0; +static double *Prevtime = 0; +static double totsleeptime = 0; +static double tnow; +static double tstart; + +// define unique numbers for alarms: +#define ALARM(x,y) alarm_ ## x, +enum{ + ALARMALL + lastalarm +}; +#undef ALARM + +// windows stuff +static int nwindows, cworkspace = 0; +static Window rootwindow; +static char *SnowWinName = 0; +static WinInfo *windows = 0; +static int exposures; +static int transworkspace = -1; // workspace on which transparent window is placed +static int usingtrans = 0; // using transparent window or not + +/* Wind stuff */ +// wind = 0: no wind +// wind = 1: wind only affecting snow +// wind = 2: wind affecting snow and santa +// direction = 0: no wind direction I guess +// direction = 1: wind from left to right +// direction = -1: wind from right to left +static int direction = 0; +static double flakesdt; +static float NewWind = 0; +static float Whirl; +static int wind = 0; +static double wind_timer; +static double WindTimer; + +// desktop stuff +static int Isdesktop; +static int Usealpha; +static XPoint *snow_on_trees; +static GtkWidget *gtkwin = NULL; + +/* Colo(u)rs */ +static char *blackColor = "black"; +static char *meteoColor = "orange"; +static char *starColor[] = { "gold", "gold1", "gold4", "orange" }; +static Pixel blackPix; +static Pixel erasePixel; +static Pixel meteoPix; +static Pixel snowcPix; +static Pixel starcPix[STARANIMATIONS]; +static Pixel trPix; +static Pixel black, white; + +/* GC's */ +static GC CleanGC; +static GC eFallenGC; +static GC eSantaGC; +static GC eSnowGC[SNOWFLAKEMAXTYPE+1]; // There are SNOWFLAKEMAXTYPE+1 flakes +static GC FallenGC; +static GC SantaGC; +static GC SnowGC[SNOWFLAKEMAXTYPE+1]; // There are SNOWFLAKEMAXTYPE+1 flakes +static GC SnowOnTreesGC; +static GC starGC[STARANIMATIONS]; +static GC testingGC; +static GC TreeGC; +//static GC TreesGC[2]; + +// region stuff +static Region NoSnowArea_dynamic; +static Region NoSnowArea_static; +static Region TreeRegion; +static Region SantaRegion; +static Region SantaPlowRegion; +static Region snow_on_trees_region; + +/* Forward decls */ +// declare actions for alarms: +#define ALARM(x,y) static void do_ ## x(void); +ALARMALL +#undef ALARM +double Delay[lastalarm]; +static Pixel AllocNamedColor(char *colorName, Pixel dfltPix); +static int blowoff(void); +static void clean_fallen_area(FallenSnow *fsnow, int x, int w); +static void clean_fallen(Window id); +static void ClearScreen(void); +static void convert_ontree_to_flakes(void); +static void create_alarm_delays(void); +static Pixmap CreatePixmapFromFallen(struct FallenSnow *f); +static void deleteFlake(Snow *flake); +static int determine_window(); +static void DrawFallen(FallenSnow *fsnow); +static void DrawSanta1(void); +static void DrawSanta(void); +static void drawSnowFlake(Snow *flake); +// static void DrawTannenbaum(int i); +static void DrawTree(int i); +static void erase_fallen_pixel(FallenSnow *fsnow,int x); +static void erase_stars(void); +static void erase_trees(void); +static void EraseSanta(int x, int y); +static void eraseSnowFlake(Snow *flake); +static void generate_flakes_on_fallen(FallenSnow *fsnow, int x, int w, float vy); +static int handlefallensnow(FallenSnow *fsnow); +static FILE *homeopen(char *file,char *mode,char **path); +static Pixel iAllocNamedColor(char *colorName, Pixel dfltPix); +static void init_baum_koordinaten(void); +static void init_blowofffactor(void); +static void initdisplaydimensions(void); +static void init_fallen_snow(void); +static void init_flakes_per_second(void); +static void reinit_tree0(void); +static void initFlake(Snow *flake); +static void InitSantaPixmaps(void); +static void init_snow_on_trees(void); +static void init_SnowSpeedFactor(void); +static void init_snow_color(void); +static void init_stars(void); +static void InitTreePixmaps(void); +static void kdesetbg1(const char *color); +static void printversion(void); +static int RandInt(int maxVal); +static void redraw_trees(void); +static void ResetSanta(void); +static void set_gc_functions(void); +static void set_maxscrsnowdepth(void); +static void set_SantaSpeed(void); +static void set_whirl(void); +static void set_windtimer(void); +static void SigHandler(int signum); +static void update_fallensnow_partial(FallenSnow *fsnow, int x, int w); +static void update_fallensnow_with_wind(FallenSnow *fsnow,int w, int h); +static void UpdateSanta(void); +static void updateSnowFlake(Snow *flake); +static void update_windows(void); +static void uSsleep(long usec); +static int XsnowErrors(Display *dpy, XErrorEvent *err); +static Window xwininfo(char **name); + + +static void thanks(void) +{ + printf("\nThank you for using xsnow\n"); +} + +int main(int argc, char *argv[]) +{ + int i; + init_flags(); + int rc = handleflags(argc, argv); + switch(rc) + { + case -1: + thanks(); + return 1; + break; + case 1: + thanks(); + return 0; + break; + default: + break; + } + gtk_init(&argc, &argv); + printversion(); + if (!flags.noconfig) + writeflags(); + display = XOpenDisplay(flags.display_name); + XSynchronize(display,dosync); + XSetErrorHandler(XsnowErrors); + screen = DefaultScreen(display); + black = BlackPixel(display, screen); + white = WhitePixel(display, screen); + + + if (flags.exposures == -SOMENUMBER) // no -exposures or -noexposures given + if (flags.xwininfohandling) + exposures = True; + else + exposures = False; + else + exposures = flags.exposures; + + flags.exposures = exposures; // trouble ? + + + TreeType = malloc(sizeof(*TreeType)); // to make realloc() possible in init_baum_koordinaten + + init_SnowSpeedFactor(); + set_whirl(); + set_windtimer(); + + snow_on_trees = malloc(sizeof(*snow_on_trees)); // will be remallloced in init_snow_on_trees + init_snow_on_trees(); + init_blowofffactor(); + + snow_on_trees = malloc(sizeof(*snow_on_trees)*flags.maxontrees); + star = malloc(sizeof(*star)); // will be re-allocated in init_stars + tree = malloc(sizeof(*tree)); // will be re-allocated in init_baum_koordinaten + srand48((unsigned int)wallclock()); + SnowMap *rp; + //signal(SIGKILL, SigHandler); // wwvv + signal(SIGINT, SigHandler); + signal(SIGTERM, SigHandler); +#if debug + signal(SIGHUP, SigHupHandler); +#else + signal(SIGHUP, SigHandler); +#endif + if (display == NULL) { + if (flags.display_name == NULL) flags.display_name = getenv("DISPLAY"); + (void) fprintf(stderr, "%s: cannot connect to X server %s\n", argv[0], + flags.display_name ? flags.display_name : "(default)"); + exit(1); + } + // + // define: + // - snow in: + // ------------------------ + // | * * * | + // | * * | + // | * | + // ------------------------ + // - snow on: + // ***** * **** + // * ****** **** ******* + // ------------------------ + // | | + // | | + // | | + // ------------------------ + // + // Find window to snow in: + // + // if(Isdesktop): we have a desktop and we will snow on the windows in it + // else we have a normal window and will not snow on other windows + // if(Usealpha): drawing to the desktop is as follows: + // - all colours are made opaque by or-ing the colors with 0xff000000 + // - clearing is done writing the same image, but with color black (0x00000000) + // else + // - we will use XClearArea to erase flakes and the like. This works well + // on fvwm-like desktops (desktop == rootwindow) with exposures set to 0 + // It works more or less in for example KDE, but exposures must be set to 1 + // which severely stresses plasma shell (or nautilus-desktop in Gnome, + // but we do not use XClearArea in Gnome). + // + + rootwindow = DefaultRootWindow(display); + + if (!determine_window()) + { + printf("xsnow: cannot determine window, exiting...\n"); + return 1; + } + printf("Snowing in window: %#lx - \"%s\" - depth: %d - geom: %d %d %dx%d - alpha: %d - exposures: %d\n", + SnowWin,SnowWinName,SnowWinDepth, + SnowWinX,SnowWinY,SnowWinWidth,SnowWinHeight, Usealpha,exposures); + + NoSnowArea_dynamic = XCreateRegion(); + TreeRegion = XCreateRegion(); + SantaRegion = XCreateRegion(); + SantaPlowRegion = XCreateRegion(); + snow_on_trees_region = XCreateRegion(); + int flake; + for (flake=0; flake<=SNOWFLAKEMAXTYPE; flake++) + { + rp = &snowPix[flake]; + rp->pixmap = XCreateBitmapFromData(display, SnowWin, + rp->snowBits, rp->width, rp->height); + if (rp->height > MaxSnowFlakeHeight) MaxSnowFlakeHeight = rp->height; + if (rp->width > MaxSnowFlakeWidth ) MaxSnowFlakeWidth = rp->width; + } + starPix.pixmap = XCreateBitmapFromData(display, SnowWin, + (char*)starPix.starBits, starPix.width, starPix.height); + firstflake = createFlake(); + initFlake(firstflake); + init_flakes_per_second(); + InitSantaPixmaps(); + init_fallen_snow(); + init_stars(); + InitTreePixmaps(); // can change value of flags.nomenu + +#define DOIT_I(x) oldflags.x = flags.x; +#define DOIT_L(x) DOIT_I(x); +#define DOIT_S(x) oldflags.x = strdup(flags.x); + DOITALL; +#undef DOIT_I +#undef DOIT_L +#undef DOIT_S + if(!flags.nomenu) + ui(&argc, &argv); + + NoSnowArea_static = TreeRegion; + blackPix = AllocNamedColor(blackColor, black); + //snowcPix = iAllocNamedColor(flags.snowColor, white); + meteoPix = iAllocNamedColor(meteoColor, white); + trPix = iAllocNamedColor(flags.trColor, black); + for(i=0; i 0 && tnow - tstart > flags.stopafter) flags.done = 1; + } + + if(treexpm) XpmFree(treexpm); + while (firstflake->next) + firstflake = delFlake(firstflake); + + free(firstflake); + + if (SnowWinName) free(SnowWinName); + if (Prevtime) free(Prevtime); + + XClearArea(display, SnowWin, 0,0,0,0,True); + XFlush(display); + XCloseDisplay(display); //also frees the GC's, pixmaps and other resources on display + while(fsnow_first) + PopFallenSnow(&fsnow_first); + double telapsed = wallclock() - tstart; + + if(flags.showstats) + { + printf("\nElapsed: %8.2f seconds\n",telapsed); + printf("Sleep: %8.2f seconds = %6.2f%%\n", + totsleeptime,100.0*totsleeptime/telapsed); + printf("Active: %8.2f seconds = %6.2f%%\n", + telapsed - totsleeptime,100.0*(telapsed-totsleeptime)/telapsed); + printf(" wakeups freq delay target\n"); + for (i=0; i 1.1*Delay[i]) printf(" *\n"); else printf("\n"); + } + } + + thanks(); + if(star) free(star); + if(tree) free(tree); + return 0; +} /* End of the snow */ +/* ------------------------------------------------------------------ */ +#define TRANSSKIP \ + if (usingtrans && cworkspace != transworkspace) return + +void do_santa() +{ + TRANSSKIP; + if (!flags.NoSanta) + DrawSanta(); +} +void do_santa1() +{ + TRANSSKIP; + if (!flags.NoSanta) + DrawSanta1(); +} + +void do_ui_loop() +{ + if (flags.nomenu) + return; + ui_loop(); +} + +void do_ui_check() +{ + if (flags.nomenu) + return; + int changes = 0; + if (flags.SantaSize != oldflags.SantaSize || + flags.NoRudolf != oldflags.NoRudolf) + { + EraseSanta(oldSantaX,oldSantaY); + InitSantaPixmaps(); + oldflags.SantaSize = flags.SantaSize; + oldflags.NoRudolf = flags.NoRudolf; + changes++; + } + if (flags.NoSanta != oldflags.NoSanta) + { + //P("do_ui_check\n"); + if (flags.NoSanta) + EraseSanta(oldSantaX, oldSantaY); + oldflags.NoSanta = flags.NoSanta; + changes++; + } + if(flags.SantaSpeedFactor != oldflags.SantaSpeedFactor) + { + set_SantaSpeed(); + oldflags.SantaSpeedFactor = flags.SantaSpeedFactor; + changes++; + } + if(strcmp(flags.TreeType, oldflags.TreeType)) + { + //P(%s %s\n",flags.TreeType,oldflags.TreeType); + redraw_trees(); + free(oldflags.TreeType); + oldflags.TreeType = strdup(flags.TreeType); + changes++; + } + if(flags.desired_number_of_trees != oldflags.desired_number_of_trees) + { + redraw_trees(); + oldflags.desired_number_of_trees = flags.desired_number_of_trees; + changes++; + } + if(flags.treefill != oldflags.treefill) + { + redraw_trees(); + oldflags.treefill = flags.treefill; + changes++; + } + if(flags.NoTrees != oldflags.NoTrees) + { + redraw_trees(); + oldflags.NoTrees = flags.NoTrees; + changes++; + } + if(strcmp(flags.trColor, oldflags.trColor)) + { + //P("%s %s\n",flags.trColor,oldflags.trColor); + reinit_tree0(); + //redraw_trees(); + free(oldflags.trColor); + oldflags.trColor = strdup(flags.trColor); + changes++; + } + if(flags.nstars != oldflags.nstars) + { + erase_stars(); + init_stars(); + oldflags.nstars = flags.nstars; + changes++; + } + if(flags.NoMeteorites != oldflags.NoMeteorites) + { + oldflags.NoMeteorites = flags.NoMeteorites; + changes++; + } + if(flags.NoSnowFlakes != oldflags.NoSnowFlakes) + { + oldflags.NoSnowFlakes = flags.NoSnowFlakes; + if(flags.NoSnowFlakes) + ClearScreen(); + changes++; + } + if(flags.snowflakesfactor != oldflags.snowflakesfactor) + { + oldflags.snowflakesfactor = flags.snowflakesfactor; + init_flakes_per_second(); + changes++; + } + if(strcmp(flags.snowColor, oldflags.snowColor)) + { + //P("%s %s\n",flags.snowColor,oldflags.snowColor); + init_snow_color(); + ClearScreen(); + free(oldflags.snowColor); + oldflags.snowColor = strdup(flags.snowColor); + changes++; + } + if(flags.SnowSpeedFactor != oldflags.SnowSpeedFactor) + { + oldflags.SnowSpeedFactor = flags.SnowSpeedFactor; + init_SnowSpeedFactor(); + changes++; + } + if(flags.blowofffactor != oldflags.blowofffactor) + { + oldflags.blowofffactor = flags.blowofffactor; + init_blowofffactor(); + changes++; + } + if(flags.NoBlowSnow != oldflags.NoBlowSnow) + { + oldflags.NoBlowSnow = flags.NoBlowSnow; + changes++; + } + if(flags.cpuload != oldflags.cpuload) + { + oldflags.cpuload = flags.cpuload; + create_alarm_delays(); + changes++; + } + if(flags.usebg != oldflags.usebg) + { + oldflags.usebg = flags.usebg; + set_gc_functions(); + ClearScreen(); + changes++; + } + if(flags.KDEbg != oldflags.KDEbg) + { + oldflags.KDEbg = flags.KDEbg; + if (flags.KDEbg) + kdesetbg1(flags.bgcolor); + else + kdesetbg1(0); + ClearScreen(); + } + if(strcmp(flags.bgcolor,oldflags.bgcolor)) + { + free(oldflags.bgcolor); + oldflags.bgcolor = strdup(flags.bgcolor); + set_gc_functions(); + if(flags.KDEbg) + kdesetbg1(flags.bgcolor); + ClearScreen(); + changes++; + } + if(flags.usealpha != oldflags.usealpha) + { + oldflags.usealpha = flags.usealpha; + Usealpha = flags.usealpha; + set_gc_functions(); + ClearScreen(); + changes++; + } + if(flags.exposures != oldflags.exposures) + { + oldflags.exposures = flags.exposures; + exposures = flags.exposures; + create_alarm_delays(); + ClearScreen(); + changes++; + } + if(flags.offset_s != oldflags.offset_s) + { + oldflags.offset_s = flags.offset_s; + initdisplaydimensions(); + init_fallen_snow(); + init_stars(); + redraw_trees(); + ClearScreen(); + changes++; + } + if(flags.MaxWinSnowDepth != oldflags.MaxWinSnowDepth) + { + oldflags.MaxWinSnowDepth = flags.MaxWinSnowDepth; + init_fallen_snow(); + ClearScreen(); + changes++; + } + if(flags.MaxScrSnowDepth != oldflags.MaxScrSnowDepth) + { + oldflags.MaxScrSnowDepth = flags.MaxScrSnowDepth; + set_maxscrsnowdepth(); + init_fallen_snow(); + ClearScreen(); + changes++; + } + if(flags.maxontrees != oldflags.maxontrees) + { + oldflags.maxontrees = flags.maxontrees; + ClearScreen(); + changes++; + } + if(flags.NoFluffy != oldflags.NoFluffy) + { + oldflags.NoFluffy = flags.NoFluffy; + ClearScreen(); + changes++; + } + if(flags.NoKeepSnowOnTrees != oldflags.NoKeepSnowOnTrees) + { + oldflags.NoKeepSnowOnTrees = flags.NoKeepSnowOnTrees; + ClearScreen(); + changes++; + } + if(flags.NoKeepSBot != oldflags.NoKeepSBot) + { + oldflags.NoKeepSBot = flags.NoKeepSBot; + init_fallen_snow(); + ClearScreen(); + changes++; + } + if(flags.NoKeepSWin != oldflags.NoKeepSWin) + { + oldflags.NoKeepSWin = flags.NoKeepSWin; + init_fallen_snow(); + ClearScreen(); + changes++; + } + if(flags.NoWind != oldflags.NoWind) + { + oldflags.NoWind = flags.NoWind; + changes++; + } + if(flags.WhirlFactor != oldflags.WhirlFactor) + { + oldflags.WhirlFactor = flags.WhirlFactor; + set_whirl(); + changes++; + } + if(flags.WindTimer != oldflags.WindTimer) + { + oldflags.WindTimer = flags.WindTimer; + set_windtimer(); + changes++; + } + if(flags.fullscreen != oldflags.fullscreen) + { + oldflags.fullscreen = flags.fullscreen; + determine_window(); + init_fallen_snow(); + init_stars(); + redraw_trees(); + ClearScreen(); + changes++; + } + if(flags.below != oldflags.below) + { + oldflags.below = flags.below; + determine_window(); + changes++; + } + if(flags.windnow) + { + flags.windnow = 0; + wind = 2; + } + + if (changes > 0) + { + writeflags(); + } +} + +void ClearScreen() +{ + XClearArea(display, SnowWin, 0,0,0,0,True); +} +void redraw_trees() +{ + erase_trees(); + init_baum_koordinaten(); + NoSnowArea_static = TreeRegion; +} + +void do_tree() +{ + TRANSSKIP; + if(!flags.NoTrees) + { + int i; + for (i=0; inext; // flake can disappear, so we have to save the + // pointer to the next flake + updateSnowFlake(flake); + flake = next; + flakecount++; + } + if(!flags.NoKeepSnowOnTrees && !flags.NoTrees) + XSubtractRegion(snow_on_trees_region,TreeRegion,snow_on_trees_region); + //P("%d %d %d\n",flakecount_orig,flakecount, flakecount_orig - flakecount); +} + +int handlefallensnow(FallenSnow *fsnow) +{ + // soo complicated to determine if a fallensnow should be handled, therefore + // we isolate this question in this function for further use + return !((fsnow->id == 0 && flags.NoKeepSBot)||(fsnow->id != 0 && flags.NoKeepSWin)); +} + +void do_fallen() +{ + TRANSSKIP; + + FallenSnow *fsnow = fsnow_first; + //P("%d\n",RunCounter); + //PrintFallenSnow(fsnow_first); + while(fsnow) + { + if (handlefallensnow(fsnow)) + DrawFallen(fsnow); + fsnow = fsnow->next; + } + XFlush(display); +} + +void do_blowoff() +{ + TRANSSKIP; + FallenSnow *fsnow = fsnow_first; + while(fsnow) + { + if (handlefallensnow(fsnow)) + if(fsnow->id == 0 || (!fsnow->hidden && + (fsnow->ws == cworkspace || fsnow->sticky))) + update_fallensnow_with_wind(fsnow,fsnow->w/4,fsnow->h/4); + fsnow = fsnow->next; + } +} + +void DrawFallen(FallenSnow *fsnow) +{ + if(!fsnow->clean) + if(fsnow->id == 0 || (!fsnow->hidden && + (fsnow->ws == cworkspace || fsnow->sticky))) + { + // do not interfere with Santa + if(!flags.NoSanta) + { + int in = XRectInRegion(SantaPlowRegion, fsnow->x, fsnow->y - fsnow->h, + fsnow->w, fsnow->h); + if (in == RectangleIn || in == RectanglePart) + { + // determine front of Santa in fsnow + int xfront = SantaX+SantaWidth - fsnow->x; + // determine back of Santa in fsnow, Santa can move backwards in srong wind + int xback = xfront - SantaWidth; + const int clearing = 10; + float vy = -1.5*ActualSantaSpeed; + if(vy > 0) vy = -vy; + if (vy > -100.0) + vy = -100; + if (ActualSantaSpeed > 0) + generate_flakes_on_fallen(fsnow,xfront,clearing,vy); + clean_fallen_area(fsnow,xback-clearing,SantaWidth+2*clearing); + int i; + for (i=0; iw; i++) + if (i < xfront+clearing && i>=xback-clearing) + fsnow->acth[i] = 0; + XFlush(display); + } + } + + Pixmap pixmap = CreatePixmapFromFallen(fsnow); + XSetStipple(display, FallenGC, pixmap); + XFreePixmap(display,pixmap); + int x = fsnow->x; + int y = fsnow->y - fsnow->h; + XSetFillStyle( display, FallenGC, FillStippled); + XSetFunction( display, FallenGC, GXcopy); + XSetForeground(display, FallenGC, snowcPix); + XSetTSOrigin( display, FallenGC, x+fsnow->w, y+fsnow->h); + XFillRectangle(display, SnowWin, FallenGC, x,y, fsnow->w, fsnow->h); + } +} + +// clean area for fallensnow with id +void clean_fallen(Window id) +{ + FallenSnow *fsnow = fsnow_first; + // search the id + while(fsnow) + { + if(fsnow->id == id) + { + clean_fallen_area(fsnow,0,fsnow->w); + break; + } + fsnow = fsnow->next; + } +} + +void clean_fallen_area(FallenSnow *fsnow,int xstart,int w) +{ + if(fsnow->clean) return; + int x = fsnow->x; + int y = fsnow->y - fsnow->h; + if(Usealpha|flags.usebg) + XFillRectangle(display, SnowWin, eFallenGC, x+xstart,y, + w, fsnow->h+MaxSnowFlakeHeight); + else + XClearArea(display, SnowWin, x+xstart, y, w, fsnow->h, exposures); + fsnow->clean = 1; +} + +void generate_flakes_on_fallen(FallenSnow *fsnow, int x, int w, float vy) +{ + if (flags.NoBlowSnow) + return; + if (flags.NoWind) + return; + if (flakecount > flags.flakecountmax || DoNotMakeSnow) + return; + // animation of fallen fallen snow + // x-values x..x+w are transformed in flakes, vertical speed vy + int i; + int ifirst = x; if (ifirst < 0) ifirst = 0; + if (ifirst > fsnow->w) ifirst = fsnow->w; + int ilast = x+w; if(ilast < 0) ilast = 0; + if (ilast > fsnow->w) ilast = fsnow->w; + for (i=ifirst; iacth[i]; j++) + { + int k, kmax = blowoff(); + for(k=0; krx = fsnow->x + i; + firstflake->ry = fsnow->y - j; + if (flags.NoWind) + firstflake->vx = 0; + else + firstflake->vx = NewWind/8; + firstflake->vy = vy; + firstflake->cyclic = 0; + } + //P("%f %f\n",firstflake->rx, firstflake->ry); + } + } +} + +void erase_fallen_pixel(FallenSnow *fsnow, int x) +{ + if(fsnow->acth[x] > 0) + { + int x1 = fsnow->x + x; + int y1 = fsnow->y - fsnow->acth[x]; + if(Usealpha|flags.usebg) + XDrawPoint(display, SnowWin, eFallenGC, x1, y1); + else + XClearArea(display, SnowWin, x1 , y1, 1, 1, exposures); + fsnow->acth[x]--; + } +} + +// smooth fallen snow +void do_sfallen() +{ + TRANSSKIP; + return; // taken care of in update_fallensnow_partial() + FallenSnow *fsnow = fsnow_first; + while(fsnow) + { + if(!fsnow->clean) + if(fsnow->id == 0 || ((!fsnow->hidden) && + (fsnow->ws == cworkspace || fsnow->sticky))) + { + int i; + typeof(fsnow->acth) old; + old = malloc(fsnow->w*sizeof(*old)); + for(i=0; iw; i++) + old[i] = fsnow->acth[i]; + // make fsnow->acth the running average of nav+nav+1 + int nav = 3; + if(0) + for(i=0; i< fsnow->w; i++) + { + int j; + int sum = 0; + int jmin = i-nav; + if(jmin<0) jmin = 0; + int jmax = i+nav; + if(jmax > fsnow->w) jmax = fsnow->w; + for (j=jmin; j=2) + sum += old[j]; + else + sum++; + int h = sum/(jmax-jmin); + if (h > fsnow->desh[i]) h = fsnow->desh[i]; + while(fsnow->acth[i] > h) + erase_fallen_pixel(fsnow,i); + fsnow->acth[i] = h; + } + free(old); + } + fsnow = fsnow->next; + } +} + +void do_usanta() { + TRANSSKIP; + UpdateSanta(); +} + +void do_event() +{ + //if(Usealpha) return; we are tempted, but if the event loop is escaped, + // a memory leak appears + XEvent ev; + XFlush(display); + while (XPending(display)) + { + XNextEvent(display, &ev); + if(!Usealpha) + { + switch (ev.type) + { + case ConfigureNotify: + P("ConfigureNotify: r=%ld w=%ld geo=(%d,%d,%d,%d) bw=%d root: %d\n", + ev.xconfigure.event, + ev.xconfigure.window, + ev.xconfigure.x, + ev.xconfigure.y, + ev.xconfigure.width, + ev.xconfigure.height, + ev.xconfigure.border_width, + (SnowWin == ev.xconfigure.event) + ); + if (ev.xconfigure.window == SnowWin && + (ev.xconfigure.width != SnowWinWidth || + ev.xconfigure.height != SnowWinHeight)) + { + //P("init %d %d\n",ev.xconfigure.width, ev.xconfigure.height); + initdisplaydimensions(); + init_fallen_snow(); + init_stars(); + if(!flags.NoKeepSnowOnTrees && !flags.NoTrees) + { + XDestroyRegion(snow_on_trees_region); + snow_on_trees_region = XCreateRegion(); + } + if(!flags.NoTrees) + { + XDestroyRegion(TreeRegion); + TreeRegion = XCreateRegion(); + init_baum_koordinaten(); + } + NoSnowArea_static = TreeRegion; + XClearArea(display, SnowWin, 0,0,0,0,exposures); + } + break; + } + } + } +} + +void do_genflakes() +{ + TRANSSKIP; + if (DoNotMakeSnow) + return; + int desflakes = 1 + lrint((tnow - Prevtime[alarm_genflakes])*flakes_per_sec); + if (flakecount + desflakes > flags.flakecountmax) + return; + int i; + for(i=0; i windmax) NewWind = windmax; + if(NewWind < -windmax) NewWind = -windmax; + break; + case(1): + //NewWind = direction*300; + NewWind = direction*0.6*Whirl; + break; + case(2): + //NewWind = direction*600; + NewWind = direction*1.2*Whirl; + break; + } + //P(" newwind: %f %f\n",NewWind,r); +} + + +void do_wind() +{ + TRANSSKIP; + if(flags.NoWind) return; + static int first = 1; + static double prevtime; + if (first) + { + prevtime = tnow;; + first = 0; + } + + // on the average, this function will do something + // after wind_timer secs + + if ((tnow - prevtime) < 2*wind_timer*drand48()) return; + + prevtime = tnow; + + if(RandInt(100) > 65) // Now for some of Rick's magic: + { + if(RandInt(10) > 4) + direction = 1; + else + direction = -1; + wind = 2; + wind_timer = 5; + // next time, this function will be active + // after on average 5 secs + } + else + { + if(wind == 2) + { + wind = 1; + wind_timer = 3; + // next time, this function will be active + // after on average 3 secs + } + else + { + wind = 0; + wind_timer = WindTimer; + // next time, this function will be active + // after on average WindTimer secs + } + } +} + +// blow snow off trees +void convert_ontree_to_flakes() +{ + if(flags.NoKeepSnowOnTrees || flags.NoBlowSnow || flags.NoTrees) + return; + if (flakecount > flags.flakecountmax || DoNotMakeSnow) + return; + int i; + for (i=0; irx = snow_on_trees[i].x; + firstflake->ry = snow_on_trees[i].y-5*j; + firstflake->vy = -10; + firstflake->cyclic = 0; + } + //P("%d %d %d\n",flakecount, (int)firstflake->rx,(int)firstflake->ry); + } + if(flakecount > flags.flakecountmax) + break; + } + ontrees = 0; + XDestroyRegion(snow_on_trees_region); + snow_on_trees_region = XCreateRegion(); +} + +void do_stars() +{ + TRANSSKIP; + int i; + for (i=0; i 0.7) + star[i].color = RandInt(STARANIMATIONS); +} + +void do_meteorite() +{ + TRANSSKIP; + if(flags.NoMeteorites) return; + if (meteorite.active) return; + if (RandInt(1000) > 200) return; + meteorite.x1 = RandInt(SnowWinWidth); + meteorite.y1 = RandInt(SnowWinHeight/4); + meteorite.x2 = meteorite.x1 + SnowWinWidth/10 - RandInt(SnowWinWidth/5); + if (meteorite.x2 == meteorite.x1) + meteorite.x2 +=5; + meteorite.y2 = meteorite.y1 + SnowWinHeight/5 - RandInt(SnowWinHeight/5); + if (meteorite.y2 == meteorite.y1) + meteorite.y2 +=5; + meteorite.active = 1; + const int npoints = 5; + XPoint points[npoints]; + points[0].x = meteorite.x1+1; + points[0].y = meteorite.y1-1; + points[1].x = meteorite.x2+1; + points[1].y = meteorite.y2-1; + points[2].x = meteorite.x2-1; + points[2].y = meteorite.y2+1; + points[3].x = meteorite.x1-1; + points[3].y = meteorite.y1+1; + points[4].x = meteorite.x1+1; + points[4].y = meteorite.y1-1; + // here sometimes: realloc(): invalid next size + meteorite.r = XPolygonRegion(points,npoints,EvenOddRule); + XUnionRegion(meteorite.r,NoSnowArea_dynamic,NoSnowArea_dynamic); + meteorite.starttime = wallclock(); + XDrawLine(display, SnowWin, meteorite.gc, + meteorite.x1,meteorite.y1,meteorite.x2,meteorite.y2); + XFlush(display); +} + +void do_emeteorite() +{ + TRANSSKIP; + if(flags.NoMeteorites) return; + if (meteorite.active) + if (wallclock() - meteorite.starttime > 0.3) + { + XDrawLine(display, SnowWin, meteorite.egc, + meteorite.x1,meteorite.y1,meteorite.x2,meteorite.y2); + XSubtractRegion(NoSnowArea_dynamic ,meteorite.r,NoSnowArea_dynamic); + XDestroyRegion(meteorite.r); + meteorite.active = 0; + } + XFlush(display); +} + +// used after kdesetbg: it appears that after kdesetbg +// we have to wait a second or so and then clear the screen. +void do_clean() +{ + static int active = 0; + static double tstart = 0.0; + if (active) + { + if (wallclock() - tstart > 2.0) + { + //P("do_clean ClearScreen\n"); + ClearScreen(); + active = 0; + activate_clean = 0; + } + } + else + { + if (activate_clean) + { + active = 1; + tstart = wallclock(); + } + } +} + +void do_wupdate() +{ + if(!Isdesktop) return; + if(flags.NoKeepSWin) return; + int i; + i = GetCurrentWorkspace(); + if(i>=0) + cworkspace = i; + else + { + flags.done = 1; + return; + } + + if(windows) free(windows); + + if (GetWindows(&windows, &nwindows)<0) + { + flags.done = 1; + return; + }; + // Take care of the situation that the transparent window changes from workspace, + // which can happen if in a dynamic number of workspaces environment + // a workspace is emptied. + WinInfo *winfo; + winfo = FindWindow(windows,nwindows,SnowWin); + + //P("SnowWin: 0x%lx\n",SnowWin); + //P("current workspace: %d %d\n",cworkspace,RunCounter); + //printwindows(windows, nwindows); + //P("ws:%d\n",winfo->ws); + + // check also on valid winfo: after toggling 'below' + // winfo is nil sometimes + + if(usingtrans && winfo) + { + //P("winfo: %p\n",(void*)winfo); + // in xfce and maybe others, workspace info is not to be found + // in our transparent window. winfo->ws will be 0, and we keep + // the same value for transworkspace. + if (winfo->ws) + transworkspace = winfo->ws; + } + + update_windows(); +} + +void update_windows() +{ + typeof(windows) w; + typeof(fsnow_first) f; + int i; + // put correct workspace in fallensnow areas + w = windows; + for(i=0; iid == f->id) + { + f->ws = w->ws; + f->sticky = w->sticky; + } + f = f->next; + } + w++; + } + // add fallensnow regions: + w = windows; + for (i=0; iid); + { + f = FindFallen(fsnow_first,w->id); + if(f) + { + if ((!f->sticky) && f->ws != cworkspace) + clean_fallen_area(f,0,f->w); + } + if (!f) + { + // window found in windows, nut not in list of fallensnow, + // add it, but not if we are snowing in this window (Desktop for example) + //P("add %#lx %d\n",w->id, RunCounter); + //PrintFallenSnow(fsnow_first); + if (w->id != SnowWin) + PushFallenSnow(&fsnow_first, w->id, w->ws, w->sticky, + w->x+flags.offset_x, w->y+flags.offset_y, w->w+flags.offset_w, + flags.MaxWinSnowDepth); + } + } + w++; + } + // remove fallensnow regions + f = fsnow_first; int nf = 0; while(f) { nf++; f = f->next; } + long int *toremove = malloc(sizeof(*toremove)*nf); + int ntoremove = 0; + f = fsnow_first; + Atom wmState = XInternAtom(display, "_NET_WM_STATE", True); + while(f) + { + if (f->id != 0) // f->id=0: this is the snow at the bottom + { + w = FindWindow(windows,nwindows,f->id); + if(!w) // this window is gone + { + generate_flakes_on_fallen(f,0,f->w,-10.0); + toremove[ntoremove++] = f->id; + } + + // test if f->id is hidden. If so: clear the area and notify in f + Atom type; int format; unsigned long n, b; unsigned char *properties = 0; + XGetWindowProperty(display, f->id, wmState, 0, (~0L), False, AnyPropertyType, + &type, &format, &n, &b, &properties); + f->hidden = 0; + if(format == 32) + { + int i; + for (i=0; i