matchbox-panel-0.9.3/0000777000175000017500000000000010403352454011432 500000000000000matchbox-panel-0.9.3/README0000644000175000017500000000010610320055002012206 00000000000000This is the Matchbox Panel source, see http://matchbox.handhelds.org. matchbox-panel-0.9.3/configure.ac0000644000175000017500000001660110403352417013637 00000000000000AC_PREREQ(2.53) AC_INIT([matchbox-panel], 0.9.3, [mallum@handhelds.org]) AC_CONFIG_SRCDIR([src/panel.c]) AM_INIT_AUTOMAKE() AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) # Checks for programs. AC_GNU_SOURCE AC_PROG_CC AC_HEADER_DIRENT AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS([libintl.h stdlib.h string.h sys/time.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_PID_T AC_HEADER_TIME # Checks for library functions. AC_FUNC_ALLOCA AC_FUNC_CLOSEDIR_VOID AC_FUNC_FORK AC_FUNC_SELECT_ARGTYPES AC_TYPE_SIGNAL AC_FUNC_STAT AC_CHECK_FUNCS([alarm getcwd gettimeofday memset mkdir select setenv setlocale strcasecmp strdup strpbrk strstr]) AC_ARG_ENABLE(dnotify, [ --enable-dnotify enable dnotify support (Linux 2.4+ only).], enable_dnotify=$enableval, enable_dnotify=no) AC_ARG_ENABLE(startup_notification, [ --enable-startup-notification enable startup notification support], enable_startup_notification=$enableval, enable_startup_notification=no ) AC_ARG_ENABLE(nls, [ --enable-nls enable Native Language Support ( gettext/libintl )], enable_nls=$enableval, enable_nls=no) AC_ARG_ENABLE(small_icons, [ --enable-small-icons enable small icons], enable_small_icons=$enableval, enable_small_icons=no ) AC_ARG_ENABLE(dnotify, [ --enable-dnotify enable dnotify support (Linux 2.4+ only).], enable_dnotify=$enableval, enable_dnotify=no) AC_ARG_ENABLE(debug, [ --enable-debug enable debug ( verbose ) build], enable_debug=$enableval, enable_debug=no ) AC_ARG_ENABLE(acpi-linux, [ --enable-acpi-linux Use Linux ACPI rather than APM for battery info], enable_acpi_linux=$enableval, enable_acpi_linux=no ) PKG_CHECK_MODULES(LIBMB, libmb >= 1.6,, AC_MSG_ERROR([*** Required Matchbox Library (libmb) 1.6 not installed ***])) dnl ------ Debug Build ------------------------------------------------------ if test x$enable_debug = xyes; then LIBMB_CFLAGS="$LIBMB_CFLAGS -DDEBUG" fi dnl ----- DNOTIFY ---------------------------------------------------------- if test x$enable_dnotify = xyes; then ## FIXME: need to actually check its present AC_DEFINE(USE_DNOTIFY, [1], [Has dnotify support]) fi dnl ----- Startup Notification --------------------------------------------- if test x$enable_startup_notification != xno; then PKG_CHECK_MODULES(SN, libstartup-notification-1.0, , AC_MSG_ERROR([*** Required Startup Notification Librays not installed ***])) AC_DEFINE(USE_LIBSN, [1], [Has StartupNotification Support]) fi dnl ----- Linux ACPI ------------------------------------------------------- if test x$enable_acpi_linux = xyes; then AC_DEFINE(USE_ACPI_LINUX, [1], [Use /proc/acpi to get battery status]) fi dnl ----- NLS Fun ----------------------------------------------------------- INTLIBS="" MOFILES="" if test x$enable_nls = xyes; then LINGUAS="en_GB es_ES fi_FI de cs fr_FR zh_TW" AC_CHECK_FUNC(gettext, [HAVEGETTEXT="yes"], AC_CHECK_LIB(intl, gettext, [INTLIBS="-lintl" HAVEGETTEXT="yes"], INTLIBS="" )) AC_CHECK_PROG(XGETTEXT, xgettext, xgettext) AC_CHECK_PROG(MSGMERGE, msgmerge, msgmerge) AC_CHECK_PROG(MSGFMT, msgfmt, msgfmt) if test "$XGETTEXT" != ""; then if $XGETTEXT --help 2>&1 | grep illegal >/dev/null ; then echo "xgettext isn't GNU version" XGETTEXT="" fi fi if test "$LINGUAS" != ""; then if test "$XGETTEXT" != "" -a "$HAVEGETTEXT" != ""; then PO="" if test "$LINGUAS" = ""; then ling=` (cd src/po; /bin/ls *.po) ` for l in $ling; do lcode=`basename $l .po` LINGUAS="$LINGUAS $lcode" done fi AC_DEFINE(ENABLE_NLS, [1], [NLS Please]) echo "xgettext and gettext() exist; will build i18n support for $LINGUAS" else LINGUAS="" PO="" echo "xgettext and libintl.a don't both exist; will not build i18n support" fi else INTLIBS="" MOFILES="" PO="" fi for lang in $LINGUAS; do MOFILES="$MOFILES $lang.mo" done fi AC_SUBST(INTLIBS) AC_SUBST(MOFILES) dnl ----- Xsettings --------------------------------------------------------- AC_MSG_CHECKING([for libmb xsettings support]) if $PKG_CONFIG --libs libmb | grep -i xsettings ; then mb_have_xsettings="yes" AC_DEFINE(USE_XSETTINGS, [1], [Use XSettings]) AC_MSG_RESULT([yes]) else mb_have_xsettings="no" AC_MSG_RESULT([no]) fi dnl ---- Png Support ------------------------------------------------------- if $PKG_CONFIG --libs libmb | grep png ; then found_png="yes" else found_png="no" fi AM_CONDITIONAL(WANT_PNGS, test x$found_png = xyes) dnl ---- Icons -------------------------------------------------------------- AM_CONDITIONAL(WANT_SMALL_ICONS, test x$enable_small_icons = xyes) dnl ----- DNOTIFY ---------------------------------------------------------- if test x$enable_dnotify = xyes; then ## FIXME: need to actually check its present AC_DEFINE(USE_DNOTIFY, [1], [Has dnotify support]) fi AM_CONDITIONAL(WANT_SMALL_ICONS, test x$enable_small_icons = xyes) dnl ----- Specific Applet deps ---------------------------------------------- miniapm_enabled="no ( enable ACPI? )" if test x$enable_acpi_linux = xyes; then miniapm_enabled="yes, with ACPI" else AC_CHECK_HEADERS(apm.h, enable_linux_apm=yes, enable_linux_apm=no) if test x$enable_linux_apm = xyes; then miniapm_enabled="yes" AC_DEFINE(HAVE_APM_H, [1], [Have Linux APM headers]) fi AC_CHECK_HEADERS(apmvar.h, enable_bsd_apm=yes, enable_bsd_apm=no) if test x$enable_bsd_apm = xyes; then AC_DEFINE(HAVE_APMVAR_H, [1], [Have BSD APM headers]) miniapm_enabled="yes" fi fi AM_CONDITIONAL(WANT_APM, test x"$miniapm_enabled" = xyes) AM_CONDITIONAL(WANT_ACPI, test x$enable_acpi_linux = xyes) dnl ------ wireless checks -------------------------------------------------- wifi_enabled=no AC_CHECK_HEADERS(iwlib.h, have_iwlib_h=yes, have_iwlib_h=no) AC_CHECK_LIB(iw, iw_sockets_open, have_libiw=yes, have_libiw=yes) if test x$have_iwlib_h = x"yes" && test x$have_libiw = x"yes"; then WIRELESS_LIBS="-liw" wifi_enabled=yes fi AC_SUBST(WIRELESS_LIBS) AM_CONDITIONAL(WANT_WIFI, test x$wifi_enabled = x"yes") dnl ------ GCC flags -------------------------------------------------------- if test "x$GCC" = "xyes"; then GCC_WARNINGS="-g -Wall -fno-strict-aliasing" LIBMB_CFLAGS="$GCC_WARNINGS $LIBMB_CFLAGS" fi dnl ------ Substitute in found libs, clags to Makefiles etc ----------------- AC_SUBST(LIBMB_CFLAGS) AC_SUBST(LIBMB_LIBS) AC_SUBST(SN_CFLAGS) AC_SUBST(SN_LIBS) AC_OUTPUT([ Makefile src/Makefile applets/Makefile applets/dotdesktop/Makefile applets/icons/Makefile applets/small-icons/Makefile po/Makefile ]) dnl ========================================================================== echo " Matchbox-panel $VERSION ========================= prefix: ${prefix} source code location: ${srcdir} compiler: ${CC} Building with Debug: ${enable_debug} Building with Startup-Notification: ${enable_startup_notification} Building with NLS: ${enable_nls} Building with small icons: ${enable_small_icons} Building with DNOTIFY: ${enable_dnotify} Building mb-applet-battery: ${miniapm_enabled} Building mb-applet-wireless: ${wifi_enabled} " matchbox-panel-0.9.3/aclocal.m40000644000175000017500000011055610403352436013216 00000000000000# generated automatically by aclocal 1.9.5 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_ifval([$1], [$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) if test $pkg_failed = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for more details.])], [$4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.5])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 12 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR matchbox-panel-0.9.3/Makefile.am0000644000175000017500000000013210320055002013361 00000000000000SUBDIRS = src applets po snapshot: $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` matchbox-panel-0.9.3/Makefile.in0000644000175000017500000004502710403352441013417 00000000000000# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ depcomp install-sh missing 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) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLIBS = @INTLIBS@ LDFLAGS = @LDFLAGS@ LIBMB_CFLAGS = @LIBMB_CFLAGS@ LIBMB_LIBS = @LIBMB_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MOFILES = @MOFILES@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN_CFLAGS = @SN_CFLAGS@ SN_LIBS = @SN_LIBS@ STRIP = @STRIP@ VERSION = @VERSION@ WANT_ACPI_FALSE = @WANT_ACPI_FALSE@ WANT_ACPI_TRUE = @WANT_ACPI_TRUE@ WANT_APM_FALSE = @WANT_APM_FALSE@ WANT_APM_TRUE = @WANT_APM_TRUE@ WANT_PNGS_FALSE = @WANT_PNGS_FALSE@ WANT_PNGS_TRUE = @WANT_PNGS_TRUE@ WANT_SMALL_ICONS_FALSE = @WANT_SMALL_ICONS_FALSE@ WANT_SMALL_ICONS_TRUE = @WANT_SMALL_ICONS_TRUE@ WANT_WIFI_FALSE = @WANT_WIFI_FALSE@ WANT_WIFI_TRUE = @WANT_WIFI_TRUE@ WIRELESS_LIBS = @WIRELESS_LIBS@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = src applets po all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic 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 info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-recursive ctags \ ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \ dist-tarZ dist-zip distcheck distclean distclean-generic \ distclean-hdr distclean-recursive distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-recursive pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-info-am snapshot: $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` # 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: matchbox-panel-0.9.3/config.h.in0000644000175000017500000001322110403352453013367 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if the `closedir' function returns void instead of `int'. */ #undef CLOSEDIR_VOID /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ #undef CRAY_STACKSEG_END /* Define to 1 if using `alloca.c'. */ #undef C_ALLOCA /* NLS Please */ #undef ENABLE_NLS /* Define to 1 if you have the `alarm' function. */ #undef HAVE_ALARM /* Define to 1 if you have `alloca', as a function or macro. */ #undef HAVE_ALLOCA /* Define to 1 if you have and it should be used (not on Ultrix). */ #undef HAVE_ALLOCA_H /* Have BSD APM headers */ #undef HAVE_APMVAR_H /* Have Linux APM headers */ #undef HAVE_APM_H /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_DIRENT_H /* Define to 1 if you have the `fork' function. */ #undef HAVE_FORK /* Define to 1 if you have the `getcwd' function. */ #undef HAVE_GETCWD /* 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 header file. */ #undef HAVE_IWLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_LIBINTL_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if you have the `mkdir' function. */ #undef HAVE_MKDIR /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_NDIR_H /* Define to 1 if you have the `select' function. */ #undef HAVE_SELECT /* Define to 1 if you have the `setenv' function. */ #undef HAVE_SETENV /* Define to 1 if you have the `setlocale' function. */ #undef HAVE_SETLOCALE /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ #undef HAVE_STAT_EMPTY_STRING_BUG /* 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 `strcasecmp' function. */ #undef HAVE_STRCASECMP /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strpbrk' function. */ #undef HAVE_STRPBRK /* Define to 1 if you have the `strstr' function. */ #undef HAVE_STRSTR /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_SYS_DIR_H /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_SYS_NDIR_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SELECT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have that is POSIX.1 compatible. */ #undef HAVE_SYS_WAIT_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the `vfork' function. */ #undef HAVE_VFORK /* Define to 1 if you have the header file. */ #undef HAVE_VFORK_H /* Define to 1 if `fork' works. */ #undef HAVE_WORKING_FORK /* Define to 1 if `vfork' works. */ #undef HAVE_WORKING_VFORK /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ #undef LSTAT_FOLLOWS_SLASHED_SYMLINK /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* Define to the type of arg 1 for `select'. */ #undef SELECT_TYPE_ARG1 /* Define to the type of args 2, 3 and 4 for `select'. */ #undef SELECT_TYPE_ARG234 /* Define to the type of arg 5 for `select'. */ #undef SELECT_TYPE_ARG5 /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME /* Use /proc/acpi to get battery status */ #undef USE_ACPI_LINUX /* Has dnotify support */ #undef USE_DNOTIFY /* Has StartupNotification Support */ #undef USE_LIBSN /* Use XSettings */ #undef USE_XSETTINGS /* Version number of package */ #undef VERSION /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `int' if does not define. */ #undef pid_t /* Define as `fork' if `vfork' does not work. */ #undef vfork matchbox-panel-0.9.3/configure0000755000175000017500000075414310403352440013266 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for matchbox-panel 0.9.3. # # Report bugs to . # # Copyright (C) 2003 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 Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. 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 ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # 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'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME='matchbox-panel' PACKAGE_TARNAME='matchbox-panel' PACKAGE_VERSION='0.9.3' PACKAGE_STRING='matchbox-panel 0.9.3' PACKAGE_BUGREPORT='mallum@handhelds.org' ac_unique_file="src/panel.c" # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP ALLOCA LIBOBJS PKG_CONFIG ac_pt_PKG_CONFIG LIBMB_CFLAGS LIBMB_LIBS SN_CFLAGS SN_LIBS XGETTEXT MSGMERGE MSGFMT INTLIBS MOFILES WANT_PNGS_TRUE WANT_PNGS_FALSE WANT_SMALL_ICONS_TRUE WANT_SMALL_ICONS_FALSE WANT_APM_TRUE WANT_APM_FALSE WANT_ACPI_TRUE WANT_ACPI_FALSE WIRELESS_LIBS WANT_WIFI_TRUE WANT_WIFI_FALSE LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= 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 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -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 | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -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 ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 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 ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null # 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 its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP ac_env_PKG_CONFIG_set=${PKG_CONFIG+set} ac_env_PKG_CONFIG_value=$PKG_CONFIG ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG ac_env_LIBMB_CFLAGS_set=${LIBMB_CFLAGS+set} ac_env_LIBMB_CFLAGS_value=$LIBMB_CFLAGS ac_cv_env_LIBMB_CFLAGS_set=${LIBMB_CFLAGS+set} ac_cv_env_LIBMB_CFLAGS_value=$LIBMB_CFLAGS ac_env_LIBMB_LIBS_set=${LIBMB_LIBS+set} ac_env_LIBMB_LIBS_value=$LIBMB_LIBS ac_cv_env_LIBMB_LIBS_set=${LIBMB_LIBS+set} ac_cv_env_LIBMB_LIBS_value=$LIBMB_LIBS ac_env_SN_CFLAGS_set=${SN_CFLAGS+set} ac_env_SN_CFLAGS_value=$SN_CFLAGS ac_cv_env_SN_CFLAGS_set=${SN_CFLAGS+set} ac_cv_env_SN_CFLAGS_value=$SN_CFLAGS ac_env_SN_LIBS_set=${SN_LIBS+set} ac_env_SN_LIBS_value=$SN_LIBS ac_cv_env_SN_LIBS_set=${SN_LIBS+set} ac_cv_env_SN_LIBS_value=$SN_LIBS # # 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 matchbox-panel 0.9.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] _ACEOF cat <<_ACEOF 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] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of matchbox-panel 0.9.3:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-dnotify enable dnotify support (Linux 2.4+ only). --enable-startup-notification enable startup notification support --enable-nls enable Native Language Support ( gettext/libintl ) --enable-small-icons enable small icons --enable-debug enable debug ( verbose ) build --enable-acpi-linux Use Linux ACPI rather than APM for battery info 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 CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility LIBMB_CFLAGS C compiler flags for LIBMB, overriding pkg-config LIBMB_LIBS linker flags for LIBMB, overriding pkg-config SN_CFLAGS C compiler flags for SN, overriding pkg-config SN_LIBS linker flags for SN, 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 fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style 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 elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd "$ac_popdir" done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF matchbox-panel configure 0.9.3 generated by GNU Autoconf 2.59 Copyright (C) 2003 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 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by matchbox-panel $as_me 0.9.3, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF { 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` hostinfo = `(hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done } >&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_sep= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version="1.9" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_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 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done 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. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$,$program_suffix,;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='matchbox-panel' VERSION='0.9.3' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi; echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE ac_config_headers="$ac_config_headers config.h" # Checks for programs. cat >>confdefs.h <<\_ACEOF #define _GNU_SOURCE 1 _ACEOF ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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 | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std1 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 -std1. */ int osf4_cc_array ['\x00' == 0 ? 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 # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6 rm -f confinc confmf # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval="$enable_dependency_tracking" fi; if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include <$ac_hdr> int main () { if ((DIR *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 _ACEOF ac_header_dirent=$ac_hdr; break fi done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo "$as_me:$LINENO: checking for library containing opendir" >&5 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 if test "${ac_cv_search_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS ac_cv_search_opendir=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_opendir" = no; then for ac_lib in dir; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="-l$ac_lib" break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 echo "${ECHO_T}$ac_cv_search_opendir" >&6 if test "$ac_cv_search_opendir" != no; then test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" fi else echo "$as_me:$LINENO: checking for library containing opendir" >&5 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 if test "${ac_cv_search_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS ac_cv_search_opendir=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_opendir" = no; then for ac_lib in x; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="-l$ac_lib" break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 echo "${ECHO_T}$ac_cv_search_opendir" >&6 if test "$ac_cv_search_opendir" != no; then test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #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)) exit(2); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 if test "${ac_cv_header_sys_wait_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main () { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_sys_wait_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_sys_wait_h=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 if test $ac_cv_header_sys_wait_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_SYS_WAIT_H 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in libintl.h stdlib.h string.h sys/time.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ----------------------------------- ## ## Report this to mallum@handhelds.org ## ## ----------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Checks for typedefs, structures, and compiler characteristics. echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { /* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_const=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then cat >>confdefs.h <<\_ACEOF #define const _ACEOF fi echo "$as_me:$LINENO: checking for pid_t" >&5 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 if test "${ac_cv_type_pid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((pid_t *) 0) return 0; if (sizeof (pid_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_pid_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_pid_t=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 if test $ac_cv_type_pid_t = yes; then : else cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF fi echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { if ((struct tm *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_time=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_time=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then cat >>confdefs.h <<\_ACEOF #define TIME_WITH_SYS_TIME 1 _ACEOF fi # Checks for library functions. # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo "$as_me:$LINENO: checking for working alloca.h" >&5 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 if test "${ac_cv_working_alloca_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { char *p = (char *) alloca (2 * sizeof (int)); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_working_alloca_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_working_alloca_h=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 if test $ac_cv_working_alloca_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA_H 1 _ACEOF fi echo "$as_me:$LINENO: checking for alloca" >&5 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 if test "${ac_cv_func_alloca_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __GNUC__ # define alloca __builtin_alloca #else # ifdef _MSC_VER # include # define alloca _alloca # else # if HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); # endif # endif # endif # endif #endif int main () { char *p = (char *) alloca (1); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_alloca_works=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_alloca_works=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 if test $ac_cv_func_alloca_works = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA 1 _ACEOF else # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.$ac_objext cat >>confdefs.h <<\_ACEOF #define C_ALLOCA 1 _ACEOF echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 if test "${ac_cv_os_cray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if defined(CRAY) && ! defined(CRAY2) webecray #else wenotbecray #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "webecray" >/dev/null 2>&1; then ac_cv_os_cray=yes else ac_cv_os_cray=no fi rm -f conftest* fi echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 echo "${ECHO_T}$ac_cv_os_cray" >&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define CRAY_STACKSEG_END $ac_func _ACEOF break fi done fi echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 if test "${ac_cv_c_stack_direction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int find_stack_direction () { static char *addr = 0; auto char dummy; if (addr == 0) { addr = &dummy; return find_stack_direction (); } else return (&dummy > addr) ? 1 : -1; } int main () { exit (find_stack_direction () < 0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_stack_direction=1 else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_c_stack_direction=-1 fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 cat >>confdefs.h <<_ACEOF #define STACK_DIRECTION $ac_cv_c_stack_direction _ACEOF fi echo "$as_me:$LINENO: checking whether closedir returns void" >&5 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6 if test "${ac_cv_func_closedir_void+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_closedir_void=yes else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header_dirent> #ifndef __cplusplus int closedir (); #endif int main () { exit (closedir (opendir (".")) != 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_closedir_void=no else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_closedir_void=yes fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6 if test $ac_cv_func_closedir_void = yes; then cat >>confdefs.h <<\_ACEOF #define CLOSEDIR_VOID 1 _ACEOF fi for ac_header in unistd.h vfork.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ----------------------------------- ## ## Report this to mallum@handhelds.org ## ## ----------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in fork vfork do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done if test "x$ac_cv_func_fork" = xyes; then echo "$as_me:$LINENO: checking for working fork" >&5 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 if test "${ac_cv_func_fork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_fork_works=cross else cat >conftest.$ac_ext <<_ACEOF /* By Ruediger Kuhlmann. */ #include #if HAVE_UNISTD_H # include #endif /* Some systems only have a dummy stub for fork() */ int main () { if (fork() < 0) exit (1); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fork_works=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_fork_works=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 else ac_cv_func_fork_works=$ac_cv_func_fork fi if test "x$ac_cv_func_fork_works" = xcross; then case $host in *-*-amigaos* | *-*-msdosdjgpp*) # Override, as these systems have only a dummy fork() stub ac_cv_func_fork_works=no ;; *) ac_cv_func_fork_works=yes ;; esac { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} fi ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then echo "$as_me:$LINENO: checking for working vfork" >&5 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 if test "${ac_cv_func_vfork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_vfork_works=cross else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Thanks to Paul Eggert for this test. */ #include #include #include #include #include #if HAVE_UNISTD_H # include #endif #if HAVE_VFORK_H # include #endif /* On some sparc systems, changes by the child to local and incoming argument registers are propagated back to the parent. The compiler is told about this with #include , but some compilers (e.g. gcc -O) don't grok . Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */ static void #ifdef __cplusplus sparc_address_test (int arg) # else sparc_address_test (arg) int arg; #endif { static pid_t child; if (!child) { child = vfork (); if (child < 0) { perror ("vfork"); _exit(2); } if (!child) { arg = getpid(); write(-1, "", 0); _exit (arg); } } } int main () { pid_t parent = getpid (); pid_t child; sparc_address_test (0); child = vfork (); if (child == 0) { /* Here is another test for sparc vfork register problems. This test uses lots of local variables, at least as many local variables as main has allocated so far including compiler temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should reuse the register of parent for one of the local variables, since it will think that parent can't possibly be used any more in this routine. Assigning to the local variable will thus munge parent in the parent process. */ pid_t p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); /* Convince the compiler that p..p7 are live; otherwise, it might use the same hardware register for all 8 local variables. */ if (p != p1 || p != p2 || p != p3 || p != p4 || p != p5 || p != p6 || p != p7) _exit(1); /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent from child file descriptors. If the child closes a descriptor before it execs or exits, this munges the parent's descriptor as well. Test for this by closing stdout in the child. */ _exit(close(fileno(stdout)) != 0); } else { int status; struct stat st; while (wait(&status) != child) ; exit( /* Was there some problem with vforking? */ child < 0 /* Did the child fail? (This shouldn't happen.) */ || status /* Did the vfork/compiler bug occur? */ || parent != getpid() /* Did the file descriptor bug occur? */ || fstat(fileno(stdout), &st) != 0 ); } } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_vfork_works=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_vfork_works=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 fi; if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=$ac_cv_func_vfork { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} fi if test "x$ac_cv_func_vfork_works" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_VFORK 1 _ACEOF else cat >>confdefs.h <<\_ACEOF #define vfork fork _ACEOF fi if test "x$ac_cv_func_fork_works" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_FORK 1 _ACEOF fi for ac_header in sys/select.h sys/socket.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ----------------------------------- ## ## Report this to mallum@handhelds.org ## ## ----------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking types of arguments for select" >&5 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6 if test "${ac_cv_func_select_args+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else for ac_arg234 in 'fd_set *' 'int *' 'void *'; do for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #if HAVE_SYS_SELECT_H # include #endif #if HAVE_SYS_SOCKET_H # include #endif int main () { extern int select ($ac_arg1, $ac_arg234, $ac_arg234, $ac_arg234, $ac_arg5); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done done done # Provide a safe default value. : ${ac_cv_func_select_args='int,int *,struct timeval *'} fi echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5 echo "${ECHO_T}$ac_cv_func_select_args" >&6 ac_save_IFS=$IFS; IFS=',' set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` IFS=$ac_save_IFS shift cat >>confdefs.h <<_ACEOF #define SELECT_TYPE_ARG1 $1 _ACEOF cat >>confdefs.h <<_ACEOF #define SELECT_TYPE_ARG234 ($2) _ACEOF cat >>confdefs.h <<_ACEOF #define SELECT_TYPE_ARG5 ($3) _ACEOF rm -f conftest* echo "$as_me:$LINENO: checking return type of signal handlers" >&5 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 if test "${ac_cv_type_signal+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #ifdef signal # undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void (*)(int)))(int); #else void (*signal ()) (); #endif int main () { int i; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_signal=void else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_signal=int fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 echo "${ECHO_T}$ac_cv_type_signal" >&6 cat >>confdefs.h <<_ACEOF #define RETSIGTYPE $ac_cv_type_signal _ACEOF echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else rm -f conftest.sym conftest.file echo >conftest.file if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then if test "$cross_compiling" = yes; then ac_cv_func_lstat_dereferences_slashed_symlink=no else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; /* Linux will dereference the symlink and fail. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_lstat_dereferences_slashed_symlink=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi else # If the `ln -s' command failed, then we probably don't even # have an lstat function. ac_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f conftest.sym conftest.file fi echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && cat >>confdefs.h <<_ACEOF #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 _ACEOF if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then case $LIBOBJS in "lstat.$ac_objext" | \ *" lstat.$ac_objext" | \ "lstat.$ac_objext "* | \ *" lstat.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;; esac fi echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_stat_empty_string_bug=yes else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; exit (stat ("", &sbuf) ? 1 : 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_stat_empty_string_bug=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_stat_empty_string_bug=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6 if test $ac_cv_func_stat_empty_string_bug = yes; then case $LIBOBJS in "stat.$ac_objext" | \ *" stat.$ac_objext" | \ "stat.$ac_objext "* | \ *" stat.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS stat.$ac_objext" ;; esac cat >>confdefs.h <<_ACEOF #define HAVE_STAT_EMPTY_STRING_BUG 1 _ACEOF fi for ac_func in alarm getcwd gettimeofday memset mkdir select setenv setlocale strcasecmp strdup strpbrk strstr do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # Check whether --enable-dnotify or --disable-dnotify was given. if test "${enable_dnotify+set}" = set; then enableval="$enable_dnotify" enable_dnotify=$enableval else enable_dnotify=no fi; # Check whether --enable-startup_notification or --disable-startup_notification was given. if test "${enable_startup_notification+set}" = set; then enableval="$enable_startup_notification" enable_startup_notification=$enableval else enable_startup_notification=no fi; # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" enable_nls=$enableval else enable_nls=no fi; # Check whether --enable-small_icons or --disable-small_icons was given. if test "${enable_small_icons+set}" = set; then enableval="$enable_small_icons" enable_small_icons=$enableval else enable_small_icons=no fi; # Check whether --enable-dnotify or --disable-dnotify was given. if test "${enable_dnotify+set}" = set; then enableval="$enable_dnotify" enable_dnotify=$enableval else enable_dnotify=no fi; # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then enableval="$enable_debug" enable_debug=$enableval else enable_debug=no fi; # Check whether --enable-acpi-linux or --disable-acpi-linux was given. if test "${enable_acpi_linux+set}" = set; then enableval="$enable_acpi_linux" enable_acpi_linux=$enableval else enable_acpi_linux=no fi; if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi PKG_CONFIG=$ac_pt_PKG_CONFIG else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 PKG_CONFIG="" fi fi pkg_failed=no echo "$as_me:$LINENO: checking for LIBMB" >&5 echo $ECHO_N "checking for LIBMB... $ECHO_C" >&6 if test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmb >= 1.6\"") >&5 ($PKG_CONFIG --exists --print-errors "libmb >= 1.6") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_LIBMB_CFLAGS=`$PKG_CONFIG --cflags "libmb >= 1.6" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmb >= 1.6\"") >&5 ($PKG_CONFIG --exists --print-errors "libmb >= 1.6") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_LIBMB_LIBS=`$PKG_CONFIG --libs "libmb >= 1.6" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then LIBMB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmb >= 1.6"` # Put the nasty error message in config.log where it belongs echo "$LIBMB_PKG_ERRORS" 1>&5 { { echo "$as_me:$LINENO: error: *** Required Matchbox Library (libmb) 1.6 not installed ***" >&5 echo "$as_me: error: *** Required Matchbox Library (libmb) 1.6 not installed ***" >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: *** Required Matchbox Library (libmb) 1.6 not installed ***" >&5 echo "$as_me: error: *** Required Matchbox Library (libmb) 1.6 not installed ***" >&2;} { (exit 1); exit 1; }; } else LIBMB_CFLAGS=$pkg_cv_LIBMB_CFLAGS LIBMB_LIBS=$pkg_cv_LIBMB_LIBS echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 : fi if test x$enable_debug = xyes; then LIBMB_CFLAGS="$LIBMB_CFLAGS -DDEBUG" fi if test x$enable_dnotify = xyes; then ## FIXME: need to actually check its present cat >>confdefs.h <<\_ACEOF #define USE_DNOTIFY 1 _ACEOF fi if test x$enable_startup_notification != xno; then pkg_failed=no echo "$as_me:$LINENO: checking for SN" >&5 echo $ECHO_N "checking for SN... $ECHO_C" >&6 if test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libstartup-notification-1.0\"") >&5 ($PKG_CONFIG --exists --print-errors "libstartup-notification-1.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_SN_CFLAGS=`$PKG_CONFIG --cflags "libstartup-notification-1.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libstartup-notification-1.0\"") >&5 ($PKG_CONFIG --exists --print-errors "libstartup-notification-1.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_SN_LIBS=`$PKG_CONFIG --libs "libstartup-notification-1.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then SN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libstartup-notification-1.0"` # Put the nasty error message in config.log where it belongs echo "$SN_PKG_ERRORS" 1>&5 { { echo "$as_me:$LINENO: error: *** Required Startup Notification Librays not installed ***" >&5 echo "$as_me: error: *** Required Startup Notification Librays not installed ***" >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: *** Required Startup Notification Librays not installed ***" >&5 echo "$as_me: error: *** Required Startup Notification Librays not installed ***" >&2;} { (exit 1); exit 1; }; } else SN_CFLAGS=$pkg_cv_SN_CFLAGS SN_LIBS=$pkg_cv_SN_LIBS echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 : fi cat >>confdefs.h <<\_ACEOF #define USE_LIBSN 1 _ACEOF fi if test x$enable_acpi_linux = xyes; then cat >>confdefs.h <<\_ACEOF #define USE_ACPI_LINUX 1 _ACEOF fi INTLIBS="" MOFILES="" if test x$enable_nls = xyes; then LINGUAS="en_GB es_ES fi_FI de cs fr_FR zh_TW" echo "$as_me:$LINENO: checking for gettext" >&5 echo $ECHO_N "checking for gettext... $ECHO_C" >&6 if test "${ac_cv_func_gettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define gettext to an innocuous variant, in case declares gettext. For example, HP-UX 11i declares gettimeofday. */ #define gettext innocuous_gettext /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gettext (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef gettext /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gettext (); /* 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_gettext) || defined (__stub___gettext) choke me #else char (*f) () = gettext; #endif #ifdef __cplusplus } #endif int main () { return f != gettext; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_gettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_gettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_gettext" >&5 echo "${ECHO_T}$ac_cv_func_gettext" >&6 if test $ac_cv_func_gettext = yes; then HAVEGETTEXT="yes" else echo "$as_me:$LINENO: checking for gettext in -lintl" >&5 echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_gettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gettext (); int main () { gettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_gettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_gettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6 if test $ac_cv_lib_intl_gettext = yes; then INTLIBS="-lintl" HAVEGETTEXT="yes" else INTLIBS="" fi fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$XGETTEXT"; then ac_cv_prog_XGETTEXT="$XGETTEXT" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_XGETTEXT="xgettext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi XGETTEXT=$ac_cv_prog_XGETTEXT if test -n "$XGETTEXT"; then echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_MSGMERGE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$MSGMERGE"; then ac_cv_prog_MSGMERGE="$MSGMERGE" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MSGMERGE="msgmerge" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi MSGMERGE=$ac_cv_prog_MSGMERGE if test -n "$MSGMERGE"; then echo "$as_me:$LINENO: result: $MSGMERGE" >&5 echo "${ECHO_T}$MSGMERGE" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$MSGFMT"; then ac_cv_prog_MSGFMT="$MSGFMT" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MSGFMT="msgfmt" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi MSGFMT=$ac_cv_prog_MSGFMT if test -n "$MSGFMT"; then echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$XGETTEXT" != ""; then if $XGETTEXT --help 2>&1 | grep illegal >/dev/null ; then echo "xgettext isn't GNU version" XGETTEXT="" fi fi if test "$LINGUAS" != ""; then if test "$XGETTEXT" != "" -a "$HAVEGETTEXT" != ""; then PO="" if test "$LINGUAS" = ""; then ling=` (cd src/po; /bin/ls *.po) ` for l in $ling; do lcode=`basename $l .po` LINGUAS="$LINGUAS $lcode" done fi cat >>confdefs.h <<\_ACEOF #define ENABLE_NLS 1 _ACEOF echo "xgettext and gettext() exist; will build i18n support for $LINGUAS" else LINGUAS="" PO="" echo "xgettext and libintl.a don't both exist; will not build i18n support" fi else INTLIBS="" MOFILES="" PO="" fi for lang in $LINGUAS; do MOFILES="$MOFILES $lang.mo" done fi echo "$as_me:$LINENO: checking for libmb xsettings support" >&5 echo $ECHO_N "checking for libmb xsettings support... $ECHO_C" >&6 if $PKG_CONFIG --libs libmb | grep -i xsettings ; then mb_have_xsettings="yes" cat >>confdefs.h <<\_ACEOF #define USE_XSETTINGS 1 _ACEOF echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else mb_have_xsettings="no" echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if $PKG_CONFIG --libs libmb | grep png ; then found_png="yes" else found_png="no" fi if test x$found_png = xyes; then WANT_PNGS_TRUE= WANT_PNGS_FALSE='#' else WANT_PNGS_TRUE='#' WANT_PNGS_FALSE= fi if test x$enable_small_icons = xyes; then WANT_SMALL_ICONS_TRUE= WANT_SMALL_ICONS_FALSE='#' else WANT_SMALL_ICONS_TRUE='#' WANT_SMALL_ICONS_FALSE= fi if test x$enable_dnotify = xyes; then ## FIXME: need to actually check its present cat >>confdefs.h <<\_ACEOF #define USE_DNOTIFY 1 _ACEOF fi if test x$enable_small_icons = xyes; then WANT_SMALL_ICONS_TRUE= WANT_SMALL_ICONS_FALSE='#' else WANT_SMALL_ICONS_TRUE='#' WANT_SMALL_ICONS_FALSE= fi miniapm_enabled="no ( enable ACPI? )" if test x$enable_acpi_linux = xyes; then miniapm_enabled="yes, with ACPI" else for ac_header in apm.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ----------------------------------- ## ## Report this to mallum@handhelds.org ## ## ----------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF enable_linux_apm=yes else enable_linux_apm=no fi done if test x$enable_linux_apm = xyes; then miniapm_enabled="yes" cat >>confdefs.h <<\_ACEOF #define HAVE_APM_H 1 _ACEOF fi for ac_header in apmvar.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ----------------------------------- ## ## Report this to mallum@handhelds.org ## ## ----------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF enable_bsd_apm=yes else enable_bsd_apm=no fi done if test x$enable_bsd_apm = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_APMVAR_H 1 _ACEOF miniapm_enabled="yes" fi fi if test x"$miniapm_enabled" = xyes; then WANT_APM_TRUE= WANT_APM_FALSE='#' else WANT_APM_TRUE='#' WANT_APM_FALSE= fi if test x$enable_acpi_linux = xyes; then WANT_ACPI_TRUE= WANT_ACPI_FALSE='#' else WANT_ACPI_TRUE='#' WANT_ACPI_FALSE= fi wifi_enabled=no for ac_header in iwlib.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ----------------------------------- ## ## Report this to mallum@handhelds.org ## ## ----------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF have_iwlib_h=yes else have_iwlib_h=no fi done echo "$as_me:$LINENO: checking for iw_sockets_open in -liw" >&5 echo $ECHO_N "checking for iw_sockets_open in -liw... $ECHO_C" >&6 if test "${ac_cv_lib_iw_iw_sockets_open+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-liw $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char iw_sockets_open (); int main () { iw_sockets_open (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_iw_iw_sockets_open=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_iw_iw_sockets_open=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_iw_iw_sockets_open" >&5 echo "${ECHO_T}$ac_cv_lib_iw_iw_sockets_open" >&6 if test $ac_cv_lib_iw_iw_sockets_open = yes; then have_libiw=yes else have_libiw=yes fi if test x$have_iwlib_h = x"yes" && test x$have_libiw = x"yes"; then WIRELESS_LIBS="-liw" wifi_enabled=yes fi if test x$wifi_enabled = x"yes"; then WANT_WIFI_TRUE= WANT_WIFI_FALSE='#' else WANT_WIFI_TRUE='#' WANT_WIFI_FALSE= fi if test "x$GCC" = "xyes"; then GCC_WARNINGS="-g -Wall -fno-strict-aliasing" LIBMB_CFLAGS="$GCC_WARNINGS $LIBMB_CFLAGS" fi ac_config_files="$ac_config_files Makefile src/Makefile applets/Makefile applets/dotdesktop/Makefile applets/icons/Makefile applets/small-icons/Makefile po/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, don't put newlines in cache variables' values. # 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. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *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 \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" 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}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${WANT_PNGS_TRUE}" && test -z "${WANT_PNGS_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"WANT_PNGS\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"WANT_PNGS\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${WANT_SMALL_ICONS_TRUE}" && test -z "${WANT_SMALL_ICONS_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"WANT_SMALL_ICONS\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"WANT_SMALL_ICONS\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${WANT_SMALL_ICONS_TRUE}" && test -z "${WANT_SMALL_ICONS_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"WANT_SMALL_ICONS\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"WANT_SMALL_ICONS\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${WANT_APM_TRUE}" && test -z "${WANT_APM_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"WANT_APM\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"WANT_APM\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${WANT_ACPI_TRUE}" && test -z "${WANT_ACPI_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"WANT_ACPI\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"WANT_ACPI\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${WANT_WIFI_TRUE}" && test -z "${WANT_WIFI_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"WANT_WIFI\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"WANT_WIFI\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. 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 ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # 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'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by matchbox-panel $as_me 0.9.3, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ matchbox-panel config.status 0.9.3 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS section. # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "applets/Makefile" ) CONFIG_FILES="$CONFIG_FILES applets/Makefile" ;; "applets/dotdesktop/Makefile" ) CONFIG_FILES="$CONFIG_FILES applets/dotdesktop/Makefile" ;; "applets/icons/Makefile" ) CONFIG_FILES="$CONFIG_FILES applets/icons/Makefile" ;; "applets/small-icons/Makefile" ) CONFIG_FILES="$CONFIG_FILES applets/small-icons/Makefile" ;; "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@SHELL@,$SHELL,;t t s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t s,@program_transform_name@,$program_transform_name,;t t s,@bindir@,$bindir,;t t s,@sbindir@,$sbindir,;t t s,@libexecdir@,$libexecdir,;t t s,@datadir@,$datadir,;t t s,@sysconfdir@,$sysconfdir,;t t s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$localstatedir,;t t s,@libdir@,$libdir,;t t s,@includedir@,$includedir,;t t s,@oldincludedir@,$oldincludedir,;t t s,@infodir@,$infodir,;t t s,@mandir@,$mandir,;t t s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t s,@target_alias@,$target_alias,;t t s,@DEFS@,$DEFS,;t t s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@CYGPATH_W@,$CYGPATH_W,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t s,@install_sh@,$install_sh,;t t s,@STRIP@,$STRIP,;t t s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@mkdir_p@,$mkdir_p,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@am__leading_dot@,$am__leading_dot,;t t s,@AMTAR@,$AMTAR,;t t s,@am__tar@,$am__tar,;t t s,@am__untar@,$am__untar,;t t s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t s,@MAINT@,$MAINT,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t s,@CPPFLAGS@,$CPPFLAGS,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@DEPDIR@,$DEPDIR,;t t s,@am__include@,$am__include,;t t s,@am__quote@,$am__quote,;t t s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t s,@CCDEPMODE@,$CCDEPMODE,;t t s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t s,@CPP@,$CPP,;t t s,@EGREP@,$EGREP,;t t s,@ALLOCA@,$ALLOCA,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@PKG_CONFIG@,$PKG_CONFIG,;t t s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t s,@LIBMB_CFLAGS@,$LIBMB_CFLAGS,;t t s,@LIBMB_LIBS@,$LIBMB_LIBS,;t t s,@SN_CFLAGS@,$SN_CFLAGS,;t t s,@SN_LIBS@,$SN_LIBS,;t t s,@XGETTEXT@,$XGETTEXT,;t t s,@MSGMERGE@,$MSGMERGE,;t t s,@MSGFMT@,$MSGFMT,;t t s,@INTLIBS@,$INTLIBS,;t t s,@MOFILES@,$MOFILES,;t t s,@WANT_PNGS_TRUE@,$WANT_PNGS_TRUE,;t t s,@WANT_PNGS_FALSE@,$WANT_PNGS_FALSE,;t t s,@WANT_SMALL_ICONS_TRUE@,$WANT_SMALL_ICONS_TRUE,;t t s,@WANT_SMALL_ICONS_FALSE@,$WANT_SMALL_ICONS_FALSE,;t t s,@WANT_APM_TRUE@,$WANT_APM_TRUE,;t t s,@WANT_APM_FALSE@,$WANT_APM_FALSE,;t t s,@WANT_ACPI_TRUE@,$WANT_ACPI_TRUE,;t t s,@WANT_ACPI_FALSE@,$WANT_ACPI_FALSE,;t t s,@WIRELESS_LIBS@,$WIRELESS_LIBS,;t t s,@WANT_WIFI_TRUE@,$WANT_WIFI_TRUE,;t t s,@WANT_WIFI_FALSE@,$WANT_WIFI_FALSE,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac # 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. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;t t s,@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,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_builddir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } # Do quote $f, to prevent DOS paths from being IFS'd. echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed # This sed command replaces #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. cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\_ACEOF # 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. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_count done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_COMMANDS section. # for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null || $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi echo " Matchbox-panel $VERSION ========================= prefix: ${prefix} source code location: ${srcdir} compiler: ${CC} Building with Debug: ${enable_debug} Building with Startup-Notification: ${enable_startup_notification} Building with NLS: ${enable_nls} Building with small icons: ${enable_small_icons} Building with DNOTIFY: ${enable_dnotify} Building mb-applet-battery: ${miniapm_enabled} Building mb-applet-wireless: ${wifi_enabled} " matchbox-panel-0.9.3/AUTHORS0000644000175000017500000000004510320055002012400 00000000000000Matthew Allum matchbox-panel-0.9.3/COPYING0000644000175000017500000004311010332004224012366 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. matchbox-panel-0.9.3/ChangeLog0000644000175000017500000003423410372216545013133 000000000000002006-02-07 Matthew Allum * applets/mb-applet-system-monitor.c: (system_memory), (main): * configure.ac: Detect kernel version at run rather than build time. 2006-01-27 Matthew Allum * src/msg.c: (_get_server_time), (msg_win_create), (msg_handle_events), (msg_calc_win_size): * src/panel.c: (panel_main): * src/session.c: (session_preexisting_clear_current): * src/session.h: Apply patch from Phil Blundell remove uneeded polling. ( See bug #68 ) 2006-01-24 Matthew Allum * src/msg.c: (msg_win_create), (msg_handle_events): * src/msg.h: * src/panel.c: (panel_handle_client_message): * src/panel.h: Apply patch from Phil Blundell to implement cancelation of systray popup messages. 2006-01-24 Matthew Allum * applets/mb-applet-wireless.c: (find_iwface): Workaround for issues with Z hostap driver that presents multiple wireless interfaces. The first of which does not give stat info. 2006-01-20 Matthew Allum * applets/mb-applet-system-monitor.c: (system_cpu): * configure.ac: mb-applet-system-monitor fixes for 2.6 kernels. see bug #51, based on patch by Patrick Steiner. 2005-09-26 mallum,,, * applets/mb-applet-menu-launcher.c: (build_menu): Fix potential segv on parsing corrupt .directory files. 2005-09-15 mallum * applets/Makefile.am: * applets/mb-applet-battery.c: (read_apm): * configure.ac: Incorporate ACPI support for battery applet via Michal Ludvig. 2005-05-23 mallum,,, * src/panel.c: (panel_main), (panel_init): Select for panel win events much earlier so we dont miss initial configure notifys. Much improved panel in titlebar. 2005-04-11 mallum,,, * configure.ac: Bump up version to 0.9.2 2005-04-06 mallum,,, * applets/mb-applet-battery.c: (button_callback): Show Hours + Min rather than just mins * applets/mb-applet-clock.c: (paint_callback): Provent potential overflow * applets/mb-applet-menu-launcher.c: (build_menu): Use MAXPATHLEN * po/cs.po: * po/de.po: * po/en_GB.po: * po/es_ES.po: * po/fi_FI.po: * po/fr_FR.po: * po/zh_TW.po: Update for battery time output * src/panel.c: (panel_set_bg): * src/panel_menu.c: (panel_menu_init): Overflow fixes. Via patches from Philippe De Swert and Andreas Gunnarsson. 2005-04-05 mallum,,, * applets/mb-applet-wireless.c: (update_wireless), (paint_callback), (load_icons), (resize_callback), (button_callback), (theme_callback), (timeout_callback), (find_iwface), (main): Fix up to iwlib using wireless applet. Brunt of work via Chris Lord. 2005-03-17 mallum,,, * applets/Makefile.am: * applets/mb-applet-wireless.c: * configure.ac: Initial work on porting to use iwlib. Currently *unworking* 2005-02-22 mallum,,, * src/panel.c: (panel_main): Exit if tray selection is 'stolen' 2005-02-22 mallum,,, * src/panel.c: (panel_usage): make usage display version. 2005-02-22 mallum,,, * applets/mb-applet-clock.c: (file_exists), (main): Fix bug where clock hangs and also fix so it only wakes at beginning of every minute - thus saving some power. 2005-02-21 mallum,,, * applets/mb-applet-battery.c: (paint_callback), (button_callback): Apply patches for battery applet from Rob Taylor 2005-01-21 0.9.1 Released 2005-01-21 mallum,,, * applets/icons/miniapm*.png Improve large miniapm panel icons a little. 2005-01-21 mallum,,, * applets/dotdesktop/Makefile.am: Only install .desktop files for installed applets * applets/mb-applet-battery.c: (paint_callback), (button_callback): Make less strcit ( via anon oe patch ) * po/en_GB.po: Remove test text * src/panel_app.c: (panel_app_handle_configure_request): Position/size end applet properly ( Hopefully fixes half clock sometimes showing ) * src/panel.c: (panel_handle_dock_request): * src/panel.h: * src/session.c: (session_preexisting_start_next), (session_preexisting_win_matches_wanted): Defer launching any non session applets while restarting a session. 2005-01-11 mallum,,, * configure.ac: Check for more recent libmatchbox. Bump up version * src/panel.c: (panel_set_bg): Use new pixbuf_x_pixel call to set background color ( Color matches for 16bpp ) * src/panel.h: Set better font default for panel messages 2005-01-04 mallum,,, * configure.ac: Bump up version to 0.9 2004-12-23 mallum,,, * src/panel_app.c: (panel_app_handle_configure_request): Tweak positioning for non sqaure applets 2004-12-20 mallum,,, * src/panel.c: (panel_set_bg), (panel_init): * src/panel_menu.c: (panel_menu_update_remove_items): Fixes for new pixbuf 16bpp internals. ALso add support for MB_SYNC env var. 2004-12-17 mallum,,, * configure.ac: * po/Makefile.am: Tweaks to nls auto* gubbins. via patch from Matt Dainty 2004-12-13 mallum,,, * src/panel.c: (panel_usage), (panel_reorder_apps), (panel_init): * src/panel.h: * src/panel_app.c: (panel_app_add_end), (panel_app_new), (panel_app_handle_configure_request), (panel_app_move_to), (panel_apps_nudge), (panel_apps_rescale): Add new --margins, --padding switches. 2004-12-01 mallum * configure.ac: Bump up check for libmatchbox version 1.5 2004-12-01 Ross Burton * applets/mb-applet-launcher.c: * applets/mb-applet-menu-launcher.c: * applets/mb-applet-clock.c: * src/panel_menu.c: Use mb_dotdesktop_get_exec(). Also move config.h includes so that AC_GNU_SOURCE works, and fix a bad fprintf. 2004-12-01 Ross Burton * configure.ac: Add AC_GNU_SOURCE. 2004-11-30 mallum * applets/mb-applet-system-monitor.c: (paint_callback): Fix so initial paint does not take ages to happen. 2004-11-02 mallum * src/panel.c: (panel_init): Specifically set no focus hint. ( needed for new wm focus code ) 2004-11-02 Ross Burton * src/panel.c: Set DISPLAY if it was set on the command line. * src/panel_menu.c: Only attempt to read .desktop files 2004-08-30 matchbox-panel-0.8.3 released released tag: RELEASE_0_8_3 2004-08-30 mallum,,, * applets/mb-applet-launcher.c: (main): Add support for honoring X-MB-NoWindow .desktop key * configure.ac: Bump up version * src/panel.c: (main): * src/panel.h: * src/panel_menu.c: (panel_menu_init): Fix silly atom orientation problem 2004-08-08 mallum,,, * src/panel.c: (panel_xsettings_notify_cb), (panel_set_theme_from_root_prop): Add support for PanelMsgFont in theme.desktop 2004-07-27 mallum,,, * applets/mb-applet-system-monitor.c: (paint_callback): Change mem,cpu bar order to match bubble message 2004-07-23 matchbox-panel-0.8.2 released released tag: RELEASE_0_8_2 2004-07-23 mallum,,, * configure.ac: Bump up version 2004-07-23 mallum,,, * src/session.c: (session_destroy), (session_preexisting_handle_timeouts): Fix default apps not appearing. 2004-06-28 Matthew Allum,,, * po/zh_TW.po: prevous zh_TW was corrupt 2004-06-28 Matthew Allum,,, * configure.ac: * po/Makefile.am: * po/zh_TW.po: Added zh_TW translation from Jim Huang 2004-04-27 Matthew Allum,,, * src/panel.c: (panel_set_bg), (panel_init), (main): * src/session.c: (session_init), (session_save): Error message cleanup 2004-04-27 Matthew Allum,,, * applets/mb-applet-menu-launcher.c: (sn_exec), (fork_exec), (build_menu), (load_icon): Improved/cleaned error messages * applets/mb-applet-system-monitor.c: (system_cpu), (system_memory): Exit rather than segv if /proc files cant be opened. 2004-04-22 Matthew Allum,,, * src/panel.c: (panel_init): * src/panel.h: Add support for env var "MB_PANEL_NO_DESKTOP_HIDE" to not hide an embedded panel on desktop. This is mainly just for testing. 2004-04-10 Matthew Allum * configure.ac: * applets/Makefile.am: Only build mb-applet-wireless if linux/wireless.h exists * applets/mb-applet-menu-launcher.c: (button_callback), (xevent_callback): Tidy up DNOTIFY code. 2004-03-22 matchbox-panel-0.8.1 released released tag: RELEASE_0_8_1 2004-03-17 Matthew Allum,,, * README: Add some content * configure.ac: bump up version. 2004-02-26 Matthew Allum,,, * Makefile.am: Added snapshot target 2004-02-25 Matthew Allum,,, * applets/mb-applet-battery.c: (main): Decrease time between battery state checks ( 10 -> 2 secs ) 2004-02-25 Matthew Allum,,, * src/panel.c: (panel_set_bg), (panel_main): Avoid panel in titlebar crash with no set background 2004-02-24 Matthew Allum,,, * src/panel.h: remove uneeded xpm.h include 2004-02-13 Matthew Allum,,, * applets/mb-applet-wireless.c: (resize_callback), (theme_callback): * src/panel.c: (panel_set_theme_from_root_prop): Fix crash when wireless at maximum strength. Caused by level enum referencing from 1 not 0. 2004-02-10 matchbox-panel-0.8 released released 2004-02-10 Matthew Allum,,, * applets/mb-applet-battery.c: (main): Change miniapm printf's to mb-applet-battery * po/Makefile.am: Fix .mo's getting installed in correct location 2004-02-09 Matthew Allum,,, * applets/icons/minisys.png: * applets/icons/minisys.xpm: Large mb-applet-system-monitor icon improved 2004-02-07 Matthew Allum,,, * applets/Makefile.am: * applets/mb-applet-menu-launcher.c: * configure.ac: DNOTIFY Build fixes 2004-02-07 Matthew Allum,,, * applets/Makefile.am: * configure.ac: Fix startup Notification building 2004-02-07 Matthew Allum,,, * applets/mb-applet-menu-launcher.c: (build_menu): Dont read same /applications dir twice * src/panel_menu.c: (panel_menu_init): Launch mb-applet-launcher not monoluanch 2004-02-05 Matthew Allum,,, * applets/Makefile.am: Fix to mb-applet-battery Makefile.am login 2004-02-05 Matthew Allum,,, * configure.ac: Added dnotify switch 2004-02-05 Matthew Allum,,, * Makefile.am: Add po to output dirs * applets/small-icons/mbterm.png: * applets/small-icons/mbterm.xpm: * applets/small-icons/minitime.png: * applets/small-icons/minitime.xpm: Added missing icons * configure.ac: Various tweaks * src/panel.h: Made panel include config.h 2004-02-04 Matthew Allum, mallum@handhelds.org * applets/mb-applet-launcher.c: (main): Remove extra share from img created absolute paths 2004-02-04 Matthew Allum, mallum@handhelds.org * applets/dotdesktop/mb-launcher-term.desktop: * applets/mb-applet-launcher.c: (main): Fixed mb-launcher-term not to require absolute paths for images 2004-02-04 Matthew Allum, mallum@handhelds.org * applets/mb-applet-menu-launcher.c: (build_menu): Only add the action seperator if there are action items 2004-02-04 Matthew Allum, mallum@handhelds.org * applets/Makefile.am: * applets/dotdesktop/Makefile.am: * applets/dotdesktop/mb-launcher-term.desktop: * applets/dotdesktop/mb-show-desktop.desktop: * applets/icons/Makefile.am: * applets/icons/battery.xpm: * applets/icons/broken-0.png: * applets/icons/broken-0.xpm: * applets/icons/mbmenu.png: * applets/icons/mbmenu.xpm: * applets/icons/mbterm.png: * applets/icons/mbterm.xpm: * applets/icons/miniapm-power.png: * applets/icons/miniapm-power.xpm: * applets/icons/miniapm.png: * applets/icons/miniapm.xpm: * applets/icons/minisys.png: * applets/icons/minisys.xpm: * applets/icons/minitime.png: * applets/icons/minitime.xpm: * applets/icons/minitimestrip.xpm: * applets/icons/miniwave-icon.png: * applets/icons/miniwave.xpm: * applets/icons/no-link-0.png: * applets/icons/no-link-0.xpm: * applets/icons/oval_filled.xpm: * applets/icons/signal-1-40.png: * applets/icons/signal-1-40.xpm: * applets/icons/signal-41-60.png: * applets/icons/signal-41-60.xpm: * applets/icons/signal-61-80.png: * applets/icons/signal-61-80.xpm: * applets/icons/signal-81-100.png: * applets/icons/signal-81-100.xpm: * applets/icons/term.png: * applets/mb-applet-launcher.c: * applets/mb-applet-xterm-wrapper.sh: * applets/small-icons/Makefile.am: * applets/small-icons/broken-0.png: * applets/small-icons/broken-0.xpm: * applets/small-icons/mbdesktop.png: * applets/small-icons/mbdesktop.xpm: * applets/small-icons/no-link-0.png: * applets/small-icons/no-link-0.xpm: * applets/small-icons/signal-1-40.png: * applets/small-icons/signal-1-40.xpm: * applets/small-icons/signal-41-60.png: * applets/small-icons/signal-41-60.xpm: * applets/small-icons/signal-61-80.png: * applets/small-icons/signal-61-80.xpm: * applets/small-icons/signal-81-100.png: * applets/small-icons/signal-81-100.xpm: BIG icon cleanup 2004-02-04 Matthew Allum, mallum@handhelds.org * applets/mb-applet-battery.c: * applets/mb-applet-menu-launcher.c: * applets/mb-applet-system-monitor.c: #ifdef cleanups 2004-02-04 Matthew Allum, mallum@handhelds.org * applets/Makefile.am: Made mb-applet-battery build conditional on apm deps * configure.ac: Fixed --enable-small-icons option Added Summary 2004-02-03 Matthew Allum, mallum@handhelds.org * applets/mb-applet-menu-launcher.c: (build_menu): Fix to multiple app path checking. index was getting overidden. 2004-02-03 Matthew Allum, mallum@handhelds.org * applets/mb-applet-menu-launcher.c: (build_menu): Made menu, like desktop attempt to parse multiple application dir rather than just prefix based one. 2004-02-03 Matthew Allum, mallum@handhelds.org * src/panel_menu.c: Changed USE_PNG check to MB_HAVE_PNG matchbox-panel-0.9.3/INSTALL0000644000175000017500000002240610332004224012371 00000000000000Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== These are generic installation instructions. 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 only 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. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. 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. 4. Type `make install' to install the programs and any data files and documentation. 5. 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. 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=c89 CFLAGS=-O2 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 must use a version of `make' that supports the `VPATH' variable, such as 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 `..'. If you have to use a `make' that does not support the `VPATH' variable, you have 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. Installation Names ================== By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PREFIX', the package will use PREFIX as the prefix for installing programs and libraries. Documentation and other data files will 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. 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'. Optional Features ================= 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. 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 `--target=TYPE' option 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). Here is a another example: /bin/bash ./configure CONFIG_SHELL=/bin/bash Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent configuration-related scripts to be executed by `/bin/bash'. `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of the options to `configure', and exit. `--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. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. matchbox-panel-0.9.3/NEWS0000644000175000017500000000000010320055002012016 00000000000000matchbox-panel-0.9.3/depcomp0000755000175000017500000003677410332004224012732 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-02-09.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mecanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: matchbox-panel-0.9.3/install-sh0000755000175000017500000002202110332004224013335 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-02-02.21 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -f "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit 0 } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: matchbox-panel-0.9.3/missing0000755000175000017500000002517010332004224012740 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-02-08.22 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: matchbox-panel-0.9.3/src/0000777000175000017500000000000010403352453012220 500000000000000matchbox-panel-0.9.3/src/Makefile.am0000644000175000017500000000073210320055001014155 00000000000000PREFIXDIR = $(prefix) PKGDATADIR = $(datadir)/matchbox DATADIR = $(datadir) INCLUDES = -DDATADIR=\"$(DATADIR)\" -DPKGDATADIR=\"$(PKGDATADIR)\" -DPREFIX=\"$(PREFIXDIR)\" $(LIBMB_CFLAGS) bin_PROGRAMS = matchbox-panel matchbox_panel_LDADD = $(LIBMB_LIBS) matchbox_panel_SOURCES = \ panel.c panel_app.c panel_menu.c panel_util.c session.c msg.c \ panel.h panel_app.h panel_menu.h panel_util.h session.h msg.h matchbox-panel-0.9.3/src/Makefile.in0000644000175000017500000003333110403352441014201 00000000000000# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ SOURCES = $(matchbox_panel_SOURCES) srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = matchbox-panel$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am_matchbox_panel_OBJECTS = panel.$(OBJEXT) panel_app.$(OBJEXT) \ panel_menu.$(OBJEXT) panel_util.$(OBJEXT) session.$(OBJEXT) \ msg.$(OBJEXT) matchbox_panel_OBJECTS = $(am_matchbox_panel_OBJECTS) am__DEPENDENCIES_1 = matchbox_panel_DEPENDENCIES = $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(matchbox_panel_SOURCES) DIST_SOURCES = $(matchbox_panel_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLIBS = @INTLIBS@ LDFLAGS = @LDFLAGS@ LIBMB_CFLAGS = @LIBMB_CFLAGS@ LIBMB_LIBS = @LIBMB_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MOFILES = @MOFILES@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN_CFLAGS = @SN_CFLAGS@ SN_LIBS = @SN_LIBS@ STRIP = @STRIP@ VERSION = @VERSION@ WANT_ACPI_FALSE = @WANT_ACPI_FALSE@ WANT_ACPI_TRUE = @WANT_ACPI_TRUE@ WANT_APM_FALSE = @WANT_APM_FALSE@ WANT_APM_TRUE = @WANT_APM_TRUE@ WANT_PNGS_FALSE = @WANT_PNGS_FALSE@ WANT_PNGS_TRUE = @WANT_PNGS_TRUE@ WANT_SMALL_ICONS_FALSE = @WANT_SMALL_ICONS_FALSE@ WANT_SMALL_ICONS_TRUE = @WANT_SMALL_ICONS_TRUE@ WANT_WIFI_FALSE = @WANT_WIFI_FALSE@ WANT_WIFI_TRUE = @WANT_WIFI_TRUE@ WIRELESS_LIBS = @WIRELESS_LIBS@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ PREFIXDIR = $(prefix) PKGDATADIR = $(datadir)/matchbox DATADIR = $(datadir) INCLUDES = -DDATADIR=\"$(DATADIR)\" -DPKGDATADIR=\"$(PKGDATADIR)\" -DPREFIX=\"$(PREFIXDIR)\" $(LIBMB_CFLAGS) matchbox_panel_LDADD = $(LIBMB_LIBS) matchbox_panel_SOURCES = \ panel.c panel_app.c panel_menu.c panel_util.c session.c msg.c \ panel.h panel_app.h panel_menu.h panel_util.h session.h msg.h all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) matchbox-panel$(EXEEXT): $(matchbox_panel_OBJECTS) $(matchbox_panel_DEPENDENCIES) @rm -f matchbox-panel$(EXEEXT) $(LINK) $(matchbox_panel_LDFLAGS) $(matchbox_panel_OBJECTS) $(matchbox_panel_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msg.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/panel.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/panel_app.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/panel_menu.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/panel_util.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/session.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-binPROGRAMS install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic ctags distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: matchbox-panel-0.9.3/src/panel.c0000644000175000017500000014764510366436260013427 00000000000000/* * mbpanel * * A 'system tray' - Matthew Allum * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. * */ #include "panel.h" #include "msg.h" MBPanel *G_panel = NULL; #define DEFAULT_MSG_FGCOL "black" #define DEFAULT_MSG_BGCOL "yellow" #define DEFAULT_MSG_BGURGCOL "orange" #ifdef USE_XSETTINGS #define XSET_UNKNOWN 0 #define XSET_GTK_FONT 1 static void panel_xsettings_notify_cb (const char *name, XSettingsAction action, XSettingsSetting *setting, void *data) { MBPanel *panel = (MBPanel *)data; int i = 0; int key = XSET_UNKNOWN; struct _mb_xsettings { char *name; int value; } mb_xsettings[] = { { "Gtk/FontName", XSET_GTK_FONT }, { NULL, -1 } }; while( mb_xsettings[i].name != NULL ) { if (!strcmp(name, mb_xsettings[i].name) && setting != NULL /* XXX set to NULL when action deleted */ && setting->type == XSETTINGS_TYPE_STRING ) { key = mb_xsettings[i].value; break; } i++; } if (key == XSET_UNKNOWN) return; switch (action) { case XSETTINGS_ACTION_NEW: case XSETTINGS_ACTION_CHANGED: switch (key) { case XSET_GTK_FONT: if (setting->data.v_string && strlen(setting->data.v_string)) { /* This will be overidden ( hopefully ) by any theme.desktop * setting. */ DBG("%s() setting XSET_GTK_FONT: '%s'\n", __func__, setting->data.v_string); mb_font_set_from_string(panel->msg_font, setting->data.v_string); } break; } case XSETTINGS_ACTION_DELETED: /* Do nothing for now */ break; } } #endif void panel_handle_full_panel (MBPanel *panel, MBPanelApp *bad_papp) { /* For now we just killoff the client */ DBG("%s() killing winbow id %li\n", __func__, bad_papp->win); XKillClient(panel->dpy, bad_papp->win); /* XXX should probably make this kill more effectively */ panel_app_destroy (panel, bad_papp); } void /* XXX maybe better to add this to panel_menu_add_remove_item */ panel_update_client_list_prop (MBPanel *panel) { MBPanelApp *papp = NULL; MBPanelApp *papp_heads[] = { panel->apps_start_head, panel->apps_end_head, NULL }; int i = 0, app_cnt = 0, cnt = 0; Window *wins = NULL; DBG("%s() called\n", __func__); /* Count number of applets docked */ while (i < 2) { papp = papp_heads[i]; while( papp != NULL) { if (!papp->ignore) app_cnt++; papp = papp->next; } i++; } if (app_cnt == 0) { /* delete prop ?? */ XChangeProperty(panel->dpy, panel->win, panel->atoms[ATOM_NET_CLIENT_LIST] , XA_WINDOW, 32, PropModeReplace, (unsigned char *)NULL, 0); return; } i = 0; wins = malloc(sizeof(Window)*app_cnt); while (i < 2) { papp = papp_heads[i]; if (i == 1) papp = panel_app_list_get_last(panel, panel->apps_end_head); while( papp != NULL) { if (!papp->ignore) { wins[cnt++] = papp->win; } if (i == 1) { papp = panel_app_list_get_prev (panel, papp, &panel->apps_end_head); } else papp = papp->next; } i++; } XChangeProperty(panel->dpy, panel->win, panel->atoms[ATOM_NET_CLIENT_LIST], XA_WINDOW, 32, PropModeReplace, (unsigned char *)wins, app_cnt); free(wins); } void /* show/hiden the panel */ panel_toggle_visibilty(MBPanel *d) { #define PANEL_HIDDEN_SIZE 6 static int panel_orig_size; MBPanelApp *papp = NULL; MBPanelApp *papp_heads[] = { d->apps_start_head, d->apps_end_head, NULL }; int i = 0; DBG("%s() called, x: %i, y: %i, w: %i, h: %i\n", __func__, d->x, d->y, d->w, d->h); if (d->is_hidden) { if (PANEL_IS_VERTICAL(d)) { XMoveResizeWindow(d->dpy, d->win, d->x, d->y, panel_orig_size, d->h ); d->w = panel_orig_size; } else { XMoveResizeWindow(d->dpy, d->win, d->x, d->y, d->w, panel_orig_size); d->h = panel_orig_size; } while (i < 2) { papp = papp_heads[i]; while( papp != NULL) { XMapWindow(d->dpy, papp->win); panel_app_move_to (d, papp, panel_app_get_offset (d, papp)); papp->ignore_unmap--; papp = papp->next; } i++; } d->is_hidden = False; } else { while (i < 2) { papp = papp_heads[i]; while( papp != NULL) { XUnmapWindow(d->dpy, papp->win); papp->ignore_unmap++; papp = papp->next; } i++; } if (PANEL_IS_VERTICAL(d)) { XMoveResizeWindow(d->dpy, d->win, d->x, d->y, PANEL_HIDDEN_SIZE, d->h ); panel_orig_size = d->w; } else { XMoveResizeWindow(d->dpy, d->win, d->x, d->y, d->w, PANEL_HIDDEN_SIZE); panel_orig_size = d->h; } d->is_hidden = True; } } void panel_set_bg(MBPanel *panel, int bg_type, char *bg_spec) { MBPixbufImage *img_tmp, *img_bg; int dx, dy, dw, dh; Pixmap tmp_pxm; char xprop_def[32] = { 0 }; char *tmp_path = NULL; if (panel->bg_spec) free(panel->bg_spec); panel->bg_spec = strdup(bg_spec); panel->bg_type = bg_type; DBG("%s() bg_spec: %s, type %i\n", __func__, panel->bg_spec, panel->bg_type); XGrabServer(panel->dpy); switch (bg_type) { case BG_PIXMAP: if (bg_spec[0] != '/' && panel->theme_path != NULL) { tmp_path = alloca( sizeof(char) * (strlen(panel->theme_path) + strlen(bg_spec) + 2)); sprintf(tmp_path, "%s/%s", panel->theme_path, bg_spec); } else tmp_path = bg_spec; if ((img_tmp = mb_pixbuf_img_new_from_file(panel->pb, tmp_path)) == NULL) { fprintf(stderr, "matchbox-panel: failed to load %s\n", bg_spec); panel_set_bg(panel, BG_SOLID_COLOR, DEFAULT_COLOR_SPEC); return; } img_bg = mb_pixbuf_img_new(panel->pb, panel->w, panel->h); /* scale for panel height ? */ if ( (img_tmp->height != panel->h && !PANEL_IS_VERTICAL(panel)) || (img_tmp->width != panel->w && PANEL_IS_VERTICAL(panel)) ) { MBPixbufImage *img_scaled; img_scaled = mb_pixbuf_img_scale(panel->pb, img_tmp, img_tmp->width, PANEL_IS_VERTICAL(panel) ? panel->w : panel->h); mb_pixbuf_img_free(panel->pb, img_tmp); img_tmp = img_scaled; } /* rotate */ if (PANEL_IS_VERTICAL(panel)) { MBPixbufImage *img_rot; img_rot = mb_pixbuf_img_transform (panel->pb, img_tmp, MBPIXBUF_TRANS_ROTATE_90); mb_pixbuf_img_free(panel->pb, img_tmp); img_tmp = img_rot; } for (dy=0; dy < panel->h; dy += img_tmp->height) for (dx=0; dx < panel->w; dx += img_tmp->width) { if ( (dx + img_tmp->width) > panel->w ) dw = img_tmp->width - ((dx + img_tmp->width)-panel->w); else dw = img_tmp->width; if ( (dy + img_tmp->height) > panel->h ) dh = img_tmp->height-((dy + img_tmp->height)-panel->h); else dh = img_tmp->height; mb_pixbuf_img_copy(panel->pb, img_bg, img_tmp, 0, 0, dw, dh, dx, dy); } mb_pixbuf_img_free(panel->pb, img_tmp); if (panel->bg_pxm != None) XFreePixmap(panel->dpy, panel->bg_pxm); panel->bg_pxm = XCreatePixmap(panel->dpy, panel->win_root, panel->w, panel->h, panel->pb->depth ); mb_pixbuf_img_render_to_drawable(panel->pb, img_bg, panel->bg_pxm, 0, 0); mb_pixbuf_img_free(panel->pb, img_bg); XSetWindowBackgroundPixmap(panel->dpy, panel->win, panel->bg_pxm); XClearWindow(panel->dpy, panel->win); snprintf(xprop_def, 32, "pxm:%li", panel->bg_pxm); panel->root_pixmap_id = 0; break; case BG_SOLID_COLOR: if (XParseColor(panel->dpy, DefaultColormap(panel->dpy, panel->screen), bg_spec, &panel->xcol )) { /* XAllocColor(panel->dpy, DefaultColormap(panel->dpy, panel->screen), &panel->xcol); */ XSetWindowBackground(panel->dpy, panel->win, mb_pixbuf_lookup_x_pixel(panel->pb, panel->xcol.red >> 8, panel->xcol.green >> 8, panel->xcol.blue >> 8, 0)); // panel->xcol.pixel); XClearWindow(panel->dpy, panel->win); if (panel->bg_pxm != None) XFreePixmap(panel->dpy, panel->bg_pxm); panel->bg_pxm = None; snprintf(xprop_def, 32, "rgb:%li", mb_pixbuf_lookup_x_pixel(panel->pb, panel->xcol.red >> 8, panel->xcol.green >> 8, panel->xcol.blue >> 8, 0)); } panel->root_pixmap_id = 0; break; case BG_TRANS: tmp_pxm = util_get_root_pixmap(panel); if (tmp_pxm != None) { int trans_level = 0; if (bg_spec) trans_level = atoi(bg_spec); DBG("%s() Getting root pixmap\n", __func__); if (panel->bg_pxm != None) XFreePixmap(panel->dpy, panel->bg_pxm); panel->bg_pxm = XCreatePixmap(panel->dpy, panel->win_root, panel->w, panel->h, panel->pb->depth ); img_tmp = mb_pixbuf_img_new_from_drawable(panel->pb, tmp_pxm, None, panel->x, panel->y, panel->w, panel->h); if (img_tmp == NULL) { XFreePixmap(panel->dpy, panel->bg_pxm); fprintf(stderr, "Failed to get root pixmap id\n"); panel_set_bg(panel, BG_SOLID_COLOR, DEFAULT_COLOR_SPEC); return; } /* DBG("%s() First pixel of root looks like %i, %i, %i, %i\n", __func__, img_tmp->rgba[0], img_tmp->rgba[1], img_tmp->rgba[2], img_tmp->rgba[3]); */ if (trans_level > 0) for (dx = 0; dx < panel->w; dx++) for (dy = 0; dy < panel->h; dy++) mb_pixbuf_img_plot_pixel_with_alpha(panel->pb, img_tmp, dx, dy, 255, 255, 255, trans_level); mb_pixbuf_img_render_to_drawable(panel->pb, img_tmp, panel->bg_pxm, 0, 0); mb_pixbuf_img_free(panel->pb, img_tmp); XSetWindowBackgroundPixmap(panel->dpy, panel->win, panel->bg_pxm); XClearWindow(panel->dpy, panel->win); snprintf(xprop_def, 32, "pxm:%li", panel->bg_pxm); } else { fprintf(stderr, "Failed to get root pixmap id\n"); panel->root_pixmap_id = -1; panel_set_bg(panel, BG_SOLID_COLOR, DEFAULT_COLOR_SPEC); return; } break; } if (xprop_def) { DBG("setting _MB_PANEL_BG to %s\n", xprop_def); XChangeProperty(panel->dpy, panel->win, panel->atoms[ATOM_MB_PANEL_BG], XA_STRING, 8, PropModeReplace, xprop_def, strlen(xprop_def)); } XUngrabServer(panel->dpy); XSync(panel->dpy, False); } Bool panel_set_theme_from_root_prop(MBPanel *panel) { Atom realType; unsigned long n; unsigned long extra; int format; int status; char * value; struct stat stat_info; char panel_cfg[256]; DBG("%s() called\n", __func__); if ( panel->use_themes == False ) { DBG("%s() panel themeing disabled by command line options\n", __func__ ); return False; } status = XGetWindowProperty(panel->dpy, panel->win_root, panel->atoms[ATOM_MB_THEME], 0L, 512L, False, AnyPropertyType, &realType, &format, &n, &extra, (unsigned char **) &value); if (status != Success || value == 0 || *value == 0 || n == 0) { DBG("%s() no _MB_THEME set on root window\n", __func__ ); return False; } else { int i = 0; MBPanelApp *papp = NULL; MBPanelApp *papp_heads[] = { panel->apps_start_head, panel->apps_end_head, NULL }; strcpy(panel_cfg, value); strcat(panel_cfg, "/theme.desktop"); if (stat(panel_cfg, &stat_info) != -1) { MBDotDesktop *theme = NULL; theme = mb_dotdesktop_new_from_file(panel_cfg); if (theme) { if (panel->theme_path) free(panel->theme_path); panel->theme_path = strdup(value); /* Different theme values for panel in titlebar */ if (panel->want_titlebar_dest) { if (mb_dotdesktop_get(theme, "TitlebarDockBgColor")) { panel_set_bg(panel, BG_SOLID_COLOR, mb_dotdesktop_get(theme, "TitlebarDockBgColor")); } if (mb_dotdesktop_get(theme, "TitlebarDockBgPixmap")) { panel_set_bg(panel, BG_PIXMAP, mb_dotdesktop_get(theme, "TitlebarDockBgPixmap")); } /* Newer settings */ if (mb_dotdesktop_get(theme, "TitlebarPanelBgColor")) { panel_set_bg(panel, BG_SOLID_COLOR, mb_dotdesktop_get(theme, "TitlebarPanelBgColor")); } if (mb_dotdesktop_get(theme, "TitlebarPanelBgPixmap")) { panel_set_bg(panel, BG_PIXMAP, mb_dotdesktop_get(theme, "TitlebarPanelBgPixmap")); } } else { /* * FIXME: Need to phase out the Dock prefix to panel */ if (mb_dotdesktop_get(theme, "DockBgColor")) { panel_set_bg(panel, BG_SOLID_COLOR, mb_dotdesktop_get(theme, "DockBgColor")); } if (mb_dotdesktop_get(theme, "DockBgTrans")) { panel_set_bg(panel, BG_TRANS, mb_dotdesktop_get(theme, "DockBgTrans")); } if (mb_dotdesktop_get(theme, "DockBgPixmap")) { panel_set_bg(panel, BG_PIXMAP, mb_dotdesktop_get(theme, "DockBgPixmap")); } /* Newer setting below */ if (mb_dotdesktop_get(theme, "PanelBgColor")) { panel_set_bg(panel, BG_SOLID_COLOR, mb_dotdesktop_get(theme, "PanelBgColor")); } if (mb_dotdesktop_get(theme, "PanelBgTrans")) { panel_set_bg(panel, BG_TRANS, mb_dotdesktop_get(theme, "PanelBgTrans")); } if (mb_dotdesktop_get(theme, "PanelBgPixmap")) { panel_set_bg(panel, BG_PIXMAP, mb_dotdesktop_get(theme, "PanelBgPixmap")); } } if (mb_dotdesktop_get(theme, "PanelMsgFont")) mb_font_set_from_string(panel->msg_font, mb_dotdesktop_get(theme, "PanelMsgFont")); if (mb_dotdesktop_get(theme, "PanelMsgBgCol")) util_xcol_from_spec(panel, panel->msg_col, mb_dotdesktop_get(theme, "PanelMsgBgCol")); else util_xcol_from_spec(panel, panel->msg_col, DEFAULT_MSG_BGCOL); if (mb_dotdesktop_get(theme, "PanelMsgBgUrgentCol")) util_xcol_from_spec(panel, panel->msg_urgent_col, mb_dotdesktop_get(theme, "PanelMsgBgUrgentCol")); else util_xcol_from_spec(panel, panel->msg_urgent_col, DEFAULT_MSG_BGURGCOL); if (mb_dotdesktop_get(theme, "PanelMsgFgCol")) util_xcol_from_spec(panel, panel->msg_fg_col, mb_dotdesktop_get(theme, "PanelMsgFgCol")); else util_xcol_from_spec(panel, panel->msg_fg_col, DEFAULT_MSG_FGCOL); mb_dotdesktop_free(theme); } } if (value) XFree(value); status = XGetWindowProperty(panel->dpy, panel->win_root, panel->atoms[ATOM_MB_THEME_NAME], 0L, 512L, False, AnyPropertyType, &realType, &format, &n, &extra, (unsigned char **) &value); if (status && value) { if (panel->theme_name) free(panel->theme_name); panel->theme_name = strdup(value); } if (value) XFree(value); /* Now retheme the panel menu */ panel_menu_init(panel); while (i < 2) { papp = papp_heads[i]; while( papp != NULL ) { panel_menu_update_remove_items(panel); papp = papp->next; } i++; } return True; } return False; } void panel_usage(char *bin_name) { fprintf(stderr, "%s (%s) usage: %s [Options...]\n" "Where options are;\n" "-display, -d \n" "-geometry, -g Use --size / --orientation instead.\n" "--id Panel ID\n" "--size, -s width/height of dock in pixels\n" "--orientation \n" "--default-apps, -da comma seperated list of apps to\n" " add to a tray when no session exists\n" "--margins [,] specify left+right[, top+bottom ] panel\n" " margins in pixels ( default: 2,2 )\n" "--padding Specify padding betweeen applets in pixels ( default: 2)\n" "--titlebar Request panel in titlebar - see docs for limitations\n" "--no-session, -ns No session saving.\n" "--no-menu, -nm No popup menu\n" "--no-flip, -nf On a display rotation, stop the panel from\n" " From rotating itself too\n" "--overide-bubbles, -o\n\n" "Background options:\n" "--bgcolor, -c \n" "--bgpixmap, -b \n" "--bgtrans, -bt <'yes'|transparency percentage>\n" "*NOTE* setting the background here will disable the effect\n" " of any external theme changes. \n" , bin_name, VERSION, bin_name); exit(1); } /* XEMBED */ int panel_get_map_state(MBPanel *d, MBPanelApp *c) { Atom realType; unsigned long n; unsigned long extra; int format; int status; CARD32 * value = NULL; int result = -1; status = XGetWindowProperty(d->dpy, c->win, d->atoms[ATOM_XEMBED_INFO], 0L, 10L, 0, XA_ATOM, &realType, &format, &n, &extra, (unsigned char **) &value); if (status == Success) { if (realType == XA_CARDINAL && format == 32) { /* printf("VERSION: %i\n", value[0]); printf("MAPPED: %i\n", value[1]); */ result = (int)value[1]; } } if (value) XFree(value); return result; } void panel_send_xembed_message( MBPanel *d, MBPanelApp *c, long message, /* message opcode */ long detail, /* message detail */ long data1, /* message data 1 */ long data2 /* message data 2 */ ){ XEvent ev; memset(&ev, 0, sizeof(ev)); ev.xclient.type = ClientMessage; ev.xclient.window = c->win; ev.xclient.message_type = d->atoms[ATOM_XEMBED_MESSAGE]; ev.xclient.format = 32; ev.xclient.data.l[0] = CurrentTime; ev.xclient.data.l[1] = message; ev.xclient.data.l[2] = detail; ev.xclient.data.l[3] = data1; ev.xclient.data.l[4] = data2; XSendEvent(d->dpy, c->win, False, NoEventMask, &ev); XSync(d->dpy, False); } void panel_send_manage_message( MBPanel *d ) { XEvent ev; memset(&ev, 0, sizeof(ev)); ev.xclient.type = ClientMessage; ev.xclient.window = d->win_root; ev.xclient.message_type = d->atoms[ATOM_MANAGER]; ev.xclient.format = 32; ev.xclient.data.l[0] = CurrentTime; ev.xclient.data.l[1] = d->atoms[ATOM_SYSTEM_TRAY]; ev.xclient.data.l[2] = d->win; XSendEvent(d->dpy, d->win_root, False, StructureNotifyMask, &ev); XSync(d->dpy, False); } /* Events */ void panel_handle_button_event(MBPanel *panel, XButtonEvent *e) { XEvent ev; int done = 0; struct timeval then, now; DBG("%s() called, subwindow : %li\n", __func__, e->subwindow ); if (!panel->use_menu) return; /* menu disabled */ if (e->window != panel->win) return; if (panel->is_hidden) { panel_toggle_visibilty(panel); return; } gettimeofday(&then, NULL); while (!done) { if (XCheckMaskEvent(panel->dpy,ButtonReleaseMask, &ev)) if (ev.type == ButtonRelease) done=1; gettimeofday(&now, NULL); if ( (now.tv_usec-then.tv_usec) > (panel->click_time*1000) ) done=2; } if (done == 2 && !mb_menu_is_active(panel->mbmenu)) { int dpy_h = DisplayHeight(panel->dpy, panel->screen); util_get_mouse_position(panel, &panel->click_x, &panel->click_y); mb_menu_activate(panel->mbmenu, (panel->click_x-5 < 0) ? 2 : panel->click_x-5, (panel->click_y+5 > dpy_h) ? dpy_h-2 : panel->click_y+5); } } void panel_handle_expose(MBPanel *panel, XExposeEvent *e) { ; } void panel_handle_dock_request(MBPanel *panel, Window win) { int app_origin_dist = 0; char *cmd_str = NULL; MBPanelApp *new_papp = NULL; util_get_command_str_from_win(panel, win, &cmd_str); /* cmd_str freed l8r */ if (session_preexisting_restarting(panel)) { if (session_preexisting_win_matches_wanted(panel, win, cmd_str)) { app_origin_dist = panel->session_init_offset; session_preexisting_clear_current(panel); } else { DBG("%s() defering winid %li ( %s) \n", __func__, win, cmd_str ); panel->session_defered_wins[panel->n_session_defered_wins++] = win; return; } } new_papp = panel_app_new(panel, win, cmd_str); if (new_papp) { XSelectInput(panel->dpy, new_papp->win, PropertyChangeMask ); /* tell app its docked - panel app should now map its self */ panel_send_xembed_message(panel, new_papp, XEMBED_EMBEDDED_NOTIFY, 0, panel->win, 0); /* sent when it gets focus */ panel_send_xembed_message(panel, new_papp, XEMBED_WINDOW_ACTIVATE, 0,0,0); XMapWindow(panel->dpy, new_papp->win); new_papp->mapped = True; panel_menu_update_remove_items(panel); } session_save(panel); session_preexisting_start_next(panel); } void panel_handle_client_message(MBPanel *panel, XClientMessageEvent *e) { DBG("%s() called\n", __func__ ); if (e->message_type == panel->atoms[ATOM_SYSTEM_TRAY_OPCODE]) { DBG("%s() got system tray message\n", __func__ ); switch (e->data.l[1]) { case SYSTEM_TRAY_REQUEST_DOCK: DBG("%s() is SYSTEM_TRAY_REQUEST_DOCK\n", __func__ ); panel_handle_dock_request(panel, e->data.l[2]); break; case SYSTEM_TRAY_BEGIN_MESSAGE: DBG("%s() is SYSTEM_TRAY_BEGIN_MESSAGE\n", __func__ ); msg_new(panel, e); break; case SYSTEM_TRAY_CANCEL_MESSAGE: DBG("%s() is SYSTEM_TRAY_CANCEL_MESSAGE\n", __func__ ); msg_cancel(panel, e); break; } return; } if (e->message_type == panel->atoms[ATOM_MB_COMMAND]) { switch (e->data.l[0]) { case MB_CMD_PANEL_TOGGLE_VISIBILITY: panel_toggle_visibilty(panel); break; case MB_CMD_PANEL_SIZE: case MB_CMD_PANEL_ORIENTATION: default: break; } } if (e->message_type == panel->atoms[ATOM_NET_SYSTEM_TRAY_MESSAGE_DATA]) { DBG("%s() got system tray message _data_\n", __func__ ); msg_add_data(panel, e); return; } if (e->message_type == panel->atoms[ATOM_WM_DELETE_WINDOW]) { util_cleanup_children(0); } return; } void panel_handle_property_notify(MBPanel *panel, XPropertyEvent *e) { MBPanelApp *papp; if (e->atom == panel->atoms[ATOM_XEMBED_INFO]) { int i; papp = panel_app_get_from_window(panel, e->window); DBG("%s() got XEMBED_INFO property notify for %s\n", __func__, papp->name ); if (papp != NULL) { i = panel_get_map_state(panel, papp); if (i == 1) { XMapRaised(panel->dpy, papp->win); papp->mapped = True; } if (i == 0) { XUnmapWindow(panel->dpy, papp->win); papp->mapped = False; } } return; } if (e->atom == panel->atoms[ATOM_MB_THEME]) { panel_set_theme_from_root_prop(panel); return; } if (e->atom == panel->atoms[ATOM_XROOTPMAP_ID] && panel->root_pixmap_id != 0) { panel_set_bg(panel, BG_TRANS, panel->bg_trans); return; } if (e->atom == panel->atoms[ATOM_MB_REQ_CLIENT_ORDER]) { panel_reorder_apps(panel); } } static Bool get_xevent_timed(Display* dpy, XEvent* event_return, struct timeval *tv) { if (tv == NULL) { XNextEvent(dpy, event_return); return True; } XFlush(dpy); if (XPending(dpy) == 0) { int fd = ConnectionNumber(dpy); fd_set readset; FD_ZERO(&readset); FD_SET(fd, &readset); if (select(fd+1, &readset, NULL, NULL, tv) == 0) { return False; } else { XNextEvent(dpy, event_return); return True; } } else { XNextEvent(dpy, event_return); return True; } } void panel_main(MBPanel *panel) { MBPanelApp *papp; XEvent an_event; int xfd; Bool had_rotation = False; XSelectInput (panel->dpy, panel->win_root, PropertyChangeMask|StructureNotifyMask); xfd = ConnectionNumber (panel->dpy); XFlush(panel->dpy); while(1) { struct timeval tvt, *tvp = NULL; session_preexisting_set_timeout (panel, &tvt, &tvp); msg_set_timeout (panel, &tvt, &tvp); if (get_xevent_timed(panel->dpy, &an_event, tvp)) { #ifdef USE_XSETTINGS if (panel->xsettings_client != NULL) xsettings_client_process_event(panel->xsettings_client, &an_event); #endif mb_menu_handle_xevent(panel->mbmenu, &an_event); switch (an_event.type) { case SelectionClear: if (an_event.xselectionclear.selection == panel->atoms[ATOM_SYSTEM_TRAY]) { fprintf(stderr, "matchbox-panel: Another system tray has started and taken tray ID. Exiting.\n"); exit(-1); } break; case ButtonPress: panel_handle_button_event(panel, &an_event.xbutton); break; case ClientMessage: panel_handle_client_message(panel, &an_event.xclient); break; case PropertyNotify: panel_handle_property_notify(panel, &an_event.xproperty); break; case MapRequest: break; case UnmapNotify: /* window should unmap ... we destroy it */ papp = panel_app_get_from_window(panel, an_event.xunmap.window); if (papp && !papp->ignore_unmap) { panel_app_destroy(panel, papp); /* remove any connected message windows */ if (panel->msg_win && panel->msg_win_sender == papp) { XDestroyWindow(panel->dpy, panel->msg_win); panel->msg_win = None; } /* * We set an alarm here, so the session file is only * updated after a couple fo seconds. * This is done so if the xserver is closing and bringing * down all the clients. Its very likely it'll kill * a panelapp before the panel, and we dont really want it * to be refmoved from the session file. */ alarm(3); } break; case Expose: panel_handle_expose(panel, &an_event.xexpose); break; case DestroyNotify: break; case ConfigureRequest: panel_app_handle_configure_request(panel, &an_event.xconfigurerequest); break; case ConfigureNotify: DBG("%s(): configureNotify\n", __func__); if (an_event.xconfigure.window == panel->win_root) { had_rotation = True; DBG("%s() **** HAD ROTATION ***\n", __func__); break; } if (an_event.xconfigure.window == panel->win) { DBG("%s(): configureNotify on panel\n", __func__); /* These can be confused by a flip */ if (an_event.xconfigure.send_event) break; if (panel->w != an_event.xconfigure.width || panel->h != an_event.xconfigure.height) { int diff = 0; MBPanelApp *papp = NULL; DBG("mark %i\n", __LINE__); if (panel->ignore_next_config) { panel->ignore_next_config = False; break; } if (panel->use_flip && had_rotation) { /* Flip if are length is changed XXX a little hacky XXXX */ int dpy_w, dpy_h; XWindowAttributes root_attr; XGetWindowAttributes(panel->dpy, panel->win_root, &root_attr); dpy_w = root_attr.width; dpy_h = root_attr.height; had_rotation = False; DBG("mark %i\n", __LINE__); if ((PANEL_IS_VERTICAL(panel) && (an_event.xconfigure.width == panel->w) ) || (!PANEL_IS_VERTICAL(panel) && (an_event.xconfigure.height == panel->h) /* && (an_event.xconfigure.width == dpy_w) && dpy_w != panel->w */ ) ) { DBG("%s() flipping ....\n", __func__); panel->ignore_next_config = True; switch (panel->orientation) { case South: panel_change_orientation(panel, East, dpy_w, dpy_h); break; case North: panel_change_orientation(panel, West, dpy_w, dpy_h); break; case West: panel_change_orientation(panel, North, dpy_w, dpy_h); break; case East: panel_change_orientation(panel, South, dpy_w, dpy_h); break; } break; } } if (PANEL_IS_VERTICAL(panel)) { diff = an_event.xconfigure.height - panel->h; if (an_event.xconfigure.y > panel->y) papp = panel->apps_start_head; else papp = panel->apps_end_head; } else { DBG("mark %i\n", __LINE__); diff = an_event.xconfigure.width - panel->w; if (an_event.xconfigure.x > panel->x) papp = panel->apps_start_head; else papp = panel->apps_end_head; } panel->w = an_event.xconfigure.width; panel->h = an_event.xconfigure.height; panel_apps_nudge (panel, papp, diff); /* Nake sure bg gets updated */ if (!(panel->use_flip && had_rotation)) { char *tmp_str = NULL; if (panel->bg_spec) { tmp_str = strdup(panel->bg_spec) ; panel_set_bg(panel, panel->bg_type, tmp_str); } if (tmp_str) free(tmp_str); } // panel_apps_rescale (panel, panel->apps_start_head); // panel_apps_rescale (panel, panel->apps_end_head); } panel->x = an_event.xconfigure.x; panel->y = an_event.xconfigure.y; DBG("%s() config notify, got x: %i , y: %i w: %i h: %i \n", __func__, an_event.xconfigure.x, an_event.xconfigure.y, an_event.xconfigure.width, an_event.xconfigure.height); DBG("%s() panel is now x: %i , y: %i w: %i h: %i \n", __func__, panel->x, panel->y, panel->w, panel->h ); } break; } msg_handle_events(panel, &an_event); } } } static void panel_orientation_set_hint (MBPanel *panel) { int is_vertical[1] = { 0 }; if (PANEL_IS_VERTICAL(panel)) is_vertical[0] = 1; XChangeProperty(panel->dpy, panel->win, panel->atoms[ATOM_NET_SYSTEM_TRAY_ORIENTATION], XA_CARDINAL, 32, PropModeReplace, (unsigned char *)is_vertical , 1); } void panel_change_orientation(MBPanel *panel, MBPanelOrientation new_orientation, int dpy_w, int dpy_h) { char *tmp_str = NULL; XUnmapWindow(panel->dpy, panel->win); if ( ( (panel->orientation == East || panel->orientation == West) && (new_orientation == North || new_orientation == South) ) || ( (panel->orientation == North || panel->orientation == South) && (new_orientation == East || new_orientation == West ) ) ) { MBPanelApp *papp_heads[] = { panel->apps_start_head, panel->apps_end_head, NULL }; MBPanelApp *papp_cur = NULL; int i = 0; panel->x = 0; panel->y = 0; panel->h = panel->default_panel_size; panel->w = dpy_w; switch (new_orientation) { case South: panel->y = dpy_h - panel->h; break; case North: break; case West: panel->w = panel->default_panel_size; panel->h = dpy_h; break; case East: panel->w = panel->default_panel_size; panel->h = dpy_h; panel->x = dpy_w - panel->w; break; } panel->orientation = new_orientation; panel_orientation_set_hint(panel); DBG("%s() setting panel x: %i , y: %i w: %i h: %i \n", __func__, panel->x, panel->y, panel->w, panel->h ); XMoveResizeWindow( panel->dpy, panel->win, panel->x, panel->y, panel->w, panel->h ); /* move_to() will reposition each app */ while (i < 2) { papp_cur = papp_heads[i]; DBG("%s() moveing to, cur is i: %i ( %p )\n", __func__, i, papp_cur); while (papp_cur != NULL) { int tmp; tmp = papp_cur->w; papp_cur->w = papp_cur->h; papp_cur->h = tmp; if (panel->orientation == North || panel->orientation == South) { papp_cur->x = papp_cur->offset; papp_cur->y = (panel->h - papp_cur->h) / 2; } else { papp_cur->y = papp_cur->offset; papp_cur->x = (panel->w - papp_cur->w) / 2; } XMoveWindow(panel->dpy, papp_cur->win, papp_cur->x, papp_cur->y); panel_app_deliver_config_event(panel, papp_cur); papp_cur = papp_cur->next; } i++; } } else { switch (new_orientation) { case South: panel->y = dpy_h - panel->h; break; case North: panel->y = 0; break; case West: panel->x = 0; break; case East: panel->x = dpy_w - panel->w; break; } panel->orientation = new_orientation; panel_orientation_set_hint(panel); XMoveResizeWindow( panel->dpy, panel->win, panel->x, panel->y, panel->w, panel->h ); } if (panel->bg_spec) tmp_str = strdup(panel->bg_spec) ; panel_set_bg(panel, panel->bg_type, tmp_str); if (tmp_str) free(tmp_str); XMapWindow(panel->dpy, panel->win); XMapSubwindows(panel->dpy, panel->win); } void panel_reorder_apps(MBPanel *panel) { MBPanelApp *papp, *papp_tmp; int i, watermark = 0, offset = 0; Atom actual_type; int actual_format; unsigned long nitems, bytes_after = 0; unsigned char *prop = NULL; int n_wins; Window *wins; if (XGetWindowProperty (panel->dpy, panel->win, panel->atoms[ATOM_MB_REQ_CLIENT_ORDER], 0, 1000L, False, XA_WINDOW, &actual_type, &actual_format, &nitems, &bytes_after, &prop) != Success) return; wins = (Window *)prop; n_wins = (int)nitems; papp = panel->apps_start_head; while( papp != NULL) { watermark++; papp = papp->next; } DBG("%s() watermark is %i\n", __func__, watermark); for (i =0; iapps_start_head; DBG("%s() %i looping for %s\n", __func__, i, papp->name); while( papp_tmp != NULL) { if (papp == papp_tmp) { found_head = panel->apps_start_head; break; } papp_tmp = papp_tmp->next; } if (!found_head) { papp_tmp = panel->apps_end_head; while( papp_tmp != NULL) { if (papp == papp_tmp) { found_head = panel->apps_end_head; break; } papp_tmp = papp_tmp->next; } } if (found_head) { if (found_head == panel->apps_start_head) { DBG("%s() %i found head is start\n", __func__, i ); panel_app_list_remove (panel, papp, &panel->apps_start_head); } else { DBG("%s() %i found head is end\n", __func__, i ); panel_app_list_remove (panel, papp, &panel->apps_end_head); } papp->next = NULL; if (!watermark || (watermark && i >= watermark)) { DBG("%s() %i prepending at end\n", __func__, i ); /* if (found_head != panel->apps_end_head) switched lists panel_app_list_append(panel, &panel->apps_end_head, papp); else */ panel->apps_end_head = panel_app_list_prepend(panel, panel->apps_end_head, papp); papp->gravity = PAPP_GRAVITY_END; //panel_app_add_end(panel, papp); } else { DBG("%s() %i appending at start\n", __func__, i ); panel_app_list_append(panel, &panel->apps_start_head, papp); //panel_app_add_start(panel, papp); papp->gravity = PAPP_GRAVITY_START; } } else DBG("%s() %i not found head !!!!\n", __func__, i ); } } papp = panel->apps_start_head; offset = panel->margin_sides; DBG("%s() start list:\n", __func__ ); while( papp != NULL) { DBG("%s() %s moving to %i\n", __func__, papp->name, offset ); if (PANEL_IS_VERTICAL(panel)) papp->y = offset; else papp->x = offset; papp->offset = offset; XMoveWindow(panel->dpy, papp->win, papp->x, papp->y); panel_app_deliver_config_event(panel, papp); offset += ( panel_app_get_size(panel, papp) + panel->padding ); papp = papp->next; } papp = panel->apps_end_head; DBG("%s() end list:\n", __func__ ); if (papp) { offset = ( PANEL_IS_VERTICAL(panel) ? panel->h : panel->w ) - panel->margin_sides; while( papp != NULL) { offset -= ( panel_app_get_size(panel, papp) + panel->padding ); DBG("%s() %s moving to %i\n", __func__, papp->name, offset ); if (PANEL_IS_VERTICAL(panel)) papp->y = offset; else papp->x = offset; papp->offset = offset; XMoveWindow(panel->dpy, papp->win, papp->x, papp->y); panel_app_deliver_config_event(panel, papp); papp = papp->next; } } session_save(panel); panel_menu_update_remove_items(panel); panel_update_client_list_prop(panel); } MBPanel *panel_init(int argc, char *argv[]) { int panel_length; XGCValues gv; XSetWindowAttributes dattr; unsigned long dattr_flags = CWBackPixel; XSizeHints size_hints; XWMHints *wm_hints; unsigned long wm_struct_vals[4]; char *geometry_str = NULL; char *color_def = NULL; char *bg_pixmap_def = NULL; char *display_name = (char *)getenv("DISPLAY"); char tray_atom_spec[128] = { 0 }; char tray_id_env_str[16] = { 0 }; /* MBPanelApp *papp_menu_button = NULL; */ MBPanel *panel; int panel_border_sz = 0; char *want_trans = NULL; char win_name[64] = { 0 }; /* #ifdef USE_XFT XRenderColor colortmp; #endif */ int i = 0, j = 0; struct { char *name; MBPanelOrientation orientation; } orientation_lookup[] = { { "north", North }, { "south", South }, { "east", East }, { "west", West }, { NULL, North } }; XSetErrorHandler(util_handle_xerror); panel = NEW(MBPanel); memset(panel, sizeof(MBPanel), 0); /* defualts */ panel->padding = 2; panel->use_session = True; panel->use_alt_session_defaults = False; panel->use_menu = True; panel->click_time = 400; panel->use_overide_wins = False; panel->orientation = South; panel->system_tray_id = 0; panel->use_flip = True; panel->default_panel_size = 0; panel->session_cur_gravity = PAPP_GRAVITY_START; panel->theme_name = NULL; panel->theme_path = NULL; panel->apps_start_head = NULL; panel->apps_end_head = NULL; panel->ignore_next_config = False; panel->margin_sides = 2; panel->margin_topbottom = 2; panel->bg_spec = NULL; panel->want_titlebar_dest = False; for (i = 1; i < argc; i++) { if (!strcmp ("-display", argv[i]) || !strcmp ("-d", argv[i])) { if (++i>=argc) panel_usage (argv[0]); display_name = argv[i]; setenv("DISPLAY", display_name, 1); continue; } if (!strcmp ("--no-session", argv[i]) || !strcmp ("-ns", argv[i])) { panel->use_session = False; continue; } if (!strcmp ("--titlebar", argv[i]) || !strcmp ("-tb", argv[i])) { panel->want_titlebar_dest = True; continue; } if (!strcmp ("--default-apps", argv[i]) || !strcmp ("-da", argv[i])) { if (++i>=argc) panel_usage (argv[0]); if (!strcmp(argv[i], "none")) session_set_defaults(panel, strdup("")); else session_set_defaults(panel, argv[i]); continue; } if (!strcmp ("--no-menu", argv[i]) || !strcmp ("-nm", argv[i])) { panel->use_menu = False; continue; } if (!strcmp ("--overide-bubbles", argv[i]) || !strcmp ("-o", argv[i])) { panel->use_overide_wins = True; continue; } if (!strcmp ("--no-flip", argv[i])) { panel->use_flip = False; continue; } if (!strcmp ("--bgcolor", argv[i]) || !strcmp ("-c", argv[i])) { if (++i>=argc) panel_usage (argv[0]); color_def = argv[i]; continue; } if (strstr (argv[i], "-geometry") || !strcmp ("-g", argv[i])) { if (++i>=argc) panel_usage (argv[0]); fprintf(stderr,"matchbox-panel: -geometry is depreciated, please consider --size and --orientation instead\n"); geometry_str = argv[i]; continue; } if (strstr (argv[i], "--size") || !strcmp ("-s", argv[i])) { if (++i>=argc) panel_usage (argv[0]); panel->default_panel_size = atoi(argv[i]); if (panel->default_panel_size < 1) panel_usage (argv[0]); continue; } if (strstr (argv[i], "--padding") || !strcmp ("-s", argv[i])) { if (++i>=argc) panel_usage (argv[0]); panel->padding = atoi(argv[i]); if (panel->padding < 0) panel_usage (argv[0]); continue; } if (strstr (argv[i], "--margins")) { char *p = NULL; if (++i>=argc) panel_usage (argv[0]); p = argv[i]; if ((p = strchr(argv[i], ',')) != NULL) { *p = '\0'; p++; } panel->margin_sides = atoi(argv[i]); if (panel->margin_sides < 0) panel_usage (argv[0]); if (p != NULL) { panel->margin_topbottom = atoi(p); if (panel->margin_topbottom < 0) panel_usage (argv[0]); } continue; } if (!strcmp ("--bgpixmap", argv[i]) || !strcmp ("-b", argv[i])) { if (++i>=argc) panel_usage (argv[0]); bg_pixmap_def = argv[i]; continue; } if (!strcmp ("--bgtrans", argv[i]) || !strcmp ("-bt", argv[i])) { if (++i>=argc) panel_usage (argv[0]); want_trans = argv[i]; continue; } if (!strcmp ("--id", argv[i]) || !strcmp ("-i", argv[i])) { if (++i>=argc) panel_usage (argv[0]); panel->system_tray_id = atoi(argv[i]); continue; } if (!strcmp ("--orientation", argv[i])) { Bool found = False; if (++i>=argc) panel_usage (argv[0]); j = 0; while (orientation_lookup[j].name != NULL) { if (!strcasecmp(orientation_lookup[j].name, argv[i])) { panel->orientation = orientation_lookup[j].orientation; found = True; } j++; } if (found) continue; } panel_usage(argv[0]); } if ((panel->dpy = XOpenDisplay(display_name)) == NULL) { fprintf(stderr, "%s: failed to open display", argv[0]); exit(1); } if (getenv("MB_SYNC")) XSynchronize (panel->dpy, True); panel->screen = DefaultScreen(panel->dpy); panel->win_root = RootWindow(panel->dpy, panel->screen); if (panel->default_panel_size == 0) panel->default_panel_size = ( DisplayHeight(panel->dpy, panel->screen) > 320 ) ? 36 : 20; panel->x = 0; panel->y = 0; panel->h = panel->default_panel_size; panel->w = DisplayWidth(panel->dpy, panel->screen); switch (panel->orientation) { case South: panel->y = DisplayHeight(panel->dpy, panel->screen) - panel->h; break; case North: break; case West: panel->w = panel->default_panel_size; panel->h = DisplayHeight(panel->dpy, panel->screen); break; case East: panel->w = panel->default_panel_size; panel->h = DisplayHeight(panel->dpy, panel->screen); panel->x = DisplayWidth(panel->dpy, panel->screen) - panel->w; break; } panel->bg_pxm = None; if ( PANEL_IS_VERTICAL(panel) ) panel_length = panel->h; else panel_length = panel->w; if (geometry_str) XParseGeometry(geometry_str, &panel->x, &panel->y, &panel->w, &panel->h); /* XXX * Lots of atoms now, move to xinternatoms call ... */ panel->atoms[0] = XInternAtom(panel->dpy, "_NET_WM_WINDOW_TYPE" ,False); panel->atoms[1] = XInternAtom(panel->dpy, "_NET_WM_WINDOW_TYPE_DOCK",False); panel->atoms[3] = XInternAtom(panel->dpy, "_NET_SYSTEM_TRAY_OPCODE", False); panel->atoms[4] = XInternAtom(panel->dpy, "_XEMBED_INFO", False); panel->atoms[5] = XInternAtom(panel->dpy, "_XEMBED", False); panel->atoms[6] = XInternAtom(panel->dpy, "MANAGER", False); panel->atoms[7] = XInternAtom(panel->dpy, "_MB_DOCK_ALIGN", False); panel->atoms[8] = XInternAtom(panel->dpy, "_MB_DOCK_ALIGN_EAST", False); panel->atoms[9] = XInternAtom(panel->dpy, "_NET_SYSTEM_TRAY_MESSAGE_DATA", False); panel->atoms[10] = XInternAtom(panel->dpy, "_NET_WM_WINDOW_TYPE_SPLASH", False); panel->atoms[11] = XInternAtom(panel->dpy, "WM_PROTOCOLS", False); panel->atoms[12] = XInternAtom(panel->dpy, "WM_DELETE_WINDOW", False); panel->atoms[13] = XInternAtom(panel->dpy, "_MB_THEME", False); panel->atoms[14] = XInternAtom(panel->dpy, "_MB_PANEL_TIMESTAMP", False); panel->atoms[15] = XInternAtom(panel->dpy, "_NET_WM_STRUT", False); panel->atoms[16] = XInternAtom(panel->dpy, "_MB_PANEL_BG", False); panel->atoms[17] = XInternAtom(panel->dpy, "WM_CLIENT_LEADER", False); panel->atoms[18] = XInternAtom(panel->dpy, "_NET_WM_ICON", False); panel->atoms[ATOM_NET_WM_PID] = XInternAtom(panel->dpy, "_NET_WM_PID", False); panel->atoms[ATOM_XROOTPMAP_ID] = XInternAtom(panel->dpy, "_XROOTPMAP_ID", False); panel->atoms[ATOM_NET_SYSTEM_TRAY_ORIENTATION] = XInternAtom(panel->dpy, "_NET_SYSTEM_TRAY_ORIENTATION", False); panel->atoms[ATOM_MB_THEME_NAME] = XInternAtom(panel->dpy, "_MB_THEME_NAME", False); panel->atoms[ATOM_MB_COMMAND] = XInternAtom(panel->dpy, "_MB_COMMAND", False); panel->atoms[ATOM_NET_WM_NAME] = XInternAtom(panel->dpy, "_NET_WM_NAME", False); panel->atoms[ATOM_UTF8_STRING] = XInternAtom(panel->dpy, "UTF8_STRING", False); panel->atoms[ATOM_NET_CLIENT_LIST] = XInternAtom(panel->dpy, "_NET_CLIENT_LIST", False); panel->atoms[ATOM_NET_WM_STATE] = XInternAtom(panel->dpy, "_NET_WM_STATE", False); panel->atoms[ATOM_NET_WM_STATE_TITLEBAR] = XInternAtom(panel->dpy, "_MB_WM_STATE_DOCK_TITLEBAR", False); panel->atoms[ATOM_MB_DOCK_TITLEBAR_SHOW_ON_DESKTOP] = XInternAtom(panel->dpy, "_MB_DOCK_TITLEBAR_SHOW_ON_DESKTOP", False); panel->atoms[ATOM_MB_SYSTEM_TRAY_CONTEXT] = XInternAtom(panel->dpy, "_MB_SYSTEM_TRAY_CONTEXT", False); panel->atoms[ATOM_MB_REQ_CLIENT_ORDER] = XInternAtom(panel->dpy, "_MB_REQ_CLIENT_ORDER", False); /* Set selection atom */ snprintf(tray_atom_spec, 128,"_NET_SYSTEM_TRAY_S%i", panel->system_tray_id); panel->atoms[ATOM_SYSTEM_TRAY] = XInternAtom(panel->dpy, tray_atom_spec, False); snprintf(tray_id_env_str, 16, "%i", panel->system_tray_id); setenv("SYSTEM_TRAY_ID", tray_id_env_str, 1); snprintf(win_name, 64, "Panel %i", panel->system_tray_id); panel->pb = mb_pixbuf_new(panel->dpy, panel->screen); gv.graphics_exposures = False; gv.function = GXcopy; gv.foreground = WhitePixel(panel->dpy, panel->screen); panel->gc = XCreateGC(panel->dpy, panel->win_root, GCGraphicsExposures|GCFunction|GCForeground, &gv); dattr.background_pixel = panel->xcol.pixel; if (geometry_str) { /* Make the window overide redirect - kind of evil hack for now */ dattr_flags = CWBackPixel|CWOverrideRedirect; dattr.override_redirect = True; } panel->win = XCreateWindow(panel->dpy, panel->win_root, panel->x, panel->y, panel->w, panel->h, panel_border_sz, CopyFromParent, CopyFromParent, CopyFromParent, dattr_flags, &dattr); XSelectInput (panel->dpy, panel->win, StructureNotifyMask|ExposureMask| SubstructureRedirectMask|SubstructureNotifyMask| ButtonPressMask|ButtonReleaseMask|PointerMotionMask| PropertyChangeMask); size_hints.flags = PPosition | PSize | PMinSize; size_hints.x = panel->x; size_hints.y = panel->y; size_hints.width = panel->w; size_hints.height = panel->h; size_hints.min_width = panel->w; size_hints.min_height = panel->h; XSetStandardProperties(panel->dpy, panel->win, win_name, win_name, 0, argv, argc, &size_hints); XChangeProperty(panel->dpy, panel->win, panel->atoms[ATOM_WM_WINDOW_TYPE], XA_ATOM, 32, PropModeReplace, (unsigned char *) &panel->atoms[ATOM_WM_WINDOW_TYPE_DOCK], 1); wm_hints = XAllocWMHints(); wm_hints->input = False; wm_hints->flags = InputHint; XSetWMHints(panel->dpy, panel->win, wm_hints ); XFree(wm_hints); if (panel->want_titlebar_dest) { Atom state_list[] = { panel->atoms[ATOM_NET_WM_STATE_TITLEBAR], panel->atoms[ATOM_MB_DOCK_TITLEBAR_SHOW_ON_DESKTOP] }; int n_states = 1; if (getenv("MB_PANEL_NO_DESKTOP_HIDE")) n_states = 2; panel->use_flip = False; /* * We need someway ( selection ? ) to check if the * wm is running and only map then - not before * */ XChangeProperty(panel->dpy, panel->win, panel->atoms[ATOM_NET_WM_STATE], XA_ATOM, 32, PropModeReplace, (unsigned char *) &state_list, n_states); panel->orientation = North; } /* Set our ewmh reserved space XXX reset this when we hide */ wm_struct_vals[0] = ( panel->orientation == West ) ? panel->w : 0; wm_struct_vals[1] = ( panel->orientation == East ) ? panel->w : 0; wm_struct_vals[2] = ( panel->orientation == North ) ? panel->h : 0; wm_struct_vals[3] = ( panel->orientation == South ) ? panel->h : 0; XChangeProperty(panel->dpy, panel->win, panel->atoms[ATOM_NET_WM_STRUT], XA_CARDINAL, 32, PropModeReplace, (unsigned char *)wm_struct_vals, 4); panel->msg_queue_start = NULL; panel->msg_queue_end = NULL; panel->msg_win = None; panel->msg_col = mb_col_new_from_spec(panel->pb, DEFAULT_MSG_BGCOL); panel->msg_urgent_col = mb_col_new_from_spec(panel->pb, DEFAULT_MSG_BGURGCOL); panel->msg_fg_col = mb_col_new_from_spec(panel->pb, DEFAULT_MSG_FGCOL); panel->msg_link_col = mb_col_new_from_spec(panel->pb, "blue"); panel->msg_gc = XCreateGC(panel->dpy, panel->win_root, GCGraphicsExposures|GCFunction|GCForeground, &gv); panel->msg_font = mb_font_new_from_string(panel->dpy, MB_MSG_FONT); panel->next_click_is_not_double = True; panel->is_hidden = False; XSetWMProtocols(panel->dpy, panel->win , &panel->atoms[11], 2); panel->mbmenu = NULL; panel_menu_init(panel); G_panel = panel; /* global for sig handlers :( */ panel->reload_pending = False; util_install_signal_handlers(); /* Set the theme etc */ panel->use_themes = True; if (color_def != NULL) { panel_set_bg(panel, BG_SOLID_COLOR, color_def); mb_menu_set_col(panel->mbmenu, MBMENU_SET_BG_COL, color_def); panel->use_themes = False; } else if (bg_pixmap_def) { panel_set_bg(panel, BG_PIXMAP, bg_pixmap_def); panel->use_themes = False; } else if (want_trans) { panel->bg_trans = strdup(want_trans); panel_set_bg(panel, BG_TRANS, want_trans ); panel->use_themes = False; } else { if (!panel_set_theme_from_root_prop(panel)) { panel_set_bg(panel, BG_SOLID_COLOR, DEFAULT_COLOR_SPEC ); mb_menu_set_col(panel->mbmenu, MBMENU_SET_BG_COL, DEFAULT_COLOR_SPEC ); } } panel->click_x = 0; panel->click_y = 0; #ifdef USE_XSETTINGS /* This will trigger callbacks instantly so called last */ panel->xsettings_client = xsettings_client_new(panel->dpy, panel->screen, panel_xsettings_notify_cb, NULL, (void *)panel ); #endif /* Below line is there to get the menu btton on the right side */ panel->session_preexisting_lock = True; return panel; } int main(int argc, char *argv[]) { MBPanel *panel; #if ENABLE_NLS setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, DATADIR "/locale"); bind_textdomain_codeset (PACKAGE, "UTF-8"); textdomain (PACKAGE); #endif panel = panel_init(argc, argv); /* Attempt to own the system tray selection */ if (!XGetSelectionOwner(panel->dpy, panel->atoms[ATOM_SYSTEM_TRAY])) { XSetSelectionOwner(panel->dpy, panel->atoms[ATOM_SYSTEM_TRAY], panel->win, CurrentTime); } else { fprintf(stderr, "Panel already exists. aborting. Try running matchbox-panel with the --id switch.\n"); exit(0); } /* Announce to any clients that are interested that we have it */ panel_send_manage_message( panel ); panel_orientation_set_hint (panel); XMapWindow (panel->dpy, panel->win); XSync(panel->dpy, False); session_init (panel); panel_main(panel); return 0; } matchbox-panel-0.9.3/src/panel_app.c0000644000175000017500000003476210320055001014236 00000000000000#include "panel_app.h" MBPanelApp* panel_app_list_get_prev (MBPanel *panel, MBPanelApp *papp, MBPanelApp **list_head) { MBPanelApp *tmp = *list_head; if (tmp == NULL || papp == tmp) return NULL; while (tmp->next != NULL) { if (tmp->next == papp) return tmp; tmp = tmp->next; } return NULL; } MBPanelApp* panel_app_list_get_last (MBPanel *panel, MBPanelApp *list_head) { MBPanelApp *tmp = list_head; if (tmp == NULL) return NULL; while (tmp->next != NULL) tmp = tmp->next; return tmp; } MBPanelApp* panel_app_list_prepend(MBPanel *panel, MBPanelApp *list_to_append_to, MBPanelApp *papp_new) { papp_new->next = list_to_append_to; return papp_new; } void panel_app_list_append (MBPanel *panel, MBPanelApp **list_to_append_to, MBPanelApp *new_client) { MBPanelApp *tmp = NULL; if (*list_to_append_to == NULL) { *list_to_append_to = new_client; } else { tmp = *list_to_append_to; while ( tmp->next != NULL ) tmp = tmp->next; tmp->next = new_client; } new_client->next = NULL; } void /* XXX Can probably go */ panel_app_list_insert_after(MBPanel *panel, MBPanelApp *papp, MBPanelApp *new_papp) { MBPanelApp *tmp; tmp = papp->next; papp->next = new_papp; new_papp->next = tmp; } void panel_app_list_remove (MBPanel *panel, MBPanelApp *papp, MBPanelApp **list_head) { MBPanelApp *prev_papp = panel_app_list_get_prev(panel, papp, list_head); if (prev_papp == NULL) { *list_head = papp->next; } else { prev_papp->next = papp->next; } return; } void panel_app_name_get(MBPanel *panel, MBPanelApp *papp) { Atom type; int format; long bytes_after; long n_items; int result; result = XGetWindowProperty (panel->dpy, papp->win, panel->atoms[ATOM_NET_WM_NAME], 0, 1024L, False, panel->atoms[ATOM_UTF8_STRING], &type, &format, &n_items, &bytes_after, (unsigned char **)&papp->name); if (result != Success || papp->name == NULL || type != panel->atoms[ATOM_UTF8_STRING] || format != 8 || n_items == 0) { if (papp->name) XFree (papp->name); XFetchName(panel->dpy, papp->win, (char **)&papp->name); if (papp->name == NULL) { XStoreName(panel->dpy, papp->win, ""); XFetchName(panel->dpy, papp->win, (char **)&papp->name); if (papp->name == NULL) papp->name = strdup(""); } } } Window panel_app_get_client_leader_win(MBPanel *panel, MBPanelApp *papp) { Atom realType; unsigned long n; unsigned long extra; int format; int status; Window* value = NULL, win_result = None; status = XGetWindowProperty(panel->dpy, papp->win, panel->atoms[ATOM_WM_CLIENT_LEADER], 0L, 16L, 0, XA_WINDOW, &realType, &format, &n, &extra, (unsigned char **) &value); if (status == Success && realType == XA_WINDOW && format == 32 && n == 1 && value != NULL) { win_result = (Window) value[0]; } if (value) XFree(value); return win_result; } int* panel_app_icon_prop_data_get(MBPanel *d, MBPanelApp *papp) { Atom type; int format; long bytes_after; unsigned char *data = NULL; long n_items; int result; result = XGetWindowProperty (d->dpy, papp->win, d->atoms[ATOM_NET_WM_ICON], 0, 100000L, False, XA_CARDINAL, &type, &format, &n_items, &bytes_after, (unsigned char **)&data); if (result != Success || data == NULL) { if (data) XFree (data); DBG("%s() failed for %s (XID: %li)\n", __func__, papp->name, papp->win); return NULL; } return (int *)data; } void panel_app_add_start(MBPanel *panel, MBPanelApp *papp_new) { MBPanelApp *papp_prev; papp_prev = panel_app_list_get_last(panel, panel->apps_start_head); panel_app_list_append (panel, &panel->apps_start_head, papp_new); if (papp_prev != NULL) { papp_new->offset = panel_app_get_offset(panel, papp_prev) + panel_app_get_size(panel, papp_prev); DBG("%s() got %i = %i + %i\n", __func__, papp_new->offset, panel_app_get_offset(panel, papp_prev) , panel_app_get_size(panel, papp_prev) ); } else papp_new->offset = 0; papp_new->gravity = PAPP_GRAVITY_START; } void panel_app_add_end(MBPanel *panel, MBPanelApp *papp_new) { MBPanelApp *papp_prev; papp_prev = panel_app_list_get_last(panel, panel->apps_end_head); panel_app_list_append (panel, &panel->apps_end_head, papp_new); if (papp_prev != NULL) papp_new->offset = panel_app_get_offset(panel, papp_prev) - panel_app_get_size(panel, papp_new); else papp_new->offset = ( PANEL_IS_VERTICAL(panel) ? panel->h : panel->w ) - panel_app_get_size(panel, papp_new); papp_new->gravity = PAPP_GRAVITY_END; } Bool panel_app_check_for_space (MBPanel *panel, MBPanelApp *papp) { MBPanelApp *papp_end = NULL, *papp_start = NULL; papp_end = panel_app_list_get_last(panel, panel->apps_end_head); papp_start = panel_app_list_get_last(panel, panel->apps_start_head); if (papp_end && papp_start && panel_app_get_offset(panel, papp_start) + panel_app_get_size(panel, papp_start) > panel_app_get_offset(panel, papp_end)) { panel_handle_full_panel(panel, papp); return False; } return True; } MBPanelApp * panel_app_new(MBPanel *panel, Window win, char *cmd_str) { MBPanelApp *papp; XWindowAttributes attr; int padding = 0; Bool add_at_start = False; papp = NEW(MBPanelApp); papp->next = NULL; papp->win = win; papp->panel = panel; papp->ignore = False; papp->ignore_unmap = 0; papp->icon = NULL; /* XXX should check we actually get this */ XGetWindowAttributes(panel->dpy, win, &attr); papp->w = attr.width; papp->h = attr.height; if (session_preexisting_restarting(panel) && !panel->session_run_first_time) { if (panel->session_cur_gravity == PAPP_GRAVITY_START) add_at_start = True; } else if ( ((attr.x < 0) && !PANEL_IS_VERTICAL(panel)) || ((attr.y < 0) && PANEL_IS_VERTICAL(panel))) { add_at_start = True; } /* Assume square app - it can always change */ if (panel->orientation == North || panel->orientation == South) { papp->h = panel->h - (2*panel->margin_topbottom); papp->w = papp->h; } else { papp->w = panel->w - (2*panel->margin_topbottom); papp->h = papp->w; } if (add_at_start) { if (panel->apps_start_head == NULL) padding = panel->margin_sides; else padding = panel->padding; panel_app_add_start(panel, papp); } else { if (panel->apps_end_head == NULL) padding = -1 * panel->margin_sides; else padding = -1 * panel->padding; panel_app_add_end(panel, papp); } DBG("%s() papp offset at %i\n", __func__, papp->offset ); panel_app_name_get(panel, papp); papp->cmd_str = cmd_str; if (panel->orientation == North || panel->orientation == South) { papp->y = (panel->h - papp->h) / 2; papp->x = papp->offset + padding; } else { papp->x = (panel->w - papp->w) / 2; papp->y = papp->offset + padding; } if (!panel_app_check_for_space(panel, papp)) return NULL; XResizeWindow(panel->dpy, papp->win, papp->w, papp->h); XReparentWindow(panel->dpy, papp->win, panel->win, papp->x, papp->y); panel_app_deliver_config_event(panel, papp); panel_update_client_list_prop (panel); return papp; } void panel_app_handle_configure_request(MBPanel *panel, XConfigureRequestEvent *ev) { XWindowChanges xwc; MBPanelApp *papp = NULL; papp = panel_app_get_from_window( panel, ev->window ); if (panel->is_hidden) return; if (papp != NULL) { DBG("%s() config req x: %i , y: %i w: %i h: %i for %s\n", __func__, ev->x, ev->y, ev->width, ev->height, papp->name ); DBG("%s() panel is w: %i %i h:\n", __func__, panel->w, panel->h ); /* if (papp->x == ev->x && papp->y == ev->y && papp->h == ev->height && papp->w == ev->width) return; */ if (panel->orientation == North || panel->orientation == South) { xwc.width = ev->width; xwc.height = panel->h - (2*panel->margin_topbottom); if (ev->width == ev->height) /* app wants to be square */ { xwc.width = xwc.height; } papp->y = (panel->h - papp->h) / 2; if (xwc.width != papp->w) /* Handle width changes */ { if (papp == panel_app_list_get_last(panel, panel->apps_end_head)) { DBG("%s() papp %s is last at end\n", __func__, papp->name); panel_app_move_to(panel, papp, papp->x - (xwc.width - papp->w)); } else if (papp == panel_app_list_get_last(panel, panel->apps_start_head)) { DBG("%s() papp %s is last at start\n", __func__, papp->name); panel_app_move_to(panel, papp, papp->x /*+ (xwc.width - papp->w)*/); } else if (papp == panel->apps_end_head) { DBG("******** %s() papp %s panel->apps_end_head ****\n", __func__, papp->name); panel_app_move_to(panel, papp, panel->w - panel->margin_sides - xwc.width); panel_apps_nudge (panel, papp->next, papp->w - xwc.width); } else { DBG("%s() papp %s is nowhere special\n", __func__, papp->name); panel_apps_nudge (panel, papp->next, xwc.width - papp->w); } papp->w = xwc.width; } xwc.x = papp->x; /* NOT allowed to move themselves */ xwc.y = papp->y; } else { /* East / West orientated dock */ xwc.width = panel->w - (2*panel->margin_topbottom); xwc.height = ev->height; if (ev->width == ev->height) /* app wants to be square */ xwc.height = xwc.width; papp->x = (panel->w - papp->w) / 2; xwc.x = papp->x; xwc.y = papp->y; if (xwc.height != papp->h) /* Handle width changes */ { if (papp == panel_app_list_get_last(panel, panel->apps_end_head)) { panel_app_move_to(panel, papp, papp->y - (xwc.height - papp->h)); } else if (papp == panel_app_list_get_last(panel, panel->apps_start_head)) { panel_app_move_to(panel, papp, papp->y /* + (xwc.height - papp->h) */); } else { panel_apps_nudge (panel, papp->next, xwc.height - papp->h); } papp->h = xwc.height; } } xwc.border_width = 0; xwc.sibling = None; xwc.stack_mode = None; DBG("%s() setting x: %i , y: %i w: %i h: %i \n", __func__, xwc.x, xwc.y, xwc.width, xwc.height ); XConfigureWindow(panel->dpy, papp->win, ev->value_mask, &xwc); } } void panel_app_deliver_config_event(MBPanel *panel, MBPanelApp *papp) { XConfigureEvent ce; if (panel->is_hidden) return; ce.type = ConfigureNotify; ce.event = papp->win; ce.window = papp->win; if (PANEL_IS_VERTICAL(panel)) { papp->x = (panel->w - papp->w) / 2; ce.x = papp->x; ce.y = papp->y; ce.width = papp->w; ce.height = papp->h; } else { papp->y = (panel->h - papp->h) / 2; ce.x = papp->x; ce.y = papp->y; // + panel->y; ce.width = papp->w; ce.height = papp->h; } ce.border_width = 0; ce.above = panel->win; ce.override_redirect = 0; DBG("%s() delivering x: %i , y: %i w: %i h: %i name : %s\n", __func__, ce.x, ce.y, ce.width, ce.height, papp->name ); XSendEvent(panel->dpy, papp->win, False, StructureNotifyMask, (XEvent *)&ce); } void panel_app_move_to (MBPanel *panel, MBPanelApp *papp, int origin_offset) { if (panel->orientation == North || panel->orientation == South) { papp->x = origin_offset; papp->y = (panel->h - papp->h) / 2; } else { papp->y = origin_offset; papp->x = (panel->w - papp->w) / 2; } papp->offset = origin_offset; if (!panel_app_check_for_space(panel, papp)) return; XMoveWindow(panel->dpy, papp->win, papp->x, papp->y); } void panel_apps_nudge (MBPanel *panel, MBPanelApp *papp, int amount) { MBPanelApp *papp_cur = papp; while (papp_cur != NULL) { panel_app_move_to (panel, papp_cur, panel_app_get_offset(panel, papp_cur) + amount); papp_cur = papp_cur->next; } } void panel_apps_rescale (MBPanel *panel, MBPanelApp *papp) { MBPanelApp *papp_cur = papp; while (papp_cur != NULL) { papp->h = panel->h - (2*panel->margin_topbottom); XResizeWindow(panel->dpy, papp->win, papp->w, papp->h); panel_app_deliver_config_event(panel, papp); papp_cur = papp_cur->next; } } void panel_app_destroy (MBPanel *panel, MBPanelApp *papp) { MBMenuItem *tmp = NULL; if (!papp) return; /* remove popup menu entry XXX this functionaility should be in mbmenu */ if (panel->remove_menu) tmp = panel->remove_menu->items; while (tmp != NULL) { if ((MBPanelApp *)tmp->cb_data == papp) { mb_menu_item_remove(panel->mbmenu, panel->remove_menu, tmp); break; } tmp = tmp->next_item; } if (papp->gravity == PAPP_GRAVITY_START) { panel_apps_nudge(panel, papp->next, -1 * panel_app_get_size(panel, papp)); panel_app_list_remove(panel, papp, &panel->apps_start_head); } else { panel_apps_nudge(panel, papp->next, panel_app_get_size(panel, papp)); panel_app_list_remove(panel, papp, &panel->apps_end_head); } if (papp->name) XFree(papp->name); if (papp->cmd_str) free(papp->cmd_str); if (papp->icon) mb_pixbuf_img_free(panel->pb, papp->icon); free(papp); panel_update_client_list_prop (panel); } /* Utilities */ int panel_app_get_offset (MBPanel *panel, MBPanelApp *papp) { if (panel->orientation == East || panel->orientation == West) return papp->y; else return papp->x; } int panel_app_get_size (MBPanel *panel, MBPanelApp *papp) { if (panel->orientation == East || panel->orientation == West) return papp->h; else return papp->w; } MBPanelApp* panel_app_get_from_window (MBPanel *panel, Window win) { MBPanelApp *papp = panel->apps_start_head; DBG("%s() called, looking for win %li\n", __func__, win); while( papp != NULL) { DBG("%s() check %s ( %li )\n", __func__, papp->name, papp->win); if (papp->win == win) return papp; papp = papp->next; } papp = panel->apps_end_head; while( papp != NULL) { // DBG("%s() check %s ( %li )\n", __func__, papp->name, papp->win); if (papp->win == win) return papp; papp = papp->next; } return NULL; } matchbox-panel-0.9.3/src/panel_menu.c0000644000175000017500000001454410320055001014416 00000000000000#include "panel_menu.h" #ifdef MB_HAVE_PNG #define FOLDER_IMG "mbfolder.png" #define ADD_IMG "mbadd.png" #define REMOVE_IMG "mbremove.png" #define HIDE_IMG "mbdown.png" #else #define FOLDER_IMG "mbfolder.xpm" #define ADD_IMG "mbadd.xpm" #define REMOVE_IMG "mbremove.xpm" #define HIDE_IMG "mbdown.xpm" #endif void panel_menu_exec_cb(MBMenuItem *item) { char *cmd = strdup(item->info); util_fork_exec(cmd); free(cmd); } void panel_menu_exit_cb(MBMenuItem *item) { /* This should only be called by the menu. As we now delete the session file. So its not used again. */ MBPanel *panel = (MBPanel *)item->cb_data; session_destroy(panel); util_cleanup_children(0); } void panel_menu_hide_cb(MBMenuItem *item) { MBPanel *panel = (MBPanel *)item->cb_data; panel_toggle_visibilty(panel); } void panel_menu_kill_cb(MBMenuItem *item) { MBPanelApp *papp = (MBPanelApp *)item->cb_data; XGrabServer(papp->panel->dpy); XKillClient(papp->panel->dpy, papp->win); session_save(papp->panel); XUngrabServer(papp->panel->dpy); } void panel_menu_update_remove_items(MBPanel *panel) { int *icon_data = NULL; MBMenuItem *menu_item; MBPanelApp *papp = NULL; MBPanelApp *papp_heads[] = { panel->apps_start_head, panel->apps_end_head, NULL }; int i = 0; if (panel->remove_menu == NULL) { char *icon_path = NULL; icon_path = mb_dot_desktop_icon_get_full_path (panel->theme_name, 16, REMOVE_IMG ); panel->remove_menu = mb_menu_add_path(panel->mbmenu, _("Remove"), icon_path, MBMENU_PREPEND); if (icon_path) free(icon_path); } /* Remove all items then readd so order matches panel */ if (panel->remove_menu->items) { MBMenuItem *tmp_item = NULL; menu_item = panel->remove_menu->items; while (menu_item != NULL) { tmp_item = menu_item->next_item; mb_menu_item_remove(panel->mbmenu, panel->remove_menu, menu_item); menu_item = tmp_item; } } while (i < 2) { papp = papp_heads[i]; if (i == 1) papp = panel_app_list_get_last(panel, panel->apps_end_head); while( papp != NULL) { if (!papp->ignore) { menu_item = mb_menu_add_item_to_menu(panel->mbmenu, panel->remove_menu, papp->name, NULL, papp->name, panel_menu_kill_cb, (void *)papp, MBMENU_NO_SORT); if (!papp->icon) { if ((icon_data = panel_app_icon_prop_data_get(panel, papp)) != NULL ) { DBG("%s() Got icon data (size: %i x %i)\n", __func__, icon_data[0], icon_data[1] ); papp->icon = mb_pixbuf_img_new_from_int_data(panel->pb, &icon_data[2], icon_data[0], icon_data[1]); XFree(icon_data); } } if (papp->icon) mb_menu_item_icon_set(panel->mbmenu, menu_item, papp->icon); } if (i == 1) { papp = panel_app_list_get_prev (panel, papp, &panel->apps_end_head); } else papp = papp->next; } i++; } } void panel_menu_init(MBPanel *panel) { #ifndef MAXPATHLEN #define MAXPATHLEN 1024 #endif MBMenuMenu *m, *menu_launchers; char orig_wd[MAXPATHLEN] = { 0 }; struct dirent *dir_entry; char *icon_path = NULL; DIR *dp; if (panel->mbmenu == NULL) { panel->mbmenu = mb_menu_new(panel->dpy, panel->screen ); mb_menu_set_icon_size(panel->mbmenu, 16); } else mb_menu_free(panel->mbmenu); /* XXX should be mb_menu_empty */ icon_path = mb_dot_desktop_icon_get_full_path (panel->theme_name, 16, ADD_IMG ); m = mb_menu_add_path(panel->mbmenu, _("Add"), icon_path, MBMENU_NO_SORT ); if (icon_path) free(icon_path); icon_path = mb_dot_desktop_icon_get_full_path (panel->theme_name, 16, FOLDER_IMG ); menu_launchers = mb_menu_add_path(panel->mbmenu, "Add/Launchers", icon_path, MBMENU_NO_SORT ); if (icon_path) free(icon_path); if (getcwd(orig_wd, MAXPATHLEN) == (char *)NULL) { printf("Cant get current directory\n"); exit(0); } if ((dp = opendir(DATADIR "/applications")) != NULL) { chdir(DATADIR "/applications"); while((dir_entry = readdir(dp)) != NULL) { struct stat stat_info; if (strcmp(dir_entry->d_name+strlen(dir_entry->d_name)-8,".desktop")) continue; stat(dir_entry->d_name, &stat_info); if (!(stat_info.st_mode & S_IFDIR)) { MBDotDesktop *ddentry = NULL; ddentry = mb_dotdesktop_new_from_file(dir_entry->d_name); if (ddentry && mb_dotdesktop_get(ddentry, "Type") && mb_dotdesktop_get(ddentry, "Name") && mb_dotdesktop_get(ddentry, "Exec") ) { char *png_path = NULL; unsigned char *icon_str = mb_dotdesktop_get(ddentry, "Icon"); png_path = mb_dot_desktop_icon_get_full_path ( panel->theme_name, 16, icon_str ); if (!strcmp(mb_dotdesktop_get(ddentry, "Type"), "PanelApp")) { mb_menu_add_item_to_menu(panel->mbmenu, m, mb_dotdesktop_get(ddentry, "Name"), png_path, mb_dotdesktop_get_exec(ddentry), panel_menu_exec_cb, (void *)panel, 0); } else { char launcher_exec_str[256] = { 0 }; snprintf(launcher_exec_str, 256, "mb-applet-launcher --desktop %s/%s", DATADIR "/applications", dir_entry->d_name); mb_menu_add_item_to_menu(panel->mbmenu, menu_launchers, mb_dotdesktop_get(ddentry, "Name"), png_path, launcher_exec_str, panel_menu_exec_cb, (void *)panel, 0); } if (png_path) free(png_path); mb_dotdesktop_free(ddentry); } } } closedir(dp); } else fprintf(stderr, "failed to open %s\n", DATADIR "/applications"); chdir(orig_wd); panel->remove_menu = NULL; icon_path = mb_dot_desktop_icon_get_full_path (panel->theme_name, 16, HIDE_IMG ); mb_menu_add_item_to_menu(panel->mbmenu, panel->mbmenu->rootmenu, _("Hide"), icon_path, NULL , panel_menu_hide_cb, (void *)panel, MBMENU_NO_SORT); if (panel->system_tray_id > 0) mb_menu_add_item_to_menu(panel->mbmenu, panel->mbmenu->rootmenu, "Exit", NULL, NULL , panel_menu_exit_cb, (void *)panel, MBMENU_NO_SORT); if (icon_path) free(icon_path); return; } matchbox-panel-0.9.3/src/panel_util.c0000644000175000017500000001043310320055001014420 00000000000000#include "panel_util.h" extern MBPanel* G_panel; void util_cleanup_children(int s) { DBG("DIE DIE\n"); kill(-getpid(), 15); /* kill every one in our process group */ exit(0); } void util_install_signal_handlers(void) { signal (SIGCHLD, SIG_IGN); /* kernel can deal with zombies */ signal (SIGINT, util_cleanup_children); signal (SIGQUIT, util_cleanup_children); signal (SIGTERM, util_cleanup_children); signal (SIGHUP, util_handle_hup); signal (SIGALRM, util_handle_alarm); // signal (SIGSEGV, cleanup_children); } int util_handle_xerror(Display *dpy, XErrorEvent *e) { char msg[255]; XGetErrorText(dpy, e->error_code, msg, sizeof msg); fprintf(stderr, "Panel X error (%#lx):\n %s (opcode: %i)\n", e->resourceid, msg, e->request_code); return 0; } pid_t util_fork_exec(char *cmd) { pid_t pid, mypid; mypid = getpid(); pid = fork(); switch (pid) { case 0: setpgid (0, mypid); /* set pgid to parents pid */ mb_exec(cmd); fprintf(stderr, "exec failed, cleaning up child\n"); exit(1); case -1: fprintf(stderr, "can't fork\n"); break; } return pid; } void util_handle_alarm(int s) { MBPanel *p = G_panel; DBG("%s() called", __func__); session_save(p); } void util_handle_hup(int s) { MBPanel *p = G_panel; DBG("%s() called", __func__); if (p != NULL) { p->reload_pending = True; } } void util_get_mouse_position(MBPanel *panel, int *x, int *y) { Window mouse_root, mouse_win; int win_x, win_y; unsigned int mask; XQueryPointer(panel->dpy, panel->win_root, &mouse_root, &mouse_win, x, y, &win_x, &win_y, &mask); } pid_t util_get_window_pid_from_prop(MBPanel *panel, Window win) { Atom type; int format; long bytes_after; unsigned int *data = NULL; long n_items; int result; pid_t pid_result = 0; result = XGetWindowProperty (panel->dpy, win, panel->atoms[ATOM_NET_WM_PID], 0, 16L, False, XA_CARDINAL, &type, &format, &n_items, &bytes_after, (unsigned char **)&data); if (result == Success && n_items) pid_result = *data; if (data) XFree(data); return pid_result; } Bool util_get_command_str_from_win(MBPanel *panel, Window win, char **result) { int i, bytes_needed = 0; char *p = NULL, *cmd = NULL, **argv_win; int argc_win; if (!XGetCommand(panel->dpy, win, &argv_win, &argc_win)) return False; bytes_needed = strlen(argv_win[0])+2; for(i=1;idpy, panel->win_root, panel->atoms[ATOM_XROOTPMAP_ID], 0, 16L, False, XA_PIXMAP, &type, &format, &n_items, &bytes_after, (unsigned char **)&data); if (result == Success && n_items) root_pxm = *data; if (data) XFree(data); panel->root_pixmap_id = root_pxm; return root_pxm; } unsigned char * util_get_utf8_prop(MBPanel *panel, Window win, Atom req_atom) { Atom type; int format; long bytes_after; unsigned char *str = NULL; long n_items; int result; result = XGetWindowProperty (panel->dpy, win, req_atom, 0, 1024L, False, panel->atoms[ATOM_UTF8_STRING], &type, &format, &n_items, &bytes_after, (unsigned char **)&str); if (result != Success || str == NULL) { if (str) XFree (str); return NULL; } if (type != panel->atoms[ATOM_UTF8_STRING] || format != 8 || n_items == 0) { XFree (str); return NULL; } return str; } matchbox-panel-0.9.3/src/session.c0000644000175000017500000002001610366435543013774 00000000000000#include "session.h" #define DEFAULT_SESSIONS "mb-applet-menu-launcher,mb-applet-clock" void session_set_defaults(MBPanel *panel, char *defaults) { panel->session_defaults_cur_pos = strdup(defaults); panel->use_alt_session_defaults = True; } void session_destroy(MBPanel *panel) { char sessionfile[512] = { 0 }; if (!panel->use_session) return; if (panel->system_tray_id) snprintf(sessionfile, 512, "%s/.matchbox/%s.%i", getenv("HOME"), PANELFILE, panel->system_tray_id ); else snprintf(sessionfile, 512, "%s/.matchbox/%s", getenv("HOME"), PANELFILE ); unlink(sessionfile); } void session_init(MBPanel *panel) { char sessionfile[512] = { 0 }; struct stat st; DBG("%s() called\n", __func__); panel->session_preexisting_lock = False; panel->session_run_first_time = False; if (!panel->use_session && !panel->use_alt_session_defaults) return; /* if (panel->use_alt_session_defaults) { panel->session_cur_gravity = PAPP_GRAVITY_END; panel->session_run_first_time = True; } */ if (getenv("HOME") == NULL) { fprintf(stderr, "matchbox-panel: unable to get home directory, is HOME set?\n"); panel->session_preexisting_lock = False; return; } snprintf(sessionfile, 512, "%s/.matchbox", getenv("HOME")); /* Check if ~/.matchbox exists and create if not */ if (stat(sessionfile, &st) != 0 /* || !S_ISDIR(st.st_mode) */ || !panel->use_session) { if (panel->use_session) { fprintf(stderr, "matchbox-panel: creating %s directory for session files\n", sessionfile); mkdir(sessionfile, 0755); } panel->session_cur_gravity = PAPP_GRAVITY_END; panel->session_run_first_time = True; if (!panel->use_alt_session_defaults) panel->session_defaults_cur_pos = strdup(DEFAULT_SESSIONS); } else { /* We have a ~/.matchbox , see if we have a session file and set defualts if not. */ if (panel->system_tray_id) snprintf(sessionfile, 512, "%s/.matchbox/%s.%i", getenv("HOME"), PANELFILE, panel->system_tray_id ); else snprintf(sessionfile, 512, "%s/.matchbox/%s", getenv("HOME"), PANELFILE ); if ((panel->session_fp = fopen(sessionfile, "r")) == NULL) { fprintf(stderr, "mbpanel: Session file does not exist ( tryed %s )\n", sessionfile); if (!panel->use_alt_session_defaults) { panel->session_defaults_cur_pos = strdup(DEFAULT_SESSIONS); } panel->session_cur_gravity = PAPP_GRAVITY_START; panel->session_run_first_time = True; } else { DBG("%s() opened %s\n", __func__, sessionfile); } } panel->session_preexisting_lock = True; /* we are loading session data */ panel->session_entry_cur[0] = 0; session_preexisting_start_next(panel); } void session_save(MBPanel *panel) { char *sessionfile = alloca(sizeof(char)*255); int i = 0; MBPanelApp *papp = NULL; MBPanelApp *papp_heads[] = { panel->apps_start_head, panel->apps_end_head }; DBG("%s() called\n", __func__); if (!panel->use_session || session_preexisting_restarting(panel)) return; if (getenv("HOME") == NULL) { fprintf(stderr, "matchbox-panel: unable to get home directory, is HOME set?\n"); return; } if (panel->system_tray_id) snprintf(sessionfile, 255, "%s/.matchbox/%s.%i", getenv("HOME"), PANELFILE, panel->system_tray_id ); else snprintf(sessionfile, 255, "%s/.matchbox/%s", getenv("HOME"), PANELFILE ); if ((panel->session_fp = fopen(sessionfile, "w")) == NULL) { fprintf(stderr,"matchbox-panel: Unable to create Session file ( %s )\n", sessionfile); return; } DBG("%s() still called\n", __func__); while (i < 2) { papp = papp_heads[i]; while( papp != NULL ) { DBG("%s() writing %s\n", __func__, papp->cmd_str); if (papp->cmd_str) { DBG("%s() writing %s\n", __func__, papp->cmd_str); fprintf(panel->session_fp, "%s\n", papp->cmd_str); } papp = papp->next; } fprintf(panel->session_fp, "\t\n" ); i++; } fclose(panel->session_fp); } Bool session_preexisting_restarting(MBPanel *panel) { return panel->session_preexisting_lock; } Bool session_preexisting_start_next(MBPanel *panel) { int i = 0; if (!session_preexisting_restarting(panel)) return False; if (panel->session_entry_cur[0] == '\0' && session_preexisting_get_next(panel)) { DBG("%s() starting %s\n", __func__, panel->session_entry_cur); panel->session_needed_pid = util_fork_exec(panel->session_entry_cur); return True; } /* Nothing left in session, dock any defered */ DBG("%s() Now launching defered apps\n", __func__); for (i=0; in_session_defered_wins; i++) panel_handle_dock_request(panel, panel->session_defered_wins[i]); return False; } Bool session_preexisting_win_matches_wanted(MBPanel *panel, Window win, char *win_cmd) { pid_t win_pid = 0; if (!session_preexisting_restarting(panel)) return False; DBG("%s() called\n", __func__); if (panel->session_entry_cur) /* what were waiting on */ { /* Check if its got the pid we expect */ win_pid = util_get_window_pid_from_prop(panel, win); DBG("%s() win pid is %i\n", __func__, win_pid); if (win_pid && win_pid == panel->session_needed_pid) return True; DBG("%s() pid failed, comparing '%s' vs '%s'\n", __func__, win_cmd, panel->session_entry_cur ); /* check cmd str */ if (win_cmd && !strncmp(win_cmd, panel->session_entry_cur, strlen(win_cmd))) return True; } return False; } void session_preexisting_clear_current(MBPanel *panel) { panel->session_entry_cur[0] = '\0'; } Bool session_preexisting_set_timeout (MBPanel *panel, struct timeval *tv, struct timeval **tvp) { int timeleft; for (;;) { if (!session_preexisting_restarting(panel)) return False; if (panel->session_entry_cur[0] == '\0') return False; timeleft = SESSION_TIMEOUT - (time (NULL) - panel->session_start_time); if (timeleft <= 0) { fprintf(stderr, "Session timeout on %s\n", panel->session_entry_cur); session_preexisting_clear_current(panel); session_preexisting_start_next(panel); continue; } break; } if (!*tvp || tv->tv_sec > timeleft) { tv->tv_usec = 0; tv->tv_sec = timeleft; *tvp = tv; } return True; } Bool session_preexisting_get_next(MBPanel *panel) /* session_restarting_get_next */ { char *tmp; if (!session_preexisting_restarting(panel)) return False; panel->session_init_offset = 10; if (panel->session_run_first_time) { if (*panel->session_defaults_cur_pos != '\0') { char *prev_pos = panel->session_defaults_cur_pos; while ( *panel->session_defaults_cur_pos != '\0') { if ( *panel->session_defaults_cur_pos == ',') { *panel->session_defaults_cur_pos = '\0'; panel->session_defaults_cur_pos++; break; } panel->session_defaults_cur_pos++; } strncpy(panel->session_entry_cur, prev_pos, 512); } else { panel->session_run_first_time = False; panel->session_preexisting_lock = False; session_save(panel); return False; } } else { if (fgets(panel->session_entry_cur, 512, panel->session_fp) == NULL) { fclose(panel->session_fp); /* All sessions done */ panel->session_preexisting_lock = False; session_save(panel); return False; } /* tab + newline -> change the session gravity */ if (!strcmp(panel->session_entry_cur, "\t\n")) { panel->session_cur_gravity = PAPP_GRAVITY_END; return session_preexisting_get_next(panel); } if ( panel->session_entry_cur[strlen(panel->session_entry_cur)-1] == '\n') panel->session_entry_cur[strlen(panel->session_entry_cur)-1] = '\0'; if ( (tmp = strstr(panel->session_entry_cur, "\t\t")) != NULL ) { panel->session_init_offset = atoi(tmp); *tmp = '\0'; } } panel->session_start_time = time(NULL); return True; } matchbox-panel-0.9.3/src/msg.c0000644000175000017500000004331010366435644013103 00000000000000#include "msg.h" static MBLayout* msg_calc_win_size(MBPanel *d, MBPanelMessageQueue *m, int *w, int *h); /* static int _get_text_length(MBPanel *d, char *str, int cnt) { #ifdef USE_XFT XGlyphInfo extents; XftTextExtents8(d->dpy, d->msg_font, (unsigned char *) str, cnt, &extents); return extents.width; #else return XTextWidth(d->msg_font, str, cnt); #endif } */ static unsigned long _get_server_time(MBPanel *d) { XEvent xevent; unsigned char c = 'a'; XChangeProperty (d->dpy, d->win_root, d->atoms[ATOM_MB_DOCK_TIMESTAMP], d->atoms[ATOM_MB_DOCK_TIMESTAMP], 8, PropModeReplace, &c, 1); for (;;) { XMaskEvent(d->dpy, PropertyChangeMask, &xevent); if (xevent.xproperty.atom == d->atoms[ATOM_MB_DOCK_TIMESTAMP]) { return xevent.xproperty.time; } } } static void _send_tray_context_message(MBPanel *panel, Window win) { XEvent ev; memset(&ev, 0, sizeof(ev)); ev.xclient.type = ClientMessage; ev.xclient.window = win; ev.xclient.message_type = panel->atoms[ATOM_MB_SYSTEM_TRAY_CONTEXT]; ev.xclient.format = 32; ev.xclient.data.l[0] = _get_server_time(panel); XSendEvent(panel->dpy, win, False, NoEventMask, &ev); XSync(panel->dpy, False); } MBPanelMessageQueue* msg_new(MBPanel *dock, XClientMessageEvent *e) { MBPanelMessageQueue *m; MBPanelApp *sender; if ((sender = panel_app_get_from_window(dock, e->window )) == NULL) return NULL; m = (MBPanelMessageQueue *)malloc(sizeof(MBPanelMessageQueue)); m->sender = sender; m->starttime = e->data.l[0]; m->timeout = e->data.l[2]; m->total_msg_length = e->data.l[3]; m->id = e->data.l[4]; m->data = (unsigned char *)malloc(sizeof(unsigned char) *(m->total_msg_length+1)); m->current_msg_length = 0; m->pending = False; m->next = NULL; if (dock->msg_queue_start == NULL) { DBG("queue is empty\n"); dock->msg_queue_start = dock->msg_queue_end = m; } else { DBG("queue is not empty\n"); dock->msg_queue_end->next = m; dock->msg_queue_end = m; } return m; } void msg_destroy(MBPanel *panel, MBPanelMessageQueue *msg) { MBPanelMessageQueue *msg_q; if (panel->msg_queue_start == msg) { panel->msg_queue_start = msg->next; } else { for(msg_q=panel->msg_queue_start; msg_q->next != NULL; msg_q=msg_q->next) { if (msg_q->next == msg) { msg_q->next = msg->next; break; } } } if (msg->extra_context_data) XFree(msg->extra_context_data); free(msg->data); free(msg); } void msg_add_data(MBPanel *d, XClientMessageEvent *e) { MBPanelMessageQueue *m; for(m=d->msg_queue_start; m != NULL; m=m->next) { if (m->sender->win == e->window) { if ( (m->total_msg_length - m->current_msg_length) > 20) { memcpy(&m->data[m->current_msg_length],e->data.b,sizeof(char)*20); m->current_msg_length += 20; } else { memcpy(&m->data[m->current_msg_length],e->data.b, (m->total_msg_length-m->current_msg_length) ); m->current_msg_length = m->total_msg_length; m->data[m->total_msg_length] = '\0'; m->pending = True; } return; } } } void msg_win_create(MBPanel *panel, MBPanelMessageQueue *msg) { int msg_win_x = 0, msg_win_y = 0, msg_win_w = 0, msg_win_h = 0, box_x_offset = 0, box_y_offset = 0, arrow_offset = 0, cnt = 0, box_w, box_h; int x, y, txt_v_offset; unsigned char r, g, b, fr, fg, fb; MBPixbufImage *img_backing = NULL; MBDrawable *tmp_drw; Pixmap mask; GC mask_gc; XSetWindowAttributes attr; XWindowAttributes root_attr; XWMHints *wm_hints; long winmask; MBLayout *layout; /* #ifdef USE_XFT XftDraw *xftdraw; XftColor txt_xftcol; XRenderColor colortmp; #endif */ layout = msg_calc_win_size(panel, msg, &msg_win_w, &msg_win_h); msg_win_h += (2*MSG_WIN_Y_PAD); box_w = msg_win_w; box_h = msg_win_h; XGetWindowAttributes(panel->dpy, panel->win_root, &root_attr); #define ARROW_SIZE 4 #define MSG_TEXT_MARGIN 10 switch (panel->orientation) { case East: msg_win_w += ARROW_SIZE; msg_win_x = panel->x - msg_win_w - 5; break; case West: msg_win_w += ARROW_SIZE; box_x_offset += ARROW_SIZE; msg_win_x = panel->x + panel->w + 5; break; case South: msg_win_h += ARROW_SIZE; msg_win_y = panel->y - msg_win_h - 5; break; case North: msg_win_h += ARROW_SIZE; box_y_offset += ARROW_SIZE; msg_win_y = panel->y + panel->h + 5; break; } if (PANEL_IS_VERTICAL(panel)) { arrow_offset = msg_win_h / 2; msg_win_y = panel->y + msg->sender->y + (msg->sender->h/2) - arrow_offset; if (msg_win_y < 0) { msg_win_y = 5; /* a little margin to display top */ arrow_offset = msg->sender->y + (msg->sender->h/2); } if (msg_win_y + msg_win_h > panel->y + panel->h) { /* reposition with a bit of margin - 5px */ msg_win_y = (panel->y + panel->h) - msg_win_h - 5; arrow_offset = panel->y + msg->sender->y - msg_win_y + (msg->sender->h/2); } } else { arrow_offset = msg_win_w / 2; msg_win_x = panel->x + msg->sender->x + (msg->sender->w/2) - arrow_offset; if (msg_win_x < 0) { msg_win_x = 5; arrow_offset = msg->sender->x + (msg->sender->w/2); } if (msg_win_x + msg_win_w > panel->x + panel->w) { msg_win_x = (panel->x + panel->w) - msg_win_w - 5; arrow_offset = panel->x + msg->sender->x - msg_win_x + (msg->sender->w/2); } } attr.event_mask = ButtonPressMask|ButtonReleaseMask|ExposureMask; attr.background_pixel = BlackPixel(panel->dpy, panel->screen); attr.do_not_propagate_mask = ButtonPressMask|ButtonReleaseMask; winmask = CWBackPixel|CWEventMask|CWDontPropagate; if (panel->use_overide_wins) { winmask |= CWOverrideRedirect; attr.override_redirect = True; } panel->msg_win = XCreateWindow(panel->dpy, panel->win_root, msg_win_x, msg_win_y, msg_win_w, msg_win_h, 0, CopyFromParent, CopyFromParent, CopyFromParent, winmask, &attr); XChangeProperty(panel->dpy, panel->msg_win, panel->atoms[ATOM_WM_WINDOW_TYPE], XA_ATOM, 32, PropModeReplace, (unsigned char *) &panel->atoms[ATOM_WM_WINDOW_TYPE_SPLASH], 1); wm_hints = XAllocWMHints(); wm_hints->input = False; wm_hints->flags = InputHint; XSetWMHints(panel->dpy, panel->msg_win, wm_hints); tmp_drw = mb_drawable_new(panel->pb, msg_win_w, msg_win_h); img_backing = mb_pixbuf_img_rgba_new(panel->pb, msg_win_w, msg_win_h); mask = XCreatePixmap(panel->dpy, panel->win_root, msg_win_w, msg_win_h, 1 ); mask_gc = XCreateGC(panel->dpy, mask, 0, 0 ); XSetForeground(panel->dpy, mask_gc, WhitePixel( panel->dpy, panel->screen )); XFillRectangle(panel->dpy, mask, mask_gc, 0, 0, msg_win_w, msg_win_h ); XSetForeground(panel->dpy, mask_gc, BlackPixel( panel->dpy, panel->screen )); /* * - fill entire block with forground color * - alpha clear part * - draw arrow part * - curve corners ? */ r = mb_col_red(panel->msg_col); g = mb_col_green(panel->msg_col); b = mb_col_blue(panel->msg_col); fr = mb_col_red(panel->msg_fg_col); fg = mb_col_green(panel->msg_fg_col); fb = mb_col_blue(panel->msg_fg_col); mb_pixbuf_img_fill (panel->pb, img_backing, r, g, b, 255); /* border */ /* top/bottom */ for (x = box_x_offset; x < box_x_offset + box_w; x++) { mb_pixbuf_img_plot_pixel(panel->pb, img_backing, x, box_y_offset, fr, fg, fb); mb_pixbuf_img_plot_pixel(panel->pb, img_backing, x, box_h + box_y_offset - 1, fr, fg, fb); } /* sides */ for (y = box_y_offset; y < box_y_offset + box_h; y++) { mb_pixbuf_img_plot_pixel(panel->pb, img_backing, box_x_offset, y, fr, fg, fb); mb_pixbuf_img_plot_pixel(panel->pb, img_backing, box_w + box_x_offset - 1, y, fr, fg, fb); } /* arrow */ switch (panel->orientation) { case East: for (x= box_w; x < msg_win_w; x++) for (y=0; y < box_h; y++) XDrawPoint(panel->dpy, mask, mask_gc, x, y); XSetForeground( panel->dpy, mask_gc, WhitePixel( panel->dpy, panel->screen )); for (x= msg_win_w - 1; x > msg_win_w - ARROW_SIZE - 2 ; x--) { for (y = arrow_offset - cnt; y <= arrow_offset + cnt; y++) { XDrawPoint(panel->dpy, mask, mask_gc, x, y); if ( y == (arrow_offset - cnt) || y == (arrow_offset + cnt) ) mb_pixbuf_img_plot_pixel(panel->pb, img_backing, x, y, fr, fg, fb); else mb_pixbuf_img_plot_pixel(panel->pb, img_backing, x, y, r,g,b); } cnt++; } break; case West: for (x=0; xdpy, mask, mask_gc, x, y); XSetForeground( panel->dpy, mask_gc, WhitePixel( panel->dpy, panel->screen )); for (x=0; xdpy, mask, mask_gc, x, y); if ( y == (arrow_offset - cnt) || y == (arrow_offset + cnt) ) mb_pixbuf_img_plot_pixel(panel->pb, img_backing, x, y, fr, fg, fb); else mb_pixbuf_img_plot_pixel(panel->pb, img_backing, x, y, r,g,b); } cnt++; } break; case South: for (y=msg_win_h-ARROW_SIZE; y < msg_win_h; y++) for (x=0; x < msg_win_w; x++) XDrawPoint(panel->dpy, mask, mask_gc, x, y); XSetForeground( panel->dpy, mask_gc, WhitePixel( panel->dpy, panel->screen )); for (y=msg_win_h; y >= msg_win_h - ARROW_SIZE - 1; y--) { for (x = arrow_offset - cnt; x <= arrow_offset + cnt; x++) { XDrawPoint(panel->dpy, mask, mask_gc, x, y); if ( x == (arrow_offset - cnt) || x == (arrow_offset + cnt) ) mb_pixbuf_img_plot_pixel(panel->pb, img_backing, x, y, fr, fg, fb); else mb_pixbuf_img_plot_pixel(panel->pb, img_backing, x, y, r,g,b); } cnt++; } break; case North: for (y=0; y < ARROW_SIZE; y++) for (x=0; x < msg_win_w; x++) XDrawPoint(panel->dpy, mask, mask_gc, x, y); XSetForeground( panel->dpy, mask_gc, WhitePixel( panel->dpy, panel->screen )); for (y=0; y < ARROW_SIZE + 1; y++) { for (x = arrow_offset - cnt; x <= arrow_offset + cnt; x++) { XDrawPoint(panel->dpy, mask, mask_gc, x, y); if ( x == (arrow_offset - cnt) || x == (arrow_offset + cnt) ) mb_pixbuf_img_plot_pixel(panel->pb, img_backing, x, y, fr, fg, fb); else mb_pixbuf_img_plot_pixel(panel->pb, img_backing, x, y, r,g,b); } cnt++; } break; } /* Render picture to pixmap */ mb_pixbuf_img_render_to_drawable(panel->pb, img_backing, mb_drawable_pixmap(tmp_drw), 0, 0); mb_font_set_color(panel->msg_font, panel->msg_fg_col); txt_v_offset = MSG_WIN_Y_PAD + box_y_offset; /* i = strlen(msg->sender->name); while (_get_text_length(panel, msg->sender->name, i) > ( box_w + ( 2 * MSG_TEXT_MARGIN )) && i > 0) i--; */ /* Title */ XSetForeground(panel->dpy, panel->msg_gc, mb_col_xpixel(panel->msg_fg_col)); mb_font_render_simple (panel->msg_font, tmp_drw, MSG_TEXT_MARGIN + box_x_offset, txt_v_offset, box_w, /* XXX - TEXT_MARGIN ? */ (unsigned char *)msg->sender->name, MB_ENCODING_UTF8, 0); /* close box */ XDrawRectangle(panel->dpy, mb_drawable_pixmap(tmp_drw), panel->msg_gc, box_x_offset + box_w - MSG_TEXT_MARGIN - mb_font_get_height(panel->msg_font), txt_v_offset, mb_font_get_height(panel->msg_font), mb_font_get_height(panel->msg_font) ); XDrawLine(panel->dpy, mb_drawable_pixmap(tmp_drw), panel->msg_gc, box_x_offset + box_w - MSG_TEXT_MARGIN - mb_font_get_height(panel->msg_font), txt_v_offset , box_x_offset + box_w - MSG_TEXT_MARGIN, txt_v_offset + mb_font_get_height(panel->msg_font)); XDrawLine(panel->dpy, mb_drawable_pixmap(tmp_drw), panel->msg_gc, box_x_offset + box_w - MSG_TEXT_MARGIN - mb_font_get_height(panel->msg_font), txt_v_offset + mb_font_get_height(panel->msg_font), box_x_offset + box_w - MSG_TEXT_MARGIN, txt_v_offset ); /* Title underline */ XDrawLine(panel->dpy, mb_drawable_pixmap(tmp_drw), panel->msg_gc, box_x_offset + MSG_TEXT_MARGIN / 2 , txt_v_offset + mb_font_get_height(panel->msg_font) + ( MSG_LINE_SPC / 2 ), box_x_offset + box_w - (MSG_TEXT_MARGIN / 2), txt_v_offset + mb_font_get_height(panel->msg_font) + ( MSG_LINE_SPC / 2 ) ); /* Forward render postion on */ txt_v_offset += mb_font_get_height(panel->msg_font) + MSG_LINE_SPC; /* render msg text */ mb_layout_render (layout, tmp_drw, MSG_TEXT_MARGIN + box_x_offset, txt_v_offset, 0); txt_v_offset += mb_layout_height(layout); /* Context button, if applicable */ if (msg->extra_context_data) { int context_width = mb_font_get_txt_width ( panel->msg_font, msg->extra_context_data, strlen((char*)msg->extra_context_data), MB_ENCODING_UTF8); XSetForeground( panel->dpy, panel->msg_gc, mb_col_xpixel(panel->msg_link_col)); panel->msg_context_y1 = txt_v_offset; panel->msg_context_y2 = txt_v_offset + mb_font_get_height(panel->msg_font); mb_font_set_color(panel->msg_font, panel->msg_link_col); mb_font_render_simple (panel->msg_font, tmp_drw, MSG_TEXT_MARGIN + box_x_offset, txt_v_offset, box_w, (unsigned char *)msg->extra_context_data, MB_ENCODING_UTF8, 0); /* underline */ XDrawLine(panel->dpy, mb_drawable_pixmap(tmp_drw), panel->msg_gc, MSG_TEXT_MARGIN + box_x_offset, txt_v_offset + mb_font_get_height(panel->msg_font), MSG_TEXT_MARGIN + box_x_offset + context_width, txt_v_offset + mb_font_get_height(panel->msg_font)); } XSetWindowBackgroundPixmap(panel->dpy, panel->msg_win, mb_drawable_pixmap(tmp_drw)); mb_drawable_unref(tmp_drw); XShapeCombineMask( panel->dpy, panel->msg_win, ShapeBounding, 0, 0, mask, ShapeSet); XMapWindow(panel->dpy, panel->msg_win); XFree(wm_hints); mb_pixbuf_img_free(panel->pb, img_backing); XFreePixmap(panel->dpy, mask); } void msg_cancel (MBPanel *panel, XClientMessageEvent *e) { MBPanelApp *sender; if ((sender = panel_app_get_from_window(panel, e->window )) == NULL) return; if (panel->msg_win && panel->msg_win_sender == sender && panel->msg_sender_id == e->data.l[2]) { XDestroyWindow(panel->dpy, panel->msg_win); panel->msg_win = None; } } void msg_handle_events(MBPanel *panel, XEvent *e) { MBPanelMessageQueue *msg = NULL; for(msg=panel->msg_queue_start; msg != NULL; msg=msg->next) { if (msg->pending) { if (panel->msg_win) { XDestroyWindow(panel->dpy, panel->msg_win); panel->msg_win = None; } panel->msg_starttime = msg->starttime; panel->msg_timeout = msg->timeout; panel->msg_win_sender = msg->sender; panel->msg_sender_id = msg->id; panel->msg_has_context = False; if ((msg->extra_context_data = util_get_utf8_prop(panel, panel->msg_win_sender->win, panel->atoms[ATOM_MB_SYSTEM_TRAY_CONTEXT])) != NULL) panel->msg_has_context = True; msg_win_create(panel, msg); msg_destroy(panel, msg); return; } } if (panel->msg_win) { switch (e->type) { case Expose: break; case ButtonRelease: if ( e->xbutton.window == panel->msg_win) { if (panel->msg_has_context && e->xbutton.y >= panel->msg_context_y1 && e->xbutton.y <= panel->msg_context_y2) { _send_tray_context_message(panel, panel->msg_win_sender->win); } XDestroyWindow(panel->dpy, panel->msg_win); panel->msg_win = None; } break; } } } Bool msg_set_timeout (MBPanel *d, struct timeval *tv, struct timeval **tvp) { if (d->msg_win) { if (d->msg_timeout) /* NON ZERO */ { int timeleft, sec, usec; timeleft = d->msg_timeout - (_get_server_time (d) - d->msg_starttime); if (timeleft < 0) { XDestroyWindow(d->dpy, d->msg_win); d->msg_win = None; return False; } sec = timeleft / 1000; usec = (timeleft % 1000) * 1000; if (!*tvp || tv->tv_sec > sec || (tv->tv_sec == sec && tv->tv_usec > usec) ) { tv->tv_usec = usec; tv->tv_sec = sec; *tvp = tv; } return True; } } return False; } static MBLayout* msg_calc_win_size(MBPanel *panel, MBPanelMessageQueue *m, int *w, int *h) { MBLayout *layout; int title_width = 0, context_width = 0; *w = 0; *h = 0; layout = mb_layout_new (); mb_layout_set_font(layout, panel->msg_font); mb_layout_set_text(layout, m->data, MB_ENCODING_UTF8); mb_layout_get_geometry(layout, w, h); /* title + line */ *h += (mb_font_get_height(panel->msg_font) + MSG_LINE_SPC) ; title_width = mb_font_get_txt_width(panel->msg_font, m->sender->name, strlen((char*)m->sender->name), MB_ENCODING_UTF8) + (2 * mb_font_get_height(panel->msg_font)); if (title_width > *w) *w = title_width; if (m->extra_context_data) { context_width = mb_font_get_txt_width(panel->msg_font, m->extra_context_data, strlen((char*)m->extra_context_data), MB_ENCODING_UTF8); if (context_width > *w) *w = context_width; *h += mb_font_get_height(panel->msg_font); } *w += ( 2 * MSG_TEXT_MARGIN ); return layout; } matchbox-panel-0.9.3/src/panel.h0000644000175000017500000001747010365510374013422 00000000000000#ifndef _DOCK_H_ #define _DOCK_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef USE_XSETTINGS #include #endif #define NEW(OBJ) ((OBJ *)(malloc(sizeof(OBJ)))) #ifdef DEBUG #define DBG(txt, args... ) fprintf(stderr, "MB-PANEL-DEBUG: " txt , ##args ) #else #define DBG(txt, args... ) /* nothing */ #endif #define SWAP(a,b) { \ (a)^=(b); \ (b)^=(a); \ (a)^=(b); \ } #define PANEL_IS_VERTICAL(p) ((p)->orientation == East || (p)->orientation == West) #define SYSTEM_TRAY_REQUEST_DOCK 0 #define SYSTEM_TRAY_BEGIN_MESSAGE 1 #define SYSTEM_TRAY_CANCEL_MESSAGE 2 #define ATOM_WM_WINDOW_TYPE 0 #define ATOM_WM_WINDOW_TYPE_DOCK 1 #define ATOM_WM_WINDOW_TYPE_SPLASH 10 #define ATOM_SYSTEM_TRAY 2 #define ATOM_SYSTEM_TRAY_OPCODE 3 #define ATOM_XEMBED_INFO 4 #define ATOM_XEMBED_MESSAGE 5 #define ATOM_MANAGER 6 #define ATOM_MB_DOCK_ALIGN 7 #define ATOM_MB_DOCK_ALIGN_EAST 8 #define ATOM_NET_SYSTEM_TRAY_MESSAGE_DATA 9 #define ATOM_WM_PROTOCOLS 11 #define ATOM_WM_DELETE_WINDOW 12 #define ATOM_MB_THEME 13 #define ATOM_MB_PANEL_BG 16 #define ATOM_MB_DOCK_TIMESTAMP 14 #define ATOM_NET_WM_STRUT 15 #define ATOM_WM_CLIENT_LEADER 17 #define ATOM_NET_WM_ICON 18 #define ATOM_NET_WM_PID 19 #define ATOM_XROOTPMAP_ID 20 #define ATOM_NET_SYSTEM_TRAY_ORIENTATION 21 #define ATOM_MB_THEME_NAME 22 #define ATOM_MB_COMMAND 23 #define ATOM_NET_WM_NAME 24 #define ATOM_UTF8_STRING 25 #define ATOM_NET_CLIENT_LIST 26 #define ATOM_NET_WM_STATE 27 #define ATOM_NET_WM_STATE_TITLEBAR 28 #define ATOM_MB_SYSTEM_TRAY_CONTEXT 29 #define ATOM_MB_REQ_CLIENT_ORDER 30 #define ATOM_MB_DOCK_TITLEBAR_SHOW_ON_DESKTOP 31 #define XEMBED_EMBEDDED_NOTIFY 0 #define XEMBED_WINDOW_ACTIVATE 1 /* ID's for various MB COMMAND X Messages */ #define MB_CMD_PANEL_TOGGLE_VISIBILITY 1 #define MB_CMD_PANEL_SIZE 2 #define MB_CMD_PANEL_ORIENTATION 3 #define MB_PANEL_ORIENTATION_NORTH 1 #define MB_PANEL_ORIENTATION_EAST 2 #define MB_PANEL_ORIENTATION_SOUTH 3 #define MB_PANEL_ORIENTATION_WEST 4 #define SESSION_TIMEOUT 10 /* 5 second session timeout */ #define DBL_CLICK_TIME 200 #define DEFAULT_COLOR_SPEC "#e2e2de" /* Same as gnome ? */ #define MB_MSG_FONT "Sans 14px" #define MAX_DEFERED_WINS 32 /* *very* Unlikely as much as 32 */ enum { BG_SOLID_COLOR, BG_PIXMAP, BG_TRANS }; typedef enum { PAPP_GRAVITY_START, PAPP_GRAVITY_END, } PanelAppGravity; typedef enum { North = 1, East, South, West } MBPanelOrientation; typedef struct _panel_app { Window win; unsigned char *name; int x; int y; int w; int h; int offset; Bool mapped; struct _panel_app *next; char *cmd_str; struct _panel *panel; Bool ignore; /* set so client cant be removed */ int ignore_unmap; PanelAppGravity gravity; MBPixbufImage *icon; } MBPanelApp; typedef struct _message_queue { MBPanelApp *sender; unsigned long starttime; int timeout; int total_msg_length; int current_msg_length; int id; unsigned char *data; Bool has_extra_context; unsigned char *extra_context_data; Bool pending; /* Set to true if all data */ struct _message_queue *next; } MBPanelMessageQueue; typedef struct _panel { /* General */ Display *dpy; int screen; MBPixbuf *pb; Window win, win_root; GC gc, band_gc; XColor xcol; int x,y,w,h; MBPanelApp *apps_start_head; MBPanelApp *apps_end_head; Atom atoms[32]; int padding; int margin_topbottom; int margin_sides; /* Message windows */ struct _message_queue *msg_queue_start; struct _message_queue *msg_queue_end; Window msg_win; unsigned long msg_starttime; int msg_timeout; MBPanelApp *msg_win_sender; Bool msg_has_context; unsigned long msg_sender_id; int msg_context_y1, msg_context_y2; GC msg_gc; MBColor *msg_col; MBColor *msg_urgent_col; MBColor *msg_fg_col; MBColor *msg_link_col; MBFont *msg_font; /* Various state bits */ Bool use_flip; Bool use_session; Bool use_alt_session_defaults; Bool use_overide_wins; Bool reload_pending; MBPanelOrientation orientation; int system_tray_id; Bool use_themes; char *theme_name; char *theme_path; Bool want_titlebar_dest; Bool ignore_next_config; int default_panel_size; /* Session */ Bool session_preexisting_lock; int session_init_offset; char session_entry_cur[512]; pid_t session_needed_pid; time_t session_start_time; FILE *session_fp; PanelAppGravity session_cur_gravity; Bool session_run_first_time; char *session_defaults_cur_pos; Window last_click_window; Time last_click_time; Bool next_click_is_not_double; Bool is_hidden; /* Background */ XColor bg_col; Pixmap bg_tile; Pixmap bg_pxm; char *bg_spec; int bg_type; /* Popup menu */ MBMenu* mbmenu; Bool use_menu; MBMenuMenu *remove_menu; /* co-ords of where mouse click happened for menu */ int click_x; int click_y; Time click_time; char *bg_trans; long root_pixmap_id; /* Defered apps list - win ids that start while session is * starting but *arnt* in the session, so they are docked * after starting. * * XXX: should really use a list here. */ Window session_defered_wins[MAX_DEFERED_WINS]; int n_session_defered_wins; #ifdef USE_XSETTINGS XSettingsClient *xsettings_client; #endif } MBPanel; void panel_handle_full_panel (MBPanel *panel, MBPanelApp *bad_papp); void panel_toggle_visibilty(MBPanel *panel); void panel_change_orientation (MBPanel *panel, MBPanelOrientation new_orientation, int dpy_w, int dpy_h); void panel_update_client_list_prop (MBPanel *panel); void panel_reorder_apps(MBPanel *panel); void panel_handle_dock_request(MBPanel *panel, Window win); #include "panel_menu.h" #include "panel_util.h" #include "panel_app.h" #include "session.h" #endif matchbox-panel-0.9.3/src/panel_app.h0000644000175000017500000000416010320055001014230 00000000000000#ifndef _PANEL_APP_H_ #define _PANEL_APP_H_ #include "panel.h" MBPanelApp* panel_app_list_get_prev (MBPanel *panel, MBPanelApp *papp, MBPanelApp **list_head); MBPanelApp* panel_app_list_get_last (MBPanel *panel, MBPanelApp *list_head); MBPanelApp * panel_app_list_prepend(MBPanel *panel, MBPanelApp *list_to_append_to, MBPanelApp *papp_new); /* void panel_app_list_prepend(MBPanel *panel, MBPanelApp **list_to_append_to, MBPanelApp *papp_new); */ void panel_app_list_append (MBPanel *panel, MBPanelApp **list_to_append_to, MBPanelApp *new_client); void panel_app_list_insert_after(MBPanel *panel, MBPanelApp *papp, MBPanelApp *new_papp); void panel_app_list_remove (MBPanel *panel, MBPanelApp *papp, MBPanelApp **list_head ); void panel_app_add_start(MBPanel *panel, MBPanelApp *papp_new); void panel_app_add_end(MBPanel *panel, MBPanelApp *papp_new); void panel_app_list_add(MBPanel *panel, MBPanelApp *papp_new); void panel_app_name_get(MBPanel *panel, MBPanelApp *papp); Window panel_app_get_client_leader_win(MBPanel *panel, MBPanelApp *papp); int* panel_app_icon_prop_data_get(MBPanel *d, MBPanelApp *papp); void panel_app_command_prop_get(MBPanel *panel, MBPanelApp *papp); Bool panel_app_get_command_str(MBPanel *panel, MBPanelApp *papp, char **result); MBPanelApp* panel_app_get_from_window(MBPanel *panel, Window win); MBPanelApp* panel_app_new(MBPanel *panel, Window win, char *cmd ); void panel_app_handle_configure_request(MBPanel *panel, XConfigureRequestEvent *ev); void panel_app_deliver_config_event(MBPanel *panel, MBPanelApp *papp); void panel_apps_rescale (MBPanel *panel, MBPanelApp *papp); void panel_apps_nudge (MBPanel *panel, MBPanelApp *papp, int amount); void panel_app_move_to(MBPanel *panel, MBPanelApp *papp, int origin_offset); void panel_app_destroy(MBPanel *panel, MBPanelApp *papp); int panel_app_get_offset(MBPanel *panel, MBPanelApp *papp); int panel_app_get_size(MBPanel *panel, MBPanelApp *papp); #endif matchbox-panel-0.9.3/src/panel_menu.h0000644000175000017500000000077410320055001014423 00000000000000#ifndef _HAVE_PANEL_MENU_H #define _HAVE_PANEL_MENU_H #ifdef ENABLE_NLS # include # define _(text) gettext(text) #else # define _(text) (text) #endif #include "panel.h" void panel_menu_exec_cb(MBMenuItem *item); void panel_menu_exit_cb(MBMenuItem *item); void panel_menu_hide_cb(MBMenuItem *item); void panel_menu_move_app_cb(MBMenuItem *item); void panel_menu_kill_cb(MBMenuItem *item); void panel_menu_update_remove_items(MBPanel *panel); void panel_menu_init(MBPanel *panel); #endif matchbox-panel-0.9.3/src/panel_util.h0000644000175000017500000000131610320055001014425 00000000000000#ifndef _HAVE_PANEL_UTIL_H #define _HAVE_PANEL_UTIL_H #include "panel.h" void util_cleanup_children(int s); void util_install_signal_handlers(void); int util_handle_xerror(Display *dpy, XErrorEvent *e); pid_t util_fork_exec(char *cmd); void util_handle_alarm(int s); void util_handle_hup(int s); void util_get_mouse_position(MBPanel *panel, int *x, int *y); pid_t util_get_window_pid_from_prop(MBPanel *panel, Window win); Bool util_get_command_str_from_win(MBPanel *panel, Window win, char **result); Bool util_xcol_from_spec(MBPanel *panel, MBColor *col, char *spec); Pixmap util_get_root_pixmap(MBPanel *panel); unsigned char * util_get_utf8_prop(MBPanel *panel, Window win, Atom req_atom); #endif matchbox-panel-0.9.3/src/session.h0000644000175000017500000000141310366435043013774 00000000000000#ifndef _HAVE_PANEL_SESSION_H #define _HAVE_PANEL_SESSION_H #include "panel.h" #ifdef DEBUG #define PANELFILE "mbdock.session.debug" #else #define PANELFILE "mbdock.session" #endif void session_destroy(MBPanel *panel); void session_set_defaults(MBPanel *panel, char *defaults); void session_init(MBPanel *panel); void session_save(MBPanel *panel); Bool session_preexisting_restarting(MBPanel *panel); Bool session_preexisting_start_next(MBPanel *panel);; Bool session_preexisting_win_matches_wanted(MBPanel *panel, Window win, char *win_cmd); void session_preexisting_clear_current(MBPanel *panel); Bool session_preexisting_set_timeout(MBPanel *panel, struct timeval *tv, struct timeval **tvp); Bool session_preexisting_get_next(MBPanel *panel); #endif matchbox-panel-0.9.3/src/msg.h0000644000175000017500000000075610366435043013110 00000000000000#ifndef _MSG_H_ #define _MSG_H_ #include #include "panel.h" #include "panel_app.h" #define MSG_WIN_Y_PAD 5 #define MSG_BUB_POLY 15 #define MSG_LINE_SPC 8 MBPanelMessageQueue* msg_new(MBPanel *dock, XClientMessageEvent *e); void msg_destroy(MBPanel *d, MBPanelMessageQueue *m); void msg_add_data(MBPanel *d, XClientMessageEvent *e); void msg_handle_events(MBPanel *d, XEvent *e); void msg_handle_timeouts(MBPanel *d); void msg_cancel(MBPanel *d, XClientMessageEvent *e); #endif matchbox-panel-0.9.3/applets/0000777000175000017500000000000010403352454013102 500000000000000matchbox-panel-0.9.3/applets/Makefile.am0000644000175000017500000000267010320055002015042 00000000000000SUBDIRS = dotdesktop icons small-icons EXTRA_DIST = mb-applet-battery.c mb-applet-xterm-wrapper.sh PREFIXDIR = $(prefix) PKGDATADIR = $(datadir)/matchbox DATADIR = $(datadir) INCLUDES = -DDATADIR=\"$(DATADIR)\" -DPKGDATADIR=\"$(PKGDATADIR)\" -DPREFIX=\"$(PREFIXDIR)\" $(LIBMB_CFLAGS) $(SN_CFLAGS) if WANT_APM bin_PROGRAMS = \ mb-applet-clock mb-applet-menu-launcher mb-applet-battery \ mb-applet-launcher mb-applet-system-monitor mb_applet_battery_SOURCES = mb-applet-battery.c mb_applet_battery_LDADD = $(LIBMB_LIBS) $(SN_LIBS) -lapm else bin_PROGRAMS = \ mb-applet-clock mb-applet-menu-launcher \ mb-applet-launcher mb-applet-system-monitor endif if WANT_WIFI bin_PROGRAMS += mb-applet-wireless endif if WANT_ACPI bin_PROGRAMS += mb-applet-battery mb_applet_battery_SOURCES = mb-applet-battery.c mb_applet_battery_LDADD = $(LIBMB_LIBS) $(SN_LIBS) endif LDADD = $(LIBMB_LIBS) $(SN_LIBS) mb_applet_clock_SOURCES = mb-applet-clock.c mb_applet_menu_launcher_SOURCES = mb-applet-menu-launcher.c mb_applet_wireless_SOURCES = mb-applet-wireless.c mb_applet_wireless_LDADD = $(LIBMB_LIBS) $(SN_LIBS) $(WIRELESS_LIBS) mb_applet_launcher_SOURCES = mb-applet-launcher.c mb_applet_system_monitor_SOURCES = mb-applet-system-monitor.c bin_SCRIPTS = mb-applet-xterm-wrapper.sh matchbox-panel-0.9.3/applets/Makefile.in0000644000175000017500000005602710403352441015071 00000000000000# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ SOURCES = $(mb_applet_battery_SOURCES) $(mb_applet_clock_SOURCES) $(mb_applet_launcher_SOURCES) $(mb_applet_menu_launcher_SOURCES) $(mb_applet_system_monitor_SOURCES) $(mb_applet_wireless_SOURCES) srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : @WANT_APM_FALSE@bin_PROGRAMS = mb-applet-clock$(EXEEXT) \ @WANT_APM_FALSE@ mb-applet-menu-launcher$(EXEEXT) \ @WANT_APM_FALSE@ mb-applet-launcher$(EXEEXT) \ @WANT_APM_FALSE@ mb-applet-system-monitor$(EXEEXT) \ @WANT_APM_FALSE@ $(am__EXEEXT_1) $(am__EXEEXT_2) @WANT_APM_TRUE@bin_PROGRAMS = mb-applet-clock$(EXEEXT) \ @WANT_APM_TRUE@ mb-applet-menu-launcher$(EXEEXT) \ @WANT_APM_TRUE@ mb-applet-battery$(EXEEXT) \ @WANT_APM_TRUE@ mb-applet-launcher$(EXEEXT) \ @WANT_APM_TRUE@ mb-applet-system-monitor$(EXEEXT) \ @WANT_APM_TRUE@ $(am__EXEEXT_1) $(am__EXEEXT_2) @WANT_WIFI_TRUE@am__append_1 = mb-applet-wireless @WANT_ACPI_TRUE@am__append_2 = mb-applet-battery subdir = applets DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = @WANT_WIFI_TRUE@am__EXEEXT_1 = mb-applet-wireless$(EXEEXT) @WANT_ACPI_TRUE@am__EXEEXT_2 = mb-applet-battery$(EXEEXT) am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am__mb_applet_battery_SOURCES_DIST = mb-applet-battery.c @WANT_ACPI_FALSE@@WANT_APM_TRUE@am_mb_applet_battery_OBJECTS = \ @WANT_ACPI_FALSE@@WANT_APM_TRUE@ mb-applet-battery.$(OBJEXT) @WANT_ACPI_TRUE@am_mb_applet_battery_OBJECTS = \ @WANT_ACPI_TRUE@ mb-applet-battery.$(OBJEXT) mb_applet_battery_OBJECTS = $(am_mb_applet_battery_OBJECTS) am__DEPENDENCIES_1 = @WANT_ACPI_FALSE@@WANT_APM_TRUE@mb_applet_battery_DEPENDENCIES = \ @WANT_ACPI_FALSE@@WANT_APM_TRUE@ $(am__DEPENDENCIES_1) \ @WANT_ACPI_FALSE@@WANT_APM_TRUE@ $(am__DEPENDENCIES_1) @WANT_ACPI_TRUE@mb_applet_battery_DEPENDENCIES = \ @WANT_ACPI_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am_mb_applet_clock_OBJECTS = mb-applet-clock.$(OBJEXT) mb_applet_clock_OBJECTS = $(am_mb_applet_clock_OBJECTS) mb_applet_clock_LDADD = $(LDADD) mb_applet_clock_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) am_mb_applet_launcher_OBJECTS = mb-applet-launcher.$(OBJEXT) mb_applet_launcher_OBJECTS = $(am_mb_applet_launcher_OBJECTS) mb_applet_launcher_LDADD = $(LDADD) mb_applet_launcher_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) am_mb_applet_menu_launcher_OBJECTS = \ mb-applet-menu-launcher.$(OBJEXT) mb_applet_menu_launcher_OBJECTS = \ $(am_mb_applet_menu_launcher_OBJECTS) mb_applet_menu_launcher_LDADD = $(LDADD) mb_applet_menu_launcher_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) am_mb_applet_system_monitor_OBJECTS = \ mb-applet-system-monitor.$(OBJEXT) mb_applet_system_monitor_OBJECTS = \ $(am_mb_applet_system_monitor_OBJECTS) mb_applet_system_monitor_LDADD = $(LDADD) mb_applet_system_monitor_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) am_mb_applet_wireless_OBJECTS = mb-applet-wireless.$(OBJEXT) mb_applet_wireless_OBJECTS = $(am_mb_applet_wireless_OBJECTS) mb_applet_wireless_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) binSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(mb_applet_battery_SOURCES) $(mb_applet_clock_SOURCES) \ $(mb_applet_launcher_SOURCES) \ $(mb_applet_menu_launcher_SOURCES) \ $(mb_applet_system_monitor_SOURCES) \ $(mb_applet_wireless_SOURCES) DIST_SOURCES = $(am__mb_applet_battery_SOURCES_DIST) \ $(mb_applet_clock_SOURCES) $(mb_applet_launcher_SOURCES) \ $(mb_applet_menu_launcher_SOURCES) \ $(mb_applet_system_monitor_SOURCES) \ $(mb_applet_wireless_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLIBS = @INTLIBS@ LDFLAGS = @LDFLAGS@ LIBMB_CFLAGS = @LIBMB_CFLAGS@ LIBMB_LIBS = @LIBMB_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MOFILES = @MOFILES@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN_CFLAGS = @SN_CFLAGS@ SN_LIBS = @SN_LIBS@ STRIP = @STRIP@ VERSION = @VERSION@ WANT_ACPI_FALSE = @WANT_ACPI_FALSE@ WANT_ACPI_TRUE = @WANT_ACPI_TRUE@ WANT_APM_FALSE = @WANT_APM_FALSE@ WANT_APM_TRUE = @WANT_APM_TRUE@ WANT_PNGS_FALSE = @WANT_PNGS_FALSE@ WANT_PNGS_TRUE = @WANT_PNGS_TRUE@ WANT_SMALL_ICONS_FALSE = @WANT_SMALL_ICONS_FALSE@ WANT_SMALL_ICONS_TRUE = @WANT_SMALL_ICONS_TRUE@ WANT_WIFI_FALSE = @WANT_WIFI_FALSE@ WANT_WIFI_TRUE = @WANT_WIFI_TRUE@ WIRELESS_LIBS = @WIRELESS_LIBS@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = dotdesktop icons small-icons EXTRA_DIST = mb-applet-battery.c mb-applet-xterm-wrapper.sh PREFIXDIR = $(prefix) PKGDATADIR = $(datadir)/matchbox DATADIR = $(datadir) INCLUDES = -DDATADIR=\"$(DATADIR)\" -DPKGDATADIR=\"$(PKGDATADIR)\" -DPREFIX=\"$(PREFIXDIR)\" $(LIBMB_CFLAGS) $(SN_CFLAGS) @WANT_ACPI_TRUE@mb_applet_battery_SOURCES = mb-applet-battery.c @WANT_APM_TRUE@mb_applet_battery_SOURCES = mb-applet-battery.c @WANT_ACPI_TRUE@mb_applet_battery_LDADD = $(LIBMB_LIBS) $(SN_LIBS) @WANT_APM_TRUE@mb_applet_battery_LDADD = $(LIBMB_LIBS) $(SN_LIBS) -lapm LDADD = $(LIBMB_LIBS) $(SN_LIBS) mb_applet_clock_SOURCES = mb-applet-clock.c mb_applet_menu_launcher_SOURCES = mb-applet-menu-launcher.c mb_applet_wireless_SOURCES = mb-applet-wireless.c mb_applet_wireless_LDADD = $(LIBMB_LIBS) $(SN_LIBS) $(WIRELESS_LIBS) mb_applet_launcher_SOURCES = mb-applet-launcher.c mb_applet_system_monitor_SOURCES = mb-applet-system-monitor.c bin_SCRIPTS = mb-applet-xterm-wrapper.sh all: all-recursive .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu applets/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu applets/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) mb-applet-battery$(EXEEXT): $(mb_applet_battery_OBJECTS) $(mb_applet_battery_DEPENDENCIES) @rm -f mb-applet-battery$(EXEEXT) $(LINK) $(mb_applet_battery_LDFLAGS) $(mb_applet_battery_OBJECTS) $(mb_applet_battery_LDADD) $(LIBS) mb-applet-clock$(EXEEXT): $(mb_applet_clock_OBJECTS) $(mb_applet_clock_DEPENDENCIES) @rm -f mb-applet-clock$(EXEEXT) $(LINK) $(mb_applet_clock_LDFLAGS) $(mb_applet_clock_OBJECTS) $(mb_applet_clock_LDADD) $(LIBS) mb-applet-launcher$(EXEEXT): $(mb_applet_launcher_OBJECTS) $(mb_applet_launcher_DEPENDENCIES) @rm -f mb-applet-launcher$(EXEEXT) $(LINK) $(mb_applet_launcher_LDFLAGS) $(mb_applet_launcher_OBJECTS) $(mb_applet_launcher_LDADD) $(LIBS) mb-applet-menu-launcher$(EXEEXT): $(mb_applet_menu_launcher_OBJECTS) $(mb_applet_menu_launcher_DEPENDENCIES) @rm -f mb-applet-menu-launcher$(EXEEXT) $(LINK) $(mb_applet_menu_launcher_LDFLAGS) $(mb_applet_menu_launcher_OBJECTS) $(mb_applet_menu_launcher_LDADD) $(LIBS) mb-applet-system-monitor$(EXEEXT): $(mb_applet_system_monitor_OBJECTS) $(mb_applet_system_monitor_DEPENDENCIES) @rm -f mb-applet-system-monitor$(EXEEXT) $(LINK) $(mb_applet_system_monitor_LDFLAGS) $(mb_applet_system_monitor_OBJECTS) $(mb_applet_system_monitor_LDADD) $(LIBS) mb-applet-wireless$(EXEEXT): $(mb_applet_wireless_OBJECTS) $(mb_applet_wireless_DEPENDENCIES) @rm -f mb-applet-wireless$(EXEEXT) $(LINK) $(mb_applet_wireless_LDFLAGS) $(mb_applet_wireless_OBJECTS) $(mb_applet_wireless_LDADD) $(LIBS) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mb-applet-battery.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mb-applet-clock.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mb-applet-launcher.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mb-applet-menu-launcher.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mb-applet-system-monitor.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mb-applet-wireless.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(PROGRAMS) $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-binPROGRAMS install-binSCRIPTS install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-binPROGRAMS clean-generic clean-recursive ctags \ ctags-recursive distclean distclean-compile distclean-generic \ distclean-recursive distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-binSCRIPTS install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: matchbox-panel-0.9.3/applets/mb-applet-battery.c0000644000175000017500000003545610372217314016530 00000000000000/* miniapm - A tiny battery monitor Copyright 2002 Matthew Allum 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. */ #include #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef ENABLE_NLS # include # define _(text) gettext(text) #else # define _(text) (text) #endif #ifdef USE_LIBSN #define SN_API_NOT_YET_FROZEN 1 #include #endif #ifdef HAVE_APM_H /* Linux */ #include #endif #ifdef HAVE_APMVAR_H /* *BSD */ #include #include #include #include #define APMDEV "/dev/apm" enum apm_state { NORMAL, SUSPENDING, STANDING_BY }; struct apm_reply { int vno; enum apm_state newstate; struct apm_power_info batterystate; }; #endif #define TIME_LEFT 0 #define PERCENTAGE 1 #define AC_POWER 2 #define WIN_WIDTH 8 #define WIN_HEIGHT 14 #define CLOCK_DISP 1 #define BATT_DISP 0 #ifndef AC_LINE_STATUS_ON #define AC_LINE_STATUS_ON 1 #endif #ifdef MB_HAVE_PNG #define MINIAPM_IMG "miniapm.png" #define MINIAPM_PWR_IMG "miniapm-power.png" #else #define MINIAPM_IMG "miniapm.xpm" #define MINIAPM_PWR_IMG "miniapm-power.xpm" #endif #define CONTEXT_APP "/usr/bin/gpe-info" #define CONTEXT_APP_ARGS "battery" #define CONTEXT_APP_WANT_SN 1 #define CHECK_TIME_SLICE 2 /* 2 seconds between battery checks */ static int apm_vals[3]; static MBPixbuf *pb; static MBPixbufImage *img_icon = NULL, *img_icon_scaled = NULL, *img_icon_pwr = NULL, *img_icon_pwr_scaled = NULL; static int time_left_alerts[] = { 0, 2, 5, 10, 20 }; /* times to alert on */ static int time_left_idx = 4; static Bool ac_power = False; static char* ThemeName = NULL; static int last_percentage, last_ac; #ifdef USE_LIBSN static SnDisplay *sn_dpy; static void sn_activate(char *name, char *exec_str) { SnLauncherContext *context; pid_t child_pid = 0; context = sn_launcher_context_new (sn_dpy, 0); sn_launcher_context_set_name (context, name); sn_launcher_context_set_binary_name (context, exec_str); sn_launcher_context_initiate (context, "monoluanch launch", exec_str, CurrentTime); switch ((child_pid = fork ())) { case -1: fprintf (stderr, "Fork failed\n" ); break; case 0: sn_launcher_context_setup_child_process (context); mb_exec(exec_str); fprintf (stderr, "Failed to exec %s \n", exec_str); _exit (1); break; } } #endif #ifdef USE_ACPI_LINUX #define ACPI_PREFIX "/proc/acpi" #define BAT_PREFIX "battery/BAT0" #define AC_PREFIX "ac_adapter/AC0" /* ACPI sometimes reports incorrect values, especially * shortly after unplugging the AC power. Tweak this for * your hardware. * See /proc/acpi/battery/BAT0/state:"present rate" for * "normal" values on your system. */ #define ACPI_RATE_MIN 300 #define ACPI_RATE_MAX 5000 struct avg_consumption { unsigned long avg_values[100]; int avg_index; int avg_records; int countdown; }; static struct avg_consumption a; static int read_apm(int *values) { enum ac_state { AC_UNKNOWN = -1, AC_OFFLINE = 0, AC_ONLINE = 1 }; enum bat_state { BAT_UNKNOWN = -1, BAT_CHARGING = 1, BAT_DISCHARGING = 2 }; struct entry { char *key; char *value; char *unit; }; struct acpi_status { enum ac_state ac_state; enum bat_state bat_state; unsigned long design_capacity; unsigned long remaining_capacity; unsigned long present_rate; }; static int line_parse(char *line, struct entry *e) { char *ptr; ptr = strchr(line, ':'); if (!ptr) return -1; e->key = line; *ptr = 0; while (*++ptr && *ptr == ' '); e->value = ptr; while (*++ptr && *ptr != '\n' && *ptr != ' '); *ptr = 0; if (*++ptr) { e->unit = ptr; while (*++ptr && *ptr != '\n'); *ptr = 0; } else e->unit = 0; return 0; } FILE *f; char line[1024]; struct entry e; struct acpi_status s; memset (&s, 0, sizeof(s)); f = fopen(ACPI_PREFIX "/" AC_PREFIX "/state", "r"); if (f) { while (fgets(line, sizeof(line), f)) { if (line_parse(line, &e) < 0) continue; if (strcmp(e.key, "state") == 0) { if(strcmp(e.value, "on-line") == 0) s.ac_state = AC_ONLINE; else if (strcmp(e.value, "off-line") == 0) s.ac_state = AC_OFFLINE; else s.ac_state = AC_UNKNOWN; } } fclose(f); } f = fopen(ACPI_PREFIX "/" BAT_PREFIX "/info", "r"); if (f) { while (fgets(line, sizeof(line), f)) { if (line_parse(line, &e) < 0) continue; if (strcmp(e.key, "design capacity") == 0) sscanf(e.value, "%lu", &s.design_capacity); } fclose(f); } f = fopen(ACPI_PREFIX "/" BAT_PREFIX "/state", "r"); if (f) { while (fgets(line, sizeof(line), f)) { if (line_parse(line, &e) < 0) continue; if (strcmp(e.key, "remaining capacity") == 0) sscanf(e.value, "%lu", &s.remaining_capacity); else if (strcmp(e.key, "charging state") == 0) { if (strcmp(e.value, "charging") == 0) s.bat_state = BAT_CHARGING; else if (strcmp(e.value, "discharging") == 0) s.bat_state = BAT_DISCHARGING; else s.bat_state = BAT_UNKNOWN; } else if (strcmp(e.key, "present rate") == 0) sscanf(e.value, "%lu", &s.present_rate); } fclose(f); } /* Don't estimate TIME_LEFT on current power consumption. Instead * compute some average and ignore too low/high values. */ values[TIME_LEFT] = 0; if (s.bat_state != BAT_DISCHARGING && !a.countdown) { memset(&a, 0, sizeof(a)); a.countdown = 10; } else if (s.bat_state == BAT_DISCHARGING && s.present_rate) { int num_values = sizeof(a.avg_values)/sizeof(a.avg_values[0]); unsigned long sum = 0; int i; if (a.countdown) { a.countdown--; goto bail_out; } if (s.present_rate < ACPI_RATE_MIN || s.present_rate > ACPI_RATE_MAX) { goto bail_out; } a.avg_values[a.avg_index++] = s.present_rate; a.avg_index %= num_values; if (a.avg_records < num_values) a.avg_records++; if (a.avg_records > 10) { for (i=0; iminutes_left; values[PERCENTAGE] = api->battery_life; values[AC_POWER] = api->ac_state; return 1; } #endif #endif /* Use ACPI */ void fork_exec(char *cmd) { switch (fork()) { case 0: setpgid(0, 0); /* Stop us killing child */ mb_exec(cmd); fprintf(stderr, "minitime: Failed to Launch '%s'", cmd); exit(1); case -1: fprintf(stderr, "minitime: Failed to Launch '%s'", cmd); break; } } void paint_callback (MBTrayApp *app, Drawable drw ) { int power_pixels = 0; unsigned char r = 0, g = 0, b = 0; int x, y; int bar_width, bar_height, bar_x, bar_y; MBPixbufImage *img_backing = NULL; while (!read_apm(apm_vals)) usleep(50000L); if (last_percentage == apm_vals[PERCENTAGE] && last_ac == apm_vals[AC_POWER]) return; img_backing = mb_tray_app_get_background (app, pb); /* we assume width = height */ bar_width = (mb_pixbuf_img_get_width(img_backing)/16) * 10; bar_height = (mb_pixbuf_img_get_width(img_backing)/16) * 2; bar_y = (mb_pixbuf_img_get_width(img_backing)/4)*3; bar_x = (mb_pixbuf_img_get_width(img_backing)/4) - (mb_pixbuf_img_get_width(img_backing)/16); /* printf("bar: %ix%i +%i+%i (%i)\n", bar_width, bar_height, bar_x, bar_y, mb_pixbuf_img_get_width(img_backing) ); */ if (apm_vals[PERCENTAGE] <= 0 || apm_vals[PERCENTAGE] > 100) { r = 0x66; g = 0xff; b = 0x33; ac_power = True; apm_vals[PERCENTAGE] = -1; } else if (apm_vals[PERCENTAGE] <= 25) { r = 0xff; g = 0; b = 0; } else if (apm_vals[PERCENTAGE] <= 50) { r = 0xff; g = 0x99; b = 0x33; } else if (apm_vals[PERCENTAGE] <= 100) { r = 0x66; g = 0xff; b = 0x33; } if (apm_vals[AC_POWER] == AC_LINE_STATUS_ON) ac_power = True; else ac_power = False; if (ac_power) mb_pixbuf_img_composite(pb, img_backing, img_icon_pwr_scaled, 0, 0); else mb_pixbuf_img_composite(pb, img_backing, img_icon_scaled, 0, 0); /* Clear out bar first */ for ( y = bar_y; y < bar_y + bar_height; y++) for ( x = bar_x; x < bar_x + bar_width; x++) if (ac_power) { mb_pixbuf_img_plot_pixel(pb, img_backing, x, y, 0xff, 0xff, 0); } else { mb_pixbuf_img_plot_pixel(pb, img_backing, x, y, 0, 0, 0); } if (apm_vals[PERCENTAGE] > 0) { power_pixels = (apm_vals[PERCENTAGE] * ( bar_width) )/ 100 ; for ( y = bar_y; y < bar_y + bar_height; y++) for ( x = bar_x; x < bar_x + power_pixels + 1; x++) mb_pixbuf_img_plot_pixel(pb, img_backing, x, y, r, g, b); } /*dont do this if time values arent supported by this bios*/ if (apm_vals[TIME_LEFT] > 0 ) { /* Bubble alerts */ if ((time_left_idx > 0) && !ac_power && apm_vals[PERCENTAGE] > 0 /* && apm_vals[TIME_LEFT] > 0 XXX Less strict */ && (apm_vals[TIME_LEFT] < time_left_alerts[time_left_idx])) { char tray_msg[256]; sprintf(tray_msg, _("Battery power very low !\n\nTime Left: %.2i minutes"), time_left_alerts[time_left_idx]); mb_tray_app_tray_send_message(app, tray_msg, 0); time_left_idx--; } else if (time_left_idx < 4 && apm_vals[TIME_LEFT] > time_left_alerts[time_left_idx+1]) { time_left_idx++; } } mb_pixbuf_img_render_to_drawable(pb, img_backing, drw, 0, 0); mb_pixbuf_img_free( pb, img_backing ); last_percentage = apm_vals[PERCENTAGE]; last_ac = apm_vals[AC_POWER]; } void resize_callback (MBTrayApp *app, int w, int h ) { if (img_icon_scaled) mb_pixbuf_img_free(pb, img_icon_scaled); if (img_icon_pwr_scaled) mb_pixbuf_img_free(pb, img_icon_pwr_scaled); last_percentage = -1; last_ac = -1; img_icon_scaled = mb_pixbuf_img_scale(pb, img_icon, w, h); img_icon_pwr_scaled = mb_pixbuf_img_scale(pb, img_icon_pwr, w, h); } void load_icon(void) { char *icon_path = NULL; printf("%s() called", __func__); last_percentage = -1; last_ac = -1; if (img_icon) mb_pixbuf_img_free(pb, img_icon); if (img_icon_pwr) mb_pixbuf_img_free(pb, img_icon_pwr); icon_path = mb_dot_desktop_icon_get_full_path (ThemeName, 32, MINIAPM_IMG ); if (icon_path == NULL || !(img_icon = mb_pixbuf_img_new_from_file(pb, icon_path))) { fprintf(stderr, "mb-applet-battery: failed to load icon %s\n", MINIAPM_IMG); exit(1); } free(icon_path); icon_path = mb_dot_desktop_icon_get_full_path (ThemeName, 32, MINIAPM_PWR_IMG ); if (icon_path == NULL || !(img_icon_pwr = mb_pixbuf_img_new_from_file(pb, icon_path))) { fprintf(stderr, "mb-applet-battery: failed to load icon %s\n", MINIAPM_PWR_IMG); exit(1); } free(icon_path); return; } void theme_callback (MBTrayApp *app, char *theme_name) { if (!theme_name) return; if (ThemeName) free(ThemeName); ThemeName = strdup(theme_name); load_icon(); resize_callback (app, mb_tray_app_width(app), mb_tray_app_width(app) ); } void button_callback (MBTrayApp *app, int x, int y, Bool is_released ) { char tray_msg[256]; if (!is_released) return; if (apm_vals[AC_POWER] == AC_LINE_STATUS_ON) { if (apm_vals[PERCENTAGE] > 0 && apm_vals[PERCENTAGE] <= 100 ) sprintf(tray_msg, _("AC Connected\nCharging: %.2i %%\n") , apm_vals[PERCENTAGE]); else sprintf(tray_msg, _("AC Connected\nFully charged.\n")); } else { if (apm_vals[PERCENTAGE] > 0 && apm_vals[PERCENTAGE] <= 100 ) { if (apm_vals[TIME_LEFT] > 0 ) { sprintf(tray_msg, _("Battery Power\nJuice %.2i %%\nTime left: %.2i h. %.2i min.\n"), apm_vals[PERCENTAGE], (apm_vals[TIME_LEFT]/60), (apm_vals[TIME_LEFT]%60)); } else { sprintf(tray_msg, _("Battery Power\nJuice %.2i %%\n"), apm_vals[PERCENTAGE]); } } else sprintf(tray_msg, _("Battery Power\n Device read error.\n")); } mb_tray_app_tray_send_message(app, tray_msg, 5000); } void timeout_callback ( MBTrayApp *app ) { mb_tray_app_repaint (app); } void context_callback ( MBTrayApp *app ) { #ifdef USE_LIBSN if (CONTEXT_APP_WANT_SN) { sn_activate(CONTEXT_APP, CONTEXT_APP " " CONTEXT_APP_ARGS); return; } #endif fork_exec(CONTEXT_APP " " CONTEXT_APP_ARGS); } static Bool file_exists(char *filename) { struct stat st; /* XXX Should probably check if exe too */ if (stat(filename, &st)) return False; return True; } int main( int argc, char *argv[]) { MBTrayApp *app = NULL; struct timeval tv; #if ENABLE_NLS setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, DATADIR "/locale"); bind_textdomain_codeset (PACKAGE, "UTF-8"); textdomain (PACKAGE); #endif app = mb_tray_app_new ( _("Battery Monitor"), resize_callback, paint_callback, &argc, &argv ); pb = mb_pixbuf_new(mb_tray_app_xdisplay(app), mb_tray_app_xscreen(app)); memset(&tv,0,sizeof(struct timeval)); tv.tv_sec = CHECK_TIME_SLICE; mb_tray_app_set_timeout_callback (app, timeout_callback, &tv); mb_tray_app_set_button_callback (app, button_callback ); mb_tray_app_set_theme_change_callback (app, theme_callback ); load_icon(); mb_tray_app_set_icon(app, pb, img_icon); if (file_exists(CONTEXT_APP)) { mb_tray_app_set_context_info (app, _("More info")); mb_tray_app_set_context_callback (app, context_callback); } #ifdef USE_LIBSN sn_dpy = sn_display_new (mb_tray_app_xdisplay(app), NULL, NULL); #endif mb_tray_app_main (app); return 1; } matchbox-panel-0.9.3/applets/mb-applet-clock.c0000644000175000017500000002236410320055002016126 00000000000000/* Minitime - A mini dockable clock. Copyright (c) 2003 Matthew Allum This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include #include #include #include #include #include #include #ifdef ENABLE_NLS # include # define _(text) gettext(text) #else # define _(text) (text) #endif #ifdef USE_LIBSN #define SN_API_NOT_YET_FROZEN 1 #include #endif #define CONTEXT_APP "/usr/bin/gpe-conf" #define CONTEXT_APP_ARGS "time" #define CONTEXT_APP_WANT_SN 1 MBFont *Fnt = NULL; MBDrawable *Drw = NULL; MBColor *Col = NULL; MBPixbuf *Pixbuf; void usage() { exit(1); } #ifdef USE_LIBSN static SnDisplay *sn_dpy; static void sn_activate(char *name, char *exec_str) { SnLauncherContext *context; pid_t child_pid = 0; context = sn_launcher_context_new (sn_dpy, 0); sn_launcher_context_set_name (context, name); sn_launcher_context_set_binary_name (context, exec_str); sn_launcher_context_initiate (context, "monoluanch launch", exec_str, CurrentTime); switch ((child_pid = fork ())) { case -1: fprintf (stderr, "Fork failed\n" ); break; case 0: sn_launcher_context_setup_child_process (context); mb_exec(exec_str); fprintf (stderr, "Failed to exec %s \n", exec_str); _exit (1); break; } } #endif void fork_exec(char *cmd) { switch (fork()) { case 0: setpgid(0, 0); /* Stop us killing child */ mb_exec(cmd); fprintf(stderr, "minitime: Failed to Launch '%s'", cmd); exit(1); case -1: fprintf(stderr, "minitime: Failed to Launch '%s'", cmd); break; } } static void set_fg_col(MBTrayApp *app, char* spec) { mb_col_set (Col, spec); } void paint_callback ( MBTrayApp *app, Drawable pxm ) { struct timeval tv; struct timezone tz; struct tm *localTime = NULL; time_t actualTime; char timestr[6] = { 0 }; MBPixbufImage *img_bg = NULL; MBDrawable *drw; /* Figure out the actual time */ gettimeofday(&tv, &tz); actualTime = tv.tv_sec; localTime = localtime(&actualTime); snprintf(timestr, sizeof(timestr), _("%.2d:%.2d"), localTime->tm_hour, localTime->tm_min); img_bg = mb_tray_app_get_background (app, Pixbuf); drw = mb_drawable_new_from_pixmap(Pixbuf, pxm); if (mb_tray_app_tray_is_vertical(app)) { /* - create a new HxW pixmap - rotate background img +90 onto it - render the text to it - call drawable to pixbuf - rotate the new pixbuf -90 */ MBDrawable *drw_rot; MBPixbufImage *img_bg_rot, *img_txt, *img_txt_rot; int font_y = ((mb_tray_app_width(app) - (mb_font_get_height(Fnt)))/2); img_bg_rot = mb_pixbuf_img_transform (Pixbuf, img_bg, MBPIXBUF_TRANS_ROTATE_90); drw_rot = mb_drawable_new(Pixbuf, mb_pixbuf_img_get_width(img_bg_rot), mb_pixbuf_img_get_height(img_bg_rot)); mb_pixbuf_img_render_to_drawable (Pixbuf, img_bg_rot, mb_drawable_pixmap(drw_rot), 0, 0); mb_font_render_simple (Fnt, drw_rot, 1, font_y, mb_pixbuf_img_get_width(img_bg_rot), (unsigned char *) timestr, MB_ENCODING_UTF8, 0); img_txt = mb_pixbuf_img_new_from_drawable (Pixbuf, mb_drawable_pixmap(drw_rot), None, 0, 0, mb_pixbuf_img_get_width(img_bg_rot), mb_pixbuf_img_get_height(img_bg_rot)); img_txt_rot = mb_pixbuf_img_transform (Pixbuf, img_txt, MBPIXBUF_TRANS_ROTATE_90); mb_pixbuf_img_render_to_drawable (Pixbuf, img_txt_rot, mb_drawable_pixmap(drw), 0, 0); mb_pixbuf_img_free(Pixbuf, img_bg_rot); mb_pixbuf_img_free(Pixbuf, img_txt); mb_pixbuf_img_free(Pixbuf, img_txt_rot); mb_drawable_unref(drw_rot); } else { int font_y = ((mb_tray_app_height(app) - (mb_font_get_height(Fnt)))/2); mb_pixbuf_img_render_to_drawable (Pixbuf, img_bg, mb_drawable_pixmap(drw), 0, 0); mb_font_render_simple (Fnt, drw, 1, font_y, mb_tray_app_width(app), (unsigned char *) timestr, MB_ENCODING_UTF8, 0); } mb_pixbuf_img_free(Pixbuf, img_bg); mb_drawable_unref(drw); } void button_callback (MBTrayApp *app, int x, int y, Bool is_released ) { if (is_released) { time_t now; struct tm tm; char buf[256]; now = time (0); localtime_r(&now, &tm); strftime (buf, sizeof (buf), _("%a %b %e %k:%M:%S %Y"), &tm); mb_tray_app_tray_send_message(app, buf, 6000); } } void resize_callback ( MBTrayApp *app, int w, int h ) { int req_size = 0; mb_font_set_size_to_pixels (Fnt, (mb_tray_app_tray_is_vertical(app) ? w : h), NULL); req_size = mb_font_get_txt_width (Fnt, (unsigned char *) "99999", 5, MB_ENCODING_UTF8); if (mb_tray_app_tray_is_vertical(app)) { mb_tray_app_request_size (app, w, req_size+2); } else { mb_tray_app_request_size (app, req_size+2, h); } } void theme_change_callback (MBTrayApp *app, char *theme_name ) { char *theme_path = mb_util_get_theme_full_path(theme_name); if (theme_path) { MBDotDesktop *theme = NULL; char *theme_desktop_path = alloca(strlen(theme_path)+15); sprintf(theme_desktop_path, "%s/theme.desktop", theme_path); theme = mb_dotdesktop_new_from_file(theme_desktop_path); if (theme) { /* Get the PanelFgColor key value if exists */ if (mb_dotdesktop_get(theme, "PanelFgColor")) { /* Set out font foreground color and repaint */ set_fg_col(app, mb_dotdesktop_get(theme, "PanelFgColor")); } mb_dotdesktop_free(theme); } free(theme_path); } } void timeout_callback ( MBTrayApp *app ) { struct timeval tv; mb_tray_app_repaint (app); /* Make sure we get called again in 60 secs - we should get called * exactly on the minute initially. */ tv.tv_usec = 0; tv.tv_sec = 60; mb_tray_app_set_timeout_callback (app, timeout_callback, &tv); } void context_callback ( MBTrayApp *app ) { #ifdef USE_LIBSN if (CONTEXT_APP_WANT_SN) { sn_activate(CONTEXT_APP, CONTEXT_APP " " CONTEXT_APP_ARGS); return; } #endif fork_exec(CONTEXT_APP " " CONTEXT_APP_ARGS); } static Bool file_exists(char *filename) { struct stat st; /* XXX Should probably check if exe too */ if (stat(filename, &st)) return False; return True; } int main(int argc, char **argv) { MBTrayApp *app = NULL; MBPixbufImage *img_icon = NULL; struct timeval tv; char *icon_path; struct timezone tz; struct tm *localTime = NULL; time_t actualTime; #if ENABLE_NLS setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, DATADIR "/locale"); bind_textdomain_codeset (PACKAGE, "UTF-8"); textdomain (PACKAGE); #endif app = mb_tray_app_new ( _("Clock"), resize_callback, paint_callback, &argc, &argv ); if (app == NULL) usage(); Pixbuf = mb_pixbuf_new(mb_tray_app_xdisplay(app), mb_tray_app_xscreen(app)); Col = mb_col_new_from_spec(Pixbuf, "#000000"); Fnt = mb_font_new_from_string(mb_tray_app_xdisplay(app), "Sans bold"); mb_font_set_color (Fnt, Col); memset(&tv,0,sizeof(struct timeval)); /* Figure out number of seconds till next minute */ gettimeofday(&tv, &tz); actualTime = tv.tv_sec; localTime = localtime(&actualTime); tv.tv_usec = 0; tv.tv_sec = 60 - localTime->tm_sec; /* This we then get reset when first called to 60 */ mb_tray_app_set_timeout_callback (app, timeout_callback, &tv); mb_tray_app_set_button_callback (app, button_callback ); mb_tray_app_set_theme_change_callback (app, theme_change_callback ); if (file_exists(CONTEXT_APP)) { mb_tray_app_set_context_info (app, _("Set Time")); mb_tray_app_set_context_callback (app, context_callback); } if ((icon_path = mb_dot_desktop_icon_get_full_path (NULL, 16, "minitime.png")) != NULL) { if ((img_icon = mb_pixbuf_img_new_from_file(Pixbuf, icon_path)) != NULL) { mb_tray_app_set_icon(app, Pixbuf, img_icon); mb_pixbuf_img_free(Pixbuf, img_icon); } free(icon_path); } #ifdef USE_LIBSN sn_dpy = sn_display_new (mb_tray_app_xdisplay(app), NULL, NULL); #endif mb_tray_app_main (app); return 1; } matchbox-panel-0.9.3/applets/mb-applet-launcher.c0000644000175000017500000003555510320055002016642 00000000000000/* * mb-applet-launcher - A docked applicatication launcher * * Originally based on xsingleinstance by Merle F. McClelland for CompanionLink * * * Copyright 2002 Matthew Allum * * 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. * **/ #include #include #include #include #include #include #include #include #ifdef USE_LIBSN #define SN_API_NOT_YET_FROZEN 1 #include #endif #include #define BUTTON_UP 0 #define BUTTON_DOWN 1 #define LAUNCH_TIMEOUT 15 /* 15 seconds to start */ enum { ACTION_KILL, ACTION_TOGGLE_WIN_STATE, ACTION_NONE, ACTION_MESSAGE_DOCK, #ifdef USE_LIBSN ACTION_SI, /* Single instance */ ACTION_SN, /* Startup notification */ #endif }; static Display *dpy; static int screen; static MBPixbuf *pb; static MBPixbufImage *img_icon = NULL, *img_icon_active = NULL; static Atom atom_wm_state, atom_wm_delete, atom_wm_protos; static MBTrayApp *TrayApp; static Bool ButtonIsDown; static Bool DoAnimation = True; #ifdef USE_LIBSN SnDisplay *sn_dpy; static void sn_activate(char *name, char *exec_str); static void si_activate(char *name, char *exec_str); static void si_activate(char *name, char *exec_str) { Window win_found; if (mb_single_instance_is_starting(dpy, exec_str)) return; win_found = mb_single_instance_get_window(dpy, exec_str); if (win_found != None) { mb_util_window_activate(dpy, win_found); } else sn_activate(name, exec_str); } static void sn_activate(char *name, char *exec_str) { SnLauncherContext *context; pid_t child_pid = 0; context = sn_launcher_context_new (sn_dpy, screen); sn_launcher_context_set_name (context, name); sn_launcher_context_set_binary_name (context, exec_str); sn_launcher_context_initiate (context, "monoluanch launch", exec_str, CurrentTime); switch ((child_pid = fork ())) { case -1: fprintf (stderr, "Fork failed\n" ); break; case 0: sn_launcher_context_setup_child_process (context); mb_exec(exec_str); fprintf (stderr, "Failed to exec %s \n", exec_str); _exit (1); break; } } #endif static char* arr_to_str(char **args, int argc) { int i = 0, n_bytes = 0; char *cmd = NULL; while(i < argc) { n_bytes += (strlen(args[i]) + 2); i++; } if (n_bytes == 0) return NULL; cmd = malloc(sizeof(char)*n_bytes); i = 0; *cmd = '\0'; while(i < argc) { strcat(cmd, args[i]); strcat(cmd, " "); i++; } return cmd; } static int win_exists(Window win, Window top) { Window *children, dummy; unsigned int nchildren; int i, w = 0; if (top == win) return 1; if (!XQueryTree(dpy, top, &dummy, &dummy, &children, &nchildren)) return 0; for (i=0; i MAX_MESSAGE_BYTES) break; strcat(msg, buf); } mb_tray_app_tray_send_message(TrayApp, msg, 5000); pclose(ptr); } else { fprintf(stderr, "failed to popen\n"); } } int get_win_state(Window win) { Atom real_type; int real_format; unsigned long items_read, items_left; long *data, state = WithdrawnState; if (XGetWindowProperty(dpy, win, atom_wm_state, 0L, 2L, False, atom_wm_state, &real_type, &real_format, &items_read, &items_left, (unsigned char **) &data) == Success && items_read) { state = *data; XFree(data); } return state; } void kill_launched_win(Window win) { int i, n, found = 0; Atom *protocols; XEvent e; if (XGetWMProtocols(dpy, win, &protocols, &n)) { for (i=0; i LAUNCH_TIMEOUT) return None; } } void usage(char *program) { fprintf(stderr, "Usage %s [Options..] <%s> \n" "Where options are;\n" "\t-display, -d X11 Display to connect to.\n" "\t--title, -n Set Panels Title.\n" "\t--no-animation,-na Disable Animations, if relevant.\n" "\t--start, -s Starts app instance immediatly\n" "The defualt action is to (un)iconize selected app. Alternate actions;\n" "\t--kill, -k Destroy app\n" "\t--respawn, -l Respawn multiple instances\n" "\t--message, -m Pipe apps stdout to the panel as a message.\n" "Alternatively just a valid .desktop file can be given;\n" "\t%s --desktop <.desktop file>\n\n" "However with this option the -k,-l and -m will have no effect.\n" "The prence of a SingleInstance=True key/pair in the .desktop file\n" "will achieve similar functionality\n" , program, #ifdef MB_HAVE_PNG "png|xpm", #else "xpm", #endif program ); exit(1); } void paint_callback ( MBTrayApp *app, Drawable drw ) { MBPixbufImage *img_bg = NULL, *img_button = NULL; img_button = (( ButtonIsDown ) ? img_icon_active : img_icon); img_bg = mb_tray_app_get_background (app, pb); mb_pixbuf_img_copy_composite (pb, img_bg, img_button, 0, 0, mb_pixbuf_img_get_width(img_icon), mb_pixbuf_img_get_height(img_icon), 0, 0); mb_pixbuf_img_render_to_drawable (pb, img_bg, drw, 0, 0); mb_pixbuf_img_free( pb, img_bg ); } void xevent_callback (MBTrayApp *app, XEvent *ev) { ; } void resize_callback ( MBTrayApp *app, int w, int h ) { if ((w) != mb_pixbuf_img_get_width(img_icon) || (h) != mb_pixbuf_img_get_width(img_icon) ) { MBPixbufImage *tmp_img = NULL; tmp_img = mb_pixbuf_img_scale(pb, img_icon, w, h); mb_pixbuf_img_free(pb, img_icon); img_icon = tmp_img; tmp_img = mb_pixbuf_img_scale(pb, img_icon_active, w, h); mb_pixbuf_img_free(pb, img_icon_active); img_icon_active = tmp_img; } } int action = ACTION_TOGGLE_WIN_STATE; Window win_launched = None; char *cmd_str = NULL; char* win_panel_title = NULL; void button_callback (MBTrayApp *app, int x, int y, Bool is_released ) { int abs_x, abs_y; Bool do_anim = False; ButtonIsDown = True; if (is_released) { ButtonIsDown = False; mb_tray_app_repaint (app); switch (action) { case ACTION_NONE: fork_exec(cmd_str); do_anim = DoAnimation; break; case ACTION_KILL: if (win_launched && win_exists(win_launched, mb_tray_app_xrootwin(app))) { kill_launched_win(win_launched); win_launched = None; } else { fork_exec(cmd_str); win_launched = get_launch_window(); } break; case ACTION_TOGGLE_WIN_STATE: if (win_launched && win_exists(win_launched, mb_tray_app_xrootwin(app))) { XWindowAttributes win_attrib; XGetWindowAttributes(dpy, win_launched, &win_attrib); if (win_attrib.map_state == IsUnmapped || get_win_state(win_launched) != NormalState) XMapRaised(dpy, win_launched); else XIconifyWindow(dpy, win_launched, screen); } else { fork_exec(cmd_str); win_launched = get_launch_window(); } break; case ACTION_MESSAGE_DOCK: send_panel_message(cmd_str); break; #ifdef USE_LIBSN case ACTION_SN: do_anim = DoAnimation; sn_activate(win_panel_title, cmd_str); break; case ACTION_SI: do_anim = DoAnimation; si_activate(win_panel_title, cmd_str); break; #endif } if (do_anim) { mb_tray_app_get_absolute_coords (app, &abs_x, &abs_y); mb_util_animate_startup(mb_tray_app_xdisplay (app), abs_x, abs_y, mb_tray_app_width (app), mb_tray_app_height (app)); } } else mb_tray_app_repaint (app); } int main(int argc, char **argv) { int i, x, y; /* Config Parameters */ int switch_count = 1; char *img_file = NULL; char *dotdesktop_file = NULL; MBDotDesktop *dd = NULL; Bool start_app = False; char png_path[256] = { 0 }; TrayApp = mb_tray_app_new ( "mb-applet-launcher", resize_callback, paint_callback, &argc, &argv ); for (i = 1; i < argc; i++) { if (argv[i][0] == '-') { if (!strcmp ("--title", argv[i]) || !strcmp ("-n", argv[i])) { if (++i>=argc) usage (argv[0]); win_panel_title = argv[i]; switch_count += 2; continue; } if (!strcmp ("--kill", argv[i]) || !strcmp ("-k", argv[i])) { action = ACTION_KILL; switch_count++; continue; } if (!strcmp ("--start", argv[i]) || !strcmp ("-s", argv[i])) { start_app = True; switch_count++; continue; } if (!strcmp ("--kill", argv[i]) || !strcmp ("-k", argv[i])) { action = ACTION_KILL; switch_count++; continue; } if (!strcmp ("--relaunch", argv[i]) || !strcmp ("-l", argv[i])) { action = ACTION_NONE; switch_count++; continue; } if (!strcmp ("--message", argv[i]) || !strcmp ("-m", argv[i])) { action = ACTION_MESSAGE_DOCK; switch_count++; continue; } if (!strcmp ("--no-animation", argv[i]) || !strcmp ("-na", argv[i])) { DoAnimation = False; switch_count++; continue; } if (!strcmp ("--desktop", argv[i])) { if (++i>=argc) usage (argv[0]); dotdesktop_file = argv[i]; switch_count += 2; continue; } usage(argv[0]); } else break; } if (argc-switch_count < 2 && dotdesktop_file == NULL) usage(argv[0]); dpy = mb_tray_app_xdisplay(TrayApp); screen = mb_tray_app_xscreen(TrayApp); atom_wm_state = XInternAtom(dpy, "WM_STATE", False); atom_wm_delete = XInternAtom(dpy, "WM_DELETE_WINDOW", False); atom_wm_protos = XInternAtom(dpy, "WM_PROTOCOLS", False); pb = mb_pixbuf_new(dpy, mb_tray_app_xscreen(TrayApp)); if (dotdesktop_file != NULL) { if ((dd = mb_dotdesktop_new_from_file(dotdesktop_file)) != NULL && mb_dotdesktop_get(dd, "Name") && mb_dotdesktop_get(dd, "Icon") && mb_dotdesktop_get(dd, "Exec") ) { img_file = mb_dotdesktop_get(dd, "Icon"); if (img_file[0] != '/') { snprintf(png_path, 256, "%s/pixmaps/%s", DATADIR, mb_dotdesktop_get(dd, "Icon") ); img_file = strdup(png_path); } cmd_str = mb_dotdesktop_get_exec(dd); if (!win_panel_title) win_panel_title = mb_dotdesktop_get(dd, "Name"); #ifdef USE_LIBSN if (mb_dotdesktop_get(dd, "SingleInstance") && !strcasecmp(mb_dotdesktop_get(dd, "SingleInstance"), "true")) { action = ACTION_SI; } else if (mb_dotdesktop_get(dd, "StartupNotify") && !strcasecmp(mb_dotdesktop_get(dd, "StartupNotify"), "true")) { action = ACTION_SN; } else #endif if (mb_dotdesktop_get(dd, "X-MB-NoWindow") && !strcasecmp(mb_dotdesktop_get(dd, "X-MB-NoWindow"), "true")) { DoAnimation = False; action = ACTION_NONE; } } else { fprintf(stderr,"%s: failed to parse %s\n", argv[0], dotdesktop_file); exit(1); } } else { img_file = argv[switch_count]; if (img_file[0] != '/') { /* FIXME: should really get from theme */ snprintf(png_path, 256, "%s/pixmaps/%s", DATADIR, img_file); img_file = strdup(png_path); } cmd_str = arr_to_str(&argv[switch_count+1], argc - switch_count - 1); } if (!(img_icon = mb_pixbuf_img_new_from_file(pb, img_file))) { fprintf(stderr, "%s: failed to load image %s \n", argv[0], img_file ); exit(1); } /* make active button image */ img_icon_active = mb_pixbuf_img_clone(pb, img_icon); for (x=0; x<mb_pixbuf_img_get_width(img_icon); x++) for (y=0; y<mb_pixbuf_img_get_height(img_icon); y++) { int aa; unsigned char r,g,b,a; mb_pixbuf_img_get_pixel (pb, img_icon_active, x, y, &r, &g, &b, &a); aa = (int)a; aa -= 0x80; if (aa < 0) aa = 0; mb_pixbuf_img_set_pixel_alpha(img_icon_active, x, y, aa); } #ifdef USE_LIBSN if (action == ACTION_SN || action == ACTION_SI) sn_dpy = sn_display_new (dpy, NULL, NULL); #endif mb_tray_app_set_xevent_callback (TrayApp, xevent_callback ); mb_tray_app_set_button_callback (TrayApp, button_callback ); if (win_panel_title == NULL) /* XXX UTF8 naming */ { win_panel_title = malloc( strlen(argv[1+switch_count]) + strlen(" Launcher") + 1 ); strcpy(win_panel_title, argv[1+switch_count]); strcat(win_panel_title, " Launcher"); } mb_tray_app_set_name (TrayApp, win_panel_title); XSelectInput(dpy, mb_tray_app_xrootwin(TrayApp), SubstructureNotifyMask); signal(SIGCHLD, SIG_IGN); mb_tray_app_set_icon(TrayApp, pb, img_icon); /* make sure we always end up on the left of the panel */ mb_tray_app_request_offset (TrayApp, -1); if (start_app) { switch(action) { #ifdef USE_LIBSN case ACTION_SN: sn_activate(win_panel_title, cmd_str); break; case ACTION_SI: si_activate(win_panel_title, cmd_str); break; #endif case ACTION_NONE: fork_exec(cmd_str); break; case ACTION_KILL: case ACTION_TOGGLE_WIN_STATE: fork_exec(cmd_str); win_launched = get_launch_window(); break; } } mb_tray_app_main (TrayApp); XCloseDisplay(dpy); exit(0); } ���������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/mb-applet-menu-launcher.c����������������������������������������������0000644�0001750�0001750�00000057216�10320055002�017602� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* mb-applet-menu-launcher - a small application launcher Copyright 2002 Matthew Allum 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. */ /* TODO o fix crash on menu's bigger than display. o add logout / lock buttons on root menu. - add use_gpe defines for this ! */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef USE_DNOTIFY #define _GNU_SOURCE #endif #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> #include <signal.h> #include <fcntl.h> #include <sys/wait.h> #include <libmb/mb.h> #ifdef USE_LIBSN #define SN_API_NOT_YET_FROZEN 1 #include <libsn/sn.h> #endif #ifndef MB_HAVE_PNG #include <setjmp.h> #endif typedef struct _app { MBTrayApp *tray_app; MBMenu *mbmenu; MBPixbuf *pb; MBPixbufImage *img_tray; MBPixbufImage *img_tray_scaled; MBPixbufImage *img_tray_active; MBPixbufImage *img_tray_active_scaled; Atom mbtheme_atom; Atom mbcommand_atom; char *theme_name; Bool button_is_down; #ifdef USE_LIBSN SnDisplay *sn_display; #endif } AppData; AppData *app_data; MBMenuMenu *root; Bool Update_Pending = False; jmp_buf Jbuf; MBMenuMenu *active[10]; int MenuWasActive = False; Bool WantDebianMenus = False; volatile Bool WantReload = False; static void reap_children (int signum); static void fork_exec (char *cmd); static void usage (); static int parse_menu_file (char *data); static void build_menu (void); static void catch_sigsegv (int sig); static void load_icon(void); #ifdef USE_LIBSN static void sn_exec(char* name, char* bin_name, char *desc); #endif #ifdef USE_DNOTIFY static void reload_menu(int signum, siginfo_t *siginfo, void *data); #endif #ifdef MB_HAVE_PNG #define TRAY_IMG "mbmenu.png" #define TRAY_IMG_ACTIVE "mbmenu-active.png" #else #define TRAY_IMG "mbmenu.xpm" #define TRAY_IMG_ACTIVE "mbmenu-active.xpm" #endif #define SINGLE_INSTANCE 1 #define STARTUP_NOTIFY 2 #define UP 0 #define DOWN 1 #define MENUDIR "/usr/lib/menu" #define MBMAX(x,y) ((x>y)?(x):(y)) #define NEW(OBJ) ((OBJ *)(malloc(sizeof(OBJ)))) #define IS_WHITESPACE(c) ((c) == ' ' || (c) == '\\' \ || (c) == '\t' || (c)=='\n' || (c)=='?') #ifdef DEBUG #define DBG(txt, args... ) fprintf(stderr, "DEBUG: " txt , ##args ) #else #define DBG(txt, args... ) /* nothing */ #endif static void usage() { printf("usage: mbmenu [options ....]\n" "Where options are\n" " -display <display> Display to connect to\n" "\nAlso set MB_USE_DEB_MENUS env var to enable parsing /usr/lib/menu" "\n" ); exit(1); } static void catch_sigsegv(int sig) { DBG("ouch\n"); signal(SIGSEGV, SIG_DFL); longjmp(Jbuf, 1); } static void reap_children(int signum) { pid_t pid; do { pid = waitpid(-1, NULL, WNOHANG); } while (pid > 0); } #ifdef USE_LIBSN static void sn_exec(char* name, char* bin_name, char *desc) { SnLauncherContext *context; pid_t child_pid = 0; context = sn_launcher_context_new (app_data->sn_display, mb_tray_app_xscreen(app_data->tray_app)); if (name) sn_launcher_context_set_name (context, name); if (desc) sn_launcher_context_set_description (context, desc); if (bin_name) sn_launcher_context_set_binary_name (context, bin_name); sn_launcher_context_initiate (context, "mbmenu launch", bin_name, CurrentTime); switch ((child_pid = fork ())) { case -1: fprintf (stderr, "Fork failed\n" ); break; case 0: sn_launcher_context_setup_child_process (context); mb_exec(bin_name); fprintf (stderr, "mb-applet-menu-launcher: Failed to exec %s \n", bin_name); _exit (1); break; } } #endif static void fork_exec(char *cmd) { pid_t pid; switch (pid = fork()) { case 0: mb_exec(cmd); /* execlp("/bin/sh", "sh", "-c", cmd, NULL); */ fprintf(stderr, "mb-applet-menu-launcher: exec of '%s' failed, cleaning up child\n", cmd); exit(1); case -1: fprintf(stderr, "mb-applet-menu-launcher: can't fork '%s'\n", cmd); break; } } #ifdef USE_LIBSN static void menu_clicked_sn_cb(MBMenuItem *item) { sn_exec(item->title, item->info, item->info); } static void menu_clicked_si_cb(MBMenuItem *item) { Window win_found; win_found = mb_single_instance_get_window(mb_tray_app_xdisplay(app_data->tray_app), item->info); if (win_found != None) { mb_util_window_activate(mb_tray_app_xdisplay(app_data->tray_app), win_found); } else menu_clicked_sn_cb(item); } #endif static void menu_clicked_cb(MBMenuItem *item) { fork_exec(item->info); } static int parse_menu_file(char *data) { char *p, *key, *val; char *tmp_title; char *tmp_section; char *tmp_cmd; char *tmp_icon; char *tmp_needs; signal(SIGSEGV, catch_sigsegv); if (setjmp(Jbuf)) return 0; /* catch possible parse segfualt */ tmp_title = NULL; tmp_section = NULL; tmp_cmd = NULL; tmp_icon = NULL; tmp_needs = NULL; p = data; if (*p != '?') return 0; /* check is an actual menu entry */ while(*(++p) != ':'); *p = ' '; /* skip to first entry */ while(*p != '\0') { if ((!IS_WHITESPACE(*p)) || (IS_WHITESPACE(*p) && *(p+1) != '\0' && (!IS_WHITESPACE(*(p+1))))) { /* process key=pair */ char *lc = " \t\n\\"; char *sc = "\""; char *tc = lc; if (IS_WHITESPACE(*p)) p++; key = p; while(*p != '=') p++; *p = '\0'; DBG("\tkey %s ", key); if (*(++p) == '"') { p++; tc = sc; } /* skip "'s */ val = p; while(index(tc,*p) == NULL) { if (*p == '\\' && *(p+1) == '"') p++; /* skip \" */ p++; } *p = '\0'; DBG("value %s \n", val); if(!strcmp(key,"title")) { tmp_title = val; } else if(!strcmp(key,"section")) { tmp_section = val; } else if(!strcmp(key,"command")) { tmp_cmd = val; } else if(!strcmp(key,"icon")) { tmp_icon = val; } else if(!strcmp(key,"icon16")) { tmp_icon = val; } else if(!strcmp(key,"icon32")) { tmp_icon = val; } else if(!strcmp(key,"icon48")) { tmp_icon = val; } else if(!strcmp(key,"needs")) { tmp_needs = val; } } p++; if (tmp_section && (*p == '?' || *p == '\0')) { if ( (!strcmp(tmp_needs,"x11")) || (!strcmp(tmp_needs,"X11")) || (!strcmp(tmp_needs,"text")) || tmp_needs == NULL ) { MBMenuMenu *m = NULL; char *tmpstr = (char *)malloc(sizeof(char)*(strlen(tmp_section)+ strlen(tmp_title)+12)); sprintf(tmpstr, "Other/%s", tmp_section); m = mb_menu_add_path(app_data->mbmenu, tmpstr, NULL, 0); mb_menu_add_item_to_menu(app_data->mbmenu, m, tmp_title, tmp_icon, tmp_cmd, menu_clicked_cb, NULL, 0); } } } /* reset all */ tmp_title = NULL; tmp_section = NULL; tmp_cmd = NULL; tmp_icon = NULL; /* new menu entry */ if ( *p == '?') { DBG("new entry, igonoring package(foo) data\n"); while(*(++p) != ':'); *p = ' '; } signal(SIGSEGV, SIG_DFL); return 1; } #ifdef USE_DNOTIFY static void really_reload_menu(int signum) { DBG("Really Reload menu callback\n"); WantReload = True; } static void reload_menu(int signum, siginfo_t *siginfo, void *data) { DBG("Reload menu callback\n"); /* To avoid the barrage of signals dnotify likes to send when * a file is updated we set an alarm. * */ signal (SIGALRM, really_reload_menu); alarm(3); } #endif static void build_menu(void) { #define APP_PATHS_N 4 struct menu_lookup_t { char *match_str; MBMenuMenu *item; }; int i = 0, j = 0; DIR *dp; struct dirent *dir_entry; struct stat stat_info; #ifndef MAXPATHLEN #define MAXPATHLEN 1024 #endif char orig_wd[MAXPATHLEN]; char dirs[2][256] = { MENUDIR }; FILE *fp; char *buf; int len; MBMenuMenu *menu_panel; char *tmp_path = NULL, *tmp_path2 = NULL ; char vfolder_path_root[512]; char vfolder_path[512]; MBDotDesktop *dd; MBDotDesktopFolders *ddfolders; MBDotDesktopFolderEntry *ddentry; char *root_match_str; /* List of paths to check for .desktop files */ char app_paths[APP_PATHS_N][256]; Bool got_root_items = False; Bool had_action_sepearator = False; struct menu_lookup_t *menu_lookup = NULL; snprintf( vfolder_path_root, 512, "%s/.matchbox/vfolders/Root.directory", getenv("HOME")); snprintf( vfolder_path, 512, "%s/.matchbox/vfolders", getenv("HOME")); if (stat(vfolder_path_root, &stat_info)) { snprintf(vfolder_path_root, 512, PKGDATADIR "/vfolders/Root.directory"); snprintf(vfolder_path, 512, PKGDATADIR "/vfolders" ); } dd = mb_dotdesktop_new_from_file(vfolder_path_root); if (!dd) { fprintf( stderr, "mb-applet-menu-launcher: cant open " PKGDATADIR "/vfolders/Root.desktop\n" " Did you install matchbox-common ?" ); exit(1); } root_match_str = mb_dotdesktop_get(dd, "Match"); /* Now grab the vfolders */ ddfolders = mb_dot_desktop_folders_new(vfolder_path); menu_lookup = malloc(sizeof(struct menu_lookup_t)*mb_dot_desktop_folders_get_cnt(ddfolders)); mb_dot_desktop_folders_enumerate(ddfolders, ddentry) { char *icon_path = NULL; char *folder_name = NULL; /* Check Name is valid for entry */ if ((folder_name = mb_dot_desktop_folder_entry_get_name(ddentry)) == NULL) continue; if (mb_dot_desktop_folder_entry_get_icon(ddentry)) icon_path = mb_dot_desktop_icon_get_full_path (app_data->theme_name, 16, mb_dot_desktop_folder_entry_get_icon(ddentry) ); menu_lookup[i].item = mb_menu_add_path(app_data->mbmenu, folder_name, icon_path, MBMENU_NO_SORT ); menu_lookup[i].match_str = mb_dot_desktop_folder_entry_get_match(ddentry); i++; } menu_panel = mb_menu_add_path(app_data->mbmenu, "Utilities/Panel" , NULL, MBMENU_NO_SORT ); tmp_path = mb_dot_desktop_icon_get_full_path (app_data->theme_name, 16, "mbfolder.png" ); tmp_path2 = mb_dot_desktop_icon_get_full_path (app_data->theme_name, 16, "mbnoapp.png" ); mb_menu_set_default_icons(app_data->mbmenu, tmp_path, tmp_path2); if (tmp_path) free(tmp_path); if (tmp_path2) free(tmp_path2); if (getcwd(orig_wd, MAXPATHLEN) == (char *)NULL) { fprintf(stderr, "mb-applet-menu-launcher: cant get current directory\n"); exit(0); } snprintf(app_paths[0], 256, "%s/applications", DATADIR); snprintf(app_paths[1], 256, "/usr/share/applications"); snprintf(app_paths[2], 256, "/usr/local/share/applications"); snprintf(app_paths[3], 256, "%s/.applications", getenv("HOME")); for (j = 0; j < APP_PATHS_N; j++) { /* Dont reread the prefix path if matches */ if (j > 0 && !strcmp(app_paths[0], app_paths[j])) continue; if ((dp = opendir(app_paths[j])) == NULL) { fprintf(stderr, "mb-applet-menu-launcher: failed to open %s\n", app_paths[j]); continue; } chdir(app_paths[j]); while((dir_entry = readdir(dp)) != NULL) { if (strcmp(dir_entry->d_name+strlen(dir_entry->d_name)-8,".desktop")) continue; lstat(dir_entry->d_name, &stat_info); if (!(S_ISDIR(stat_info.st_mode))) { MBDotDesktop *dd; int flags = 0; dd = mb_dotdesktop_new_from_file(dir_entry->d_name); if (dd) { char *png_path = NULL; MBMenuActivateCB activate_callback = NULL; if (mb_dotdesktop_get(dd, "Icon") && mb_dotdesktop_get(dd, "Name") && mb_dotdesktop_get(dd, "Exec")) { MBMenuMenu *m = NULL, *fallback = NULL; char *category; png_path = mb_dot_desktop_icon_get_full_path(app_data->theme_name, 16, mb_dotdesktop_get(dd, "Icon")); category = mb_dotdesktop_get(dd, "Categories"); if (png_path && category && strstr(category, "Action")) { m = app_data->mbmenu->rootmenu; if (!had_action_sepearator) { mb_menu_add_seperator_to_menu(app_data->mbmenu, app_data->mbmenu->rootmenu, MBMENU_NO_SORT); had_action_sepearator = True; } flags = MBMENU_NO_SORT; } else { if (root_match_str) { if (!strcmp("fallback", root_match_str)) { fallback = app_data->mbmenu->rootmenu; } else if (category && strstr(category, root_match_str)) { m = app_data->mbmenu->rootmenu; } } if (m == NULL && category != NULL) { for (i=0; i<mb_dot_desktop_folders_get_cnt(ddfolders); i++) { if (!strcmp(menu_lookup[i].match_str, "fallback")) { fallback = menu_lookup[i].item; } if (strstr(category, menu_lookup[i].match_str)) { m = menu_lookup[i].item; } } } if (m == NULL) m = fallback; } activate_callback = menu_clicked_cb; #ifdef USE_LIBSN if (mb_dotdesktop_get(dd, "SingleInstance") && !strcasecmp(mb_dotdesktop_get(dd, "SingleInstance"), "true")) { activate_callback = menu_clicked_si_cb; } else if (mb_dotdesktop_get(dd, "StartupNotify") && !strcasecmp(mb_dotdesktop_get(dd, "StartupNotify"), "true")) { activate_callback = menu_clicked_sn_cb; } #endif if (mb_dotdesktop_get(dd, "Type") && !strcmp(mb_dotdesktop_get(dd, "Type"), "PanelApp")) { m = menu_panel; } if (png_path && m) { if (!flags && m == app_data->mbmenu->rootmenu) { if (got_root_items == False) { mb_menu_add_seperator_to_menu(app_data->mbmenu, app_data->mbmenu->rootmenu, MBMENU_PREPEND); got_root_items = True; } flags = MBMENU_PREPEND; } mb_menu_add_item_to_menu(app_data->mbmenu, m, mb_dotdesktop_get(dd, "Name"), png_path, mb_dotdesktop_get_exec(dd), activate_callback, (void *)app_data, flags); /* mb_menu_add_seperator_to_menu(app_data-> mbmenu, m); */ free(png_path); } } else fprintf(stderr, "mb-applet-menu-launcher: %s has no icon, png or name\n", dir_entry->d_name); mb_dotdesktop_free(dd); } else fprintf(stderr, "mb-applet-menu-launcher: failed to parse %s :( \n", dir_entry->d_name); } } closedir(dp); } /* Now parse old Debian / Familiar Menu entrys */ chdir(orig_wd); if (WantDebianMenus) { strcpy(dirs[1], (char *)getenv("HOME")); strcat(dirs[1], "/.menu"); for(i=0; i<2; i++) { if ((dp = opendir(dirs[i])) == NULL) { fprintf(stderr, "mb-applet-menu-launcher: failed to open %s\n", dirs[i]); continue; } chdir(dirs[i]); while((dir_entry = readdir(dp)) != NULL) { lstat(dir_entry->d_name, &stat_info); if (!(S_ISDIR(stat_info.st_mode))) { DBG("file %s \n", dir_entry->d_name); fp = fopen(dir_entry->d_name, "r"); buf = malloc(sizeof(char) * (stat_info.st_size + 1)); len = fread(buf, 1, stat_info.st_size, fp); if (len >= 0) buf[len] = '\0'; if (!(parse_menu_file(buf))) fprintf(stderr, "mb-applet-menu-launcher: had problems parsing %s. Ignoring. \n", dir_entry->d_name); DBG("done\n\n"); fclose(fp); free(buf); } } closedir(dp); } chdir(orig_wd); } } static void menu_get_popup_pos (MBTrayApp *app, int *x, int *y) { int abs_x, abs_y, menu_h, menu_w; mb_tray_app_get_absolute_coords (app, &abs_x, &abs_y); mb_menu_get_root_menu_size(app_data->mbmenu, &menu_w, &menu_h); if (mb_tray_app_tray_is_vertical (app)) { /* XXX need to figure out menu size before its mapped so we can figure out offset for east panel */ *y = abs_y + mb_tray_app_height(app); if (abs_x > (DisplayWidth(mb_tray_app_xdisplay(app), mb_tray_app_xscreen(app)) /2)) *x = abs_x - menu_w - 2; else *x = abs_x + mb_tray_app_width(app) + 2; } else { *x = abs_x; if (abs_y > (DisplayHeight(mb_tray_app_xdisplay(app), mb_tray_app_xscreen(app)) /2)) *y = abs_y - 2; else *y = abs_y + mb_tray_app_height(app) + menu_h; } } void button_callback (MBTrayApp *app, int x, int y, Bool is_released ) { int abs_x, abs_y; static Bool next_cancels; #ifdef USE_DNOTIFY sigset_t block_sigset; #endif app_data->button_is_down = True; if (is_released) app_data->button_is_down = False; if (is_released && !next_cancels) { #ifdef USE_DNOTIFY /* block any reloads while active */ sigemptyset(&block_sigset); sigaddset(&block_sigset, SIGRTMIN); sigprocmask(SIG_BLOCK, &block_sigset, NULL); #endif menu_get_popup_pos (app, &abs_x, &abs_y); mb_menu_activate (app_data->mbmenu, abs_x, abs_y); } else if (mb_menu_is_active(app_data->mbmenu)) next_cancels = True; else next_cancels = False; mb_tray_app_repaint (app); } void paint_callback (MBTrayApp *app, Drawable drw ) { MBPixbufImage *img_bg = NULL; MBPixbufImage *img_button = NULL; img_button = ( app_data->button_is_down ? app_data->img_tray_active_scaled : app_data->img_tray_scaled ); img_bg = mb_tray_app_get_background (app, app_data->pb); mb_pixbuf_img_copy_composite (app_data->pb, img_bg, img_button, 0, 0, mb_pixbuf_img_get_width(app_data->img_tray_scaled), mb_pixbuf_img_get_height(app_data->img_tray_scaled), 0, 0 ); mb_pixbuf_img_render_to_drawable (app_data->pb, img_bg, drw, 0, 0); mb_pixbuf_img_free( app_data->pb, img_bg ); } void resize_callback (MBTrayApp *app, int w, int h) { if (app_data->img_tray_scaled) mb_pixbuf_img_free(app_data->pb, app_data->img_tray_scaled); app_data->img_tray_scaled = mb_pixbuf_img_scale(app_data->pb, app_data->img_tray, w, h); if (app_data->img_tray_active_scaled) mb_pixbuf_img_free(app_data->pb, app_data->img_tray_active_scaled); app_data->img_tray_active_scaled = mb_pixbuf_img_scale(app_data->pb, app_data->img_tray_active, w, h); } void theme_callback (MBTrayApp *app, char *theme_name) { if (!theme_name) return; if (app_data->theme_name) free(app_data->theme_name); app_data->theme_name = strdup(theme_name); if (app_data->mbmenu != NULL) { mb_menu_free(app_data->mbmenu); build_menu(); load_icon(); resize_callback (app, mb_tray_app_width(app), mb_tray_app_width(app) ); mb_tray_app_repaint (app_data->tray_app); } } void xevent_callback (MBTrayApp *app, XEvent *ev) { #ifdef USE_DNOTIFY sigset_t block_sigset; #endif mb_menu_handle_xevent (app_data->mbmenu, ev); #ifdef USE_DNOTIFY if (!mb_menu_is_active(app_data->mbmenu)) { /* Unblock any dnotify signals */ sigemptyset(&block_sigset); sigaddset(&block_sigset, SIGRTMIN); sigprocmask(SIG_UNBLOCK, &block_sigset, NULL); } #endif #define MB_CMD_SHOW_EXT_MENU 6 if (ev->type == ClientMessage) { if (ev->xclient.message_type == app_data->mbcommand_atom && ev->xclient.data.l[0] == MB_CMD_SHOW_EXT_MENU ) { #ifdef USE_DNOTIFY sigemptyset(&block_sigset); sigaddset(&block_sigset, SIGRTMIN); #endif if (!mb_menu_is_active(app_data->mbmenu)) { int abs_x, abs_y; #ifdef USE_DNOTIFY sigprocmask(SIG_BLOCK, &block_sigset, NULL); #endif menu_get_popup_pos (app, &abs_x, &abs_y); mb_menu_activate(app_data->mbmenu, abs_x, abs_y); } else { mb_menu_deactivate(app_data->mbmenu); #ifdef USE_DNOTIFY sigprocmask(SIG_UNBLOCK, &block_sigset, NULL); #endif } } } if (WantReload && !mb_menu_is_active(app_data->mbmenu)) { DBG("reloading menu\n"); mb_menu_free(app_data->mbmenu); build_menu(); WantReload = False; } } void load_icon(void) { char *icon_path = NULL; if (app_data->img_tray) mb_pixbuf_img_free(app_data->pb, app_data->img_tray); if (app_data->img_tray_active) mb_pixbuf_img_free(app_data->pb, app_data->img_tray_active); icon_path = mb_dot_desktop_icon_get_full_path (app_data->theme_name, 16, TRAY_IMG ); if (icon_path == NULL || !(app_data->img_tray = mb_pixbuf_img_new_from_file(app_data->pb, icon_path))) { fprintf(stderr, "mb-applet-menu-launcher: failed to load panel icon\n"); exit(1); } free(icon_path); icon_path = mb_dot_desktop_icon_get_full_path (app_data->theme_name, 16, TRAY_IMG_ACTIVE ); if (icon_path == NULL || !(app_data->img_tray_active = mb_pixbuf_img_new_from_file(app_data->pb, icon_path))) { int x, y; app_data->img_tray_active = mb_pixbuf_img_clone(app_data->pb, app_data->img_tray); for (x=0; x<mb_pixbuf_img_get_width(app_data->img_tray_active); x++) for (y=0; y<mb_pixbuf_img_get_height(app_data->img_tray_active); y++) { int aa; unsigned char r,g,b,a; mb_pixbuf_img_get_pixel(app_data->pb, app_data->img_tray_active, x, y, &r, &g, &b, &a); aa = (int)a; aa -= 0x80; if (aa < 0) aa = 0; mb_pixbuf_img_set_pixel_alpha(app_data->img_tray_active, x, y, aa); } } if (icon_path) free(icon_path); } int main( int argc, char *argv[]) { MBTrayApp *app = NULL; struct sigaction act; #ifdef USE_DNOTIFY int fd; #endif app_data = NEW(AppData); memset(app_data, 0, sizeof(AppData)); app = mb_tray_app_new ( "App Launcher", resize_callback, paint_callback, &argc, &argv ); if (app == NULL) usage(); if (argc > 1 && strstr(argv[1], "-h")) usage(); if (getenv("MB_USE_DEB_MENUS")) WantDebianMenus = True; app_data->tray_app = app; app_data->mbtheme_atom = XInternAtom(mb_tray_app_xdisplay(app), "_MB_THEME", False); app_data->mbcommand_atom = XInternAtom(mb_tray_app_xdisplay(app), "_MB_COMMAND", False); app_data->mbmenu = mb_menu_new(mb_tray_app_xdisplay(app), mb_tray_app_xscreen(app)); #ifdef USE_LIBSN app_data->sn_display = sn_display_new (mb_tray_app_xdisplay(app), NULL, NULL); #endif app_data->pb = mb_pixbuf_new(mb_tray_app_xdisplay(app), mb_tray_app_xscreen(app)); XSelectInput (mb_tray_app_xdisplay(app), mb_tray_app_xrootwin(app), PropertyChangeMask|SubstructureNotifyMask); mb_tray_app_set_button_callback (app, button_callback ); mb_tray_app_set_xevent_callback (app, xevent_callback ); mb_tray_app_set_theme_change_callback (app, theme_callback ); /* Make the tray app end up on right of mb panel */ mb_tray_app_request_offset (app, -1); load_icon(); build_menu(); /* Set up signals */ act.sa_flags = 0; sigemptyset(&act.sa_mask); act.sa_handler = reap_children; sigaction(SIGCHLD, &act, NULL); #ifdef USE_DNOTIFY #define DD_DIR DATADIR "/applications" act.sa_sigaction = reload_menu; sigemptyset(&act.sa_mask); act.sa_flags = SA_SIGINFO; sigaction(SIGRTMIN, &act, NULL); fd = open(DD_DIR, O_RDONLY); fcntl(fd, F_SETSIG, SIGRTMIN); fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_DELETE|DN_MULTISHOT); #endif mb_tray_app_set_icon(app, app_data->pb, app_data->img_tray); mb_tray_app_main (app); return 1; } ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/mb-applet-system-monitor.c���������������������������������������������0000644�0001750�0001750�00000023226�10372216340�020055� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * mb-applet-system-monitor - tiny sys monitor * * cpu reading code based on wmbubblemon * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. * */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <libmb/mb.h> #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef ENABLE_NLS # include <libintl.h> # define _(text) gettext(text) #else # define _(text) (text) #endif #ifdef MB_HAVE_PNG #define IMG_EXT "png" #else #define IMG_EXT "xpm" #endif #define MINISYS_IMG "minisys." IMG_EXT struct { /* cpu data */ int loadIndex; int samples; u_int64_t *load, *total; /* memory data */ u_int64_t mem_used; u_int64_t mem_max; u_int64_t swap_used; u_int64_t swap_max; unsigned int swap_percent; /* swap used, in percent */ unsigned int mem_percent; /* memory used, in percent */ } msd; MBPixbuf *pb = NULL; MBPixbufImage *ImgIcon = NULL, *ImgIconScaled = NULL, *ImgGraph = NULL; int GraphHeight = 0, GraphWidth = 0; char *ThemeName; int IsKernel26 = 0; int check_if_kernel_2_6(void) { float v_nr=0; FILE *version; if ((version = fopen("/proc/version", "r")) == NULL) { fprintf(stderr, "mb-applet-system-monitor: failed to open /proc/version. Exiting\n"); exit(1); } fscanf(version, "%*s %*s %f", &v_nr); fclose(version); return (v_nr > 2.5); } /* returns current CPU load in percent, 0 to 100 */ int system_cpu(void) { unsigned int cpuload; u_int64_t load, total, oload, ototal; u_int64_t ab, ac, ad, ae; int i; FILE *stat; if ((stat = fopen("/proc/stat", "r")) == NULL) { fprintf(stderr, "mb-applet-system-monitor: failed to open /proc/stat. Exiting\n"); exit(1); } fscanf(stat, "%*s %Ld %Ld %Ld %Ld", &ab, &ac, &ad, &ae); fclose(stat); /* Find out the CPU load */ /* user + sys = load * total = total */ load = ab + ac + ad; /* cpu.user + cpu.sys; */ total = ab + ac + ad + ae; /* cpu.total; */ /* "i" is an index into a load history */ i = msd.loadIndex; oload = msd.load[i]; ototal = msd.total[i]; msd.load[i] = load; msd.total[i] = total; msd.loadIndex = (i + 1) % msd.samples; if (ototal == 0) cpuload = 0; else cpuload = (100 * (load - oload)) / (total - ototal); return cpuload; } int system_memory(void) { u_int64_t total, mfree, buffers, cached, used, shared, cache_total, cache_free, cache_used, uneeded = 0; u_int64_t my_mem_used, my_mem_max; u_int64_t my_swap_max; static int mem_delay = 0; FILE *mem; /* put this in permanent storage instead of stack */ static char not_needed[2048]; if (mem_delay-- <= 0) { if ((mem = fopen("/proc/meminfo", "r")) == NULL) { fprintf(stderr, "mb-applet-system-monitor: failed to open /proc/meminfo. Exiting.\n"); exit(1); } fgets(not_needed, 2048, mem); if (IsKernel26) { rewind (mem); fscanf (mem, "%*s %Ld %*s", &total); fscanf (mem, "%*s %Ld %*s", &mfree); fscanf (mem, "%*s %Ld %*s", &buffers); fscanf (mem, "%*s %Ld %*s", &cached); fscanf (mem, "%*s %Ld %*s", &shared); fscanf (mem, "%*s %Ld %*s", &used); fscanf (mem, "%*s %Ld %*s", &uneeded); fscanf (mem, "%*s %Ld %*s", &uneeded); fscanf (mem, "%*s %Ld %*s", &uneeded); fscanf (mem, "%*s %Ld %*s", &uneeded); fscanf (mem, "%*s %Ld %*s", &uneeded); fscanf (mem, "%*s %Ld %*s", &cache_total); fscanf (mem, "%*s %Ld %*s", &cache_free); total = total * 1024; mfree = mfree * 1024; buffers = buffers * 1024; cached = cached * 1024; used = used * 1024; shared = shared * 1024; cache_total = cache_total * 1024; cache_used = cache_total - (cache_free * 1024); } else { /* Assume 2.4 */ /* total: used: free: shared: buffers: cached: */ fscanf(mem, "%*s %Ld %Ld %Ld %Ld %Ld %Ld", &total, &used, &mfree, &shared, &buffers, &cached); fscanf(mem, "%*s %Ld %Ld", &cache_total, &cache_used); } fclose(mem); mem_delay = 25; /* calculate it */ my_mem_max = total; my_swap_max = cache_total; my_mem_used = cache_used + used - cached - buffers; msd.mem_used = my_mem_used; msd.mem_max = my_mem_max; msd.mem_percent = (100 * msd.mem_used) / msd.mem_max; /* memory info changed - update things */ return 1; } /* nothing new */ return 0; } void paint_callback (MBTrayApp *app, Drawable drw ) { static int prev_cpu_pixels = -1, prev_mem_pixels = -1; int cpu_pixels, mem_pixels; int cpusize, memsize; int x, y; int membox_x, membox_y, membox_w, membox_h; int cpubox_x, cpubox_y, cpubox_w, cpubox_h; MBPixbufImage *img_backing = NULL; system_memory(); /* Update reading */ cpusize = system_cpu(); memsize = msd.mem_percent; cpubox_h = membox_h = (mb_pixbuf_img_get_width(ImgIconScaled)/16) * 10; cpu_pixels = (cpusize * ( cpubox_h) )/ 100 ; mem_pixels = (memsize * ( membox_h) )/ 100 ; if ((cpu_pixels == prev_cpu_pixels && mem_pixels == prev_mem_pixels)) return; img_backing = mb_tray_app_get_background (app, pb); mb_pixbuf_img_composite(pb, img_backing, ImgIconScaled, 0, 0); cpubox_x = (mb_pixbuf_img_get_width(img_backing)/4) - (mb_pixbuf_img_get_width(img_backing)/16); cpubox_y = cpubox_x; cpubox_w = (mb_pixbuf_img_get_width(img_backing)/16) * 2; membox_x = ((mb_pixbuf_img_get_width(img_backing)/4) * 3) - (mb_pixbuf_img_get_width(img_backing)/16); membox_y = cpubox_y; membox_w = cpubox_w; /* clear boxes */ for ( y = membox_y; y < membox_y + membox_h; y++) for ( x = 0; x < membox_w; x++) { mb_pixbuf_img_plot_pixel(pb, img_backing, membox_x + x, y, 0x66, 0x66, 0x66); mb_pixbuf_img_plot_pixel(pb, img_backing, cpubox_x + x, y, 0x66, 0x66, 0x66); } if (cpusize > 0) { for ( y = cpubox_h; y > cpubox_h - cpu_pixels; y--) for ( x = cpubox_x; x < cpubox_x + cpubox_w; x++) mb_pixbuf_img_plot_pixel(pb, img_backing, x, y + cpubox_y, 0, 0xff, 0); } if (memsize > 0) { for ( y = membox_h; y > membox_h - mem_pixels; y--) for ( x = membox_x; x < membox_x + membox_w; x++) mb_pixbuf_img_plot_pixel(pb, img_backing, x, y + membox_y, 0xff, 0, 0); } /* XXX Alert here for low memory */ mb_pixbuf_img_render_to_drawable(pb, img_backing, drw, 0, 0); mb_pixbuf_img_free( pb, img_backing ); prev_cpu_pixels = cpu_pixels; prev_mem_pixels = mem_pixels; } void button_callback (MBTrayApp *app, int x, int y, Bool is_released ) { char tray_msg[256]; int cpu = system_cpu(); if (!is_released) return; sprintf(tray_msg, _("CPU: %i %%, MEMORY: %i %%\n"),cpu, msd.mem_percent); mb_tray_app_tray_send_message(app, tray_msg, 5000); } void resize_callback (MBTrayApp *app, int w, int h ) { if (ImgIconScaled) mb_pixbuf_img_free(pb, ImgIconScaled); if (ImgGraph) mb_pixbuf_img_free(pb, ImgGraph); ImgIconScaled = mb_pixbuf_img_scale(pb, ImgIcon, w, h); } void load_icon(void) { char *icon_path = NULL; if (ImgIcon) mb_pixbuf_img_free(pb, ImgIcon); icon_path = mb_dot_desktop_icon_get_full_path (ThemeName, 32, MINISYS_IMG ); if (icon_path == NULL || !(ImgIcon = mb_pixbuf_img_new_from_file(pb, icon_path))) { fprintf(stderr, "miniapm: failed to load icon %s\n", MINISYS_IMG); exit(1); } free(icon_path); return; } void theme_callback (MBTrayApp *app, char *theme_name) { if (!theme_name) return; if (ThemeName) free(ThemeName); ThemeName = strdup(theme_name); load_icon(); resize_callback (app, mb_tray_app_width(app), mb_tray_app_width(app) ); } void timeout_callback ( MBTrayApp *app ) { mb_tray_app_repaint (app); } int main( int argc, char *argv[]) { MBTrayApp *app = NULL; struct timeval tv; int i; u_int64_t load = 0, total = 0; #if ENABLE_NLS setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, DATADIR "/locale"); bind_textdomain_codeset (PACKAGE, "UTF-8"); textdomain (PACKAGE); #endif IsKernel26 = check_if_kernel_2_6(); app = mb_tray_app_new ( _("CPU/Mem Monitor"), resize_callback, paint_callback, &argc, &argv ); msd.samples = 16; if (msd.load) { load = msd.load[msd.loadIndex]; free(msd.load); } if (msd.total) { total = msd.total[msd.loadIndex]; free(msd.total); } msd.loadIndex = 0; msd.load = malloc(msd.samples * sizeof(u_int64_t)); msd.total = malloc(msd.samples * sizeof(u_int64_t)); for (i = 0; i < msd.samples; i++) { msd.load[i] = load; msd.total[i] = total; } pb = mb_pixbuf_new(mb_tray_app_xdisplay(app), mb_tray_app_xscreen(app)); memset(&tv,0,sizeof(struct timeval)); tv.tv_usec = 400000; mb_tray_app_set_theme_change_callback (app, theme_callback ); mb_tray_app_set_timeout_callback (app, timeout_callback, &tv); mb_tray_app_set_button_callback (app, button_callback ); load_icon(); mb_tray_app_set_icon(app, pb, ImgIcon); mb_tray_app_main (app); return 1; } ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/mb-applet-wireless.c���������������������������������������������������0000644�0001750�0001750�00000023230�10365507100�016673� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* * miniwave - Tiny 820.11 wireless * * Note: you can use themes from http://www.eskil.org/wavelan-applet/ * * originally based on wmwave * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. * */ #include <libmb/mb.h> #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef ENABLE_NLS # include <libintl.h> # define _(text) gettext(text) #else # define _(text) (text) #endif #include <sys/types.h> #include <sys/ioctl.h> #include <netdb.h> /* gethostbyname, getnetbyname */ #if 0 #include <linux/if_arp.h> /* For ARPHRD_ETHER */ #include <linux/socket.h> /* For AF_INET & struct sockaddr */ #endif #include <sys/socket.h> /* For struct sockaddr_in */ #if 0 #include <linux/wireless.h> #else #include <iwlib.h> #endif #ifdef MB_HAVE_PNG #define IMG_EXT "png" #else #define IMG_EXT "xpm" #endif enum { MW_BROKE = 0, MW_NO_LINK, MW_SIG_1_40, MW_SIG_41_60, MW_SIG_61_80, MW_SIG_80_100, }; #define MW_BROKE_IMG "broken-0." IMG_EXT #define MW_NO_LINK_IMG "no-link-0." IMG_EXT #define MW_SIG_1_40_IMG "signal-1-40." IMG_EXT #define MW_SIG_41_60_IMG "signal-41-60." IMG_EXT #define MW_SIG_61_80_IMG "signal-61-80." IMG_EXT #define MW_SIG_80_100_IMG "signal-81-100." IMG_EXT static char *ImgLookup[64] = { MW_BROKE_IMG, MW_NO_LINK_IMG, MW_SIG_1_40_IMG, MW_SIG_41_60_IMG, MW_SIG_61_80_IMG, MW_SIG_80_100_IMG, }; static char *ThemeName = NULL; static MBPixbuf *pb; static MBPixbufImage *Imgs[6] = { 0,0,0,0,0,0 }, *ImgsScaled[6] = { 0,0,0,0,0,0 }; static int CurImg = MW_BROKE; static int LastImg = -1; struct { char *iface; /* Interface name */ char *essid; /* ESSID */ char *mode; /* Mode */ int quality; /* Quality (%) */ int level, noise; /* Signal level, noise (dBm) */ } Mwd; /* iwlib stuff */ int Wfd; /* file descriptor for socket */ static struct wireless_info WInfo; Bool update_wireless(void) { /* urg, iwlib api :/ */ if (Wfd == -1) { fprintf(stderr, "mb-applet-wireless: Kernel lacks wireless support?\n" ); return False; } if (Mwd.iface == NULL) return False; if (iw_get_basic_config(Wfd, Mwd.iface, &WInfo.b) < 0) { fprintf(stderr, "mb-applet-wireless: unable to read wireless config\n" ); return False; } if(iw_get_range_info(Wfd, Mwd.iface, &(WInfo.range)) >= 0) WInfo.has_range = 1; if (iw_get_stats(Wfd, Mwd.iface, &(WInfo.stats), &(WInfo.range), WInfo.has_range) >= 0) WInfo.has_stats = 1; Mwd.essid = ( WInfo.b.has_essid ? WInfo.b.essid : NULL ); Mwd.mode = ( WInfo.b.has_mode ? (char *)iw_operation_mode[WInfo.b.mode] : NULL ); if (WInfo.has_stats) { /* via http://www.snorp.net/files/patches/wireless-applet.c */ Mwd.quality = (int)rint ((log (WInfo.stats.qual.qual) / log (94)) * 100); if (Mwd.quality > 100) Mwd.quality = 100; else if (Mwd.quality < 0) Mwd.quality = 0; Mwd.level = (int)WInfo.stats.qual.level; Mwd.noise = (int)WInfo.stats.qual.noise; } else { Mwd.quality = -1; Mwd.level = -1; Mwd.noise = -1; } return True; } void paint_callback (MBTrayApp *app, Drawable drw ) { MBPixbufImage *img_backing = NULL; if (update_wireless()) { if (Mwd.quality != -1) { if (Mwd.quality >= 0 && Mwd.quality <= 40) CurImg = MW_SIG_1_40; else if (Mwd.quality > 40 && Mwd.quality <= 60) CurImg = MW_SIG_41_60; else if (Mwd.quality > 60 && Mwd.quality <= 80) CurImg = MW_SIG_61_80; else if (Mwd.quality > 80) CurImg = MW_SIG_80_100; else CurImg = MW_NO_LINK; } else CurImg = MW_NO_LINK; } else CurImg = MW_BROKE; if (LastImg == CurImg) return; img_backing = mb_tray_app_get_background (app, pb); mb_pixbuf_img_copy_composite(pb, img_backing, ImgsScaled[CurImg], 0, 0, mb_pixbuf_img_get_width(ImgsScaled[0]), mb_pixbuf_img_get_height(ImgsScaled[0]), mb_tray_app_tray_is_vertical(app) ? (mb_pixbuf_img_get_width(img_backing)-mb_pixbuf_img_get_width(ImgsScaled[0]))/2 : 0, mb_tray_app_tray_is_vertical(app) ? 0 : (mb_pixbuf_img_get_height(img_backing)-mb_pixbuf_img_get_height(ImgsScaled[0]))/2 ); mb_pixbuf_img_render_to_drawable(pb, img_backing, drw, 0, 0); mb_pixbuf_img_free( pb, img_backing ); LastImg = CurImg; } void load_icons(MBTrayApp *app) { int i; char *icon_path; for (i=0; i<6; i++) { if (Imgs[i] != NULL) mb_pixbuf_img_free(pb, Imgs[i]); icon_path = mb_dot_desktop_icon_get_full_path (ThemeName, 32, ImgLookup[i]); if (icon_path == NULL || !(Imgs[i] = mb_pixbuf_img_new_from_file(pb, icon_path))) { fprintf(stderr, "mb-applet-wireless: failed to load icon\n" ); exit(1); } free(icon_path); } } void resize_callback (MBTrayApp *app, int w, int h ) { int i; int base_width = mb_pixbuf_img_get_width(Imgs[0]); int base_height = mb_pixbuf_img_get_height(Imgs[0]); int scale_width = base_width, scale_height = base_height; Bool want_resize = True; if (mb_tray_app_tray_is_vertical(app) && w < base_width) { scale_width = w; scale_height = ( base_height * w ) / base_width; want_resize = False; } else if (!mb_tray_app_tray_is_vertical(app) && h < base_height) { scale_height = h; scale_width = ( base_width * h ) / base_height; want_resize = False; } if (w < base_width && h < base_height && ( scale_height > h || scale_width > w)) { /* Something is really wrong to get here */ scale_height = h; scale_width = w; want_resize = False; } if (want_resize) /* we only request a resize is absolutely needed */ { LastImg = -1; mb_tray_app_request_size (app, scale_width, scale_height); } for (i=0; i<6; i++) { if (ImgsScaled[i] != NULL) mb_pixbuf_img_free(pb, ImgsScaled[i]); ImgsScaled[i] = mb_pixbuf_img_scale(pb, Imgs[i], scale_width, scale_height); } } void button_callback (MBTrayApp *app, int x, int y, Bool is_released ) { char tray_msg[256]; char quality[10]; char level[10]; char noise[10]; update_wireless(); if (Mwd.quality != -1) snprintf (quality, 10, "%u%%", Mwd.quality); else strncpy (quality, "Unknown", 10); if (Mwd.level != -1) snprintf (level, 10, "%udBm", Mwd.level); else strncpy (level, "Unknown", 10); if (Mwd.noise != -1) snprintf (noise, 10, "%udBm", Mwd.noise); else strncpy (noise, "Unknown", 10); if (!is_released) return; snprintf(tray_msg, 256, "%s:\n" " Mode: %s\n" " ESSID: %s\n" " Quality: %s\n" " Level: %s\n" " Noise: %s\n", Mwd.iface, Mwd.mode ? Mwd.mode : "Unknown", Mwd.essid ? Mwd.essid : "Unknown", quality, level, noise ); mb_tray_app_tray_send_message(app, tray_msg, 5000); } void theme_callback (MBTrayApp *app, char *theme_name) { if (!theme_name) return; if (ThemeName) free(ThemeName); LastImg = -1; /* Make sure paint gets updated */ ThemeName = strdup(theme_name); load_icons(app); resize_callback (app, mb_tray_app_width(app), mb_tray_app_width(app) ); } void timeout_callback ( MBTrayApp *app ) { mb_tray_app_repaint (app); } int /* repeatadly call via enum_devices */ find_iwface(int Wfd, char *ifname, char *args[], int count) { /* is it a wireless if */ if (iw_get_basic_config(Wfd, ifname, &WInfo.b) < 0) return 0; /* dont stop check interfaces till we find one that supports stats * works round odd issues on Z with host AP. */ if (Mwd.iface != NULL && WInfo.has_stats == 1) return 0; if(iw_get_range_info(Wfd, Mwd.iface, &(WInfo.range)) >= 0) WInfo.has_range = 1; if (iw_get_stats(Wfd, Mwd.iface, &(WInfo.stats), &(WInfo.range), WInfo.has_range) >= 0) WInfo.has_stats = 1; /* mark first found as one to monitor */ if (Mwd.iface) free(Mwd.iface); Mwd.iface = strdup(ifname); return 0; } int main( int argc, char *argv[]) { MBTrayApp *app = NULL; struct timeval tv; #if ENABLE_NLS setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, DATADIR "/locale"); bind_textdomain_codeset (PACKAGE, "UTF-8"); textdomain (PACKAGE); #endif memset(&WInfo, 0, sizeof(struct wireless_info)); Wfd = iw_sockets_open(); if (Wfd != -1) iw_enum_devices(Wfd, find_iwface, NULL, 0); app = mb_tray_app_new ( _("Wireless Monitor"), resize_callback, paint_callback, &argc, &argv ); pb = mb_pixbuf_new(mb_tray_app_xdisplay(app), mb_tray_app_xscreen(app)); memset(&tv,0,sizeof(struct timeval)); tv.tv_sec = 2; load_icons(app); mb_tray_app_set_timeout_callback (app, timeout_callback, &tv); mb_tray_app_set_button_callback (app, button_callback ); mb_tray_app_set_theme_change_callback (app, theme_callback ); mb_tray_app_set_icon(app, pb, Imgs[3]); mb_tray_app_main (app); if (Mwd.iface != NULL) free(Mwd.iface); return 1; } ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/mb-applet-xterm-wrapper.sh���������������������������������������������0000755�0001750�0001750�00000000446�10320055002�020040� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # This just wraps rxvt and xterm so a term gets launched ok. # rxvt is the preference. This could be much improved # if [ -x /usr/X11R6/bin/rxvt ]; then exec /usr/X11R6/bin/rxvt; else if [ -x /usr/bin/rxvt ]; then exec /usr/bin/rxvt; else exec xterm; fi fi ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/dotdesktop/������������������������������������������������������������0000777�0001750�0001750�00000000000�10403352453�015261� 5����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/dotdesktop/Makefile.am�������������������������������������������������0000644�0001750�0001750�00000001265�10320055001�017220� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������ dfiles = \ mb-applet-battery.desktop mb-applet-wireless.desktop \ mb-applet-clock.desktop mb-launcher-term.desktop \ mb-applet-menu-launcher.desktop mb-applet-system-monitor.desktop files = \ mb-applet-clock.desktop mb-launcher-term.desktop \ mb-applet-menu-launcher.desktop mb-applet-system-monitor.desktop if WANT_APM files += mb-applet-battery.desktop endif if WANT_WIFI files += mb-applet-wireless.desktop endif EXTRA_DIST = $(dfiles) desktopdir = $(datadir)/applications/ desktop_DATA = $(files) �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/dotdesktop/Makefile.in�������������������������������������������������0000644�0001750�0001750�00000023723�10403352441�017246� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : @WANT_APM_TRUE@am__append_1 = mb-applet-battery.desktop @WANT_WIFI_TRUE@am__append_2 = mb-applet-wireless.desktop subdir = applets/dotdesktop DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(desktopdir)" desktopDATA_INSTALL = $(INSTALL_DATA) DATA = $(desktop_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLIBS = @INTLIBS@ LDFLAGS = @LDFLAGS@ LIBMB_CFLAGS = @LIBMB_CFLAGS@ LIBMB_LIBS = @LIBMB_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MOFILES = @MOFILES@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN_CFLAGS = @SN_CFLAGS@ SN_LIBS = @SN_LIBS@ STRIP = @STRIP@ VERSION = @VERSION@ WANT_ACPI_FALSE = @WANT_ACPI_FALSE@ WANT_ACPI_TRUE = @WANT_ACPI_TRUE@ WANT_APM_FALSE = @WANT_APM_FALSE@ WANT_APM_TRUE = @WANT_APM_TRUE@ WANT_PNGS_FALSE = @WANT_PNGS_FALSE@ WANT_PNGS_TRUE = @WANT_PNGS_TRUE@ WANT_SMALL_ICONS_FALSE = @WANT_SMALL_ICONS_FALSE@ WANT_SMALL_ICONS_TRUE = @WANT_SMALL_ICONS_TRUE@ WANT_WIFI_FALSE = @WANT_WIFI_FALSE@ WANT_WIFI_TRUE = @WANT_WIFI_TRUE@ WIRELESS_LIBS = @WIRELESS_LIBS@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ dfiles = \ mb-applet-battery.desktop mb-applet-wireless.desktop \ mb-applet-clock.desktop mb-launcher-term.desktop \ mb-applet-menu-launcher.desktop mb-applet-system-monitor.desktop files = mb-applet-clock.desktop mb-launcher-term.desktop \ mb-applet-menu-launcher.desktop \ mb-applet-system-monitor.desktop $(am__append_1) \ $(am__append_2) EXTRA_DIST = $(dfiles) desktopdir = $(datadir)/applications/ desktop_DATA = $(files) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu applets/dotdesktop/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu applets/dotdesktop/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh uninstall-info-am: install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) test -z "$(desktopdir)" || $(mkdir_p) "$(DESTDIR)$(desktopdir)" @list='$(desktop_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(desktopDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(desktopdir)/$$f'"; \ $(desktopDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(desktopdir)/$$f"; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(desktopdir)/$$f'"; \ rm -f "$(DESTDIR)$(desktopdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(desktopdir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-desktopDATA install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-desktopDATA uninstall-info-am .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-desktopDATA install-exec install-exec-am install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-desktopDATA \ uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ���������������������������������������������matchbox-panel-0.9.3/applets/dotdesktop/mb-applet-battery.desktop�����������������������������������0000644�0001750�0001750�00000000234�10320055001�022103� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������[Desktop Entry] Name=Battery Monitor Comment=Panel based Battery Monitor Exec=mb-applet-battery Type=PanelApp Icon=miniapm.png Categories=Panel;Utility;MB ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/dotdesktop/mb-applet-wireless.desktop����������������������������������0000644�0001750�0001750�00000000244�10320055001�022267� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������[Desktop Entry] Name=Wireless Monitor Comment=Panel based wireless monitor Exec=mb-applet-wireless Type=PanelApp Icon=signal-81-100.png Categories=Panel;Utility;MB ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/dotdesktop/mb-applet-clock.desktop�������������������������������������0000644�0001750�0001750�00000000206�10320055001�021523� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������[Desktop Entry] Name=Clock Comment=Panel based clock Exec=mb-applet-clock Type=PanelApp Icon=minitime.png Categories=Panel;Utility;MB ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/dotdesktop/mb-launcher-term.desktop������������������������������������0000644�0001750�0001750�00000000372�10320055001�021717� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������[Desktop Entry] Name=Term Launcher Comment=Panel based Terminal launcher # the '-o -1' makes monolaunch dock to the left Exec=mb-applet-launcher -o -1 -l mbterm.png mb-applet-xterm-wrapper.sh Type=PanelApp Icon=mbterm.png Categories=Panel;Utility;MB ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/dotdesktop/mb-applet-menu-launcher.desktop�����������������������������0000644�0001750�0001750�00000000242�10320055001�023173� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������[Desktop Entry] Name=App Launcher Comment=Panel based Application Launcher Exec=mb-applet-menu-launcher Type=PanelApp Icon=mbmenu.png Categories=Panel;Utility;MB ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/dotdesktop/mb-applet-system-monitor.desktop����������������������������0000644�0001750�0001750�00000000242�10320055001�023441� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������[Desktop Entry] Name=CPU/Mem Monitor Comment=Panel based CPU/Mem Monitor Exec=mb-applet-system-monitor Type=PanelApp Icon=minisys.png Categories=Panel;Utility;MB ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/�����������������������������������������������������������������0000777�0001750�0001750�00000000000�10403352454�014215� 5����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/Makefile.am������������������������������������������������������0000644�0001750�0001750�00000001156�10320055002�016153� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������pngs = \ broken-0.png minisys.png no-link-0.png signal-61-80.png \ mbmenu.png minitime.png signal-1-40.png signal-81-100.png \ mbterm.png signal-41-60.png miniapm-power.png miniapm.png xpms = \ mbterm.xpm minisys.xpm no-link-0.xpm signal-41-60.xpm \ broken-0.xpm signal-61-80.xpm miniapm-power.xpm miniapm.xpm \ mbmenu.xpm signal-1-40.xpm signal-81-100.xpm minitime.xpm EXTRA_DIST = $(xpms) $(pngs) if WANT_PNGS imgs = $(pngs) else imgs = $(xpms) endif pixmapsdir = $(datadir)/pixmaps/ if WANT_SMALL_ICONS pixmaps_DATA = else pixmaps_DATA = $(imgs) endif������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/Makefile.in������������������������������������������������������0000644�0001750�0001750�00000023775�10403352441�016210� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = applets/icons DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(pixmapsdir)" pixmapsDATA_INSTALL = $(INSTALL_DATA) DATA = $(pixmaps_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLIBS = @INTLIBS@ LDFLAGS = @LDFLAGS@ LIBMB_CFLAGS = @LIBMB_CFLAGS@ LIBMB_LIBS = @LIBMB_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MOFILES = @MOFILES@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN_CFLAGS = @SN_CFLAGS@ SN_LIBS = @SN_LIBS@ STRIP = @STRIP@ VERSION = @VERSION@ WANT_ACPI_FALSE = @WANT_ACPI_FALSE@ WANT_ACPI_TRUE = @WANT_ACPI_TRUE@ WANT_APM_FALSE = @WANT_APM_FALSE@ WANT_APM_TRUE = @WANT_APM_TRUE@ WANT_PNGS_FALSE = @WANT_PNGS_FALSE@ WANT_PNGS_TRUE = @WANT_PNGS_TRUE@ WANT_SMALL_ICONS_FALSE = @WANT_SMALL_ICONS_FALSE@ WANT_SMALL_ICONS_TRUE = @WANT_SMALL_ICONS_TRUE@ WANT_WIFI_FALSE = @WANT_WIFI_FALSE@ WANT_WIFI_TRUE = @WANT_WIFI_TRUE@ WIRELESS_LIBS = @WIRELESS_LIBS@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ pngs = \ broken-0.png minisys.png no-link-0.png signal-61-80.png \ mbmenu.png minitime.png signal-1-40.png signal-81-100.png \ mbterm.png signal-41-60.png miniapm-power.png miniapm.png xpms = \ mbterm.xpm minisys.xpm no-link-0.xpm signal-41-60.xpm \ broken-0.xpm signal-61-80.xpm miniapm-power.xpm miniapm.xpm \ mbmenu.xpm signal-1-40.xpm signal-81-100.xpm minitime.xpm EXTRA_DIST = $(xpms) $(pngs) @WANT_PNGS_FALSE@imgs = $(xpms) @WANT_PNGS_TRUE@imgs = $(pngs) pixmapsdir = $(datadir)/pixmaps/ @WANT_SMALL_ICONS_FALSE@pixmaps_DATA = $(imgs) @WANT_SMALL_ICONS_TRUE@pixmaps_DATA = all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu applets/icons/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu applets/icons/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh uninstall-info-am: install-pixmapsDATA: $(pixmaps_DATA) @$(NORMAL_INSTALL) test -z "$(pixmapsdir)" || $(mkdir_p) "$(DESTDIR)$(pixmapsdir)" @list='$(pixmaps_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pixmapsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pixmapsdir)/$$f'"; \ $(pixmapsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pixmapsdir)/$$f"; \ done uninstall-pixmapsDATA: @$(NORMAL_UNINSTALL) @list='$(pixmaps_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pixmapsdir)/$$f'"; \ rm -f "$(DESTDIR)$(pixmapsdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(pixmapsdir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-pixmapsDATA install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-pixmapsDATA .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-pixmapsDATA install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-info-am uninstall-pixmapsDATA # 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: ���matchbox-panel-0.9.3/applets/icons/mbterm.xpm�������������������������������������������������������0000644�0001750�0001750�00000010550�10320055002�016131� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *mbterm[] = { /* columns rows colors chars-per-pixel */ "32 32 136 2", " c #000000", ". c #0E0E0E", "X c #181715", "o c #1A1917", "O c #1D1C1A", "+ c #0D2422", "@ c #162D2B", "# c #182F2D", "$ c #19302E", "% c #201F1E", "& c #21211E", "* c #242522", "= c #262924", "- c #282725", "; c #292926", ": c #2A2B28", "> c #2D312D", ", c #32302A", "< c #343531", "1 c #363A36", "2 c #3D3A33", "3 c #393D39", "4 c #3E423E", "5 c #423F37", "6 c #43413A", "7 c #45483C", "8 c #48453E", "9 c #4B483E", "0 c #414441", "q c #454A45", "w c #4A4740", "e c #4C4A42", "r c #494D49", "t c #4C514C", "y c #514D44", "u c #524E48", "i c #545146", "p c #54524A", "a c #59554C", "s c #5E5A4E", "d c #515550", "f c #545A54", "g c #595750", "h c #5D5A51", "j c #5A5E59", "k c #5C625C", "l c #605C4F", "z c #615D53", "x c #615F59", "c c #656055", "v c #66635A", "b c #62685F", "n c #686457", "m c #6A665B", "M c #6D685D", "N c #706B5F", "B c #616660", "V c #646A64", "C c #686560", "Z c #6C6C64", "A c #696D68", "S c #6C726C", "D c #716C62", "F c #716F6A", "G c #767266", "H c #767269", "J c #7A766B", "K c #7E7A6E", "L c #707570", "P c #747A74", "I c #7D7A71", "U c #797E79", "Y c #7D827D", "T c #827D73", "R c #868276", "E c #87847C", "W c #888479", "Q c #8D887E", "! c #818681", "~ c #858985", "^ c #8D8A81", "/ c #898D89", "( c #8C918C", ") c #918D83", "_ c #949087", "` c #959289", "' c #98938A", "] c #9C988E", "[ c #919591", "{ c #959995", "} c #9D9A92", "| c #999D99", " . c #9DA19D", ".. c #A19C93", "X. c #A39F99", "o. c #A5A097", "O. c #A6A299", "+. c #A9A59C", "@. c #A2A5A2", "#. c #A5A9A5", "$. c #ACA7A0", "%. c #ACA8A1", "&. c #ABAFAB", "*. c #ACB1AC", "=. c #B0ACA4", "-. c #B4B1AA", ";. c #BBB6AF", ":. c #B1B5B1", ">. c #BBB7B0", ",. c #BDBAB3", "<. c #B8BBB8", "1. c #C1BDB6", "2. c #C5C1BB", "3. c #C8C6BE", "4. c #C3C5C3", "5. c #C6C8C6", "6. c #C9C6C0", "7. c #CCC9C3", "8. c #CDCFCD", "9. c #CFD0CF", "0. c #D0CDC6", "q. c #D5D3CC", "w. c #D2D4D2", "e. c #D8D6D1", "r. c #DDDBD5", "t. c #DDDDDA", "y. c #E1DEDA", "u. c #E3E2DD", "i. c #E5E3E1", "p. c #E8E6E2", "a. c #EAE9E5", "s. c #EEEEEE", "d. c gray96", "f. c #F7F8F7", "g. c #FCFCFC", "h. c None", /* pixels */ "h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.", "h. h.", "h. ", "h. p.p.p.a.a.a.a.a.a.a.a.a.u.u.u.u.r.q.0.7.2.1.,.-.%.=. ", "h. p.q.3.3.7.6.7.7.7.7.6.6.3.3.1.1.,.;.-.=.+.O...o...} ", "h. p.2.k % ; : : : : : : : = : ; - - - & & % % % Z ..' ", "h. p.3.- k k b A A S S S S A A A V b k k f t q 4 @ +.) ", "h. u.3.- t / ( [ { { { { { [ [ [ / / ~ U S b d : @ o.) ", "h. u.1.- b | .@.#.#.#.#.#.@.@. .| { ( ! P V j 1 @ ..W ", "h. y.,.- p [ { | . . . . . .{ [ ( ~ Y L B d q > # ] R ", "h. y.>.- V | @.@.#.&.#.&.#.@.@.| [ / ! P A k t 1 $ ' I ", "h. e.-.* f / [ { | | . .{ ( / ! U L A k d q 4 > $ ) H ", "h. q.%.- V [ { | | | . .{ [ / ~ Y P S V k t q 3 # Q Z ", "h. 7.+.* d U i.<.~ ! Y Y Y L S A V k k d r 4 1 : # W Z ", "h. 6.X.* B Y g.g.f.9.{ ! Y U P L S A V k f r 0 < # T m ", "h. 1.] O t A ! :.t.g.g.8.{ B B k k f d t q 4 3 : # T z ", "h. ,.' O k S L L P / w.g.g.S S S A V k k f t q < # J h ", "h. -.^ O r j L .4.f.g.5.Y j f f d d t r q 0 4 : # G a ", "h. %.W o f k g.g.s.:.P V V V 5.5.5.5.4.4.f t t , # D i ", "h. X.T o 7 q w.~ d t t t t t d.g.f.f.d.u.t q q @ @ N e ", "h. } J o q t t t d d p d t t r q 0 4 4 1 < > : = + M 9 ", "h. ` D e - & = - = = ; - : ; = = = * * & & & % * 7 n 9 ", "h. / G T W W W W W R T T T H H D D M m n c c l l l i 9 ", "h. E Z N D N N Z M m n z z z f a a i i i y 9 9 9 9 9 9 ", "h. T M M m m m m v m z z h h a a p i i y y 9 y 9 9 9 9 ", "h. < w y u p a a g g p i u y e w 8 6 5 5 2 2 2 2 , ", "h. o < w u g x C Z F F Z C v x h g i w 8 6 6 6 6 % . ", "h. ", "h.h. ", "h.h.h.h. h.h.", "h.h.h.h.h. h.h.h.", "h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h." }; ��������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/minisys.xpm������������������������������������������������������0000644�0001750�0001750�00000003071�10320055002�016336� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *minisys[] = { /* columns rows colors chars-per-pixel */ "32 32 23 1", " c black", ". c #0E0E00", "X c #009200", "o c #00C100", "O c #00C800", "+ c green", "@ c #2EC100", "# c #3FFF00", "$ c #920000", "% c #C10000", "& c #C80000", "* c #C12E00", "= c red", "- c #FF3F00", "; c #929200", ": c #92C100", "> c #C19200", ", c #C1C100", "< c #C8C800", "1 c #C8FF00", "2 c #FFC800", "3 c yellow", "4 c None", /* pixels */ "44444444444444444444444444444444", "44444444444444444444444444444444", "444 44444 444", "44 4444 44", "44 4444 44", "44 4444 . 44", "44 ;<<; 4444 ;<<; 44", "44 ,33, 4444 ,33, 44", "44 ,33, 4444 ,33, 44", "44 ,33, 4444 ,33, 44", "44 ,33, 4444 ,33, 44", "44 ,33, 4444 >22> 44", "44 ,33, 4444 *--* 44", "44 ,33, 4444 %==% 44", "44 ,33, 4444 %==% 44", "44 :11: 4444 %==% 44", "44 @##@ 4444 %==% 44", "44 o++o 4444 %==% 44", "44 o++o 4444 %==% 44", "44 o++o 4444 %==% 44", "44 o++o 4444 %==% 44", "44 o++o 4444 %==% 44", "44 o++o 4444 %==% 44", "44 o++o 4444 %==% 44", "44 o++o 4444 %==% 44", "44 XOOX 4444 $&&$ 44", "44 4444 44", "44 4444 44", "44 4444 44", "444 444444 444", "44444444444444444444444444444444", "44444444444444444444444444444444" }; �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/no-link-0.xpm����������������������������������������������������0000644�0001750�0001750�00000011015�10320055002�016344� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *no-link-0[] = { /* columns rows colors chars-per-pixel */ "32 32 150 2", " c black", ". c #010101", "X c #020202", "o c gray1", "O c #040404", "+ c gray2", "@ c #060606", "# c gray3", "$ c #090909", "% c gray4", "& c #0B0B0B", "* c gray6", "= c #101010", "- c #111111", "; c gray7", ": c #131313", "> c #161616", ", c gray9", "< c #181818", "1 c gray10", "2 c #1B1B1B", "3 c #1D1D1D", "4 c #222222", "5 c #252525", "6 c #272727", "7 c gray16", "8 c #2A2A2A", "9 c #2C2C2C", "0 c gray19", "q c #313131", "w c #323232", "e c gray20", "r c #343434", "t c #353535", "y c gray21", "u c #373737", "i c gray22", "p c gray23", "a c #3F3F3F", "s c gray25", "d c #414141", "f c gray26", "g c #434343", "h c #444444", "j c gray28", "k c #484848", "l c #4C4C4C", "z c #4E4E4E", "x c #535353", "c c #555555", "v c gray34", "b c gray35", "n c gray37", "m c #606060", "M c gray38", "N c #626262", "B c gray39", "V c #646464", "C c #656565", "Z c gray40", "A c #676767", "S c gray42", "D c #6C6C6C", "F c #6D6D6D", "G c #6F6F6F", "H c #727272", "J c gray45", "K c #767676", "L c #777777", "P c gray47", "I c gray49", "U c gray50", "Y c #808080", "T c gray51", "R c #838383", "E c #868686", "W c gray53", "Q c #898989", "! c gray56", "~ c gray57", "^ c #959595", "/ c #979797", "( c #989898", ") c #9A9A9A", "_ c #9B9B9B", "` c gray61", "' c gray62", "] c #A0A0A0", "[ c gray63", "{ c #A2A2A2", "} c #A4A4A4", "| c gray65", " . c #A7A7A7", ".. c #A9A9A9", "X. c #AAAAAA", "o. c gray68", "O. c #AEAEAE", "+. c #AFAFAF", "@. c gray69", "#. c #B1B1B1", "$. c gray70", "%. c gray71", "&. c #B6B6B6", "*. c gray72", "=. c #B9B9B9", "-. c gray", ";. c #C0C0C0", ":. c #C1C1C1", ">. c gray77", ",. c #C5C5C5", "<. c #C6C6C6", "1. c #C8C8C8", "2. c #CDCDCD", "3. c #D2D2D2", "4. c LightGray", "5. c gray83", "6. c #D5D5D5", "7. c gray84", "8. c gray85", "9. c #DADADA", "0. c gainsboro", "q. c #DDDDDD", "w. c #E2E2E2", "e. c gray89", "r. c #E4E4E4", "t. c #E6E6E6", "y. c #E7E7E7", "u. c gray91", "i. c #E9E9E9", "p. c #EAEAEA", "a. c gray92", "s. c #ECECEC", "d. c gray93", "f. c #EEEEEE", "g. c #EFEFEF", "h. c gray94", "j. c gray95", "k. c #F3F3F3", "l. c gray96", "z. c #F6F6F6", "x. c gray97", "c. c #F8F8F8", "v. c #F9F9F9", "b. c gray98", "n. c #FBFBFB", "m. c gray99", "M. c #FDFDFD", "N. c #FEFEFE", "B. c gray100", "V. c None", /* pixels */ "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.", "V.V.V.{ C B B B C C B B B B C C B B B B B B B B B B B ! V.V.V.V.", "V.V.8 O t B C C C B C B a 1 ~ V.V.", "^ # q -.B.B.B.B.B.B.B.B.B.2.p H V.", "& O & - O # : O O & & 1 c 4 O 8 0.v.d.g.g.g.g.g.B.2.&.v.a.q V.", " q e.,.& ' a.b T a.Q ' B.) T B.&.3 : 1 1 : d e.8 # 4.B.) x ", " # 8.d.t 0.B.W $.B.B t ' d O O { B.o.O # & - - p d.' K k.B.6.5 ", "O .B.B d.B.X.0.k.q S 6.G # &.B.o.O B a.a.a.e.v.B t d.B.d.4 ", " O G B. .e.8.6.a.4.: P v.T # &.B.$.O j $.o.$.1.k.j - a.B.d.8 ", " l v.k.4.{ v.v.o.# P B.T # &.B.o.O z v.l - a.B.d.8 ", " 3 g.B.-.I B.B.I P v.T # -.B.$.O t W I I .v.j - a.B.d.5 ", " ,.B.) j k.v.j P B.W # -.B.o.O C B.B.B.B.k.j & a.B.e.5 ", " P 1.B 1 &.&.1 B 1.C 8 e.B.-.p W B.B.B.B.k.G d d.B.X.d ", "O O O O O I B.B.B.B.B.B.B.B.B.B.B.B.B.v.d V.", "C O O t e.B.B.B.B.B.B.B.B.B.B.B.B.k.K a V.", "V.H O O : ) &.$.&.&.$.&.$.&.&.&.&.&.Q q d V.V.", "V.V.V.B t q q t q q q t q q q q q q q q q t q q q t q b X.V.V.V.", "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.", "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.", "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.", "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.", "V.V.V.V.V.V. V.V.V.V.V.", "V.V.V. V. V.V. V. V.V.V.", "V.V.V. V.V. V. V.V.V.", "V.V.V. V.V. V. V.V. V.V.V.", "V.V.V. V.V. V.V. V.V. V.V.V.", "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.", "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.", "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.", "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.", "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.", "V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V.V." }; �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/signal-41-60.xpm�������������������������������������������������0000644�0001750�0001750�00000011240�10320055002�016562� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *signal-41-60[] = { /* columns rows colors chars-per-pixel */ "32 32 159 2", " c black", ". c #010101", "X c #020202", "o c gray1", "O c #040404", "+ c gray2", "@ c #060606", "# c gray3", "$ c #090909", "% c gray4", "& c #0B0B0B", "* c gray6", "= c #101010", "- c #111111", "; c gray7", ": c #131313", "> c #161616", ", c gray9", "< c #181818", "1 c gray10", "2 c #1B1B1B", "3 c #1D1D1D", "4 c #222222", "5 c #252525", "6 c #272727", "7 c gray16", "8 c #2A2A2A", "9 c #2C2C2C", "0 c gray19", "q c #313131", "w c #323232", "e c gray20", "r c #343434", "t c #353535", "y c gray21", "u c #373737", "i c gray22", "p c gray23", "a c #3F3F3F", "s c gray25", "d c #414141", "f c gray26", "g c #434343", "h c #444444", "j c gray28", "k c #484848", "l c #4C4C4C", "z c #4E4E4E", "x c #535353", "c c #555555", "v c gray34", "b c gray35", "n c gray37", "m c #48657D", "M c #48667F", "N c #606060", "B c gray38", "V c #626262", "C c gray39", "Z c #646464", "A c #656565", "S c gray40", "D c #676767", "F c gray42", "G c #6C6C6C", "H c #6D6D6D", "J c #6F6F6F", "K c #727272", "L c gray45", "P c #767676", "I c #777777", "U c gray47", "Y c gray49", "T c gray50", "R c #50708B", "E c #50718D", "W c #537592", "Q c #587B99", "! c #597D9C", "~ c #698BA8", "^ c #7998B2", "/ c #808080", "( c gray51", ") c #838383", "_ c #868686", "` c gray53", "' c #898989", "] c gray56", "[ c gray57", "{ c #959595", "} c #979797", "| c #989898", " . c #9A9A9A", ".. c #9B9B9B", "X. c gray61", "o. c gray62", "O. c #A0A0A0", "+. c gray63", "@. c #A2A2A2", "#. c #A4A4A4", "$. c gray65", "%. c #A7A7A7", "&. c #A9A9A9", "*. c #AAAAAA", "=. c gray68", "-. c #AEAEAE", ";. c #AFAFAF", ":. c gray69", ">. c #B1B1B1", ",. c gray70", "<. c gray71", "1. c #B6B6B6", "2. c gray72", "3. c #B9B9B9", "4. c gray", "5. c #C0C0C0", "6. c #C1C1C1", "7. c gray77", "8. c #C5C5C5", "9. c #C6C6C6", "0. c #C8C8C8", "q. c #CDCDCD", "w. c #D2D2D2", "e. c LightGray", "r. c gray83", "t. c #D5D5D5", "y. c gray84", "u. c gray85", "i. c #DADADA", "p. c gainsboro", "a. c #DDDDDD", "s. c #E2E2E2", "d. c gray89", "f. c #E4E4E4", "g. c #E6E6E6", "h. c #E7E7E7", "j. c gray91", "k. c #E9E9E9", "l. c #EAEAEA", "z. c gray92", "x. c #ECECEC", "c. c gray93", "v. c #EEEEEE", "b. c #EFEFEF", "n. c gray94", "m. c gray95", "M. c #F3F3F3", "N. c gray96", "B. c #F6F6F6", "V. c gray97", "C. c #F8F8F8", "Z. c #F9F9F9", "A. c gray98", "S. c #FBFBFB", "D. c gray99", "F. c #FDFDFD", "G. c #FEFEFE", "H. c gray100", "J. c None", /* pixels */ "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.@.A C C C A A C C C C A A C C C C C C C C C C C ] J.J.J.J.", "J.J.8 O t C A A A C A C a 1 [ J.J.", "{ # q 4.H.H.H.H.H.H.H.H.H.q.p K J.", "& O & - O # : O O & & 1 c 4 O 8 p.Z.c.b.b.b.b.b.H.q.1.Z.z.q J.", " q d.8.& o.z.b ( z.' o.H. . ( H.1.3 : 1 1 : d d.8 # e.H. .x ", " # u.c.t p.H.` ,.H.C t o.d O O @.H.=.O # & - - p c.o.P M.H.t.5 ", "O %.H.C c.H.*.p.M.q F t.J # 1.H.=.O C z.z.z.d.Z.C t c.H.c.4 ", " O J H.%.d.u.t.z.e.: U Z.( # 1.H.,.O j ,.=.,.0.M.j - z.H.c.8 ", " l Z.M.e.@.Z.Z.=.# U H.( # 1.H.=.O z Z.l - z.H.c.8 ", " 3 b.H.4.Y H.H.Y U Z.( # 4.H.,.O t ` Y Y %.Z.j - z.H.c.5 ", " 8.H. .j M.Z.j U H.` # 4.H.=.O A H.H.H.H.M.j & z.H.d.5 ", " U 0.C 1 1.1.1 C 0.A 8 d.H.4.p ` H.H.H.H.M.J d c.H.*.d ", "O O O O O Y H.H.H.H.H.H.H.H.H.H.H.H.H.Z.d J.", "A O O t d.H.H.H.H.H.H.H.H.H.H.H.H.M.P a J.", "J.K O O : .1.,.1.1.,.1.,.1.1.1.1.1.' q d J.J.", "J.J.J.C t q q t q q q t q q q q q q q q q t q q q t q b *.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J. J.J.J.J.J.", "J.J.J. J. J.J. J. J.J.J.", "J.J.J. ! ^ ! W ~ R J.J. J. J.J.J.", "J.J.J. E ! m J.J. R Q m J. J.J. J.J.J.", "J.J.J. J.J. J.J. J.J. J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J." }; ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/broken-0.xpm�����������������������������������������������������0000644�0001750�0001750�00000010420�10320055002�016254� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *broken-0[] = { /* columns rows colors chars-per-pixel */ "32 32 134 2", " c black", ". c #010101", "X c #020202", "o c gray1", "O c #040404", "+ c gray2", "@ c #060606", "# c gray3", "$ c #090909", "% c gray4", "& c #0B0B0B", "* c gray6", "= c #101010", "- c #111111", "; c gray7", ": c #131313", "> c #161616", ", c gray9", "< c #181818", "1 c gray10", "2 c #1B1B1B", "3 c #1D1D1D", "4 c #222222", "5 c #252525", "6 c #272727", "7 c gray16", "8 c #2A2A2A", "9 c gray19", "0 c #313131", "q c #323232", "w c gray20", "e c #343434", "r c #353535", "t c gray21", "y c #373737", "u c gray23", "i c #3F3F3F", "p c #414141", "a c gray26", "s c #434343", "d c #444444", "f c gray28", "g c #484848", "h c #4C4C4C", "j c #535353", "k c #555555", "l c gray34", "z c gray35", "x c gray37", "c c #606060", "v c gray38", "b c #626262", "n c gray39", "m c #646464", "M c #656565", "N c gray40", "B c gray42", "V c #6C6C6C", "C c #6D6D6D", "Z c #6F6F6F", "A c #727272", "S c gray45", "D c #767676", "F c gray47", "G c gray49", "H c red", "J c gray51", "K c gray53", "L c #898989", "P c gray56", "I c gray57", "U c #959595", "Y c #979797", "T c #989898", "R c #9A9A9A", "E c #9B9B9B", "W c gray62", "Q c #A0A0A0", "! c gray63", "~ c #A2A2A2", "^ c #A4A4A4", "/ c gray65", "( c #A7A7A7", ") c #A9A9A9", "_ c #AAAAAA", "` c gray68", "' c #AEAEAE", "] c #B1B1B1", "[ c gray70", "{ c gray71", "} c #B6B6B6", "| c gray72", " . c #B9B9B9", ".. c #C0C0C0", "X. c #C1C1C1", "o. c gray77", "O. c #C5C5C5", "+. c #C8C8C8", "@. c #CDCDCD", "#. c #D2D2D2", "$. c LightGray", "%. c gray83", "&. c #D5D5D5", "*. c gray84", "=. c gray85", "-. c #DADADA", ";. c gainsboro", ":. c #DDDDDD", ">. c #E2E2E2", ",. c gray89", "<. c #E6E6E6", "1. c gray91", "2. c #E9E9E9", "3. c #EAEAEA", "4. c gray92", "5. c #ECECEC", "6. c gray93", "7. c #EEEEEE", "8. c #EFEFEF", "9. c gray94", "0. c gray95", "q. c #F3F3F3", "w. c gray96", "e. c #F6F6F6", "r. c gray97", "t. c #F8F8F8", "y. c #F9F9F9", "u. c gray98", "i. c #FBFBFB", "p. c gray99", "a. c #FDFDFD", "s. c #FEFEFE", "d. c gray100", "f. c None", /* pixels */ "f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.", "f.f.f.~ M n n n n M n n n n M M n n n n n n n n n n n P f.f.f.f.", "f.f.8 O O r n M M M n M n i 1 I f.f.", "U # 0 .d.d.d.d.d.d.d.d.d.@.u A f.", "& O & - O # : O O * & 1 k 4 8 ;.y.6.8.8.8.8.8.H H H y.4.0 f.", " 0 ,.O.& W 4.z J 4.L R d.R O J d.} 3 : 1 < < H H H H $.d.R j ", " # =.6.r ;.d.K ] d.n r W p O ~ d.` O # & - H H H H H q.d.*.5 ", "O ( d.n 6.d._ ;.q.0 B *.Z # .d.` O n 4.H H H H H r 6.d.6.4 ", " O Z d._ ,.*.$.,.$.: F d.J # .d.] O g H H H H H g - 4.d.6.8 ", " h y.q.*.~ d.d.` # F y.J # .d.` O H H H H H e.g - 4.d.8.7 ", " 3 8.d. .G d.d.G F d.J # .d.` H H H H H ( e.g - 4.d.8.5 ", " O.d.R f q.y.f F d.J O # .d.H H H H H d.d.q.g * 4.d.,.5 ", " F +.n 1 } } 1 n +.M 8 4.H H H H H d.d.d.e.V p 6.d._ p ", "O O O O O G H H H H H d.d.d.d.d.d.d.d.e.p f.", "M O O r H H H H H d.d.d.d.d.d.d.d.q.S i f.", "f.A O O : H H H H H } } ] } } } } } L e d f.f.", "f.f.f.n e 0 e 0 0 e 0 0 0 H H H H H 0 0 0 0 r 0 0 0 r z ( f.f.f.", "f.f.f.f.f.f.f.f.f.f.f.f.H H H H H f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.", "f.f.f.f.f.f.f.f.f.f.f.H H H H H f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.", "f.f.f.f.f.f.f.f.f.f.H H H H H f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.", "f.f.f.f.f.f.f.f.f.H H H H H f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.", "f.f.f.f.f.f. H H H H H f.f.f.f.f.", "f.f.f. H H H H H f.f. f. f.f.f.", "f.f.f. H H H H H f.f. f. f.f.f.", "f.f.f. H H H H H f. f.f. f.f.f.", "f.f.f. H H H H H f. f.f. f.f. f.f.f.", "f.f.f.f.H H H H f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.", "f.f.f.f.H H H f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.", "f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.", "f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.", "f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.", "f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f.f." }; ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/signal-61-80.xpm�������������������������������������������������0000644�0001750�0001750�00000011240�10320055002�016566� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *signal-61-80[] = { /* columns rows colors chars-per-pixel */ "32 32 159 2", " c black", ". c #010101", "X c #020202", "o c gray1", "O c #040404", "+ c gray2", "@ c #060606", "# c gray3", "$ c #090909", "% c gray4", "& c #0B0B0B", "* c gray6", "= c #101010", "- c #111111", "; c gray7", ": c #131313", "> c #161616", ", c gray9", "< c #181818", "1 c gray10", "2 c #1B1B1B", "3 c #1D1D1D", "4 c #222222", "5 c #252525", "6 c #272727", "7 c gray16", "8 c #2A2A2A", "9 c #2C2C2C", "0 c gray19", "q c #313131", "w c #323232", "e c gray20", "r c #343434", "t c #353535", "y c gray21", "u c #373737", "i c gray22", "p c gray23", "a c #3F3F3F", "s c gray25", "d c #414141", "f c gray26", "g c #434343", "h c #444444", "j c gray28", "k c #484848", "l c #4C4C4C", "z c #4E4E4E", "x c #535353", "c c #555555", "v c gray34", "b c gray35", "n c gray37", "m c #48657D", "M c #48667F", "N c #606060", "B c gray38", "V c #626262", "C c gray39", "Z c #646464", "A c #656565", "S c gray40", "D c #676767", "F c gray42", "G c #6C6C6C", "H c #6D6D6D", "J c #6F6F6F", "K c #727272", "L c gray45", "P c #767676", "I c #777777", "U c gray47", "Y c gray49", "T c gray50", "R c #50708B", "E c #50718D", "W c #537592", "Q c #587B99", "! c #597D9C", "~ c #698BA8", "^ c #7998B2", "/ c #808080", "( c gray51", ") c #838383", "_ c #868686", "` c gray53", "' c #898989", "] c gray56", "[ c gray57", "{ c #959595", "} c #979797", "| c #989898", " . c #9A9A9A", ".. c #9B9B9B", "X. c gray61", "o. c gray62", "O. c #A0A0A0", "+. c gray63", "@. c #A2A2A2", "#. c #A4A4A4", "$. c gray65", "%. c #A7A7A7", "&. c #A9A9A9", "*. c #AAAAAA", "=. c gray68", "-. c #AEAEAE", ";. c #AFAFAF", ":. c gray69", ">. c #B1B1B1", ",. c gray70", "<. c gray71", "1. c #B6B6B6", "2. c gray72", "3. c #B9B9B9", "4. c gray", "5. c #C0C0C0", "6. c #C1C1C1", "7. c gray77", "8. c #C5C5C5", "9. c #C6C6C6", "0. c #C8C8C8", "q. c #CDCDCD", "w. c #D2D2D2", "e. c LightGray", "r. c gray83", "t. c #D5D5D5", "y. c gray84", "u. c gray85", "i. c #DADADA", "p. c gainsboro", "a. c #DDDDDD", "s. c #E2E2E2", "d. c gray89", "f. c #E4E4E4", "g. c #E6E6E6", "h. c #E7E7E7", "j. c gray91", "k. c #E9E9E9", "l. c #EAEAEA", "z. c gray92", "x. c #ECECEC", "c. c gray93", "v. c #EEEEEE", "b. c #EFEFEF", "n. c gray94", "m. c gray95", "M. c #F3F3F3", "N. c gray96", "B. c #F6F6F6", "V. c gray97", "C. c #F8F8F8", "Z. c #F9F9F9", "A. c gray98", "S. c #FBFBFB", "D. c gray99", "F. c #FDFDFD", "G. c #FEFEFE", "H. c gray100", "J. c None", /* pixels */ "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.@.A C C C A A C C C C A A C C C C C C C C C C C ] J.J.J.J.", "J.J.8 O t C A A A C A C a 1 [ J.J.", "{ # q 4.H.H.H.H.H.H.H.H.H.q.p K J.", "& O & - O # : O O & & 1 c 4 O 8 p.Z.c.b.b.b.b.b.H.q.1.Z.z.q J.", " q d.8.& o.z.b ( z.' o.H. . ( H.1.3 : 1 1 : d d.8 # e.H. .x ", " # u.c.t p.H.` ,.H.C t o.d O O @.H.=.O # & - - p c.o.P M.H.t.5 ", "O %.H.C c.H.*.p.M.q F t.J # 1.H.=.O C z.z.z.d.Z.C t c.H.c.4 ", " O J H.%.d.u.t.z.e.: U Z.( # 1.H.,.O j ,.=.,.0.M.j - z.H.c.8 ", " l Z.M.e.@.Z.Z.=.# U H.( # 1.H.=.O z Z.l - z.H.c.8 ", " 3 b.H.4.Y H.H.Y U Z.( # 4.H.,.O t ` Y Y %.Z.j - z.H.c.5 ", " 8.H. .j M.Z.j U H.` # 4.H.=.O A H.H.H.H.M.j & z.H.d.5 ", " U 0.C 1 1.1.1 C 0.A 8 d.H.4.p ` H.H.H.H.M.J d c.H.*.d ", "O O O O O Y H.H.H.H.H.H.H.H.H.H.H.H.H.Z.d J.", "A O O t d.H.H.H.H.H.H.H.H.H.H.H.H.M.P a J.", "J.K O O : .1.,.1.1.,.1.,.1.1.1.1.1.' q d J.J.", "J.J.J.C t q e q e q e q e q q q q q q q q e q e q e q b *.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J. J.J.J.J.J.", "J.J.J. J. J.J. J. J.J.J.", "J.J.J. ! ^ ! W ~ R J.J. E ~ W J. J.J.J.", "J.J.J. E ! m J.J. R Q m J. R Q m J.J. J.J.J.", "J.J.J. J.J. J.J. J.J. J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J." }; ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/miniapm-power.xpm������������������������������������������������0000644�0001750�0001750�00000003131�10320055002�017424� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *miniapm-power[] = { /* columns rows colors chars-per-pixel */ "32 32 25 1", " c black", ". c #181818", "X c #2A2A2A", "o c gray19", "O c gray20", "+ c #3A3A3A", "@ c #3F3F3F", "# c gray26", "$ c gray28", "% c #505050", "& c #5A5A5A", "* c gray40", "= c #717171", "- c #898989", "; c gray59", ": c #9A9A9A", "> c gray61", ", c gray71", "< c #BCBCBC", "1 c gray74", "2 c gray80", "3 c gray87", "4 c #E2E2E2", "5 c #F9F9F9", "6 c None", /* pixels */ "66666666666666666666666666666666", "66666666666666666666666666666666", "66666666666666666666666666666666", "66666666666666666666666666666666", "666666666666 6666666666666666", "666666666666 -# 66666666666666", "6666666 4#%* 6666666666", "666666 322,; 5O+%**** 6666666666", "6666666 4X+#**** 6666666666", "666666666666 1O+%**** 666666", "666666666666 1O+%**** 666666", "6666666 :OO&**** 6666666666", "666666 31,>=.:+$***** 6666666666", "6666666 &+&* 6666666666", "666666666666 @X 66666666666666", "666666666666 6666666666666666", "66666666666666666666666666666666", "66666666666666666666666666666666", "66666666666666666666666666666666", "66666666666666666666666666666666", "66666666666666666666666666666666", "66 6", "66 6", "66 6", "66 6", "66 6", "66 6", "66 6", "66 6", "66 6", "66 6", "666 66" }; ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/miniapm.xpm������������������������������������������������������0000644�0001750�0001750�00000013736�10320055002�016306� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *miniapm[] = { /* columns rows colors chars-per-pixel */ "32 32 242 2", " c black", ". c gray2", "X c #0B0B07", "o c #090908", "O c #101010", "+ c gray7", "@ c #1B1911", "# c #1E1B10", "$ c #1D1B15", "% c #181818", "& c #1D1D1D", "* c gray12", "= c gray14", "- c #2B2923", "; c #2A2A2A", ": c gray17", "> c #2E2D29", ", c #2C2C2C", "< c #2D2D2D", "1 c #2F2F2F", "2 c #3D3824", "3 c gray19", "4 c #313131", "5 c gray20", "6 c gray22", "7 c #393939", "8 c #3A3A3A", "9 c gray23", "0 c #3F3E3D", "q c #3E3E3E", "w c #423B23", "e c #413A24", "r c #443D27", "t c #46412E", "y c #4E4527", "u c #4B452C", "i c #4E462D", "p c #434139", "a c #4F4A35", "s c #4E4938", "d c #4E4B3E", "f c #534B2D", "g c #594F2C", "h c #575038", "j c #585133", "k c #5B5335", "l c #5A5337", "z c #5C5232", "x c #625835", "c c #615A3C", "v c #635A3C", "b c #6C6037", "n c #6E6236", "m c #76673C", "M c #74683C", "N c #796B3D", "B c #414141", "V c #434343", "C c gray27", "Z c #464646", "A c #4D4B41", "S c #494949", "D c gray29", "F c #4C4C4C", "G c gray30", "H c gray31", "J c #55544E", "K c #5B574B", "L c #5F5840", "P c gray32", "I c #555555", "U c gray35", "Y c #5A5A5A", "T c #5B5B5B", "R c #5D5D5D", "E c #5F5F5F", "W c #6B634A", "Q c #786B43", "! c #7C6F45", "~ c #626262", "^ c #686868", "/ c #6C6C6C", "( c #6D6D6D", ") c #6F6F6F", "_ c #717171", "` c #727272", "' c gray45", "] c gray46", "[ c #767676", "{ c #777777", "} c gray47", "| c gray48", " . c #7B7B7B", ".. c #7C7C7C", "X. c #7E7E7E", "o. c gray50", "O. c #847544", "+. c #857544", "@. c #80744C", "#. c #897A47", "$. c #897B4D", "%. c #8A7F58", "&. c #92824D", "*. c #97854B", "=. c #99874F", "-. c #908150", ";. c #998A56", ":. c #988B5B", ">. c #998C5F", ",. c #9A8D5F", "<. c #9C8E5D", "1. c #9A8D62", "2. c #9D8F63", "3. c #A4935F", "4. c #A89656", "5. c #A89759", "6. c #AA9856", "7. c #A19569", "8. c #A6996B", "9. c #A39A78", "0. c #B7A76C", "q. c #BCA863", "w. c #BEAA64", "e. c #B9A96F", "r. c #C4AF69", "t. c #CBB56C", "y. c #CDB76D", "u. c #CFBD7C", "i. c #D1BB70", "p. c #D2C07F", "a. c #D9C377", "s. c #DAC578", "d. c #DCC77B", "f. c #808080", "g. c gray51", "h. c #868686", "j. c gray53", "k. c #888888", "l. c #8B8B8B", "z. c gray55", "x. c #8D8D8D", "c. c #929292", "v. c #939393", "b. c #949393", "n. c gray58", "m. c #9D9D9D", "M. c #AAA184", "N. c #A8A18A", "B. c #BCB084", "V. c #B8B090", "C. c #A0A0A0", "Z. c gray63", "A. c #A2A2A2", "S. c gray68", "D. c gray69", "F. c #B1B1B1", "G. c gray70", "H. c #B4B4B4", "J. c gray71", "K. c #B6B6B6", "L. c #B7B7B7", "P. c gray72", "I. c #BBBBBB", "U. c #BCBCBC", "Y. c gray74", "T. c gray", "R. c gray75", "E. c #C2B997", "W. c #C4BA9D", "Q. c #D0BE81", "!. c #D3C283", "~. c #D2C185", "^. c #D5C281", "/. c #DBC887", "(. c #DECC8B", "). c #D7CB9B", "_. c #DBCB91", "`. c #CFC4A1", "'. c #CFC7A8", "]. c #C4C3BD", "[. c #D3CDBA", "{. c #E7D185", "}. c #E3D08F", "|. c #EEDA94", " X c #EBD99B", ".X c #E4D6A4", "XX c #E7D8A5", "oX c #ECDEA6", "OX c #EEDFA4", "+X c #EADCA9", "@X c #E1D6B0", "#X c #E2D8B6", "$X c #E6DCB6", "%X c #E9DFBB", "&X c #EEE2AD", "*X c #EEE1B4", "=X c #EEE4BF", "-X c #F1E1AB", ";X c #F0E3B2", ":X c #F0E5B1", ">X c #C0C0C0", ",X c #C1C1C1", "<X c gray76", "1X c #C5C5C5", "2X c #C8C8C8", "3X c gray79", "4X c #CACACA", "5X c gray80", "6X c #CDCDCD", "7X c #CECECE", "8X c gray81", "9X c #D0D0D0", "0X c gray83", "qX c #D7D7D7", "wX c #DADADA", "eX c #DDDDDD", "rX c #EEE5C5", "tX c #EDE6CD", "yX c #EDE7CE", "uX c #E5E3DE", "iX c #F2E8C6", "pX c #F4ECCD", "aX c #F8EFCD", "sX c #F8EFCE", "dX c #F5EFD5", "fX c #F4EFDD", "gX c #F7F2D6", "hX c #F9F2D9", "jX c #F0EEE6", "kX c #F4EFE1", "lX c #F6F2E3", "zX c #F7F2E4", "xX c #FAF6E1", "cX c #FAF6E8", "vX c #FBF8E4", "bX c #FBF8E8", "nX c #FCF9EC", "mX c #FCFAEE", "MX c #FDFBF1", "NX c #FDFBF3", "BX c #FDFBF4", "VX c None", /* pixels */ "VXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVX", "VXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVX", "VXVXVXVXVXVXVX = ; 1 5 5 5 1 5 1 ; > 2 w r u d $ VXVXVXVXVXVX", "VXVXVXVXVXVX * .x.k.x.k.x.x.k.k.b.N.p.!.(.=X$Xa VXVXVXVXVXVX", "VXVXVXVXVX G S.D.G.G.I.G.G.I.R.].rXpXsXhXpXOX_. VXVXVXVXVX", "VXVXVXVX n.<X<X<X1X2X7X8XqXqXuXnXBXMXcXiX-X|.X VXVXVXVXVX", "VXVXVXVX O R.1X2X2X7X8XqXqXwXwXjXnXNXcXlX*X X{.%. VXVXVXVXVX", "VXVXVXVX 1 R.R.R.R.<X1X2X7X8XqXdXxXvXgXlX+X!.;.k VXVXVXVXVX", "VXVXVXVX 7 S.S.S.S.D.G.G.I.I.<XoX&X:X;XzXXXu.~.[.p VXVXVXVXVX", "VXVXVXVX q A.A.A.A.A.A.A.A.A.A.a.s.d.}.fX.Xe.%XtXJ VXVXVXVXVX", "VXVXVXVX 7 m.n.c.c.c.c.n.n.c.c.t.y.i./.tX).:.'.@Xd VXVXVXVXVX", "VXVXVXVX 5 n.h.h.h.h.h.h.k.h.h.q.w.r.Q.#XB.@.8.E.t VXVXVXVXVX", "VXVXVXVX ; k.} { { } } { { } { 5.4.4.0.`.7.i z f # VXVXVXVXVX", "VXVXVXVX % f.' ) f.f.' { . ./ $.*.=.3.W.2.j x c VXVXVXVXVX", "VXVXVXVX E ) ^ h.f.{ f.f.{ E W +.+.#.V.<.Q -.s VXVXVXVXVX", "VXVXVXVX D ' P E I I E E I P K M m N 9.1.&.,.o VXVXVXVXVX", "VXVXVXVX O T ~ G G G C C C B q k b n ! M.1.h VXVXVXVXVXVX", "VXVXVXVXVXVX . * B 7 7 7 6 5 5 > : - e y g c L @ VXVXVXVXVXVX", "VXVXVXVXVXVXVX VXVXVXVXVXVXVX", "VXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVX", "VXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVXVX", "VXVX VX", "VXVX VX", "VXVX VX", "VXVX VX", "VXVX VX", "VXVX VX", "VXVX VX", "VXVX VX", "VXVX VX", "VXVX VX", "VXVXVX VXVX" }; ����������������������������������matchbox-panel-0.9.3/applets/icons/mbmenu.xpm�������������������������������������������������������0000644�0001750�0001750�00000004037�10320055002�016131� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *mbmenu[] = { /* columns rows colors chars-per-pixel */ "32 32 55 1", " c black", ". c #010202", "X c #040505", "o c #080909", "O c #080A09", "+ c #090B0A", "@ c #101313", "# c #181D1C", "$ c #1F2524", "% c #1F2525", "& c #1F2625", "* c #1F2626", "= c #202726", "- c #212827", "; c #212928", ": c #222828", "> c #222928", ", c #222A29", "< c #232B2A", "1 c #242B2B", "2 c #242C2C", "3 c #262E2D", "4 c #262E2E", "5 c #272F2F", "6 c #27302F", "7 c #28302F", "8 c #283030", "9 c #293231", "0 c #2A3332", "q c #2C3534", "w c #2F3A38", "e c #303938", "r c #303A3A", "t c #323938", "y c #333E3D", "u c #353E3D", "i c #343F3E", "p c #353F3E", "a c #34403F", "s c #35403F", "d c #3A4341", "f c #3B4442", "g c #3D4543", "h c #3D4644", "j c #3E4644", "k c #3E4A48", "l c #434D4B", "z c #454D4B", "x c #454F4D", "c c #4F5754", "v c #555C59", "b c #565E5A", "n c #585F5C", "m c #5C6360", "M c None", /* pixels */ "MMM::::::::*,:::*,,*:*,MMMMMMMMM", "MMM8 OOOOOOOOOOOOOOOOO@9MMMMMMMM", "MMM8 lxxxxxz :xxxxxxxt +6:MMMMMM", "MMM8 MMMMMMb 6MMMMMMMy X36MMMMM", "MMM8 MMMMMMb 3MMMMMMMa .*qMMMM", "MMM& MMMMMMn 3MMMMMMMa .,MMMM", "MMM8 MMMMMMmtaMMMMMMMy :MMMM", "MMM& MMMMMMMMMMMMMMMMy :MMMM", "MMM8 MMMMMMMMMMMMMMMMy ,MMMM", "MMM8 MMMMMMMMMMMMMMMMy .*MMMM", "MMM8 MMMMMMMMMMMMMMMMy ,MMMM", "MMM8 MMMMMMMMMMMMMMMMy :MMMM", "MMM8 MMMMMMMMMMMMMMMMy ,MMMM", "MMM8 MMMMMMMMMMMMMMMMy *MMMM", "MMM8 MMMMMMMMMMMMMMMMa ,MMMM", "MMM8 MMMMMMMMMMMMMMMMa :MMMM", "MMM8 MMMMMMMMMMMMMMMMy :MMMM", "MMM8 MMMMMMMMMMMMMMMMy :MMMM", "MMM8 MMMMMMMMMMMMMMMMy :MMMM", "MMM8 MMMMMMMMMMMMMMMMy :MMMM", "MMM8 MMMMjxMMMMkpcMMMy ,MMMM", "MMM8 MMM aMMMMa jMMMy *MMMM", "MMM8 MMMt aMMMMa jMMMy ,MMMM", "MMM8 MMMw yMMMMa fMMMy :MMMM", "MMM8 MMM aMMMMa fMMMa ,MMMM", "MMM9 808# *0080* $008* .*MMMM", "MMM9 X ,MMMM", "MMMMw ,MMMM", "MMMMM0 ,MMMM", "MMMMMM< . *MMMM", "MMMMMMM:8,*,,*,*:::::,,:,,:,MMMM", "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM" }; �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/signal-1-40.xpm��������������������������������������������������0000644�0001750�0001750�00000011117�10320055002�016477� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *signal-1-40[] = { /* columns rows colors chars-per-pixel */ "32 32 154 2", " c black", ". c #010101", "X c #020202", "o c gray1", "O c #040404", "+ c gray2", "@ c #060606", "# c gray3", "$ c #090909", "% c gray4", "& c #0B0B0B", "* c gray6", "= c #101010", "- c #111111", "; c gray7", ": c #131313", "> c #161616", ", c gray9", "< c #181818", "1 c gray10", "2 c #1B1B1B", "3 c #1D1D1D", "4 c #222222", "5 c #252525", "6 c #272727", "7 c gray16", "8 c #2A2A2A", "9 c #2C2C2C", "0 c gray19", "q c #313131", "w c #323232", "e c gray20", "r c #343434", "t c #353535", "y c gray21", "u c #373737", "i c gray22", "p c gray23", "a c #3F3F3F", "s c gray25", "d c #414141", "f c gray26", "g c #434343", "h c #444444", "j c gray28", "k c #484848", "l c #4C4C4C", "z c #4E4E4E", "x c #535353", "c c #555555", "v c gray34", "b c gray35", "n c gray37", "m c #48667F", "M c #606060", "N c gray38", "B c #626262", "V c gray39", "C c #646464", "Z c #656565", "A c gray40", "S c #676767", "D c gray42", "F c #6C6C6C", "G c #6D6D6D", "H c #6F6F6F", "J c #727272", "K c gray45", "L c #767676", "P c #777777", "I c gray47", "U c gray49", "Y c gray50", "T c #50718D", "R c #597D9C", "E c #7998B2", "W c #808080", "Q c gray51", "! c #838383", "~ c #868686", "^ c gray53", "/ c #898989", "( c gray56", ") c gray57", "_ c #959595", "` c #979797", "' c #989898", "] c #9A9A9A", "[ c #9B9B9B", "{ c gray61", "} c gray62", "| c #A0A0A0", " . c gray63", ".. c #A2A2A2", "X. c #A4A4A4", "o. c gray65", "O. c #A7A7A7", "+. c #A9A9A9", "@. c #AAAAAA", "#. c gray68", "$. c #AEAEAE", "%. c #AFAFAF", "&. c gray69", "*. c #B1B1B1", "=. c gray70", "-. c gray71", ";. c #B6B6B6", ":. c gray72", ">. c #B9B9B9", ",. c gray", "<. c #C0C0C0", "1. c #C1C1C1", "2. c gray77", "3. c #C5C5C5", "4. c #C6C6C6", "5. c #C8C8C8", "6. c #CDCDCD", "7. c #D2D2D2", "8. c LightGray", "9. c gray83", "0. c #D5D5D5", "q. c gray84", "w. c gray85", "e. c #DADADA", "r. c gainsboro", "t. c #DDDDDD", "y. c #E2E2E2", "u. c gray89", "i. c #E4E4E4", "p. c #E6E6E6", "a. c #E7E7E7", "s. c gray91", "d. c #E9E9E9", "f. c #EAEAEA", "g. c gray92", "h. c #ECECEC", "j. c gray93", "k. c #EEEEEE", "l. c #EFEFEF", "z. c gray94", "x. c gray95", "c. c #F3F3F3", "v. c gray96", "b. c #F6F6F6", "n. c gray97", "m. c #F8F8F8", "M. c #F9F9F9", "N. c gray98", "B. c #FBFBFB", "V. c gray99", "C. c #FDFDFD", "Z. c #FEFEFE", "A. c gray100", "S. c None", /* pixels */ "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.", "S.S.S...Z V V V Z Z V V V V Z Z V V V V V V V V V V V ( S.S.S.S.", "S.S.8 O t V Z Z Z V Z V a 1 ) S.S.", "_ # q ,.A.A.A.A.A.A.A.A.A.6.p J S.", "& O & - O # : O O & & 1 c 4 O 8 r.M.j.l.l.l.l.l.A.6.;.M.g.q S.", " q u.3.& } g.b Q g./ } A.] Q A.;.3 : 1 1 : d u.8 # 8.A.] x ", " # w.j.t r.A.^ =.A.V t } d O O ..A.#.O # & - - p j.} L c.A.0.5 ", "O O.A.V j.A.@.r.c.q D 0.H # ;.A.#.O V g.g.g.u.M.V t j.A.j.4 ", " O H A.O.u.w.0.g.8.: I M.Q # ;.A.=.O j =.#.=.5.c.j - g.A.j.8 ", " l M.c.8...M.M.#.# I A.Q # ;.A.#.O z M.l - g.A.j.8 ", " 3 l.A.,.U A.A.U I M.Q # ,.A.=.O t ^ U U O.M.j - g.A.j.5 ", " 3.A.] j c.M.j I A.^ # ,.A.#.O Z A.A.A.A.c.j & g.A.u.5 ", " I 5.V 1 ;.;.1 V 5.Z 8 u.A.,.p ^ A.A.A.A.c.H d j.A.@.d ", "O O O O O U A.A.A.A.A.A.A.A.A.A.A.A.A.M.d S.", "Z O O t u.A.A.A.A.A.A.A.A.A.A.A.A.c.L a S.", "S.J O O : ] ;.=.;.;.=.;.=.;.;.;.;.;./ q d S.S.", "S.S.S.V t q q t q q q t q q q q q q q q q t q q q t q b @.S.S.S.", "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.", "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.", "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.", "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.", "S.S.S.S.S.S. S.S.S.S.S.", "S.S.S. S. S.S. S. S.S.S.", "S.S.S. R E R S.S. S. S.S.S.", "S.S.S. T R m S.S. S. S.S. S.S.S.", "S.S.S. S.S. S.S. S.S. S.S.S.", "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.", "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.", "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.", "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.", "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.", "S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S.S." }; �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/signal-81-100.xpm������������������������������������������������0000644�0001750�0001750�00000011241�10320055002�016642� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *signal-81-100[] = { /* columns rows colors chars-per-pixel */ "32 32 159 2", " c black", ". c #010101", "X c #020202", "o c gray1", "O c #040404", "+ c gray2", "@ c #060606", "# c gray3", "$ c #090909", "% c gray4", "& c #0B0B0B", "* c gray6", "= c #101010", "- c #111111", "; c gray7", ": c #131313", "> c #161616", ", c gray9", "< c #181818", "1 c gray10", "2 c #1B1B1B", "3 c #1D1D1D", "4 c #222222", "5 c #252525", "6 c #272727", "7 c gray16", "8 c #2A2A2A", "9 c #2C2C2C", "0 c gray19", "q c #313131", "w c #323232", "e c gray20", "r c #343434", "t c #353535", "y c gray21", "u c #373737", "i c gray22", "p c gray23", "a c #3F3F3F", "s c gray25", "d c #414141", "f c gray26", "g c #434343", "h c #444444", "j c gray28", "k c #484848", "l c #4C4C4C", "z c #4E4E4E", "x c #535353", "c c #555555", "v c gray34", "b c gray35", "n c gray37", "m c #48657D", "M c #48667F", "N c #606060", "B c gray38", "V c #626262", "C c gray39", "Z c #646464", "A c #656565", "S c gray40", "D c #676767", "F c gray42", "G c #6C6C6C", "H c #6D6D6D", "J c #6F6F6F", "K c #727272", "L c gray45", "P c #767676", "I c #777777", "U c gray47", "Y c gray49", "T c gray50", "R c #50708B", "E c #50718D", "W c #537592", "Q c #587B99", "! c #597D9C", "~ c #698BA8", "^ c #7998B2", "/ c #808080", "( c gray51", ") c #838383", "_ c #868686", "` c gray53", "' c #898989", "] c gray56", "[ c gray57", "{ c #959595", "} c #979797", "| c #989898", " . c #9A9A9A", ".. c #9B9B9B", "X. c gray61", "o. c gray62", "O. c #A0A0A0", "+. c gray63", "@. c #A2A2A2", "#. c #A4A4A4", "$. c gray65", "%. c #A7A7A7", "&. c #A9A9A9", "*. c #AAAAAA", "=. c gray68", "-. c #AEAEAE", ";. c #AFAFAF", ":. c gray69", ">. c #B1B1B1", ",. c gray70", "<. c gray71", "1. c #B6B6B6", "2. c gray72", "3. c #B9B9B9", "4. c gray", "5. c #C0C0C0", "6. c #C1C1C1", "7. c gray77", "8. c #C5C5C5", "9. c #C6C6C6", "0. c #C8C8C8", "q. c #CDCDCD", "w. c #D2D2D2", "e. c LightGray", "r. c gray83", "t. c #D5D5D5", "y. c gray84", "u. c gray85", "i. c #DADADA", "p. c gainsboro", "a. c #DDDDDD", "s. c #E2E2E2", "d. c gray89", "f. c #E4E4E4", "g. c #E6E6E6", "h. c #E7E7E7", "j. c gray91", "k. c #E9E9E9", "l. c #EAEAEA", "z. c gray92", "x. c #ECECEC", "c. c gray93", "v. c #EEEEEE", "b. c #EFEFEF", "n. c gray94", "m. c gray95", "M. c #F3F3F3", "N. c gray96", "B. c #F6F6F6", "V. c gray97", "C. c #F8F8F8", "Z. c #F9F9F9", "A. c gray98", "S. c #FBFBFB", "D. c gray99", "F. c #FDFDFD", "G. c #FEFEFE", "H. c gray100", "J. c None", /* pixels */ "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.@.A C C C A A C C C C A A C C C C C C C C C C C ] J.J.J.J.", "J.J.8 O t C A A A C A C a 1 [ J.J.", "{ # q 4.H.H.H.H.H.H.H.H.H.q.p K J.", "& O & - O # : O O & & 1 c 4 O 8 p.Z.c.b.b.b.b.b.H.q.1.Z.z.q J.", " q d.8.& o.z.b ( z.' o.H. . ( H.1.3 : 1 1 : d d.8 # e.H. .x ", " # u.c.t p.H.` ,.H.C t o.d O O @.H.=.O # & - - p c.o.P M.H.t.5 ", "O %.H.C c.H.*.p.M.q F t.J # 1.H.=.O C z.z.z.d.Z.C t c.H.c.4 ", " O J H.%.d.u.t.z.e.: U Z.( # 1.H.,.O j ,.=.,.0.M.j - z.H.c.8 ", " l Z.M.e.@.Z.Z.=.# U H.( # 1.H.=.O z Z.l - z.H.c.8 ", " 3 b.H.4.Y H.H.Y U Z.( # 4.H.,.O t ` Y Y %.Z.j - z.H.c.5 ", " 8.H. .j M.Z.j U H.` # 4.H.=.O A H.H.H.H.M.j & z.H.d.5 ", " U 0.C 1 1.1.1 C 0.A 8 d.H.4.p ` H.H.H.H.M.J d c.H.*.d ", "O O O O O Y H.H.H.H.H.H.H.H.H.H.H.H.H.Z.d J.", "A O O t d.H.H.H.H.H.H.H.H.H.H.H.H.M.P a J.", "J.K O O : .1.,.1.1.,.1.,.1.1.1.1.1.' q d J.J.", "J.J.J.C t q e q e q e q e q q q q q q q q e q e q e q b *.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J. J.J.J.J.J.", "J.J.J. J. J.J. J. J.J.J.", "J.J.J. ! ^ ! W ~ R J.J. E ~ W J. ! ^ ! J.J.J.", "J.J.J. E ! M J.J. R Q M J. R Q M J.J. E ! M J.J.J.", "J.J.J. J.J. J.J. J.J. J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.", "J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J." }; ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/minitime.xpm�����������������������������������������������������0000644�0001750�0001750�00000002631�10320055002�016457� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *minitime[] = { /* columns rows colors chars-per-pixel */ "16 16 69 1", " c black", ". c gray9", "X c #2F2F2F", "o c gray19", "O c #313131", "+ c #343434", "@ c #393939", "# c gray24", "$ c #3F3F3F", "% c gray37", "& c #7C7C7C", "* c #8D8D8D", "= c #909090", "- c gray59", "; c #9A9A9A", ": c #9D9D9D", "> c #A0A0A0", ", c gray65", "< c #AFAFAF", "1 c gray69", "2 c #B2B2B2", "3 c #B4B4B4", "4 c gray71", "5 c #B6B6B6", "6 c #B9B9B9", "7 c #BBBBBB", "8 c #BCBCBC", "9 c gray74", "0 c gray", "q c #C0C0C0", "w c #C8C8C8", "e c gray79", "r c #CDCDCD", "t c #D0D0D0", "y c gray86", "u c #DDDDDD", "i c #F1DAD0", "p c #F4E2DA", "a c #E1E1E1", "s c #E2E2E2", "d c gray89", "f c #E4E4E4", "g c gray90", "h c #E6E6E6", "j c #E7E7E7", "k c gray91", "l c #E9E9E9", "z c #EAEAEA", "x c gray92", "c c #ECECEC", "v c gray93", "b c #EEEEEE", "n c #EFEFEF", "m c #F7EBE7", "M c gray94", "N c #F1F1F1", "B c gray95", "V c #F3F3F3", "C c #F4F4F4", "Z c gray96", "A c #F6F6F6", "S c gray97", "D c #F8F8F8", "F c #F9F9F9", "G c gray98", "H c #FBFBFB", "J c gray99", "K c gray100", "L c None", /* pixels */ "LLLL LLLL", "LLL #rZGGBe+ LLL", "LL ,ZGGG0GZB: LL", "L >ZGGGJ4GZBc- L", " +BZGGJJ;GZBcjO ", " 7BZGJJJ&ZZBBj2 ", " jBZGGJJ%ZZBcju ", " c9ZGGJJ#rBBj4d ", " j9BZZZGe.9cj4j ", " jcBBZZBB9 7jjy ", " 7ccBBBBBc7 jd2 ", " OjcjcBcjcjjddX ", "L *jjjjjjjjdd* L", "LL *jjj74jdd* LL", "LLL O2uddy<X LLL", "LLLL LLLL" }; �������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/broken-0.png�����������������������������������������������������0000644�0001750�0001750�00000002313�10320055002�016236� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD������ pHYs�� �� d_���tIME,��XIDATxOHT{?;W50Z B}[譌Hh/%ʍE+)\D"Nx D(ф#B!5f掓E ?s93TÇ2==dl"RqFgfdqqѡ؂B].͜;w]eB$ahh"b(5�Y={&TJ, BryfZ햒x<zE49zTVVJII!GnHOOg~,//K"my}0MS666%-@)%MMM[-<u듑Y[[۷oؘܻw/s###b۶LNNʉ'lr4-:@$! sqTWWDx53>>R ]ש4M6664#G�ȩ\.ܽ{ H0;;㡱 ɓ'q0qy�t]$ioo/o޼)Hs[X >4�x"d�,//;9{,UUUHTT|_.]"b6�QVVI \|MBOرcDQvvv_O:lq `kkh4r1;;K*,y@iZmضI*h/^ L& QiW8pUR>`6zv333C8(kkk|U�jkk<'߇RSNa&#"tt9Mr\ vA۶Ŷm,Kɤtvv^~Arzhlb1h``@FGG,P[UUln:N'O" <~Ԕǵk$rza7�gΜ o):|oME|/ �C! $E1HzB&Ǟ-o39K,A`[J+<,>Jv}9\wc"wܱV~ ~�_;6����IENDB`���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/minisys.png������������������������������������������������������0000644�0001750�0001750�00000000475�10320055002�016323� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD������ pHYs�� �� ,���tIME ,;L���IDATX1 EgPСKٓ:EOcDHM R[b@'�8hՎEx=9k!ƨ RH呼=0KH}o=ߴs xgSC}WGw>V˹bΐR*өcZ1 3k�Jz/L B smț����IENDB`���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/no-link-0.png����������������������������������������������������0000644�0001750�0001750�00000002342�10320055002�016327� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD������ pHYs�� �� d_���tIME,+.}��oIDATxOhy?_&i*B؄OB=.xl aw=& 4DjC h҂JNqI(_x̼~ow޼cR͛2::x6A)SD"s|9=% XJ4ݻ1 cyqrd2Ο?OooC4MQJ�+lC)R ȳgϤKهB! %ZjkkA)pXBl޼Y;&MMM^X,&SSSӧOg{ŶmEJ)ioooJ2P($7nܐY9q ̌\rE_.""׮]*100 lٲEѨO8 >|D"! m[ѣb�d2,"fƍٴiL/_bwA)al߾�۶CkMMMea&}}}dYvI W<cccaH;vŰ,t:޽{ٷo�A45Ǚdrr ޽KMM ?,,,"b"Q�:DPիWq6l޽MR)Or"f ֚jyr|#G?ɓ'ZL&_1addO֭[ki,ˢ?f hX,saADhnnFk;?\F`zzqx5O<aaa`0H*JW 5ilmmm\xgJ)|'�p= LNyJ)7 O>ezz[@}}=TB)Ess3mc"B*Z<[UUrZkߖ_tI\6]}9\uq) rAЧO:Y)e+ٳg}SP>UPJQ(pI@oo z[cc#/_f۶mk&\ ܾ}H$G`gΜt:vEOONZTߡR3h\[@~Z�R"� K2_$2ߟK2o +*ZŷZbzN*rBwb+|u1C=~����IENDB`����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/signal-61-80.png�������������������������������������������������0000644�0001750�0001750�00000002463�10320055002�016555� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD������ pHYs�� �� d_���tIME-/0~%��IDATx_HTy?;wjtqMj"Aꡧ? AKQв E,ћ,E8 INh: 6ں3KkΌ׹gܱ,`/=|s~C*oߖ>DIJJAΜ9ci)@@W0\m\Zv܉+gY8hҲIGG\.QJ}�+lՐf_ٳn8Nx<zE4),,q:r͛7ѣG ettTLMMMfff===b$I[$yB!qr-I$rqiooI|ܼySDD_ne]LӔ)//gț7o$ Jaa<{L Ð7nHSS�hT*'M!PVVF4ehh]׹{.J)t]g֭�A2D4 HR\.Z[[bl۶ ACC׮]CH xx^�R)"{e߾}ڵ �]|"=v###0<<LWW<z377R χa��8tLϟظq#QTTĎ;(--FU$ %xabbX,i�h%#Gx%O>ĉhF(bfffE~ Zzcc#\oD"R)x-X Ái 0??EÇfhf[<?L@`||Ay?fnnI8R Mp\6ݻx͖NmR �tww:PH$ÇQJ<!'''y �lٲJ�"J)1 ]u٦i)&iZ.=iif%@;yUJ)|M[gN>mςRL&Å _�ZZZ*n\tOs^{)2N:%HdũoNcc#͟NwXtp/=M \݀H?P_y%{ cjn Hsۯ|[^ƫ?}6�SM~?&\]) Hە}Az'5W0!X�Fwۮ /Sx?}6{~ ְ5Pé&#����IENDB`�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/mbmenu.png�������������������������������������������������������0000644�0001750�0001750�00000001721�10320055002�016106� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD������ pHYs�� �� d_���tIME *5F*��^IDATX?]U7L XXh;P-!d/H,QyHHO 3B.eq7F{ֶ!gFmtǻۜ- r}ꞱmG?@I6I8وvǐqWvx}i�NNNwyMd$H&E@(s31׾!RF*^&5X9[Wp986�JZK9�4>r vFB�Vd . $5λVrU`Gy�̹(5\+=+P@4!& +7W.$HVP=ᒵeJp܉+PƯdsc<-7*J5 re/&/~0Ս%Zʺ 6)Kp:a^Ȥ}^YK0z]l:.gyoy Z̬@Fk;ߝUct �2X#[=&oo}uo"y:@6Vy|v a޼sw�$i͸_Wc+w{ 7j_>y/OQמ]z3;oȵOBɴA5Β*^/gEF.Ba8 )X#T*UmձjaB5è�PyhN1M0ш/2%3)hݯl:k{&M̭�5n{*>SI Yc Kr7x:�-pY?t6 r{)LRqvxjjYC5DYp弗׮X,ry/sY1k|-2����IENDB`�����������������������������������������������matchbox-panel-0.9.3/applets/icons/minitime.png�����������������������������������������������������0000644�0001750�0001750�00000001226�10320055002�016436� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� ~���tIME4ͩN��#IDATx?K#Q3A ?6n! H - F,++ba%4bFAAEƄI&yo6fH4{{W ?yV?j0TW @* #EQ85 vuss^0 \}|pp0 5 dٙ8VEvwwHJbQAm7`t\`}ssuSq�.L&%I$, MMMy^( c h4<==! k-czz`I"IcbekkU<K9s>33뺩JX^^ZE/.p6%ׅBj I$ �P* .//d28zw88 ][[Nl1͎ ϱVvv jMFC/C%T}_^D\N@%xݞ�s-����IENDB`��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/signal-1-40.png��������������������������������������������������0000644�0001750�0001750�00000002403�10320055002�016455� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD������ pHYs�� �� d_���tIME- aW��IDATxOHT{?;wltq&5Tj h"E-/h$GzЍ<"* K&R7Bzy 6w) 9;9\{�"D(.]rtH$"###{`>QCcc#{AU-"NL&r K'J2`UQ<y" R e477˗~z$ iRVV&zI /[n'OJmmS<ؘdY/_lvv)'i455-PJICC|Qb~{d29}tvvԔܸqCܹ#""ov۶Ojjj$ 'FRVV&_4[N8!:@20 0HlBCCHj$o޼Au<xR ]ٱc�i2==i:=`>/Jعs'nݺf"F �1 D"8x {@uBIO:(CJKKy?f~~P4� �pQro߾%yfݻwSUUukd2q4"$T ۶4M6K:fqqǏ{^zř3g4X,] ;~kk+===w$ àϟ?Jx<h EСC;v ˲4ufeض477;?<^x<HM|ؾ}v+f]R͹ �:XD"ӧOQJ!x%�l۶Z�***hjjr"J)1M]ْז4͵b۶¶mm[,˒\.'G�ٳN'+\=_B\p5QR\.իWTKWW8zUUUquo߾n0<< <zH9Vp9I$~®]hmmm}6CfЁ /@v(zɳAn9] r w3`+?Ta2C/,aAxZs� s �?0 3m=}SB-׋M֗6 7V����IENDB`�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/signal-81-100.png������������������������������������������������0000644�0001750�0001750�00000002454�10320055002�016630� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD������ pHYs�� �� d_���tIME.�~��IDATx_HTy?;wjtqMj"Aꡧ? DCв E,ћ,K4&94Dj,9x{zhه s{=?Wn߾-eR_E={֖R,cځDuuuڵ ]חr98h .ںxHgg\.QJ}�luuuՐd``@ܹsn8Nx<zE4)..M6%GnlٲE;&UUUVr/cccddzzZRMfffĽb$I_$ZyB!qr-I$r 萩)rܼySDD_nUCLӔ^gʛ7o$ Jqq<{L Ð7nHss�ht:'͛%P^^N4exx]׹{.J)t]g۶m�A2D4HӸ\.ڈbl߾Acc#׮]Cd2 xx^�i"c޽�]|&=~8222Bww7EEE<z377R χa�8|0lϟظq#cccSRRΝ;)++8F6U$ %xarrX,i�h%ѣGy%O>ɓhF(bfffو~ }}}YzSS]]]+["t޾}K,pipr"BMM bi LLL044DCC/^t: Vi.f۳g.]2-RY;t]' Dx!J)6O<abb[RUU@ii)TC)EMM a:"B8^]nmifrb a)\N٬:tH�SNY{̙3)(*(f\x U:;;VVV˗\1044ĝ;wzܻwOYpiD"˾kaǎ455Ҳrj͠+)`s=�P7\;ソ |oV@Zۊr^M&{�'n>319NOߗڮME%D_gZymw@z&aϥ`3Lޑyo7,=L>-poְ5e����IENDB`��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/mbterm.png�������������������������������������������������������0000644�0001750�0001750�00000003247�10320055002�016116� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD�����\IDATx͗͋^W?<3R1q6J&&RJF)uUW.Q wؚ1BߐD*֐N&L{y>̤Q(U\s}o㥶(]6@v�,3 2;#$RTB)JT<%AbD$%"Q1ж-m>:G=ηq;8 g;�ImlccZi(243,)b$vO {w8ZGWZGaob0vT\%I"MBJ YV?~qh-#;o]3gq 5k1ƢFB>< 1c H;ڦ;Ϥ?\S'F[Mn "=ٯ}cQJ̀$DB680   qmm�rse߿Ela֢Fk%4,9ڢ%DHYFk;1=4 6d�؊Kp M0 n <0yng�Q"o>Xk)l6k-J+$B GEQPJ( > ߅mq%%a0`0PXhr.޶Md2iFɄhx4f<g\k۝8' ,}n(6_II-5U(a.!AB·I2|�ONp^ wqιm;s9파'ux<Fi) KK{(e9nݾŕ?]=6@e,qQ˜xZk$ ]mDֱE?y'?ɑǏp1~(oW]yH$93LsL.ri#%aa`xKc7ϲrb+g>:nZ5ag�dL4W.p!<~_>̩Oa\E>7Rywy']?=:w+WND=)(q֦_+x1RW"1v3uC4JYx:!R$l'0̦5ƣ1hHVvG1P=taxG/ªNHs=G=Nꃟgr45m~6Kn@tMHNDS`>EćCe=^9ΙOmJ1a"IHNs FcMWJP@iv6U"{ҍX8-(EM+iS1 er; M'J'H 7 IfGKU <{ ]<R)YLc F~On|(ޟ~oȣ7<xۻ7z*,ٳ=K 377GQ%YM<Ac?M]E_/%vku'�ǀ/tW)CS\Rw ӝׁ5 >XBJÏpUpOO /_X'����IENDB`���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/signal-41-60.png�������������������������������������������������0000644�0001750�0001750�00000002440�10320055002�016544� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD������ pHYs�� �� d_���tIME- ��IDATx_HTy?;wjtqEa*@z)/=DУAKAв E,ћԾB4PINh: 6ں#xy;ɇ`/=~s~C*ߗDĶJa.^i+PH0\\.كK֛I2$sikk#J5 VSS#O<9Y iJooɥK{^qiRXX(%%%v+[n'NHEE< d2)LOOہ0 J)>H$+ݓT*%NV7nݻwEDv&Z[[Ų,r 9||Qׯ0 s466IABlٲjBeeequBuvaLLLiv i<.\ HsN\.ܺu ׇ#$ Nb8pw^�t]'8ɓ 144 3?~,J)�a,�ѣdY޼yC(b 322BQQw領[)GWJF$ID1ei7nd2<ǏݻwzӧOiH%-W\obiD˅i177&رcPUUi5òoFGG燐osfggqDQ;u4 ۷k׮9lLX)̌�@gg'Db<}r||/_2:: mۨ�Z+r 0u!.ݰacir---bY=raYX%iJ6#GvR|}?lWڿT477K[[]8߻JKK~:۷o_1r~=zl8{b%_k.hjjZ9UabЁbs|oU H_}yr㫽9w37`~w~*/X_Md(++㯱:~U+�w@z3`E<0`Y&>⸚7-`My>^L׋5nrWc_w!1����IENDB`��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/icons/miniapm-power.png������������������������������������������������0000644�0001750�0001750�00000000747�10320055002�017416� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD������ pHYs�� �� #u���tIME7V��tIDATX=@U! ZXzRkx,b oZ6h#i5m#j? _&7@T׫ȶ> nWǑGHTsqGͦt:w.zkf\ ÐZeYضm>)WT$j 6 �n!L&Rw|gw;s+y6rHZk�0$⯋�Dkt:e^X, C�,ˢX,R(ہ&F�}𥉉huV}YQƩR=D5|lDQ]Ml= c(YRJ1r$y�g.8} �T"͢=́o?]T�|L]`D ����IENDB`�������������������������matchbox-panel-0.9.3/applets/icons/miniapm.png������������������������������������������������������0000644�0001750�0001750�00000002366�10320055002�016263� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR��� ��� ���szz���bKGD������ pHYs�� �� ���tIMEճJ��IDATXo[E3s_rR 4HT�* @R* *,X"@bSXH*HP_@ym1qM}}}"i*ET$:wsf>Ŀ{ײRH)BZ@JDQq4L!A)Hkog^|jyC@*�gdddرc\n>!V$I�H9C>{G()I'if.*y wsblLLL<299RRv@(B؂: *C ,oqS3/ovc؄!C$I0PJuibf`h�! &}f%m*F#�&Lr=ض8R)0-²,24IE!QPݪ.3?w?=$I<5R g[$QB*2I! ,,T8] RT^ߨu�ZXT$;0q{ǟyq{6ʧsWl4e�@kV�v#@J'N4זVv>l ( Ð0 i6h;o,u{yPhGrYi]YU_ @�n>po wGJehv+ T\~<wլ_y]#1KכcB[e;_?_۽HVVhqL6EyH), 5\c A;\0"jIg,,Kb:ʕ �tKRY# C Ju*A.W*1zRAy\A6;sL<4P镁 ,,..T*Q֩en"|'i Rf Akms{'/>ln"tZZ=c2 z �p]f&C%Dqa?g/7OA4g HqZk(Zib{I:#J'_-_?-{k" lv8>0ǝx8ތh\ӵ _8q񩩩-X,K. [}PХRIo@� @n \D@Pgν|P,_T*mU�x? i`'����IENDB`��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/�����������������������������������������������������������0000777�0001750�0001750�00000000000�10403352454�015323� 5����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/Makefile.am������������������������������������������������0000644�0001750�0001750�00000001157�10320055002�017262� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������pngs = \ broken-0.png minisys.png no-link-0.png signal-61-80.png \ mbmenu.png minitime.png signal-1-40.png signal-81-100.png \ mbterm.png signal-41-60.png miniapm-power.png miniapm.png xpms = \ mbterm.xpm minisys.xpm no-link-0.xpm signal-41-60.xpm \ broken-0.xpm signal-61-80.xpm miniapm-power.xpm miniapm.xpm \ mbmenu.xpm signal-1-40.xpm signal-81-100.xpm minitime.xpm EXTRA_DIST = $(xpms) $(pngs) if WANT_PNGS imgs = $(pngs) else imgs = $(xpms) endif pixmapsdir = $(datadir)/pixmaps/ if WANT_SMALL_ICONS pixmaps_DATA = $(imgs) else pixmaps_DATA = endif�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/Makefile.in������������������������������������������������0000644�0001750�0001750�00000024017�10403352441�017304� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = applets/small-icons DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(pixmapsdir)" pixmapsDATA_INSTALL = $(INSTALL_DATA) DATA = $(pixmaps_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLIBS = @INTLIBS@ LDFLAGS = @LDFLAGS@ LIBMB_CFLAGS = @LIBMB_CFLAGS@ LIBMB_LIBS = @LIBMB_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MOFILES = @MOFILES@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN_CFLAGS = @SN_CFLAGS@ SN_LIBS = @SN_LIBS@ STRIP = @STRIP@ VERSION = @VERSION@ WANT_ACPI_FALSE = @WANT_ACPI_FALSE@ WANT_ACPI_TRUE = @WANT_ACPI_TRUE@ WANT_APM_FALSE = @WANT_APM_FALSE@ WANT_APM_TRUE = @WANT_APM_TRUE@ WANT_PNGS_FALSE = @WANT_PNGS_FALSE@ WANT_PNGS_TRUE = @WANT_PNGS_TRUE@ WANT_SMALL_ICONS_FALSE = @WANT_SMALL_ICONS_FALSE@ WANT_SMALL_ICONS_TRUE = @WANT_SMALL_ICONS_TRUE@ WANT_WIFI_FALSE = @WANT_WIFI_FALSE@ WANT_WIFI_TRUE = @WANT_WIFI_TRUE@ WIRELESS_LIBS = @WIRELESS_LIBS@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ pngs = \ broken-0.png minisys.png no-link-0.png signal-61-80.png \ mbmenu.png minitime.png signal-1-40.png signal-81-100.png \ mbterm.png signal-41-60.png miniapm-power.png miniapm.png xpms = \ mbterm.xpm minisys.xpm no-link-0.xpm signal-41-60.xpm \ broken-0.xpm signal-61-80.xpm miniapm-power.xpm miniapm.xpm \ mbmenu.xpm signal-1-40.xpm signal-81-100.xpm minitime.xpm EXTRA_DIST = $(xpms) $(pngs) @WANT_PNGS_FALSE@imgs = $(xpms) @WANT_PNGS_TRUE@imgs = $(pngs) pixmapsdir = $(datadir)/pixmaps/ @WANT_SMALL_ICONS_FALSE@pixmaps_DATA = @WANT_SMALL_ICONS_TRUE@pixmaps_DATA = $(imgs) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu applets/small-icons/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu applets/small-icons/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh uninstall-info-am: install-pixmapsDATA: $(pixmaps_DATA) @$(NORMAL_INSTALL) test -z "$(pixmapsdir)" || $(mkdir_p) "$(DESTDIR)$(pixmapsdir)" @list='$(pixmaps_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pixmapsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pixmapsdir)/$$f'"; \ $(pixmapsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pixmapsdir)/$$f"; \ done uninstall-pixmapsDATA: @$(NORMAL_UNINSTALL) @list='$(pixmaps_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pixmapsdir)/$$f'"; \ rm -f "$(DESTDIR)$(pixmapsdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(pixmapsdir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-pixmapsDATA install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-pixmapsDATA .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-pixmapsDATA install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-info-am uninstall-pixmapsDATA # 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: �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/mbterm.xpm�������������������������������������������������0000644�0001750�0001750�00000006567�10320055002�017254� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *mbterm[] = { /* columns rows colors chars-per-pixel */ "16 16 173 2", " c black", ". c #020202", "X c #040404", "o c #0D0D0C", "O c #0E0D0C", "+ c #111010", "@ c #1D1C1A", "# c #1F1E1C", "$ c #21201C", "% c #21201E", "& c #25241F", "* c #222120", "= c #242321", "- c #252422", "; c #252523", ": c #262520", "> c #262523", ", c #272725", "< c #292723", "1 c #282726", "2 c #292826", "3 c #292927", "4 c #2D2C27", "5 c #32302C", "6 c #373531", "7 c #313834", "8 c #353B38", "9 c #343C38", "0 c #363D39", "q c #3B3934", "w c #3D3C37", "e c #393F3B", "r c #3D4541", "t c #403D37", "y c #43413A", "u c #43403C", "i c #46443D", "p c #464545", "a c #454843", "s c #494742", "d c #4B4942", "f c #4D4B46", "g c #4E4C45", "h c #484D48", "j c #4B4E49", "k c #4F524C", "l c #4F554F", "z c #53504A", "x c #50524E", "c c #55524C", "v c #575449", "b c #56544D", "n c #56544E", "m c #58554F", "M c #505550", "N c #545A54", "B c #565954", "V c #575C57", "C c #585650", "Z c #5B5951", "A c #5B5D58", "S c #5B605B", "D c #5F615C", "F c #5E615E", "G c #5F625D", "H c #5F635E", "J c #5F655F", "K c #605F59", "L c #636057", "P c #61635E", "I c #64675E", "U c #67645C", "Y c #6A685E", "T c #606660", "R c #646964", "E c #656864", "W c #656A65", "Q c #676C67", "! c #6A6862", "~ c #6B6A64", "^ c #6E6B62", "/ c #686C68", "( c #686E69", ") c #6C6A68", "_ c #6F6E6C", "` c #6C716C", "' c #6C726D", "] c #6E736E", "[ c #6F746F", "{ c #6F756F", "} c #706D62", "| c #716E66", " . c #706F69", ".. c #716F6A", "X. c #70736F", "o. c #76736A", "O. c #77746B", "+. c #7B776E", "@. c #717470", "#. c #707671", "$. c #747371", "%. c #777670", "&. c #737873", "*. c #747975", "=. c #757975", "-. c #777D78", ";. c #787671", ":. c #787775", ">. c #797876", ",. c #7B7977", "<. c #7C7B76", "1. c #7F7C73", "2. c #7D7D77", "3. c #7A7F7A", "4. c #7C7F7B", "5. c #7E7D7B", "6. c #7E7E7B", "7. c #7C817C", "8. c #7E837E", "9. c #7F847F", "0. c #817D75", "q. c #807F7E", "w. c #80807A", "e. c #81807B", "r. c #81817E", "t. c #80827F", "y. c #83827D", "u. c #84847F", "i. c #85857F", "p. c #828682", "a. c #838682", "s. c #848382", "d. c #858483", "f. c #848783", "g. c #868680", "h. c #868684", "j. c #868885", "k. c #878A86", "l. c #868C86", "z. c #888786", "x. c #888887", "c. c #898987", "v. c #888B86", "b. c #8B8A8A", "n. c #8B8B8A", "m. c #8A8D89", "M. c #8B8E8A", "N. c #8E938E", "B. c #929088", "V. c #929692", "C. c #949794", "Z. c #959895", "A. c #999D99", "S. c #9A9E9A", "D. c #9B9E9B", "F. c #9EA29E", "G. c #9FA49F", "H. c #A2A5A2", "J. c #A2A6A2", "K. c #A3A6A3", "L. c #A4A8A4", "P. c #ABAAA2", "I. c #AAADAA", "U. c #B0B3B0", "Y. c #B1B2B1", "T. c #B8BAB8", "R. c #BDBFBD", "E. c #C6C8C6", "W. c #CCCDCC", "Q. c #CCCECC", "!. c #CDCFCD", "~. c #D6D7D6", "^. c None", /* pixels */ " ", " p n.x.x.m.x.x.h.d.y.5.,.:.* ", " n.P.y.g.g.i.s.w.5.%...~ B.f ", " z.w.H h.m.m.m.v.g.7.] e 7.s ", " h.<.h.G.K.L.K.D.V.7.Q r -.u ", " s.%.p.A.G.G.A.N.p.' V 0 =.w ", " q...y.T.H.N.l.7.[ J l 0 #.6 ", " 5.! =.E.~.U.9.Q J N h 7 ' 5 ", " ,.K X.V.I.!.Z.&.[ E M 0 Q 4 ", " $.C E R.Z.' A Q.Q.Y.H 8 E 2 ", " _ Z k H P P H A B k j a U : ", " ~ } o.0.1.+.O.| ^ Y U L v $ ", " 3 q n n m n c g d i u w : o ", " X + - ; 2 2 ; ; ; $ $ # o ", "^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.", "^.^.^.^. ^.^." }; �����������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/minisys.xpm������������������������������������������������0000644�0001750�0001750�00000000752�10320055002�017447� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *minisys[] = { /* columns rows colors chars-per-pixel */ "16 16 5 1", " c black", ". c green", "X c red", "o c yellow", "O c None", /* pixels */ "OOOOOOOOOOOOOOOO", "O OO O", "O OO O", "O oo OO oo O", "O oo OO oo O", "O oo OO oo O", "O oo OO XX O", "O oo OO XX O", "O .. OO XX O", "O .. OO XX O", "O .. OO XX O", "O .. OO XX O", "O .. OO XX O", "O OO O", "O OO O", "OOOOOOOOOOOOOOOO" }; ����������������������matchbox-panel-0.9.3/applets/small-icons/no-link-0.xpm����������������������������������������������0000644�0001750�0001750�00000002367�10320055002�017464� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *no-link-0[] = { /* columns rows colors chars-per-pixel */ "16 16 58 1", " c black", ". c #010101", "X c #020202", "o c gray1", "O c gray2", "+ c #0E0E0E", "@ c gray6", "# c #101010", "$ c #111111", "% c #151515", "& c #191919", "* c #1D1D1D", "= c #222222", "- c #232323", "; c #282828", ": c #323232", "> c gray23", ", c #3F3F3F", "< c gray28", "1 c gray31", "2 c #505050", "3 c gray33", "4 c #555555", "5 c #565656", "6 c gray34", "7 c gray39", "8 c #646464", "9 c #676767", "0 c gray43", "q c gray46", "w c #7C7C7C", "e c red", "r c #898989", "t c #939393", "y c #9A9A9A", "u c #9D9D9D", "i c #A4A4A4", "p c gray65", "a c #AAAAAA", "s c #AEAEAE", "d c #B2B2B2", "f c #B4B4B4", "g c gray75", "h c gray81", "j c #D2D2D2", "k c #D7D7D7", "l c #DADADA", "z c #E1E1E1", "x c gray90", "c c gray91", "v c #ECECEC", "b c #F1F1F1", "n c gray95", "m c #F4F4F4", "M c #F6F6F6", "N c #F9F9F9", "B c gray100", "V c None", /* pixels */ "VVVVVVVVVVVVVVVV", "VV VV", "V O7sdda V", " 2:0,5t#9B BqBc ", ";gyNfwg@u BB Bb ", "->xhv<k%i B Bv ", "-#mrb*k%i Bz Bv ", "2 5*5O5#lkBBkBm ", "V& 9lllllk V", "VV VV", "VVVVVVVVVVVVVVVV", " ", " ee ee ee ee ", " ee ee ee ee ", " ", "VVVVVVVVVVVVVVVV" }; �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/signal-41-60.xpm�������������������������������������������0000644�0001750�0001750�00000002376�10320055002�017702� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *signal-41-60[] = { /* columns rows colors chars-per-pixel */ "16 16 58 1", " c black", ". c #010101", "X c #020202", "o c gray1", "O c gray2", "+ c #0E0E0E", "@ c gray6", "# c #101010", "$ c #111111", "% c #151515", "& c #191919", "* c #1D1D1D", "= c #222222", "- c #232323", "; c #282828", ": c #323232", "> c gray23", ", c #3F3F3F", "< c #007F00", "1 c gray28", "2 c gray31", "3 c #505050", "4 c gray33", "5 c #555555", "6 c #565656", "7 c gray34", "8 c gray39", "9 c #646464", "0 c #676767", "q c gray43", "w c gray46", "e c #7C7C7C", "r c #898989", "t c #939393", "y c #9A9A9A", "u c #9D9D9D", "i c #A4A4A4", "p c gray65", "a c #AAAAAA", "s c #AEAEAE", "d c #B2B2B2", "f c #B4B4B4", "g c gray75", "h c gray81", "j c #D2D2D2", "k c #D7D7D7", "l c #DADADA", "z c #E1E1E1", "x c gray90", "c c gray91", "v c #ECECEC", "b c #F1F1F1", "n c gray95", "m c #F4F4F4", "M c #F6F6F6", "N c #F9F9F9", "B c gray100", "V c None", /* pixels */ "VVVVVVVVVVVVVVVV", "VV VV", "V O8sdda V", " 3:q,6t#0B BwBc ", ";gyNfeg@u BB Bb ", "->xhv1k%i B Bv ", "-#mrb*k%i Bz Bv ", "3 6*6O6#lkBBkBm ", "V& 0lllllk V", "VV VV", "VVVVVVVVVVVVVVVV", " ", " << << VV VV ", " << << VV VV ", " ", "VVVVVVVVVVVVVVVV" }; ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/broken-0.xpm�����������������������������������������������0000644�0001750�0001750�00000002255�10320055002�017371� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *broken-0[] = { /* columns rows colors chars-per-pixel */ "16 16 53 1", " c black", ". c #010101", "X c #020202", "o c gray1", "O c gray2", "+ c #0E0E0E", "@ c gray6", "# c #101010", "$ c #151515", "% c #191919", "& c #1D1D1D", "* c #222222", "= c #232323", "- c #282828", "; c #323232", ": c gray23", "> c #3F3F3F", ", c gray28", "< c gray31", "1 c #505050", "2 c gray33", "3 c #555555", "4 c #565656", "5 c gray34", "6 c gray39", "7 c #676767", "8 c gray43", "9 c #7C7C7C", "0 c red", "q c #898989", "w c #939393", "e c #9A9A9A", "r c #9D9D9D", "t c #A4A4A4", "y c #AEAEAE", "u c #B2B2B2", "i c #B4B4B4", "p c gray75", "a c gray81", "s c #D2D2D2", "d c #D7D7D7", "f c #DADADA", "g c #E1E1E1", "h c gray90", "j c gray91", "k c #ECECEC", "l c #F1F1F1", "z c gray95", "x c #F4F4F4", "c c #F6F6F6", "v c #F9F9F9", "b c gray100", "n c None", /* pixels */ "nnnnnnnnnnnnnnnn", "nn 00n", "n O6yu000n", " 1;8>4w#7b 000j ", "-pevi9p+r 000bl ", "=:hak,d$t000 bk ", "=#xql&d$000g bk ", "1 4&4O4000bbdbx ", "n% o 000dfffs n", "nn 000 nn", "nnnn000nnnnnnnnn", " 000 ", " n000nn nn nn ", " 000 nn nn nn ", " 00 ", "nnnnnnnnnnnnnnnn" }; ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/signal-61-80.xpm�������������������������������������������0000644�0001750�0001750�00000002376�10320055002�017706� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *signal-61-80[] = { /* columns rows colors chars-per-pixel */ "16 16 58 1", " c black", ". c #010101", "X c #020202", "o c gray1", "O c gray2", "+ c #0E0E0E", "@ c gray6", "# c #101010", "$ c #111111", "% c #151515", "& c #191919", "* c #1D1D1D", "= c #222222", "- c #232323", "; c #282828", ": c #323232", "> c gray23", ", c #3F3F3F", "< c #007F00", "1 c gray28", "2 c gray31", "3 c #505050", "4 c gray33", "5 c #555555", "6 c #565656", "7 c gray34", "8 c gray39", "9 c #646464", "0 c #676767", "q c gray43", "w c gray46", "e c #7C7C7C", "r c #898989", "t c #939393", "y c #9A9A9A", "u c #9D9D9D", "i c #A4A4A4", "p c gray65", "a c #AAAAAA", "s c #AEAEAE", "d c #B2B2B2", "f c #B4B4B4", "g c gray75", "h c gray81", "j c #D2D2D2", "k c #D7D7D7", "l c #DADADA", "z c #E1E1E1", "x c gray90", "c c gray91", "v c #ECECEC", "b c #F1F1F1", "n c gray95", "m c #F4F4F4", "M c #F6F6F6", "N c #F9F9F9", "B c gray100", "V c None", /* pixels */ "VVVVVVVVVVVVVVVV", "VV VV", "V O8sdda V", " 3:q,6t#0B BwBc ", ";gyNfeg@u BB Bb ", "->xhv1k%i B Bv ", "-#mrb*k%i Bz Bv ", "3 6*6O6#lkBBkBm ", "V& 0lllllk V", "VV VV", "VVVVVVVVVVVVVVVV", " ", " << << << VV ", " << << << VV ", " ", "VVVVVVVVVVVVVVVV" }; ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/miniapm-power.xpm������������������������������������������0000644�0001750�0001750�00000001337�10320055002�020540� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *miniapm-power[] = { /* columns rows colors chars-per-pixel */ "16 16 21 1", " c black", ". c #181818", "X c gray19", "o c gray20", "O c #3A3A3A", "+ c #3F3F3F", "@ c gray26", "# c gray28", "$ c #505050", "% c #5A5A5A", "& c gray40", "* c #717171", "= c gray59", "- c #9A9A9A", "; c gray61", ": c gray71", "> c #BCBCBC", ", c gray80", "< c #E2E2E2", "1 c #F9F9F9", "2 c None", /* pixels */ "2222 222222", "2 <@$& 22", " ,:= 1oO$&&&& 22", " <XO+&&&& 22", "2222 >oO$&&&& ", "2 -oo%&&&& ", " :;*.-O#&&&&& 22", " %O%& 22", "2222 222222", "2222222222222222", "2 2", "2 2", "2 2", "2 2", "2 2", "2 2" }; �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/miniapm.xpm������������������������������������������������0000644�0001750�0001750�00000002104�10320055002�017377� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *miniapm[] = { /* columns rows colors chars-per-pixel */ "16 16 45 1", " c black", ". c #202020", "X c gray21", "o c #484848", "O c #505050", "+ c #656565", "@ c gray46", "# c gray47", "$ c #70861F", "% c #7F8319", "& c #7C831E", "* c #818418", "= c #85993D", "- c #84A523", "; c #8EAD23", ": c #8ABA2B", "> c #8FBF2A", ", c #8EBF2D", "< c #95AC22", "1 c #9FA827", "2 c #96BC2F", "3 c #9ABA26", "4 c #98BB2A", "5 c #A0C32E", "6 c #A4C32C", "7 c #A9C12C", "8 c #A6C131", "9 c #C1D471", "0 c #868686", "q c #8E8E8E", "w c #A0A0A0", "e c #A2A2A2", "r c gray67", "t c gray68", "y c gray74", "u c #CCDE8F", "i c #D1DE8D", "p c #DADC8C", "a c #D2DCBB", "s c #DFE3A9", "d c #D5D5D5", "f c #EFF4DB", "g c #F4F8E8", "h c #F9FAF2", "j c None", /* pixels */ "j jj", "j 32>4 jj", "j.+etyydyffgh j", "j +######ipusa j", "j ,5889 j", "j O0OO0 :678= j", "j rqret -;<1 j", "j Xo@Xo $**& jj", "j jj", "jjjjjjjjjjjjjjjj", "j j", "j j", "j j", "j j", "j j", "j j" }; ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/mbmenu.xpm�������������������������������������������������0000644�0001750�0001750�00000002125�10320055002�017233� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *mbmenu[] = { /* columns rows colors chars-per-pixel */ "16 16 46 1", " c black", ". c #314E6C", "X c #494949", "o c #4C4C4C", "O c gray30", "+ c gray31", "@ c #505050", "# c #435E7A", "$ c #47617C", "% c #496582", "& c #5A718A", "* c #6A7D94", "= c #6B7F95", "- c #778697", "; c #778797", ": c #7E8C9A", "> c #7F8D9B", ", c #738FAE", "< c #7590AF", "1 c #7792B1", "2 c #7893B0", "3 c #7994B2", "4 c #86A1BD", "5 c #91A4BA", "6 c #92A5BB", "7 c #97AABF", "8 c gray74", "9 c #88A3C0", "0 c #8AA5C1", "q c #8CA7C3", "w c #8DA8C5", "e c #8FAAC6", "r c #91ACC8", "t c #93AECA", "y c #9BAEC2", "u c #95B0CB", "i c #A5B6CA", "p c #A8B9CD", "a c #A9BBCE", "s c #AABCCF", "d c #ACBDD0", "f c #ADBED1", "g c #AEC0D3", "h c #DADADA", "j c gray100", "k c None", /* pixels */ "kkkkkkkkkkkkkkkk", "kk............kk", "k.&7iiaasddfy$.k", "k.5,<1*@XXX+;3.k", "k.i<13+hjjjh+4.k", "k.i*@XXjjjjjX4.k", "k.iXjjXjjjjjXe.k", "k.iXjjXjjjjjXe.k", "k.iXjjXjjjjjXe.k", "k.iXjjXjjjjjXe.k", "k.iXjj8+XXX+4e.k", "k.i+hjjjh+ee5u.k", "k.5;@XXXo:ttr4.k", "k.#240ewertu4$.k", "k.............kk", "kkkkkkkkkkkkkkkk" }; �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/signal-1-40.xpm��������������������������������������������0000644�0001750�0001750�00000002375�10320055002�017613� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *signal-1-40[] = { /* columns rows colors chars-per-pixel */ "16 16 58 1", " c black", ". c #010101", "X c #020202", "o c gray1", "O c gray2", "+ c #0E0E0E", "@ c gray6", "# c #101010", "$ c #111111", "% c #151515", "& c #191919", "* c #1D1D1D", "= c #222222", "- c #232323", "; c #282828", ": c #323232", "> c gray23", ", c #3F3F3F", "< c #007F00", "1 c gray28", "2 c gray31", "3 c #505050", "4 c gray33", "5 c #555555", "6 c #565656", "7 c gray34", "8 c gray39", "9 c #646464", "0 c #676767", "q c gray43", "w c gray46", "e c #7C7C7C", "r c #898989", "t c #939393", "y c #9A9A9A", "u c #9D9D9D", "i c #A4A4A4", "p c gray65", "a c #AAAAAA", "s c #AEAEAE", "d c #B2B2B2", "f c #B4B4B4", "g c gray75", "h c gray81", "j c #D2D2D2", "k c #D7D7D7", "l c #DADADA", "z c #E1E1E1", "x c gray90", "c c gray91", "v c #ECECEC", "b c #F1F1F1", "n c gray95", "m c #F4F4F4", "M c #F6F6F6", "N c #F9F9F9", "B c gray100", "V c None", /* pixels */ "VVVVVVVVVVVVVVVV", "VV VV", "V O8sdda V", " 3:q,6t#0B BwBc ", ";gyNfeg@u BB Bb ", "->xhv1k%i B Bv ", "-#mrb*k%i Bz Bv ", "3 6*6O6#lkBBkBm ", "V& 0lllllk V", "VV VV", "VVVVVVVVVVVVVVVV", " ", " << VV VV VV ", " << VV VV VV ", " ", "VVVVVVVVVVVVVVVV" }; �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/signal-81-100.xpm������������������������������������������0000644�0001750�0001750�00000002377�10320055002�017762� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *signal-81-100[] = { /* columns rows colors chars-per-pixel */ "16 16 58 1", " c black", ". c #010101", "X c #020202", "o c gray1", "O c gray2", "+ c #0E0E0E", "@ c gray6", "# c #101010", "$ c #111111", "% c #151515", "& c #191919", "* c #1D1D1D", "= c #222222", "- c #232323", "; c #282828", ": c #323232", "> c gray23", ", c #3F3F3F", "< c #007F00", "1 c gray28", "2 c gray31", "3 c #505050", "4 c gray33", "5 c #555555", "6 c #565656", "7 c gray34", "8 c gray39", "9 c #646464", "0 c #676767", "q c gray43", "w c gray46", "e c #7C7C7C", "r c #898989", "t c #939393", "y c #9A9A9A", "u c #9D9D9D", "i c #A4A4A4", "p c gray65", "a c #AAAAAA", "s c #AEAEAE", "d c #B2B2B2", "f c #B4B4B4", "g c gray75", "h c gray81", "j c #D2D2D2", "k c #D7D7D7", "l c #DADADA", "z c #E1E1E1", "x c gray90", "c c gray91", "v c #ECECEC", "b c #F1F1F1", "n c gray95", "m c #F4F4F4", "M c #F6F6F6", "N c #F9F9F9", "B c gray100", "V c None", /* pixels */ "VVVVVVVVVVVVVVVV", "VV VV", "V O8sdda V", " 3:q,6t#0B BwBc ", ";gyNfeg@u BB Bb ", "->xhv1k%i B Bv ", "-#mrb*k%i Bz Bv ", "3 6*6O6#lkBBkBm ", "V& 0lllllk V", "VV VV", "VVVVVVVVVVVVVVVV", " ", " << << << << ", " << << << << ", " ", "VVVVVVVVVVVVVVVV" }; �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/minitime.xpm�����������������������������������������������0000644�0001750�0001750�00000002631�10320055002�017565� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* XPM */ static char *minitime[] = { /* columns rows colors chars-per-pixel */ "16 16 69 1", " c black", ". c gray9", "X c #2F2F2F", "o c gray19", "O c #313131", "+ c #343434", "@ c #393939", "# c gray24", "$ c #3F3F3F", "% c gray37", "& c #7C7C7C", "* c #8D8D8D", "= c #909090", "- c gray59", "; c #9A9A9A", ": c #9D9D9D", "> c #A0A0A0", ", c gray65", "< c #AFAFAF", "1 c gray69", "2 c #B2B2B2", "3 c #B4B4B4", "4 c gray71", "5 c #B6B6B6", "6 c #B9B9B9", "7 c #BBBBBB", "8 c #BCBCBC", "9 c gray74", "0 c gray", "q c #C0C0C0", "w c #C8C8C8", "e c gray79", "r c #CDCDCD", "t c #D0D0D0", "y c gray86", "u c #DDDDDD", "i c #F1DAD0", "p c #F4E2DA", "a c #E1E1E1", "s c #E2E2E2", "d c gray89", "f c #E4E4E4", "g c gray90", "h c #E6E6E6", "j c #E7E7E7", "k c gray91", "l c #E9E9E9", "z c #EAEAEA", "x c gray92", "c c #ECECEC", "v c gray93", "b c #EEEEEE", "n c #EFEFEF", "m c #F7EBE7", "M c gray94", "N c #F1F1F1", "B c gray95", "V c #F3F3F3", "C c #F4F4F4", "Z c gray96", "A c #F6F6F6", "S c gray97", "D c #F8F8F8", "F c #F9F9F9", "G c gray98", "H c #FBFBFB", "J c gray99", "K c gray100", "L c None", /* pixels */ "LLLL LLLL", "LLL #rZGGBe+ LLL", "LL ,ZGGG0GZB: LL", "L >ZGGGJ4GZBc- L", " +BZGGJJ;GZBcjO ", " 7BZGJJJ&ZZBBj2 ", " jBZGGJJ%ZZBcju ", " c9ZGGJJ#rBBj4d ", " j9BZZZGe.9cj4j ", " jcBBZZBB9 7jjy ", " 7ccBBBBBc7 jd2 ", " OjcjcBcjcjjddX ", "L *jjjjjjjjdd* L", "LL *jjj74jdd* LL", "LLL O2uddy<X LLL", "LLLL LLLL" }; �������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/broken-0.png�����������������������������������������������0000644�0001750�0001750�00000000672�10320055002�017352� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� d_���tIME c<��GIDATxR@$1Bhq҅|"* "sDyw {3fw?BJ1J*f<σ84 h4bcmɄՊi}$�4%�jNa"I, l6l[X<!"U$ގ˄Ya\qDQ`nf 0`F\Ͳ" "h4XuQ] 5</i<S)Eun9ͨ:is8IӉ�(�jiE8m$+n �R<@j,[MՓ+PEY4f <ӯ/t�N����IENDB`����������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/minisys.png������������������������������������������������0000644�0001750�0001750�00000000316�10320055002�017423� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� #u���tIME i���[IDATxc`c`` #U噐yC0.M RS.bA08F#P& s=9{l|b�Qgl����IENDB`������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/no-link-0.png����������������������������������������������0000644�0001750�0001750�00000000653�10320055002�017440� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� d_���tIME /f��8IDATxPϽǁU8K@-p$ JT5oER5K;䛌TQT�c̯}_ZMe x3<jp8d2ni6,K�$^HIEݎp C(^e$l P+c N'm+u yg5 G98_v"V}Ik-nl6q j$ I<vCF:i/ m6~eYT EVemt* b����IENDB`�������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/signal-61-80.png�������������������������������������������0000644�0001750�0001750�00000000661�10320055002�017661� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� d_���tIME EWJ��>IDATx@g74uq ( TbI8&<@a�XRQFR;уKI6LfRI"܇�Ƙ?_Yk5y*$)MS3z,KvK^gX� j@$HBN0 vwA!j~$ ]W$a,S<OQt:lu]1˲<1FYZMQ(r|42LhLS}q3cnHHR"I|zOTn7O/Jp~C^<=76?%P:Bi|$B����IENDB`�������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/mbmenu.png�������������������������������������������������0000644�0001750�0001750�00000000776�10320055002�017225� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� ~���tIME +t`��IDATxK[Q{ރ -s:mR4C(!EPRGtMRh@P Q8IJ3$d蠹IhSC[{aLn�~Xv O%=}j!�,BB)UyuPW>wԷ/gUGDTjLi۶y{Nq`0G4Dlq @kM:fq- S3ru~`Ni dB�yC("xh?Ԙ+'g%e2vۜYEtye8  q\u]R݈S8 jt5Qun)>`n4~6X$ea=" A)1q1)`0g.s[䍦-qhz4`Q����IENDB`��matchbox-panel-0.9.3/applets/small-icons/minitime.png�����������������������������������������������0000644�0001750�0001750�00000001226�10320055002�017544� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� ~���tIME4ͩN��#IDATx?K#Q3A ?6n! H - F,++ba%4bFAAEƄI&yo6fH4{{W ?yV?j0TW @* #EQ85 vuss^0 \}|pp0 5 dٙ8VEvwwHJbQAm7`t\`}ssuSq�.L&%I$, MMMy^( c h4<==! k-czz`I"IcbekkU<K9s>33뺩JX^^ZE/.p6%ׅBj I$ �P* .//d28zw88 ][[Nl1͎ ϱVvv jMFC/C%T}_^D\N@%xݞ�s-����IENDB`��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/signal-1-40.png��������������������������������������������0000644�0001750�0001750�00000000660�10320055002�017566� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� d_���tIME R9��=IDATx@g74uq ( T֒ p8PM!p$ JT55='.tM3Ti]�c̟<OZMe| Vшtvl\.z MS$^GEv;<p8!QQzE( a(DZáN\וe_(#ct>h4t<88~@.{Ik-ٌnK8Z-$!IG|ݐNCoBme~i? ʊ~ΫVq+UP@����IENDB`��������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/signal-81-100.png������������������������������������������0000644�0001750�0001750�00000000656�10320055002�017740� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� d_���tIME Z��;IDATx@g74u< � X=@a�XRQFRA8sI6LfRIw71j:}U*IRe g0vY,}FZ|>@�4M6Ql^v;0$"*N~:Hy0 8VpPѐr]+bEDcǣ<~8:N% CcZqzN$$Irp/ 0l6IE|6iZ,S)=ap~BQϹw[]@g}����IENDB`����������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/mbterm.png�������������������������������������������������0000644�0001750�0001750�00000001300�10320055002�017210� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� ~���tIME)7��MIDATxjQ鞙d% .ݍ{C|JtO +q ^ 8I'Lt>U.&$/jQEO+j \^.*΍u= VՈT 񓗟>"R1zBUPa^~ʩYx*p!PVޭWI'iMnӜ$o&oWgՆa"I"ὧ( * eIhD|@ 5%� dyF6fgw_(Cཧ%yz[=-J_ 2a PkDD�f%y1dzz+,Y4My/=*8B F7tf;]8YђX!I@~EA,]Xb*^"MSnݼ5Smc"ȯ1GG)vwL=HTZ=?T3GkhOU** *H`n"/;25{d9"au:Z|NM8>59y{f؜s(9̨PU 3c-χ>rjދ<ғ����IENDB`��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/signal-41-60.png�������������������������������������������0000644�0001750�0001750�00000000661�10320055002�017655� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� d_���tIME #HL��>IDATxP@Q�Œ p8PMx oU 滢?E'dwsf&9RI_�Ƙf<OJE|z=%xv^X,�j I$NCv;;Á Ðj~+Y)y(u:l6庮\E̲,h|VVx8mu\>42LhLS}q#Bn7$a$j$ɇ|>zاin'{Jě*>Fl˸J"(z%|'����IENDB`�������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/miniapm-power.png������������������������������������������0000644�0001750�0001750�00000000554�10320055002�020520� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� d_���tIME8 ���IDATx!n`-$B@$(6T`A p<`%AEea{3fj#>7Im*U*C {!cq<H)R>tKdź{i`'5t6TUuOl>Z}̨M0v*2,K4@eY]<<pT__n,g xlQ\a9.og+q^bǂ����IENDB`����������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/applets/small-icons/miniapm.png������������������������������������������������0000644�0001750�0001750�00000000665�10320055002�017371� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PNG  ��� IHDR���������a���bKGD������ pHYs�� �� d_���tIME82e9��BIDATxJPךZJ nqpT]By�}}&:l"ZuMsLZl.wwK7!%`wGDΧ2F^ RqVA>\.3 89@S7Qz�ms >dfr$55_G(,J B&+/oOضMm:8UBc&(<xGxGmd i\=0h4( XE4M�ۓ$L*̴g=XK6o�I^s �t5g����IENDB`���������������������������������������������������������������������������matchbox-panel-0.9.3/po/����������������������������������������������������������������������������0000777�0001750�0001750�00000000000�10403352454�012050� 5����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/po/Makefile.am�����������������������������������������������������������������0000644�0001750�0001750�00000002553�10320055002�014010� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������CATALOGS = @MOFILES@ CLEANFILES = $(CATALOGS) matchbox.pot # keep this sorted EXTRA_DIST = en_GB.po es_ES.po fi_FI.po de.po cs.po fr_FR.po zh_TW.po POTFILES = \ $(top_builddir)/src/panel_menu.c \ $(top_builddir)/applets/mb-applet-system-monitor.c \ $(top_builddir)/applets/mb-applet-wireless.c \ $(top_builddir)/applets/mb-applet-clock.c \ $(top_builddir)/applets/mb-applet-battery.c SUFFIXES = .po .mo .po.mo: $(MSGFMT) -o $@ $< matchbox.pot: $(POTFILES) $(XGETTEXT) --default-domain=matchbox \ --add-comments --keyword=_ $(POTFILES) if cmp -s matchbox.po matchbox.pot; then \ rm -f matchbox.po; \ else \ mv -f matchbox.po matchbox.pot; \ fi update.po: matchbox.pot for n in $(CATALOGS) __DuMmY ; do \ if test "$$n" -a "$$n" != "__DuMmY" ; then \ l=`basename $$n .mo`; \ $(MSGMERGE) --update $$l.po matchbox.pot; \ fi; \ done install-data-local: $(CATALOGS) $(mkinstalldirs) $(DESTDIR)$(datadir)/locale chmod 755 $(DESTDIR)$(datadir)/locale for n in $(CATALOGS) __DuMmY ; do \ if test "$$n" -a "$$n" != "__DuMmY" ; then \ l=`basename $$n .mo`; \ $(mkinstalldirs) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES; \ chmod 755 $(DESTDIR)$(datadir)/locale/$$l; \ chmod 755 $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES; \ $(INSTALL_DATA) -m 644 $$n $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/matchbox-panel.mo; \ fi; \ done �����������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/po/Makefile.in�����������������������������������������������������������������0000644�0001750�0001750�00000023252�10403352441�014031� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = po DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLIBS = @INTLIBS@ LDFLAGS = @LDFLAGS@ LIBMB_CFLAGS = @LIBMB_CFLAGS@ LIBMB_LIBS = @LIBMB_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MOFILES = @MOFILES@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN_CFLAGS = @SN_CFLAGS@ SN_LIBS = @SN_LIBS@ STRIP = @STRIP@ VERSION = @VERSION@ WANT_ACPI_FALSE = @WANT_ACPI_FALSE@ WANT_ACPI_TRUE = @WANT_ACPI_TRUE@ WANT_APM_FALSE = @WANT_APM_FALSE@ WANT_APM_TRUE = @WANT_APM_TRUE@ WANT_PNGS_FALSE = @WANT_PNGS_FALSE@ WANT_PNGS_TRUE = @WANT_PNGS_TRUE@ WANT_SMALL_ICONS_FALSE = @WANT_SMALL_ICONS_FALSE@ WANT_SMALL_ICONS_TRUE = @WANT_SMALL_ICONS_TRUE@ WANT_WIFI_FALSE = @WANT_WIFI_FALSE@ WANT_WIFI_TRUE = @WANT_WIFI_TRUE@ WIRELESS_LIBS = @WIRELESS_LIBS@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ CATALOGS = @MOFILES@ CLEANFILES = $(CATALOGS) matchbox.pot # keep this sorted EXTRA_DIST = en_GB.po es_ES.po fi_FI.po de.po cs.po fr_FR.po zh_TW.po POTFILES = \ $(top_builddir)/src/panel_menu.c \ $(top_builddir)/applets/mb-applet-system-monitor.c \ $(top_builddir)/applets/mb-applet-wireless.c \ $(top_builddir)/applets/mb-applet-clock.c \ $(top_builddir)/applets/mb-applet-battery.c SUFFIXES = .po .mo all: all-am .SUFFIXES: .SUFFIXES: .po .mo $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu po/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu po/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-data-local install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-exec install-exec-am install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-info-am .po.mo: $(MSGFMT) -o $@ $< matchbox.pot: $(POTFILES) $(XGETTEXT) --default-domain=matchbox \ --add-comments --keyword=_ $(POTFILES) if cmp -s matchbox.po matchbox.pot; then \ rm -f matchbox.po; \ else \ mv -f matchbox.po matchbox.pot; \ fi update.po: matchbox.pot for n in $(CATALOGS) __DuMmY ; do \ if test "$$n" -a "$$n" != "__DuMmY" ; then \ l=`basename $$n .mo`; \ $(MSGMERGE) --update $$l.po matchbox.pot; \ fi; \ done install-data-local: $(CATALOGS) $(mkinstalldirs) $(DESTDIR)$(datadir)/locale chmod 755 $(DESTDIR)$(datadir)/locale for n in $(CATALOGS) __DuMmY ; do \ if test "$$n" -a "$$n" != "__DuMmY" ; then \ l=`basename $$n .mo`; \ $(mkinstalldirs) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES; \ chmod 755 $(DESTDIR)$(datadir)/locale/$$l; \ chmod 755 $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES; \ $(INSTALL_DATA) -m 644 $$n $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/matchbox-panel.mo; \ fi; \ done # 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: ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/po/en_GB.po��������������������������������������������������������������������0000644�0001750�0001750�00000005525�10320055002�013270� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-02-02 10:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/panel_menu.c:68 msgid "Remove" msgstr "" #: ../src/panel_menu.c:172 msgid "Add" msgstr "" #: ../src/panel_menu.c:259 msgid "Hide" msgstr "" #: ../applets/mb-applet-system-monitor.c:253 #, c-format msgid "CPU: %i %%, MEMORY: %i %%\n" msgstr "CPU: %i %%, MEMORY: %i %%\n" #: ../applets/mb-applet-system-monitor.c:324 msgid "CPU/Mem Monitor" msgstr "CPU/Mem Monitor" #: ../applets/mb-applet-wireless.c:438 #, fuzzy, c-format msgid "" "%s:\n" " Link %.1f\n" " Level %.1f\n" " Noise %.1f\n" msgstr "%s: Link %.1f, Level %.1f, Noise %.1f\n" #: ../applets/mb-applet-wireless.c:443 #, c-format msgid "No wireless cards detected\n" msgstr "" #: ../applets/mb-applet-wireless.c:483 msgid "Wireless Monitor" msgstr "Wireless Monitor" #: ../applets/mb-applet-clock.c:146 #, c-format msgid "%.2d:%.2d" msgstr "" #: ../applets/mb-applet-clock.c:234 msgid "%a %b %e %k:%M:%S %Y" msgstr "" #: ../applets/mb-applet-clock.c:333 msgid "Clock" msgstr "" #: ../applets/mb-applet-clock.c:360 msgid "Set Time" msgstr "" #: ../applets/mb-applet-battery.c:283 #, fuzzy, c-format msgid "" "Battery power very low !\n" "\n" "Time Left: %.2i minutes" msgstr "" "Battery Power\n" "Juice %.2i %%\n" "Time left: %.2i mins\n" #: ../applets/mb-applet-battery.c:380 #, c-format msgid "" "AC Connected\n" "Charging: %.2i %%\n" msgstr "" "AC Connected\n" "Charging: %.2i %%\n" #: ../applets/mb-applet-battery.c:383 #, c-format msgid "" "AC Connected\n" "Fully charged.\n" msgstr "" "AC Connected\n" "Fully charged.\n" #: ../applets/mb-applet-battery.c:390 #, c-format msgid "" "Battery Power\n" "Juice %.2i %%\n" "Time left: %.2i h. %.2i min.\n" msgstr "" "Battery Power\n" "Juice %.2i %%\n" "Time left: %.2i h. %.2i min.\n" #: ../applets/mb-applet-battery.c:392 #, c-format msgid "" "Battery Power\n" " Device read error.\n" msgstr "" "Battery Power\n" " Device read error.\n" #: ../applets/mb-applet-battery.c:442 msgid "Battery Monitor" msgstr "Battery Monitor" #: ../applets/mb-applet-battery.c:466 msgid "More info" msgstr "" #~ msgid "Cant open mixer device" #~ msgstr "Cant open mixer device" #~ msgid "Cant open mixer device for reading" #~ msgstr "Cant open mixer device for reading" #~ msgid "Cant open mixer device for writing" #~ msgstr "Cant open mixer device for writing" #~ msgid "Volume Control" #~ msgstr "Volume Control" ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/po/es_ES.po��������������������������������������������������������������������0000644�0001750�0001750�00000005755�10320055002�013321� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Spanish localization of MatchBox Dock on-line help # Copyright (C) 2003 # This file is distributed under the same license as the Matchbox package. # J.Manrique <jsmanrique@asturlinux.org>, 2003. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: 0.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-02-02 10:37+0000\n" "PO-Revision-Date: 2003-07-29 09:00+0100\n" "Last-Translator: J.Manrique <jsmanrique@asturlinux.org>\n" "Language-Team: es@li.org <es@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/panel_menu.c:68 msgid "Remove" msgstr "Quitar" #: ../src/panel_menu.c:172 msgid "Add" msgstr "Añadir" #: ../src/panel_menu.c:259 msgid "Hide" msgstr "Ocultar" #: ../applets/mb-applet-system-monitor.c:253 #, c-format msgid "CPU: %i %%, MEMORY: %i %%\n" msgstr "CPU: %i %%, MEMORIA: %i %%\n" #: ../applets/mb-applet-system-monitor.c:324 msgid "CPU/Mem Monitor" msgstr "Monitor de CPU/Mem" #: ../applets/mb-applet-wireless.c:438 #, fuzzy, c-format msgid "" "%s:\n" " Link %.1f\n" " Level %.1f\n" " Noise %.1f\n" msgstr "%s: Enlace %.1f, Nivel %.1f, Ruido %.1f\n" #: ../applets/mb-applet-wireless.c:443 #, c-format msgid "No wireless cards detected\n" msgstr "No se detectó tarjeta inalámbrica\n" #: ../applets/mb-applet-wireless.c:483 msgid "Wireless Monitor" msgstr "Monitor de Inalámbrica" #: ../applets/mb-applet-clock.c:146 #, c-format msgid "%.2d:%.2d" msgstr "" #: ../applets/mb-applet-clock.c:234 msgid "%a %b %e %k:%M:%S %Y" msgstr "" #: ../applets/mb-applet-clock.c:333 msgid "Clock" msgstr "Reloj" #: ../applets/mb-applet-clock.c:360 msgid "Set Time" msgstr "" #: ../applets/mb-applet-battery.c:283 #, fuzzy, c-format msgid "" "Battery power very low !\n" "\n" "Time Left: %.2i minutes" msgstr "" "Batería\n" "Jugo %.2i %%\n" "Tiempo restante: %.2i mins\n" #: ../applets/mb-applet-battery.c:380 #, c-format msgid "" "AC Connected\n" "Charging: %.2i %%\n" msgstr "" "AC Conectado\n" "Cargando: %.2i %%\n" #: ../applets/mb-applet-battery.c:383 #, c-format msgid "" "AC Connected\n" "Fully charged.\n" msgstr "" "AC Conectado\n" "Carga completada.\n" #: ../applets/mb-applet-battery.c:390 #, c-format msgid "" "Battery Power\n" "Juice %.2i %%\n" "Time left: %.2i h. %.2i min.\n" msgstr "" "Batería\n" "Jugo %.2i %%\n" "Tiempo restante: %.2i h. %.2i min.\n" #: ../applets/mb-applet-battery.c:392 #, c-format msgid "" "Battery Power\n" " Device read error.\n" msgstr "" "Batería\n" " Error leyendo dispositivo.\n" #: ../applets/mb-applet-battery.c:442 msgid "Battery Monitor" msgstr "Monitor de Batería" #: ../applets/mb-applet-battery.c:466 msgid "More info" msgstr "" #~ msgid "Cant open mixer device" #~ msgstr "No se pudo abrir dispositivo mezclador" #~ msgid "Cant open mixer device for reading" #~ msgstr "No se pudo abrir dispositivo mezclador para lectura" #~ msgid "Cant open mixer device for writing" #~ msgstr "No se pudo abrir dispositivo mezclador para escritura" #~ msgid "Volume Control" #~ msgstr "Control de Volumen" �������������������matchbox-panel-0.9.3/po/fi_FI.po��������������������������������������������������������������������0000644�0001750�0001750�00000006111�10320055002�013262� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# translation of fi_FI.po for Matchbox # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Eero Tamminen <EMAIL@ADDRESS>, 2003 # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-02-02 10:37+0000\n" "PO-Revision-Date: 2003-09-23 22:47+0300\n" "Last-Translator: Eero Tamminen <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0.1\n" #: ../src/panel_menu.c:68 msgid "Remove" msgstr "Poista" #: ../src/panel_menu.c:172 msgid "Add" msgstr "Lisää" #: ../src/panel_menu.c:259 msgid "Hide" msgstr "Piiloon" #: ../applets/mb-applet-system-monitor.c:253 #, c-format msgid "CPU: %i %%, MEMORY: %i %%\n" msgstr "CPU: %i %%, RAM: %i %%\n" #: ../applets/mb-applet-system-monitor.c:324 msgid "CPU/Mem Monitor" msgstr "CPU/RAM tiedot" #: ../applets/mb-applet-wireless.c:438 #, fuzzy, c-format msgid "" "%s:\n" " Link %.1f\n" " Level %.1f\n" " Noise %.1f\n" msgstr "%s: Linkki %.1f, Taso %.1f, Kohina %.1f\n" #: ../applets/mb-applet-wireless.c:443 #, c-format msgid "No wireless cards detected\n" msgstr "Ei havaittuja WLAN-kortteja\n" #: ../applets/mb-applet-wireless.c:483 msgid "Wireless Monitor" msgstr "WLAN-yhteyden tiedot" #: ../applets/mb-applet-clock.c:146 #, c-format msgid "%.2d:%.2d" msgstr "%.2d:%.2d" #: ../applets/mb-applet-clock.c:234 msgid "%a %b %e %k:%M:%S %Y" msgstr "%a %b %e %k:%M:%S %Y" #: ../applets/mb-applet-clock.c:333 msgid "Clock" msgstr "Kello" #: ../applets/mb-applet-clock.c:360 msgid "Set Time" msgstr "" #: ../applets/mb-applet-battery.c:283 #, c-format msgid "" "Battery power very low !\n" "\n" "Time Left: %.2i minutes" msgstr "" "Akkuteho alhaalla!\n" "\n" "Käyttöaikaa jäljellä: %.2i min." #: ../applets/mb-applet-battery.c:380 #, c-format msgid "" "AC Connected\n" "Charging: %.2i %%\n" msgstr "" "Ulkoinen virtalähde kiinni\n" "Akun lataus: %.2i %%\n" #: ../applets/mb-applet-battery.c:383 #, c-format msgid "" "AC Connected\n" "Fully charged.\n" msgstr "" "Ulkoinen virtalähde kiinni\n" "Akku ladattu täyteen.\n" #: ../applets/mb-applet-battery.c:390 #, c-format msgid "" "Battery Power\n" "Juice %.2i %%\n" "Time left: %.2i h. %.2i min.\n" msgstr "" "Akkuteho\n" "Virtaa %.2i %%\n" "Käyttöaikaa jäljellä: %.2i h. %.2i min.\n" #: ../applets/mb-applet-battery.c:392 #, c-format msgid "" "Battery Power\n" " Device read error.\n" msgstr "" "Akkuteho\n" " Laitetiedoston lukuvirhe.\n" #: ../applets/mb-applet-battery.c:442 msgid "Battery Monitor" msgstr "Akun tiedot" #: ../applets/mb-applet-battery.c:466 msgid "More info" msgstr "" #~ msgid "Cant open mixer device" #~ msgstr "Mixer-laitetiedoston avaus epäonnistui" #~ msgid "Cant open mixer device for reading" #~ msgstr "Mixer-laitetiedoston avaus lukua varten epäonnistui" #~ msgid "Cant open mixer device for writing" #~ msgstr "Mixer-laitetiedoston avaus kirjoitusta varten epäonnistui" #~ msgid "Volume Control" #~ msgstr "Äänenvoimakkuuden säätö" �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/po/de.po�����������������������������������������������������������������������0000644�0001750�0001750�00000005720�10320055002�012703� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# German translation for matchbox. # Copyright (C) 2003 Matthew Allum # This file is distributed under the same license as the matchbox package. # Colin Marquardt <colin@marquardt-home.de>, 2003. # msgid "" msgstr "" "Project-Id-Version: matchbox\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-02-02 10:37+0000\n" "PO-Revision-Date: 2003-10-09 22:18+0200\n" "Last-Translator: Colin Marquardt <colin@marquardt-home.de>\n" "Language-Team: German <de@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/panel_menu.c:68 msgid "Remove" msgstr "Entfernen" #: ../src/panel_menu.c:172 msgid "Add" msgstr "Hinzufügen" #: ../src/panel_menu.c:259 msgid "Hide" msgstr "Verstecken" #: ../applets/mb-applet-system-monitor.c:253 #, c-format msgid "CPU: %i %%, MEMORY: %i %%\n" msgstr "CPU: %i %%, Speicher: %i %%\n" #: ../applets/mb-applet-system-monitor.c:324 msgid "CPU/Mem Monitor" msgstr "CPU-/Speicher-Monitor" #: ../applets/mb-applet-wireless.c:438 #, fuzzy, c-format msgid "" "%s:\n" " Link %.1f\n" " Level %.1f\n" " Noise %.1f\n" msgstr "%s: Link %.1f, Level %.1f, Stör %.1f\n" #: ../applets/mb-applet-wireless.c:443 #, c-format msgid "No wireless cards detected\n" msgstr "Keine Wireless-Karten erkannt\n" #: ../applets/mb-applet-wireless.c:483 msgid "Wireless Monitor" msgstr "Wireless-Monitor" #: ../applets/mb-applet-clock.c:146 #, c-format msgid "%.2d:%.2d" msgstr "%.2d:%.2d" #: ../applets/mb-applet-clock.c:234 msgid "%a %b %e %k:%M:%S %Y" msgstr "%a, %e. %b %Y, %k:%M:%S" #: ../applets/mb-applet-clock.c:333 msgid "Clock" msgstr "Uhr" #: ../applets/mb-applet-clock.c:360 msgid "Set Time" msgstr "" #: ../applets/mb-applet-battery.c:283 #, c-format msgid "" "Battery power very low !\n" "\n" "Time Left: %.2i minutes" msgstr "" "Batteriestand sehr niedrig!\n" "\n" "Verbleibend: %.2i min" #: ../applets/mb-applet-battery.c:380 #, c-format msgid "" "AC Connected\n" "Charging: %.2i %%\n" msgstr "" "Am Netzteil\n" "Ladend: %.2i %%\n" #: ../applets/mb-applet-battery.c:383 #, c-format msgid "" "AC Connected\n" "Fully charged.\n" msgstr "" "Am Netzteil\n" "Voll geladen\n" #: ../applets/mb-applet-battery.c:390 #, c-format msgid "" "Battery Power\n" "Juice %.2i %%\n" "Time left: %.2i h. %.2i min.\n" msgstr "" "Batteriestand\n" "Füllung %.2i %%\n" "Verbleibend: %2i u.%.2i min\n" #: ../applets/mb-applet-battery.c:392 #, c-format msgid "" "Battery Power\n" " Device read error.\n" msgstr "" "Batteriestand\n" "Fehler beim Auslesen.\n" #: ../applets/mb-applet-battery.c:442 msgid "Battery Monitor" msgstr "Batteriemonitor" #: ../applets/mb-applet-battery.c:466 msgid "More info" msgstr "" #~ msgid "Cant open mixer device" #~ msgstr "Kann Mixer-Gerät nicht öffnen" #~ msgid "Cant open mixer device for reading" #~ msgstr "Kann Mixer-Gerät nicht zum Lesen öffnen" #~ msgid "Cant open mixer device for writing" #~ msgstr "Kann Mixer-Gerät nicht zum Schreiben öffnen" #~ msgid "Volume Control" #~ msgstr "Lautstärke" ������������������������������������������������matchbox-panel-0.9.3/po/cs.po�����������������������������������������������������������������������0000644�0001750�0001750�00000006015�10320055002�012716� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# translation of matchbox.po to Czech # Copyright (C) 2003 Free Software Foundation, Inc. # Libor Klepac <elkropac@students.zcu.cz>, 2003. # msgid "" msgstr "" "Project-Id-Version: matchbox 0.6.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-02-02 10:37+0000\n" "PO-Revision-Date: 2003-10-11 23:36+0100\n" "Last-Translator: Libor Klepac <elkropac@students.zcu.cz>\n" "Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/panel_menu.c:68 msgid "Remove" msgstr "Odebrat" #: ../src/panel_menu.c:172 msgid "Add" msgstr "Přidat" #: ../src/panel_menu.c:259 msgid "Hide" msgstr "Schovat" #: ../applets/mb-applet-system-monitor.c:253 #, c-format msgid "CPU: %i %%, MEMORY: %i %%\n" msgstr "CPU: %i %%, PAMĚŤ: %i %%\n" #: ../applets/mb-applet-system-monitor.c:324 msgid "CPU/Mem Monitor" msgstr "Sledování využití CPU/Paměti" #: ../applets/mb-applet-wireless.c:438 #, fuzzy, c-format msgid "" "%s:\n" " Link %.1f\n" " Level %.1f\n" " Noise %.1f\n" msgstr "%s: Link %.1f, Level %.1f, Noise %.1f\n" #: ../applets/mb-applet-wireless.c:443 #, c-format msgid "No wireless cards detected\n" msgstr "Nebyla nalezena karta pro bezdrátové sítě\n" #: ../applets/mb-applet-wireless.c:483 msgid "Wireless Monitor" msgstr "Sledování bezdrátových síti" #: ../applets/mb-applet-clock.c:146 #, c-format msgid "%.2d:%.2d" msgstr "%.2d:%.2d" #: ../applets/mb-applet-clock.c:234 msgid "%a %b %e %k:%M:%S %Y" msgstr "%a %b %e %k:%M:%S %Y" #: ../applets/mb-applet-clock.c:333 msgid "Clock" msgstr "Hodiny" #: ../applets/mb-applet-clock.c:360 msgid "Set Time" msgstr "" #: ../applets/mb-applet-battery.c:283 #, c-format msgid "" "Battery power very low !\n" "\n" "Time Left: %.2i minutes" msgstr "" "Napětí baterie velmi nízké!\n" "\n" "Zbývá: %.2i minut" #: ../applets/mb-applet-battery.c:380 #, c-format msgid "" "AC Connected\n" "Charging: %.2i %%\n" msgstr "" "Připojeno k síti\n" "Nabito: %.2i %%\n" #: ../applets/mb-applet-battery.c:383 #, c-format msgid "" "AC Connected\n" "Fully charged.\n" msgstr "" "Připojeno k síti\n" "Plně nabito\n" #: ../applets/mb-applet-battery.c:390 #, c-format msgid "" "Battery Power\n" "Juice %.2i %%\n" "Time left: %.2i h. %.2i min.\n" msgstr "" "Napájeno z baterie\n" "Napětí %.2i %%\n" "Zbývá: %.2i h. %.2i minut\n" #: ../applets/mb-applet-battery.c:392 #, c-format msgid "" "Battery Power\n" " Device read error.\n" msgstr "" "Napájeno z baterie\n" " Chyba při čtení ze zařízení.\n" #: ../applets/mb-applet-battery.c:442 msgid "Battery Monitor" msgstr "Sledování napájení" #: ../applets/mb-applet-battery.c:466 msgid "More info" msgstr "" #~ msgid "Cant open mixer device" #~ msgstr "Nemohu otevřít směšovač" #~ msgid "Cant open mixer device for reading" #~ msgstr "Nemohu otevřít směšovač pro čtení" #~ msgid "Cant open mixer device for writing" #~ msgstr "Nemohu otevřít směšovač pro zápis" #~ msgid "Volume Control" #~ msgstr "Nastavení hlasitosti" �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������matchbox-panel-0.9.3/po/fr_FR.po��������������������������������������������������������������������0000644�0001750�0001750�00000005742�10320055002�013315� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# French localization of MatchBox Dock on-line help # Copyright (C) 2003 # This file is distributed under the same license as the Matchbox package. # Brice <Brice@substantiel.fr>, 2003. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: 0.7.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-02-02 10:37+0000\n" "PO-Revision-Date: 2003-12-06 12:06+0100\n" "Last-Translator: Brice <Brice@Substantiel.fr>\n" "Language-Team: Substantiel <Info@Substantiel.fr>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/panel_menu.c:68 msgid "Remove" msgstr "Quitter" #: ../src/panel_menu.c:172 msgid "Add" msgstr "Ajouter" #: ../src/panel_menu.c:259 msgid "Hide" msgstr "Masquer" #: ../applets/mb-applet-system-monitor.c:253 #, c-format msgid "CPU: %i %%, MEMORY: %i %%\n" msgstr "CPU: %i %%, MEMOIRE: %i %%\n" #: ../applets/mb-applet-system-monitor.c:324 msgid "CPU/Mem Monitor" msgstr "Moniteur de CPU/Mem" #: ../applets/mb-applet-wireless.c:438 #, fuzzy, c-format msgid "" "%s:\n" " Link %.1f\n" " Level %.1f\n" " Noise %.1f\n" msgstr "%s: Lien %.1f, Niveau %.1f, Bruit %.1f\n" #: ../applets/mb-applet-wireless.c:443 #, c-format msgid "No wireless cards detected\n" msgstr "Aucune carte sans-fil détectée\n" #: ../applets/mb-applet-wireless.c:483 msgid "Wireless Monitor" msgstr "Moniteur sans-fil" #: ../applets/mb-applet-clock.c:146 #, c-format msgid "%.2d:%.2d" msgstr "" #: ../applets/mb-applet-clock.c:234 msgid "%a %b %e %k:%M:%S %Y" msgstr "" #: ../applets/mb-applet-clock.c:333 msgid "Clock" msgstr "Horloge" #: ../applets/mb-applet-clock.c:360 msgid "Set Time" msgstr "" #: ../applets/mb-applet-battery.c:283 #, fuzzy, c-format msgid "" "Battery power very low !\n" "\n" "Time Left: %.2i minutes" msgstr "" "BatterieJauge %.2i %%\n" "Temps restant: %.2i mn\n" #: ../applets/mb-applet-battery.c:380 #, c-format msgid "" "AC Connected\n" "Charging: %.2i %%\n" msgstr "" "AC Conecté\n" "En charge: %.2i %%\n" #: ../applets/mb-applet-battery.c:383 #, c-format msgid "" "AC Connected\n" "Fully charged.\n" msgstr "" "AC Conecté\n" "Batterie pleine.\n" #: ../applets/mb-applet-battery.c:390 #, c-format msgid "" "Battery Power\n" "Juice %.2i %%\n" "Time left: %.2i h. %.2i min.\n" msgstr "" "BatterieJauge %.2i %%\n" "Temps restant: %.2i h. %.2i mn\n" #: ../applets/mb-applet-battery.c:392 #, c-format msgid "" "Battery Power\n" " Device read error.\n" msgstr "BatterieErreur de lecture du composant.\n" #: ../applets/mb-applet-battery.c:442 msgid "Battery Monitor" msgstr "Moniteur de la batterie" #: ../applets/mb-applet-battery.c:466 msgid "More info" msgstr "" #~ msgid "Cant open mixer device" #~ msgstr "Ouverture impossible du composant de mixage" #~ msgid "Cant open mixer device for reading" #~ msgstr "Ouverture impossible du composant de mixage pour la lecture" #~ msgid "Cant open mixer device for writing" #~ msgstr "Ouverture impossible du composant de mixage pour l'écriture" #~ msgid "Volume Control" #~ msgstr "Controle du Volume" ������������������������������matchbox-panel-0.9.3/po/zh_TW.po��������������������������������������������������������������������0000644�0001750�0001750�00000005606�10320055002�013351� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Traditional Chinese translation for matchbox. # Copyright (C) 2003 Matthew Allum # This file is distributed under the same license as the matchbox package. # Jim Huang <jserv@kaffe.org>, 2004 # msgid "" msgstr "" "Project-Id-Version: matchbox\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-02-02 10:37+0000\n" "PO-Revision-Date: 2004-06-28 19:16+0800\n" "Last-Translator: Jim Huang <jserv@kaffe.org>\n" "Language-Team: Traditional Chinese <zh@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=Big5\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/panel_menu.c:68 msgid "Remove" msgstr "" #: ../src/panel_menu.c:172 msgid "Add" msgstr "sW" #: ../src/panel_menu.c:259 msgid "Hide" msgstr "" #: ../applets/mb-applet-system-monitor.c:253 #, c-format msgid "CPU: %i %%, MEMORY: %i %%\n" msgstr "CPU: %i %%, Oϥζq: %i %%\n" #: ../applets/mb-applet-system-monitor.c:324 msgid "CPU/Mem Monitor" msgstr "CPU/Oʵ" #: ../applets/mb-applet-wireless.c:438 #, fuzzy, c-format msgid "" "%s:\n" " Link %.1f\n" " Level %.1f\n" " Noise %.1f\n" msgstr "%s: Link %.1f, Level %.1f, Noise %.1f\n" #: ../applets/mb-applet-wireless.c:443 #, c-format msgid "No wireless cards detected\n" msgstr "SLud\n" #: ../applets/mb-applet-wireless.c:483 msgid "Wireless Monitor" msgstr "Lu" #: ../applets/mb-applet-clock.c:146 #, c-format msgid "%.2d:%.2d" msgstr "%.2d:%.2d" #: ../applets/mb-applet-clock.c:234 msgid "%a %b %e %k:%M:%S %Y" msgstr "%a, %e. %b %Y, %k:%M:%S" #: ../applets/mb-applet-clock.c:333 msgid "Clock" msgstr "" #: ../applets/mb-applet-clock.c:360 msgid "Set Time" msgstr "]wɶ" #: ../applets/mb-applet-battery.c:283 #, c-format msgid "" "Battery power very low !\n" "\n" "Time Left: %.2i minutes" msgstr "" "q\qqLC!\n" "\n" "iήɶ: %.2i " #: ../applets/mb-applet-battery.c:380 #, c-format msgid "" "AC Connected\n" "Charging: %.2i %%\n" msgstr "" "AC q\n" "Rqq: %.2i %%\n" #: ../applets/mb-applet-battery.c:383 #, c-format msgid "" "AC Connected\n" "Fully charged.\n" msgstr "" "AC \q\n" "Rq\n" #: ../applets/mb-applet-battery.c:390 #, c-format msgid "" "Battery Power\n" "Juice %.2i %%\n" "Time left: %.2i h. %.2i min.\n" msgstr "" "qѹq\n" "q %.2i %%\n" "Ѿlɶ: %.2i h.%.2i \n" #: ../applets/mb-applet-battery.c:392 #, c-format msgid "" "Battery Power\n" " Device read error.\n" msgstr "" "qѹq\n" "˸mŪ~\n" #: ../applets/mb-applet-battery.c:442 msgid "Battery Monitor" msgstr "qʵ" #: ../applets/mb-applet-battery.c:466 msgid "More info" msgstr "hT" #~ msgid "Cant open mixer device" #~ msgstr "Kann Mixer-Gerät nicht öffnen" #~ msgid "Cant open mixer device for reading" #~ msgstr "Kann Mixer-Gerät nicht zum Lesen öffnen" #~ msgid "Cant open mixer device for writing" #~ msgstr "Kann Mixer-Gerät nicht zum Schreiben öffnen" #~ msgid "Volume Control" #~ msgstr "Lautstärke" ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������