indicator-multiload-0.3/0000775000175000017500000000000012107670271012326 500000000000000indicator-multiload-0.3/AUTHORS0000664000175000017500000000003712107670161013314 00000000000000Michael Hofmann indicator-multiload-0.3/config.rpath0000775000175000017500000004364712107670254014575 00000000000000#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2007 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit , 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # The first argument passed to this file is the canonical host specification, # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld # should be set by the caller. # # The set of defined variables is at the end of this script. # Known limitations: # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer # than 256 bytes, otherwise the compiler driver will dump core. The only # known workaround is to choose shorter directory names for the build # directory and/or the installation directory. # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a shrext=.so host="$1" host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` # Code taken from libtool.m4's _LT_CC_BASENAME. for cc_temp in $CC""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` # Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. wl= if test "$GCC" = yes; then wl='-Wl,' else case "$host_os" in aix*) wl='-Wl,' ;; darwin*) case $cc_basename in xlc*) wl='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6* | nonstopux*) wl='-Wl,' ;; newsos6) ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) wl='-Wl,' ;; pgcc | pgf77 | pgf90) wl='-Wl,' ;; ccc*) wl='-Wl,' ;; como) wl='-lopt=' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) wl='-Wl,' ;; esac ;; esac ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; rdos*) ;; solaris*) wl='-Wl,' ;; sunos4*) wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3*) wl='-Wl,' ;; sysv4*MP*) ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) wl='-Wl,' ;; unicos*) wl='-Wl,' ;; uts4*) ;; esac fi # Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no case "$host_os" in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. # Unlike libtool, we use -rpath here, not --rpath, since the documented # option of GNU ld is called -rpath, not --rpath. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' case "$host_os" in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no fi ;; amigaos*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we cannot use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then : else ld_shlibs=no fi ;; interix[3-9]*) hardcode_direct=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; netbsd*) ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' else ld_shlibs=no fi ;; esac ;; sunos4*) hardcode_direct=yes ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then hardcode_libdir_flag_spec= fi else case "$host_os" in aix3*) # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac fi hardcode_direct=yes hardcode_libdir_separator=':' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac fi # Begin _LT_AC_SYS_LIBPATH_AIX. echo 'int main () { return 0; }' > conftest.c ${CC} ${LDFLAGS} conftest.c -o conftest aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` fi if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib" fi rm -f conftest.c conftest # End _LT_AC_SYS_LIBPATH_AIX. if test "$aix_use_runtimelinking" = yes; then hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' else hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" fi fi ;; amigaos*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; bsdi[45]*) ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' libext=lib ;; darwin* | rhapsody*) hardcode_direct=no if test "$GCC" = yes ; then : else case $cc_basename in xlc*) ;; *) ld_shlibs=no ;; esac fi ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; freebsd1*) ld_shlibs=no ;; freebsd2.2*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; freebsd2*) hardcode_direct=yes hardcode_minus_L=yes ;; freebsd* | dragonfly*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; hpux9*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; hpux10*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no ;; *) hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; netbsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; newsos6) hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then hardcode_libdir_flag_spec='${wl}-rpath,$libdir' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) hardcode_libdir_flag_spec='-R$libdir' ;; *) hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; osf3*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) if test "$GCC" = yes; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else # Both cc and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) hardcode_libdir_flag_spec='-R$libdir' ;; sunos4*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes ;; sysv4) case $host_vendor in sni) hardcode_direct=yes # is this really true??? ;; siemens) hardcode_direct=no ;; motorola) hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac ;; sysv4.3*) ;; sysv4*MP*) if test -d /usr/nec; then ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) ;; sysv5* | sco3.2v5* | sco5v6*) hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' ;; uts4*) hardcode_libdir_flag_spec='-L$libdir' ;; *) ld_shlibs=no ;; esac fi # Check dynamic linker characteristics # Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. # Unlike libtool.m4, here we don't care about _all_ names of the library, but # only about the one the linker finds when passed -lNAME. This is the last # element of library_names_spec in libtool.m4, or possibly two of them if the # linker has special search rules. library_names_spec= # the last element of library_names_spec in libtool.m4 libname_spec='lib$name' case "$host_os" in aix3*) library_names_spec='$libname.a' ;; aix4* | aix5*) library_names_spec='$libname$shrext' ;; amigaos*) library_names_spec='$libname.a' ;; beos*) library_names_spec='$libname$shrext' ;; bsdi[45]*) library_names_spec='$libname$shrext' ;; cygwin* | mingw* | pw32*) shrext=.dll library_names_spec='$libname.dll.a $libname.lib' ;; darwin* | rhapsody*) shrext=.dylib library_names_spec='$libname$shrext' ;; dgux*) library_names_spec='$libname$shrext' ;; freebsd1*) ;; freebsd* | dragonfly*) case "$host_os" in freebsd[123]*) library_names_spec='$libname$shrext$versuffix' ;; *) library_names_spec='$libname$shrext' ;; esac ;; gnu*) library_names_spec='$libname$shrext' ;; hpux9* | hpux10* | hpux11*) case $host_cpu in ia64*) shrext=.so ;; hppa*64*) shrext=.sl ;; *) shrext=.sl ;; esac library_names_spec='$libname$shrext' ;; interix[3-9]*) library_names_spec='$libname$shrext' ;; irix5* | irix6* | nonstopux*) library_names_spec='$libname$shrext' case "$host_os" in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; *) libsuff= shlibsuff= ;; esac ;; esac ;; linux*oldld* | linux*aout* | linux*coff*) ;; linux* | k*bsd*-gnu) library_names_spec='$libname$shrext' ;; knetbsd*-gnu) library_names_spec='$libname$shrext' ;; netbsd*) library_names_spec='$libname$shrext' ;; newsos6) library_names_spec='$libname$shrext' ;; nto-qnx*) library_names_spec='$libname$shrext' ;; openbsd*) library_names_spec='$libname$shrext$versuffix' ;; os2*) libname_spec='$name' shrext=.dll library_names_spec='$libname.a' ;; osf3* | osf4* | osf5*) library_names_spec='$libname$shrext' ;; rdos*) ;; solaris*) library_names_spec='$libname$shrext' ;; sunos4*) library_names_spec='$libname$shrext$versuffix' ;; sysv4 | sysv4.3*) library_names_spec='$libname$shrext' ;; sysv4*MP*) library_names_spec='$libname$shrext' ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) library_names_spec='$libname$shrext' ;; uts4*) library_names_spec='$libname$shrext' ;; esac sed_quote_subst='s/\(["`$\\]\)/\\\1/g' escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` shlibext=`echo "$shrext" | sed -e 's,^\.,,'` escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create \`y.tab.[ch]', if possible, from existing .[ch] Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and \`g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # normalize program name to check for. program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` # 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). This is about non-GNU programs, so use $1 not # $program. case $1 in lex*|yacc*) # Not GNU programs, they don't have --version. ;; *) 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 $program in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te*) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison*|yacc*) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG=\${$#} case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex*|flex*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG=\${$#} case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit $? fi ;; makeinfo*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; *) 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-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: indicator-multiload-0.3/HACKING0000664000175000017500000000030112107670161013225 00000000000000You need at least vala 0.12 and devel packages for glib, gtk+ 3.0, cairo, appindicator and libgtop 2.0. To compile, run ./autogen.sh && make To run without install, use make test-run indicator-multiload-0.3/COPYING0000664000175000017500000010451312107670161013303 00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS 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 state 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 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program 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, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . indicator-multiload-0.3/config.sub0000755000175000017500000010517612107670261014240 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-02-10' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted GNU ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | be32 | be64 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 \ | ns16k | ns32k \ | open8 \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze) basic_machine=microblaze-xilinx ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i386-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: indicator-multiload-0.3/po/0000775000175000017500000000000012107670273012746 500000000000000indicator-multiload-0.3/po/POTFILES.in0000664000175000017500000000107712107670161014444 00000000000000[type: gettext/glade]data/preferences.ui.in data/de.mh21.indicator.multiload.gschema.xml.in.in data/indicator-multiload.desktop.in src/cpuprovider.vala src/diskprovider.vala src/expressionparser.vala src/function.vala src/graphmodel.vala src/graphmodels.vala src/itempreferences.vala src/loadprovider.vala src/main.vala src/memprovider.vala src/menumodel.vala src/multiloadindicator.vala src/netprovider.vala src/preferences.vala src/provider.vala src/providers.vala src/settingscache.vala src/settingsconversion.vala src/swapprovider.vala src/tracemodel.vala src/utils.vala indicator-multiload-0.3/po/xh.po0000664000175000017500000002272612107670241013651 00000000000000# Xhosa translation of gnome-applets # Copyright (C) 2005 Canonical Ltd. # This file is distributed under the same license as the gnome-applets package. # Translation by Canonical Ltd with thanks to # Translation World CC in South Africa, 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:13+0000\n" "Last-Translator: Canonical Ltd \n" "Language-Team: Xhosa \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: xh\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Imonitha yenkqubo yokufaka ekwaziyo ukubonisa iigrafu ze-CPU, ram, kunye " "nokutshintsha ukusetyenziswa kwesithuba, kunye netrafiki yothungelwano." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Canonical Ltd \n" "\n" "Launchpad Contributions:\n" " Canonical Ltd https://launchpad.net/~translations" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Vula iNkqubo yeMonitha" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Okunokukhethwa kuko" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Malunga" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "OoVimba abaHlolwayo" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Isixhobo sokusebenza" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Uvimba wolwazi" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "u_Thungelwano" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "T_shintshiselana ngesithuba" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Faka" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "I_diski eyakhelwe ngaphakathi" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Okunokukhethwa kuko" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Ububanzi bem_onitha yenkqubo: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Ikhefu lohlaziyo lwemonitha yenkq_ubo: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "ii-pixel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "ii-milliseconds" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Imibala" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Umsebenzisi" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "iN_kqubo" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "i-N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "i-I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "iL_alele" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Isixhobo sokusebenza" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Kw_abelana" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Izigcini zethutyana" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "iFakwe kuVi_mba wethutyana" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "S_imahla" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Uvimba weefayili" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Okungasemva" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Uthungelwano" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Isetyenzisiwe" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Ngahlawulelwa" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Isithuba soTshintshisano" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "u_Mndilili" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Faka" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Funda" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Bhala" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Idiski eyakhelwe ngaphakathi" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Izinga lokuhlaziya inkqutyana yekhompyutha ngee-milliseconds" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/fi.po0000664000175000017500000002401012107670241013614 00000000000000# fi.po -- Finnish messages for gnome-applets # Copyright (C) 1998-2009 Free Software Foundation, Inc. # Tuomas Lukka, 1998. # Ville Hautamäki , 1998. # Mikko Rauhala , 1999. # Jarkko Ranta , 2000-2004. # Ilkka Tuohela , 2005-2009. # Tommi Vainikainen , 2009-2010. # Jiri Grönroos , 2009. # # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:29+0000\n" "Last-Translator: Timo Jyrinki \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: fi\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Järjestelmän kuorman tarkkailija, joka osaa näyttää käyriä suoritinydinten, " "muistin ja välimuistin käytöstä sekä verkon liikenteestä." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Ilkka Tuohela, 2005-2008\n" "Jarkko Ranta, 2000-2004\n" "Mikka Rauhala, 1999\n" "Ville Hautamäki, 1998\n" "Tuomas Lukka, 1998\n" "\n" "http://gnome.fi/\n" "\n" "Launchpad Contributions:\n" " Jiri Grönroos https://launchpad.net/~jiri-gronroos\n" " Juhani Numminen https://launchpad.net/~jsonic\n" " Timo Jyrinki https://launchpad.net/~timo-jyrinki\n" " Tommi Vainikainen https://launchpad.net/~thv" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Avaa Järjestelmänvalvonta" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Asetukset" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Tietoja" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Lopeta" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Valvotut resurssit" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Suoritin" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Muisti" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Verkko" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Si_vutustila" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Kuorma" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Kiintolevy" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Asetukset" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Järjestelmänvalvonnan _leveys: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Järjestelmänvalvonnan _nopeus: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pikseliä" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisekuntia" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Automaattikäynnistys: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Värit" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Käy_ttäjä" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Järjestelmä" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Va_paa" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Suoritin" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Jaettu" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "Pu_skurit" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Välimuistissa" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Vapaana" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Muisti" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Saapuva" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Lähtevä" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Paikallinen" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Tausta" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Verkko" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Käytetty" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Vapaana" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Sivutustila" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Keskimääräinen" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Verkkokuorma" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Luku" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Kirjoitus" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Kiintolevy" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Sovelman päivitystiheys millisekunneissa" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Kuvaajien leveys (pikseliä)." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Kuvaajien korkeus (pikseliä)." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Työpöydän kuvaustiedosto, joka suoritetaan järjestelmän tarkkailijana" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Käynnistä automaattisesti istunnon käynnistyessä" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Järjestelmäkuorman ilmaisin" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/br.po0000664000175000017500000002171312107670241013630 00000000000000# Breton translation for gnome-applets # Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 # This file is distributed under the same license as the gnome-applets package. # Giulia Fraboulet , 2006-2008" # Jamy , 2009 # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:31+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Breton \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: br\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Giulia Fraboulet \n" "\n" "Launchpad Contributions:\n" " Michael Hofmann https://launchpad.net/~mh21" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Gwellvezioù" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Diwar-benn" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Kewerier" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memor" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rouedad" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Kargañ" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Kantenn galet" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Dibarzhioù" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "" #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "" #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "a bikselioù" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "a vilieilennoù" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Livioù" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Ar_veriad" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "R_eizhiad" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Kewerier" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Rannet" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "S_kurzerioù" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Krubuilh_et" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "D_ieub" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memor" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lec'hel" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Drekleur" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rouedad" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Ar_veret" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "Dieu_b" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Memor disloañ" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Kei_tad" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Kargañ" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lenn" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Skrivañ" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Kantenn galet" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/hy.po0000664000175000017500000002376512107670241013656 00000000000000# translation of gnome-applets.HEAD.po to armenian # This file is distributed under the same license as the gnome-applets package. # Copyright (C) 2005 Norayr Chilingaryan, 2005. # Narine Martirosyan msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:37+0000\n" "Last-Translator: Narine Martirosyan \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Համակարգի ստուգման ծրագիրը հնարավորություն ունի պատկերել պրոցեսորի բեռնման, " "հիշողության, փոխանակման տարածքի օգտագործման և ցանցի բեռնման գրաֆիկներ" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "թարգմանչի կրեդիտներ\n" "\n" "Launchpad Contributions:\n" " Narine Martirosyan https://launchpad.net/~training-instigate" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Բացել համակարգի ստուգում ծրագիրը" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Նախընտրանքներ" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_ Մասին" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Ստուգվող ռեսուրսներ" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "Պրոցեսոր" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "Հիշողություն" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "Ցանց" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Փոխանակության տարածք" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "Բեռնում" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "Ամուր դիսկ" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Տարբերակներ" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Համակարգի մոնիտորի լայնությունը " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Համակարգի մոնիտորի նորացման արագություն " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "պիքսել" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "Միլի վայրկյաններ" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Գույներ" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Գործարկող" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "Համակարգ" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Առաջնայնություն" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Պարապուրդ" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Պրոցեսոր" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Տարանջատված" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "Բուֆերներ" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Հիշողություն" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Ազատ" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Հիշողություն" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Մեջ" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Դուրս" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Տեղային" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Ֆոն" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Ցանց" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Օգտագործված" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "Ազատ" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Փոխանակման տարածք" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Միջին" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Բեռնում" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "Ընթերցում" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "Գրել" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Ամուր դիսկ" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Ապլետի նորացման հաճախականությունը միլի վայրկյաններում" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Աշխատանքային սեղանի նկարագրական ֆայլը ձևակերպել որպես համակարգային ցուցասարք" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ku.po0000664000175000017500000002300412107670241013637 00000000000000# translation of ku.po to Kurdish # English translation of PACKAGE. # Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Erdal Ronahi , 2006. # msgid "" msgstr "" "Project-Id-Version: ku\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:07+0000\n" "Last-Translator: Erdem AYALP \n" "Language-Team: Kurdish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ku\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Temaşekereke barê pergalê ye ku kirar, bîr, bikaranîna qada pevguhartinê û " "xanxanka tîrbûna torê dikare bide nîşandan." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Rizoyê Xerzî Erdal Ronahî \\n " "Elîxan Loran \\n Rêzan Tovjîn " "\n" "\n" "Launchpad Contributions:\n" " Erdal Ronahi https://launchpad.net/~erdalronahi\n" " Erdem AYALP https://launchpad.net/~erdemayalp\n" " Rêzan Tovjîn https://launchpad.net/~retovjin" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Temaşekerê Pergalê Veke" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Vebijêrk" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Der barê de" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Çavkaniyên Xwerû yên Têne Şopandin." #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Kirar" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Bîr" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Tor" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Cihê _Swap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Bar bike" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Dîska sabît" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Vebijêrk" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Firehbûna_temaşekerê pergalê: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Timîkiya rojanekirina_ temaşekerê pergalê: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pîksel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "mîlîçirk" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Reng" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Bikarhêner" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Sîstem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Pêş_ikî" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Ra_westiyayî" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Kirar" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Di_parvekirinê de ye" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Tampon" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Bipêş_bîr" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Vala" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Bîr" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Rûerd" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Tor" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Tê bikaranîn" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Vala" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Qada pevguhertinê" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Nîvekî" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Lê bar bike" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "Bi_xwîne" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "Bi_nivîse" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Dîska Sabît" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Leza tezekirinê sepanokê ya ji cureyê mîlîçirkan" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/uk.po0000664000175000017500000002754412107670241013654 00000000000000# Ukrainian translation of gnome-applets. # Copyright (C) 2000 Free Software Foundation, Inc. # Yuri Syrota , 2000 # Maxim Dziumanenko , 2004-2009 # wanderlust , 2009. msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:03+0000\n" "Last-Translator: Власов Александр \n" "Language-Team: ukrainian >\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Монітор навантаження системи відображає графіки використання процесора, " "пам'яті, файлу підкачки, дискового простору та мережі." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Юрій Сирота \n" "Максим Дзюманенко \n" "Wanderlust \n" "\n" "Launchpad Contributions:\n" " Maxim Dziumanenko https://launchpad.net/~dziumanenko\n" " Власов Александр https://launchpad.net/~cvetliy-e\n" " Сергій Матрунчик https://launchpad.net/~sergiy.matrunchyk" # #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Відкрити _Системний монітор" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "П_араметри" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Про програму" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Вихід" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Ресурси, що контролюються" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "П_роцесор" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Пам'ять" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Мережа" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Під_качка" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "З_авантаження" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Жорсткий диск" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Параметри" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Ширина системного монітору: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Період _оновлення системного монітору: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "точок" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "мс" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Автостарт: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Кольори" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Користувач" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Система" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Пр_іоритеті" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "О_чікування" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Процесор" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Спільна" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Буфери" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Ке_ш" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Вільна" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Пам'ять" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "В_хідний" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "В_ихідний" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Локальний" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Тло" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Мережа" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "В_икористано" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Вільно" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Підкачка" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Середнє" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Завантаження" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Читання" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Запис" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Жорсткий диск" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Елементи меню" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Доступні діаграми" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Частота оновлення аплету (в мілісекундах)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Ширина діаграми в пікселях." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Висота діаграми в пікселях" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Файл опису для виконання як системний монітор" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Завантажуватись автоматично після входу в систему" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Інформація, що відображається індикатором" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "Індекс поточної інформації, яка відображається індикатором" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Інформація, що відображається в пунктах меню" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Прозорість діаграми" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Колір фону діаграми" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Видимість діаграми" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Мінімальне значення верхнього краю діаграми" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" "Максимальне значення верхнього краю діаграми, нуль означає \"без обмежень\"" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" "Кількість значень, використовуваних для плавної зміни масштабу діаграми" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Доступні криві" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Колір кривої" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "Вираз кривої" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Видимість кривої" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Відображення кривих" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Індикатор завантажування системи" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Значення виразу" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Список доступних ідентифікаторів виразу" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Показувати відлагоджувальні повідомлення" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "Індикатор завантаження системи" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Виконайте '%s --help', щоб побачити повний список доступних параметрів.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} кБ" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} МБ" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} ГБ" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u Б" msgstr[1] "%u Б" msgstr[2] "%u Б" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} кБ/с" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} МБ/с" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} ГБ/с" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} ТБ/с" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u Б/с" msgstr[1] "%u Б/с" msgstr[2] "%u Б/с" indicator-multiload-0.3/po/sq.po0000664000175000017500000002276412107670241013657 00000000000000# Përkthimi i gnome-applets në shqip. # Copyright (C) 2003-2005, 2008 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # # Elian Myftiu , 2003-2005. # Laurent Dhima , 2008. msgid "" msgstr "" "Project-Id-Version: gnome-applets HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:29+0000\n" "Last-Translator: Laurent Dhima \n" "Language-Team: albanian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Një vëzhgues i ngarkesës së sistemit që paraqet grafikë për CPU-në, " "memorjen, dhe hapësirën e përdorur swap, si dhe trafikun e rrjetit." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Elian Myftiu \n" "\n" "Launchpad Contributions:\n" " Laurent Dhima https://launchpad.net/~laurenti" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Vëzhgues i _Hapur i Sistemit" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferimet" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Informacione" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Burimet e Vëzhguara" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Proçesori" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memorja" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rrjeti" # (pofilter) accelerators: accelerator _ is missing from translation #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Hapësira S_wap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Ngarkesa" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Harddisk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Mundësitë" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Gjerësia e vë_zhguesit të sistemit: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Intervali i freskimit të vëzhguesit të sis_temit: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisekonda" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Ngjyrat" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Përdoruesi" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istemi" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "I Pa_përdorur" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Proçesori" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "N_darë" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffer-a" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Në Cach_e" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "E Li_rë" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Kujtesa" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Sfondi" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rrjeti" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Përdorur" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_E Lirë" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Hapësira Swap" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Mesatare" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Ngarko" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Leximi" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Shkrimi" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Harddisk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Raporti i rifreskimit të applet në milisekonda" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "File i përshkrimit desktop për tu ekzekutuar si monitor i sistemit" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/af.po0000664000175000017500000002263712107670241013621 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Johan Mynhardt , 2009 # F Wolff , 2009 msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:14+0000\n" "Last-Translator: Friedel Wolff \n" "Language-Team: translate-discuss-af@lists.sourceforge.net\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: af\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "'n Stelsellading-monitor wat in staat is om grafieke van die SVE, geheue, " "gebruik van uitruilspasie en netwerkverkeer te wys." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Bydraes vanaf Contributions:\n" " Eduard Grebe https://launchpad.net/~eduardgrebe\n" " Hendrik Boshoff https://launchpad.net/~hfvb\n" " Hex https://launchpad.net/~jaco-niel\n" " Johan Mynhardt https://launchpad.net/~johanmynhardt\n" " Laurens https://launchpad.net/~jcloete-csir\n" " Theuns Smuts https://launchpad.net/~theunssmuts\n" " jlr https://launchpad.net/~j-l-r\n" "Friedel Wolff\n" "\n" "Launchpad Contributions:\n" " Friedel Wolff https://launchpad.net/~friedel-translate" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Open Stelselmonitor" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Voorkeure" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Aangaande" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Gemoniteerde hulpbronne" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Verwerker" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Geheue" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Netwerk" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Uitruilspasie" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Lading" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Hardeskyf" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Keuses" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "" #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "" #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "beeldpunte" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisekondes" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Kleure" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Gebr_uiker" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Stelsel" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Verwerker" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Gedeel" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffers" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Geheue" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Netwerk" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Gebr_uik" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Uitruilspasie" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Gemiddeld" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lees" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Skryf" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Hardeskyf" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/sr@latin.po0000664000175000017500000002320012107670241014772 00000000000000# Serbian translation of gnome-applets # Courtesy of Prevod.org team (http://prevod.org/) -- 2003, 2004, 2005, 2006. # # This file is distributed under the same license as the gnome-applets package. # # Maintainer: Danilo Šegan # Reviewed on 2005-09-03 by: Igor Nestorović # Miloš Popović , 2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:01+0000\n" "Last-Translator: Miloš Popović \n" "Language-Team: Serbian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: sr\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Praćenje opterećenja sistema omogućava prikaz grafika za procesor, memoriju, " "i memoriju na disku, a uz to i mrežni saobraćaj." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Danilo Šegan \n" "\n" "http://prevod.org — prevod na srpski jezik.\n" "\n" "Launchpad Contributions:\n" " Miloš Popović https://launchpad.net/~gpopac" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Pokreni Praćenje sistema" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Postavke" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_O programu" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Praćeni resursi" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memorija" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "M_reža" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Zamena za memoriju (swap)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Opterećenje" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Tvrdi disk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opcije" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Širina programčeta: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_Vreme između dva osvežavanja prikaza: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "piksela" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisekundi" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Boje" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Korisnik" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Sistem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Manje prioritetno" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "U_Ičekanje" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Neuposlen" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Deljena" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Baferi" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Keš_irana" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Slobodna" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memorija" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Primljeno" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "P_oslato" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokalno" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Pozadina" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Mreža" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Is_korišćeno" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Slobodno" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Zamena za memoriju (swap)" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Pro_sečno" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Opterećenje" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Čitanje" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Upis" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Tvrdi disk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Brzina osvežavanja programčeta u milisekundama" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" # Jel ok ovako? #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Pokretačka datoteka koju treba pokrenuti kao program za praćenje sistema" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/da.po0000664000175000017500000002602612107670241013613 00000000000000# Danish translation of gnome-applets. # Copyright (C) 1998-99, 2000-08 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # Kenneth Christiansen , 1998-2000. # Birger Langkjer , 2000. # Keld Simonsen , 2000. # Ole Laursen , 2001-2005. # Martin Willemoes Hansen , 2004-2005. # David Nielsen , 2006 # Peter Bach , 2007. # Kenneth Nielsen , 2008-2009. # Ask Hjorth Larsen , 2008, 10. # # Konventioner: # # AC power -> lysnettet # applet -> panelprogram # battery power -> batteriet # layout -> tastaturlayout # settings, properties -> indstillinger # # Husk at tilføje dig i credit-listen (besked id "translator-credits") # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:34+0000\n" "Last-Translator: Daniel Ejsing-Duun \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: da\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "En systembelastningsovervåger der kan vise grafer for processor, hukommelse " "og swapfilsforbrug plus netværkstrafik." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Birger Langkjer\n" "David Nielsen\n" "Keld Simonsen\n" "Kenneth Christiansen\n" "Martin Willemoes Hansen\n" "Ole Laursen\n" "Peter Bach\n" "\n" "Dansk-gruppen \n" "Mere info: http://www.dansk-gruppen.dk\n" "\n" "Launchpad Contributions:\n" " Aputsiaq Niels Janussen https://launchpad.net/~aj\n" " Ask Hjorth Larsen https://launchpad.net/~askhl\n" " Daniel Ejsing-Duun https://launchpad.net/~zilvador" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Åbn systemovervåger" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Indstillinger" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Om" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Afslut" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Overvågede resurser" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Hukommelse" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Netværk" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "S_wapplads" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Belastning" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Harddisk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Indstillinger" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Grafbredde: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Sys_temovervågningsinterval: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "punkter" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisekunder" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Autostart: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Farver" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Bruger" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ystem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Nedprioriteret" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_O-ventetid" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Inaktiv" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Delt" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffere" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Cache" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "L_edig" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Hukommelse" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Ind" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Ud" # Fejlrapport #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokal" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Baggrund" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Netværk" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Brugt" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Ledig" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swapplads" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Gennemsnit" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Belastning" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Læse" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Skrive" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Harddisk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Menulinjer" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Tilgængelige grafer" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Opdateringsinterval i millisekunder" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Grafernes bredde i punkter." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Grafhøjde i punkter" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Skrivebordsbeskrivelsesfilen der eksekveres som systemovervågning" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Start automatisk ved indlogning" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Oplysninger vist i selve indikatoren" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "Indeksværdi for den givne oplysning vist i selve indikatoren" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Oplysninger vist som menulinjer" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Alfaværdi for grafer" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Baggrundsfarve for grafer" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Grafsynlighed" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Mindste værdi for grafens øvre kant" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "Højeste værdi for grafens øverste kant. Nul betyder ubegrænset." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "Antal værdier i brug ved blød grafskalering" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Tilgængelige sporinger" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Sporingsfarve" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "Sporingsudtryk" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Synlighed af sporing" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Viste sporinger" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Systembelastningsindikator" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Evaluer et udtryk" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Opstil tilgængelige udtrykssymboler" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Vis fejlretningsbeskeder" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "- Indikator for et systembelastningsprogram" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Kør \"%s --help\" for at se den fulde liste af tilgængelige " "kommandolinjetilvalg.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" msgstr[1] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u B/s" msgstr[1] "%u B/s" indicator-multiload-0.3/po/zh_HK.po0000664000175000017500000002346412107670241014235 00000000000000# Chinese (Hong Kong) translation of gnome-applets. # Copyright (C) 1999, 2000, 01, 02, 03, 04, 05, 06, 07 Free Software Foundation, Inc. # GNOME 1.x: # Yuan-Chung Cheng , 1999. # Jing-Jong Shyue , 2000, # Abel Cheung , 2001-2002. # GNOME 2.x: # Abel Cheung , 2002-2004. # Woodman Tuen , 2005-07 # Chao-Hsiung Liao , 2008. # # msgid "" msgstr "" "Project-Id-Version: gnome-applets 2.32.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:19+0000\n" "Last-Translator: Chao-Hsiung Liao \n" "Language-Team: Chinese (Hong Kong) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: zh_HK\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "系統負載監控程式可以顯示 CPU、記憶體、交換記憶及網絡使用量。" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "如對翻譯有任何意見,請送一封電子郵件給\n" "以下地址,GNOME 翻譯隊伍會儘快回覆你:\n" "zh-l10n@lists.linux.org.tw\n" "\n" "Woodman Tuen , 2005-2006\n" "Abel Cheung , 2001-2004\n" "Jing-Jong Shyue , 2000\n" "Yuan-Chung Cheng , 1999\n" "\n" "Launchpad Contributions:\n" " Chao-Hsiung Liao https://launchpad.net/~j-h-liau" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "啟動系統監控程式(_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "偏好設定(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "關於(_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "受監控的資源" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "處理器(_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "記憶體(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "網絡(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "交換記憶(_W)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "負載(_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "硬碟(_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "選項" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "系統監控程式闊度(_O): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "系統監控更新間隔(_T): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "像素" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "亳秒" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "色彩" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "使用者(_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "系統(_Y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "閒置(_D)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "處理器" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "分享(_A)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "緩衝區(_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "快取記憶(_E)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "未用(_R)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "記憶體" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "進(_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "出(_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "本地端(_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "背景顏色(_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "網絡" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "使用中(_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "可用(_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "交換記憶" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "平均(_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "負載" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "讀(_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "寫(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "硬碟" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "面板程式自動更新頻率(毫秒)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "以系統監視器執行的桌面描述檔案" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/POTFILES.skip0000664000175000017500000000070112107670161014775 00000000000000data/de.mh21.indicator.multiload.gschema.xml.in data/preferences.ui src/cpuprovider.c src/diskprovider.c src/expressionparser.c src/function.c src/graphmodel.c src/graphmodels.c src/itempreferences.c src/loadprovider.c src/main.c src/memprovider.c src/menumodel.c src/multiloadindicator.c src/netprovider.c src/preferences.c src/provider.c src/providers.c src/settingscache.c src/settingsconversion.c src/swapprovider.c src/tracemodel.c src/utils.c indicator-multiload-0.3/po/is.po0000664000175000017500000002353312107670241013642 00000000000000# Icelandic translation of Gnome. # Copyright (C) 2008 Free Software Foundation, Inc. # Samúel Jón Gunnarsson , 2003. # Anna Jonna Ármannsdóttir , 2008. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:04+0000\n" "Last-Translator: Sigurpáll Sigurðsson \n" "Language-Team: Icelandic\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Álagsvakt kerfis getur sýnt gröf fyrir örgjörva, minnisnotkun, plássnotkun " "síðuskrár auk netumferðar." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Samúel Jón Gunnarsson\n" "Anna Jonna Armannsdottir\n" "Launchpad Contributions:\n" " Anna Jonna Armannsdottir https://launchpad.net/~annaj\n" " Sigurpáll Sigurðsson https://launchpad.net/~icekhaos" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Opna kerfisvakt" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Stillingar" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Um" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Hætta" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Vöktuð aðföng" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Örgjörvi" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Minni" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Netkerfi" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Síðuskrá" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "Á_lag" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Harður diskur" # check_box = gtk_check_button_new_with_mnemonic(_("_Average")); # gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_box), # panel_applet_gconf_get_bool(multiload_applet->applet, "view_loadavg", NULL)); # gtk_box_pack_start(GTK_BOX(hbox), check_box, FALSE, FALSE, 0); #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Valmöguleikar" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Breidd _kerfisvaktar: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_Uppfærslutíðni k_erfisvaktar: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixlar" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisekúndur" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Sjálfræsing: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Litir" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Notandi" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "K_erfi" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Nice (kurteisi)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "inntak/úttak_bið" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "I_ðjuleysi" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Örgjörvi" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Sa_mnýtt" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Biðminni" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Flýtiminni" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Laust" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Minni" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Inn" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Út" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Bakgrunnur" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Netkerfi" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Notað" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Laust" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Síðuskrá" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Með_altal" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Hlaða" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lestur" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Skrift" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Harður diskur" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Uppfærslutíðni smáforrits í millisekúndum" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Vídd grafa í pixlum" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Hæð grafa í pixlum" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Skjáborðslýsingarskráin sem á að keyra sem kerfisvakt" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Bakgrunnslitur grafs" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Sýnileiki grafs" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Lágmarksvirði fyrir efri brún grafs" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "Hámarksvirði fyrir efri brún grafs, núll þýðir ótakmarkað" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Litur spora" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Sýnileiki spora" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Spor sýnd" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Sýna viðgerðarskilaboð" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/el.po0000664000175000017500000003135012107670241013623 00000000000000# Greek translation for gnome-applets # Copyright (C) 1999 - 2009 Free Software Foundation, Inc. # # Half of translation by Spiros, Simos/Sarantis other half. # Revision by Sarantis/Simos. # Simos added about 160, totaling to 868 messages. # --> # load=φορτίο ή φόρτος; (2) # # kostas: 25May2003, one more update. # kostas:06Jul2003, one more update. # kostas: 27Jul2003, one more update. # Nikos: 13Feb2004 fixes # Nikos: 15Jul2004 minor fixes # Nikos: 30Jul2004 minor fixes # # # simos: 1016 messages, 18Feb2001. # simos: 1069 messages, 18Feb2001, with visual verification. # simos: 1074 messages, 27Feb2001. # simos: 1074 messages, 26Mar2001, unfuzzied 1 (beargsgppl). # simos: 1077 messages, 4Jun2001, (micumple). # simos: 1092 messages, 2Aug2001, (conbea). # simos: 487 messages, 14May2002, (GNOME2 update, UTF-8 encoding.). # kostas: 818 messages, 25Oct2002, completed translation. # simos: 818 messages, 25Oct2002, review of translation. # kostas:740 messages, 06Jan2003, updated translation. # kostas: 23May2003, 179 new, unfuzzy 172, update for 2.4xx. # kostas: 914messages,10Aug2003, one more update. # kostas: 1201messages,15Aug2003, one more update. # kostas: 1202messages,05Sep2003, one more update. # kostas: 1204messages,12Nov2003, updates and fixes. # kostas: 1258messages,26Jan2004. # kostas: 1260messages,03Feb2004. # Spiros Papadimitriou , 1999. # Simos Xenitellis , 1999, 2000, 2001, 2002. # Sarantis Paskalis , 2000. # Kostas Papadimas , 2002,2003, 2004, 2005, 2006, 2008. # Nikos Charonitakis , 2004. # Simos Xenitellis , 2005. # Marios Zindilis , 2009. msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD.el\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:03+0000\n" "Last-Translator: Simos Tsimperis \n" "Language-Team: Greek \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: el\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Η εφαρμογή φόρτου συστήματος προβάλλει γραφικά για τη χρήση ΚΜΕ, μνήμης RAM, " "και αρχείου εναλλαγής, καθώς και το φόρτο δικτύου." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Σπύρος Παπαδημητρίου \n" "Σίμος Ξενιτέλλης \n" "Σαράντης Πασχάλης \n" "Κώστας Παπαδήμας \n" "Νίκος Χαρωνιτάκης \n" "Μάριος Ζηντίλης \n" "\n" "Launchpad Contributions:\n" " Apostolakis Spiros https://launchpad.net/~apostolakiss\n" " Michael Kotsarinis https://launchpad.net/~mk73628\n" " Simos Tsimperis https://launchpad.net/~simos-medical" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Άν_οιγμα Παρακολούθησης Συστήματος" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Προτιμήσεις" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Περί" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Κλείστε" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Παρακολουθούμενοι Πόροι" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Επεξεργαστής" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Μνήμη" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Δίκτυο" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Χώρος S_wap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "Φό_ρτος" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Σκληρός δίσκος" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Επιλογές" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Πλάτος πα_ρακολούθησης συστήματος: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Μεσοδιάστημα ενημέρωσης παρα_κολούθησης συστήματος: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "εικονοστοιχεία" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "χιλιοστά δευτερολέπτου" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Aυτόματη εκκίνηση: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Χρώματα" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Χρήστης" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "Σ_ύστημα" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Ωραιο_ποίηση" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Αδ_ρανής" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Επεξεργαστής" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Διαμοιρα_ζόμενο" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Ενταμιευτές" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Cach_ed" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Ελ_εύθερο" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Μνήμη" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_In" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Out" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Τοπικό" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Παρασκήνιο" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Δίκτυο" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Κατειλημμένο" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Ελεύθερο" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Χώρος αντιμετάθεσης" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Μέ_σος Φόρτος" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Φόρτος" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "Α_νάγνωση" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "Ε_γγραφή" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Σκληρός δίσκος" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Διαθέσιμα γραφήματα" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Ρυθμός ανανέωσης μικροεφαρμογής σε χιλιοστά δευτερ." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Πλάτος των γραφημάτων σε pixels." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Ύψος των γραφημάτων σε pixels." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Το αρχείο περιγραφής επιφάνειας εργασίας για εκτέλεση ως παρακολούθηση " "συστήματος" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Αυτόματη εκκίνηση κατά την έναρξη της συνεδρίας" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Πληροφορίες εμφανιζόμενες ως καταχωρήσεις στο μενού" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Χρώμα φόντου γραφήματος" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Ορατότητα γραφήματος" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Δείκτης Φόρτου Συστήματος" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Εμφάνιση μηνυμάτων αποσφαλμάτωσης" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "Δείκτης φόρτου εφαρμογών συστήματος" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Εκτελέστε '%s --help' για να δείτε μια πλήρη λίστα των διαθέσιμων επιλογών " "της γραμμής εντολών\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/wa.po0000664000175000017500000002175212107670241013637 00000000000000# Traduction into the walloon language. # # Si vos voloz donner on côp di spale pol ratournaedje di Gnome (ou des # ôtes libes programes) sicrijhoz mu a l' adresse emile # ; nos avons co bråmint di l' ovraedje a fé. # # Copyright (C) 1999 Free Software Foundation, Inc. # Pablo Saratxaga 1999-2000,2002 # Lucyin Mahin , 2000 msgid "" msgstr "" "Project-Id-Version: gnome-applets 1.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:51+0000\n" "Last-Translator: Pablo Saratxaga \n" "Language-Team: Walon \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n!=1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Pablo Saratxaga https://launchpad.net/~pablo-mandrakesoft" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memwere" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rantoele" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Tchuzes" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Lårdjeu do _corwaitoe do sistinme: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Metaedje a djoû do corwaitoe tos les: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "picsels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisegondes" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Coleurs" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Uzeu" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Sistinme" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processeu" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Pårti" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Tampons" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Libe" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memwere" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Fond" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rantoele" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Eployî" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Libe" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ko.po0000664000175000017500000002330712107670241013637 00000000000000# ko.po -- Korean messages for gnome-applets # This file is distributed under the same license as the package. # # update by Young-Ho, Cha , 2001 # update by ChiDeok, Hwang , 2001 # GwanSun Back , 2001 # Changwoo Ryu , 1998, 2002-2006, 2007, 2008, 2009, 2010. # # 새로 번역하신 분은 아래 "translator-credits"에 추가하세요. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:19+0000\n" "Last-Translator: Changwoo Ryu \n" "Language-Team: GNOME Korea \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: Korean\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "시스템 사용량 모니터는 CPU, 램, 스왑 공간 사용량 및 네트워크 사용량을 그래프로 보여줍니다." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "류창우 \n" "차영호 \n" "황치덕 \n" "백관선 \n" "\n" "Launchpad Contributions:\n" " Changwoo Ryu https://launchpad.net/~cwryu" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "시스템 정보 열기(_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "기본 설정(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "정보(_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "살펴 볼 자원" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "프로세서(_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "메모리(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "네트워크(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "스왑 공간(_W)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "사용량(_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "하드 디스크(_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "옵션" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "시스템 정보 너비(_O): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "시스템 정보 업데이트 주기(_T): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "픽셀" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "밀리초" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "색" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "사용자(_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "시스템(_Y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "우선순위(_I)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "유휴(_D)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "프로세서" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "공유(_A)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "버퍼(_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "캐쉬(_E)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "여유(_R)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "메모리" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "입력(_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "출력(_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "로컬(_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "배경색(_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "네트워크" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "사용중(_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "여유(_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "스왑 공간" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "평균 사용량(_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "사용량" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "읽기(_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "쓰기(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "하드 디스크" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "애플릿의 갱신 단위 (천분의 일초)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "시스템 정보 보기 프로그램으로 실행할 데스크톱 파일" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/pt.po0000664000175000017500000002273712107670241013657 00000000000000# gnome-applets' Portuguese translation. # Copyright © 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 gnome-applets # This file is distributed under the same license as the gnome-applets package. # Duarte Loreto , 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010. # msgid "" msgstr "" "Project-Id-Version: 2.32\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:19+0000\n" "Last-Translator: Duarte Loreto \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: pt\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Um monitor de carga do sistema capaz de apresentar gráficos para a " "utilização do CPU, ram e ficheiro swap além do tráfego de rede." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Duarte Loreto \n" "\n" "Launchpad Contributions:\n" " Duarte Loreto https://launchpad.net/~happyguy-pt-hotmail" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Abrir o Monitor de Sistema" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferências" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Sobre" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Recursos Monitorizados" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processador" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memória" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rede" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Espa_ço em Swap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "Car_ga" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Disco Rígido" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opções" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Largura do m_onitor de sistema: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Velocidade de actualização do moni_tor de sistema: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisegundos" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Cores" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Utilizador" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istema" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "P_rioridade (nice)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "Espera I_O" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "I_nactivo" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processador" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "P_artilhada" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffers" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Em Cac_he" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Li_vre" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memória" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Entrada" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Saída" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Local" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Cor de _fundo" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rede" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Utilizado" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "Li_vre" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Espaço de Swap" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Média" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Carga" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Leitura" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Escrita" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disco rígido" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Frequência de actualização da applet em milisegundos" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "O ficheiro de descrição de ambiente de trabalho a executar como monitor de " "sistema" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/cy.po0000664000175000017500000002305312107670241013637 00000000000000# translation of gnome-applets.HEAD.cy.po to Cymraeg # gnome-applets yn Gymraeg. # Copyright (C) 2003, 2004 Free Software Foundation, Inc. # Largely Chris and Dafydd H. # Also lots of stuff merged from Kyfieithu later on. Owain? # www.gyfieithu.co.uk , 2003. # Dafydd Harries , 2003, 2004. # Dafydd Tomos , 2004. # Rhys Jones , 2005. # # rhysj: Wedi diweddaru a gwirio hwn erbyn GNOME 2.12. # rhysj: Ac hefyd 2.14 a 2.16. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:19+0000\n" "Last-Translator: Rhys Jones \n" "Language-Team: Cymraeg \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=n==1 ? 0 : n==2 ? 1 : (n != 8 && n != 11) ? " "2 : 3;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Monitor llwyth system sy'n gallu dangos graffiau defnydd CPU, cof a gofod " "cyfnewid, a thraffig rhwydwaith." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Dafydd Harries \n" "Rhys Jones \n" "\n" "Launchpad Contributions:\n" " Rhys Jones https://launchpad.net/~rhys-sucs" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Agor y Monitor System" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Hoffterau" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Ynghylch" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Adnoddau a Monitrwyd" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Prosesydd" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Cof" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rhwydwaith" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Gofod Cyfnewid" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Llwyth" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Disgen Galed" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Hoffterau" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Lled y monitor system: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_Ysbaid diweddaru'r monitor system: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "picsel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milfedau o eiliadau" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Lliwiau" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Defnyddiwr" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_System" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Neis" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Seibio" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Prosesydd" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Wedi _Rhannu" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Byfferau" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Storfa" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Rhydd" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Cof" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Cefndir" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rhwydwaith" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Wedi Defnyddio" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Rhydd" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Gofod Cyfnewid" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Cyfartaledd" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Llwyth" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Darllen" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Ysgrifennu" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disgen Galed" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Cyfradd diweddaru'r rhaglennig mewn milfedau eiliad" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/rw.po0000664000175000017500000002270712107670241013661 00000000000000# translation of gnome-applets to Kinyarwanda. # Copyright (C) 2005 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # Steve Murphy , 2005 # Steve performed initial rough translation from compendium built from translations provided by the following translators: # Philibert Ndandali , 2005. # Viateur MUGENZI , 2005. # Noëlla Mupole , 2005. # Carole Karema , 2005. # JEAN BAPTISTE NGENDAHAYO , 2005. # Augustin KIBERWA , 2005. # Donatien NSENGIYUMVA , 2005.. # msgid "" msgstr "" "Project-Id-Version: gnome-applets 2.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:04+0000\n" "Last-Translator: Steve Murphy \n" "Language-Team: Kinyarwanda \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n!=1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: rw\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Steve Murphy https://launchpad.net/~murf" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "" # basctl/source\basicide\moduldlg.src:RID_DLG_LIBS.RID_FL_OPTIONS.text #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Amahitamo" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "" #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "" #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pigiseli" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" # offmgr/source\offapp\dialog\treeopt.src:RID_OFADLG_OPTIONS_TREE_PAGES.SID_GENERAL_OPTIONS.9.text #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Amabara" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "" # offmgr/source\offapp\dialog\treeopt.src:RID_OFADLG_OPTIONS_TREE_PAGES.SID_GENERAL_OPTIONS.4.text #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Ububiko" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "" # 4032 #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "urusobe" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "" # basctl/source\basicide\basidesh.src:RID_STR_OPEN.text #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Ibirimo" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/fr.po0000664000175000017500000002602512107670241013635 00000000000000# French translation of gnome-applets. # Copyright (C) 1998-2010 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # # Vincent Renardias , 1998-2000. # Fabrice Bellet , 2000. # Christophe Merlet , 2000-2006. # Christophe Fergeau , 2002. # Sébastien Bacher , 2004. # Benoît Dejean , 2005. # Christophe Bliard , 2005. # Jonathan Ernst , 2006-2007, 2009. # Robert-André Mauchin , 2006-2008. # Damien Durand , 2006. # Stéphane Raimbault , 2007-2008. # Claude Paroz , 2009-2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:14+0000\n" "Last-Translator: Jerome Portal \n" "Language-Team: GNOME French Team \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Un moniteur de charge système capable d'afficher des graphiques " "d'utilisation du processeur, de la RAM, du fichier d'échange, et du trafic " "réseau." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Christophe Merlet \n" "Christophe Fergeau \n" "Sébastien Bacher \n" "Benoît Dejean \n" "Robert-André Mauchin \n" "Christophe Bliard \n" "Jonathan Ernst \n" "Stéphane Raimbault \n" "\n" "Launchpad Contributions:\n" " Claude Paroz https://launchpad.net/~paroz\n" " Jerome Portal https://launchpad.net/~portal-j\n" " LEROY Jean-Christophe https://launchpad.net/~celtic2-deactivatedaccount\n" " Nicolas Delvaux https://launchpad.net/~malizor\n" " demonipuch https://launchpad.net/~demonipuch" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Ouvrir le moniteur système" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "P_références" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "À _propos" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Quitter" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Ressources surveillées" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processeur" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Mémoire" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Réseau" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Fichier d'_échange" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Charge" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Disque dur" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Options" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Largeur du moniteur système : " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Fré_quence de mise à jour du moniteur système : " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisecondes" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "Démarrage _automatique : " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Couleurs" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Utilisateur" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ystème" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "La_tence E/S" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Au rep_os" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processeur" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Parta_gé" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Tampons" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Cac_hé" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "L_ibre" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Mémoire" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Entrante" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Sortante" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Locale" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Arrière-pla_n" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Réseau" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Utilisé" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "L_ibre" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Fichier d'échange" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Mo_yenne" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Charge" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "L_ecture" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "Écri_ture" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disque dur" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Les options de menu..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Graphiques disponibles" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Taux de rafraîchissement de l'applet en millisecondes" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Largeur des graphes en pixels." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Hauteur des graphiques en pixels." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Le fichier de description .desktop à utiliser pour le moniteur système" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Démarrer automatiquement à l'ouverture de la session" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Graphique valeur alpha" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Couleur de fond du graphique" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Visibilité du graphique" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Valeur minimum pour le bord haut du graphe." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "Valeur maximum pour le bord haut du graphe, zéro signifie illimité." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Indicateur de charge système" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Évaluer une expression." #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} ko" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} Mo" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} Go" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} ko/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} Mo/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} Go/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} To/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/sv.po0000664000175000017500000002325512107670241013660 00000000000000# Swedish messages for gnome-applets. # Copyright (C) 1998-2010 Free Software Foundation, Inc. # Martin Wahlen , 1998. # Andreas Hyden , 2000. # Christian Rose , 2000, 2001, 2002, 2003, 2004, 2005. # Martin Norbäck , 2000, 2001. # Daniel Nylander , 2006, 2007, 2008, 2009, 2010. # # $Id: sv.po,v 1.126 2006/12/11 07:05:20 dnylande Exp $ # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:34+0000\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: sv\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "En systembelastningsövervakare som kan visa diagram för användning av " "processor, minne och växlingsutrymme samt nätverkstrafik." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Daniel Nylander\n" "Christian Rose\n" "Martin Norbäck\n" "Andreas Hydén\n" "Martin Wahlén\n" "\n" "Skicka synpunkter på översättningen till\n" "tp-sv@listor.tp-sv.se\n" "\n" "Launchpad Contributions:\n" " Daniel Nylander https://launchpad.net/~yeager" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Öppna systemövervakare" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Inställningar" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Om" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Övervakade resurser" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Minne" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Nätverk" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Vä_xlingsutrymme" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Belastning" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Hårddisk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Alternativ" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "System_övervakarbredd: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Uppdateringsintervall för Sys_temövervakare: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "bildpunkter" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisekunder" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Färger" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Användare" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ystem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "\"N_ice\"" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "\"I_OWait\"" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Tomgång (idle)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Delat" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffertar" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Cachat" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Ledi_gt" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Minne" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_In" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Ut" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokal" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Bakgrund" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Nätverk" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Anv_änt" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Ledigt" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Växlingsutrymme" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Medel" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Belastning" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Läs" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Skriv" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Hårddisk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Uppdateringshastigheten för panelprogrammet i millisekunder" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Skrivbordsbeskrivningsfilen att köra som systemövervakaren" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ms.po0000664000175000017500000002412112107670241013640 00000000000000# Duit PPRT siapa yang kebas???? # Copyright (C) 2001-2003 Free Software Foundation, Inc. # Hasbullah Bin Pit (sebol) , 2003. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:44+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Projek Gabai \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Pemantau muatan sistem mampu mempamerkan graf untuk CPU, RAM, dan menukar " "pengunaan ruang silih, dan trafik rangkaian." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Hasbullah Bin Pit https://launchpad.net/~sebol\n" " Michael Hofmann https://launchpad.net/~mh21\n" " abuyop https://launchpad.net/~abuyop" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Buka Monitor Sistem" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "Ke_utamaan" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Perihal" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Tutup" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Sumber dimonitor" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Pemproses" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memori" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rangkaian" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Ruang S_wap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Muatan" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "Cakera _keras" # ui/galeon.glade.h:247 #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opsyen" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Lebar m_onitor sistem: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Kelajuan monitor sis_tem: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "piksel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisaat" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "M_ula-sendiri: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Warna" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Pengguna" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "E_lok" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "L_eka" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Pemproses" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Ter_kongsi" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Penimbal" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Cach_ed" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "B_ebas" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memori" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Masuk" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Keluar" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Tempatan" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Latar_Belakang" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rangkaian" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Digunakan" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Bebas" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Ruang Swap" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Purata" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Muatan" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Baca" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Tulis" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Cakera keras" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Item menu..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Grafik tersedia" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "kadar kesegaran aplet dalam milisaat" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Lebar graf dalam piksel." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Tinggi graf dalam piksel." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Fail keterangan desktop untuk dilancarkan sebagai pemantau sistem" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Mula secara automatik pada permulaan sesi" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Maklumat dipaparkan dalam penunjuk itu sendiri" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "Indeks maklumat semasa dipaparkan dalam penunjuk itu sendiri" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Maklumat dipaparkan sebagai masukan menu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Nilai alfa graf" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Warna latar belakang graf" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Ketampakan graf" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Nilai minimum untuk pinggir graf atas" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "Nilai maksimum untuk pinggir graf atas, sifar bermaksud tidak terhad" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "Bilangan nilai yang digunakan untuk licinkan penskalaan graf" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Jejak tersedia" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Warna jejak" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "ungkapan jejak" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Ketampakan jejak" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Jejak dipaparkan" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Penunjuk Muatan Sistem" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Nilaikan ungkapan" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Senarai tersedia pengecam ungkapan" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Papar mesej nyahpepijat" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "- Penunjuk aplikasi muatan sistem" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Jalankan '%s --help' untuk melihat senarai penuh pilihan baris perintah yang " "ada:\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" msgstr[1] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u B/s" msgstr[1] "%u B/s" indicator-multiload-0.3/po/en_CA.po0000664000175000017500000002222412107670241014170 00000000000000# English/Canada translation of gnome-applets. # Copyright (C) 2004-2006 Adam Weinberger and the GNOME Foundation # This file is distributed under the same licence as the gnome-applets package. # Adam Weinberger , 2004, 2005, 2006. # # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:08+0000\n" "Last-Translator: Adam Weinberger \n" "Language-Team: Canadian English \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "A system load monitor capable of displaying graphs for CPU, RAM, and swap " "space usage, plus network traffic." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Adam Weinberger \n" "\n" "Launchpad Contributions:\n" " Adam Weinberger https://launchpad.net/~adamw" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Open System Monitor" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferences" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_About" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Monitored Resources" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memory" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Network" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "S_wap Space" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Load" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Hard Disk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Options" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "System m_onitor width: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Sys_tem monitor update interval: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milliseconds" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Colours" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_User" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ystem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "I_dle" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Sh_ared" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffers" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Cach_ed" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "F_ree" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memory" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Background" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Network" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Used" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Free" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap Space" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Average" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Load" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Read" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Write" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Hard disk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Applet refresh rate in milliseconds" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/mk.po0000664000175000017500000002457712107670241013647 00000000000000# translation of gnome-applets.HEAD.po to Macedonian # translation of gnome-applets.HEAD.mk.po to # This file is distributed under the same license as the PACKAGE package. # Copyright (C) 2005 THE PACKAGE'S COPYRIGHT HOLDER. # # # Ivan Stojmirov , 2002. # Marko Ivanoski , 2003. # Dushan Vasilevski-DUVIX , 2003. # Зоран Димовски , 2004. # Арангел Ангов , 2005. # Arangel Angov , 2006, 2007, 2008. # Jovan Naumovski , 2006, 2007. # Arangel Angov , 2007. msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:57+0000\n" "Last-Translator: Arangel Angov \n" "Language-Team: Macedonian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: mk\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Системскиот монитор прикажува дијаграми за искористеност на CPU, RAM и за " "виртуелниот простор, плус го прикажува и мрежниот сообраќај." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Арангел Ангов \n" "\n" "Launchpad Contributions:\n" " Arangel Angov https://launchpad.net/~arangel" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Отвори надгледувач на системот" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Преференции" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_За" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Надгледувани ресурси" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Процесор" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Меморија" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Мрежа" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Виртуелен простор" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Искористеност" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Тврд диск" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Опции" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Ширина на системскиот монитор: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Интервал за ажурирање на надгледувачот на системот: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "пиксели" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "милисекунди" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Бои" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Корисник" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "Систе_м" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "П_риоритет" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Мрзливо" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Процесор" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Споделено" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Бафери" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Кеширано" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "На располагање" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Меморија" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Позадина" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Мрежа" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Користено" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_На располагање" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Виртуелен простор" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Просек" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Искористување" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Читај" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Запиши" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Тврд диск" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Брзина на освежување во милисекунди" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Датотеката за опис на работната површина која што ќе се изврши како " "надгледувач на системот" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/zh_TW.po0000664000175000017500000002345412107670241014264 00000000000000# Chinese (Taiwan) translation of gnome-applets. # Copyright (C) 1999, 2000, 01, 02, 03, 04, 05, 06, 07 Free Software Foundation, Inc. # GNOME 1.x: # Yuan-Chung Cheng , 1999. # Jing-Jong Shyue , 2000, # Abel Cheung , 2001-2002. # GNOME 2.x: # Abel Cheung , 2002-2004. # Woodman Tuen , 2005-07 # Chao-Hsiung Liao , 2008. # # msgid "" msgstr "" "Project-Id-Version: gnome-applets 2.32.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:18+0000\n" "Last-Translator: Chao-Hsiung Liao \n" "Language-Team: Chinese (Taiwan) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "系統負載監控程式可以顯示 CPU、記憶體、交換記憶及網路使用量。" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "如對翻譯有任何意見,請送一封電子郵件給\n" "以下地址,GNOME 翻譯團隊會儘快回覆您:\n" "zh-l10n@lists.linux.org.tw\n" "\n" "Woodman Tuen , 2005-2006\n" "Abel Cheung , 2001-2004\n" "Jing-Jong Shyue , 2000\n" "Yuan-Chung Cheng , 1999\n" "\n" "Launchpad Contributions:\n" " Chao-Hsiung Liao https://launchpad.net/~j-h-liau" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "啟動系統監控程式(_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "偏好設定(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "關於(_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "受監控的資源" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "處理器(_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "記憶體(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "網路(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "交換記憶(_W)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "負載(_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "硬碟(_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "選項" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "系統監控程式寬度(_O): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "系統監控更新間隔(_T): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "像素" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "亳秒" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "色彩" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "使用者(_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "系統(_Y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "閒置(_D)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "處理器" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "分享(_A)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "緩衝區(_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "快取記憶(_E)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "未用(_R)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "記憶體" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "進(_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "出(_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "本地端(_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "背景顏色(_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "網路" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "使用中(_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "可用(_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "交換記憶" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "平均(_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "負載" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "讀(_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "寫(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "硬碟" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "面板程式自動更新頻率(毫秒)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "以系統監視器執行的桌面描述檔案" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ml.po0000664000175000017500000002573412107670241013644 00000000000000# translation of gnome-applets.master.ml.po to # This file is distributed under the same license as the gnome-applets package. # Copyright (C) 2003-2009 gnome-applets' COPYRIGHT HOLDER. # # vps , 2003. # Ani Peter , 2006. # Praveen Arimbrathodiyil , 2009. msgid "" msgstr "" "Project-Id-Version: gnome-applets.master.ml\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:39+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "സിപിയു, റാം, സ്വാപ് സ്ഥലത്തിന്റെ ഉപയോഗം, കൂടാതെ ശൃംഖലയിലെ തിരക്കു് " "എന്നിവയുടെ ഗ്രാഫ് കാണിയ്ക്കാന്‍ കഴിവുള്ളൊരു സിസ്റ്റത്തിന്റെ ലോഡ് നിരീക്ഷകന്‍." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "അനി പീറ്റര്‍ \n" "പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍ \n" "\n" "Launchpad Contributions:\n" " Michael Hofmann https://launchpad.net/~mh21" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "സിസ്റ്റം നിരീക്ഷകന്‍ _തുറക്കുക" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_മുന്‍ഗണനകള്‍" # "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_സംബന്ധിച്ച്" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "നിരീക്ഷിയ്ക്കപ്പെടുന്ന വിഭവങ്ങള്‍" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_പ്രൊസസ്സര്‍" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_മെമ്മറി" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_ശൃംഖല" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Swap _സ്ഥലം" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_ലോഡ്" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_ഹാര്‍ഡ് ഡിസ്ക്ക്" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "ഐച്ഛികങ്ങള്‍" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "സിസ്റ്റം നി_രീക്ഷകന്റെ വീതി: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_tസിസ്റ്റം നിരീക്ഷണം പുതുക്കുന്നതിനുളള ഇടവേള: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "പിക്സലുകള്‍" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "മില്ലി സെക്കന്‍ഡുകള്‍" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "നിറങ്ങള്‍" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_ഉപയോക്താവു്" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_സിസ്റ്റം" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_നൈസ്" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "അ_ലസം" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "പ്രൊസസ്സര്‍" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_പങ്കുവെച്ച" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "ബഫറുകള്‍" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Cach_ed" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_സ്വതന്ത്ര" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "മെമ്മറി" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_അകത്തു്" # "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_പുറത്തു്" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_പ്രാദേശികം" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_പശ്ചാത്തലം" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "ശൃംഖല" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_ഉപയോഗിച്ച" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_സ്വതന്ത്രം" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap-നുളള സ്ഥലം" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_ശരാശരി" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "ലോഡ്" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_വായന" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_എഴുത്തു്" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "ഹാര്‍ഡ് ഡിസ്ക്ക്" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "ലഘുപ്രയോഗം പുതുക്കല്‍ റേറ്റ് മില്ലിസെക്കന്‍ഡ്സില്‍" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "സിസ്റ്റം നിരീക്ഷകനായി പ്രവര്‍ത്തിപ്പിയ്ക്കേണ്ട പണിയിട വിവരണ ഫയല്‍" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/az.po0000664000175000017500000002221512107670241013635 00000000000000# translation of gnome-applets.HEAD.po to Azerbaijani # translation of gnome-applets.HEAD.az.po to Azerbaijani Turkish # Copyright (C) 2000,2003, 2004 Free Software Foundation, Inc. # Vasif Ismailoglu , 2001. # Mətin Əmirov , 2003, 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:19+0000\n" "Last-Translator: Metin Amiroff \n" "Language-Team: Azerbaijani \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: az\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Metin Amiroff https://launchpad.net/~metin-karegen" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Sistem İzləyicisini Aç" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Seçimlər" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Haqqında" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "İzlənən Mənbələr" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_İşlədici" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Yaddaş" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "Şə_bəkə" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Dəyiş-toqquş _Sahəsi" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Yük" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Seçimlər" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Sistem izləyicisi _eni: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Sis_tem izləyicisi güncəllənmə vaxtı: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "piksel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisaniyə" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Rənglər" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_İstifadəçi" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Ə_la" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "İş_siz" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "İşlədici" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Bö_lüşülmüş" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Bufferlər" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Ara _yaddaşa alınmış" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "B_oş" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Yaddaş" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Arxa plan" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Şəbəkə" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_İstifadədə" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "B_oş" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Dəyiş-toqquş Sahəsi" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Orta" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Yük" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Appletin millisaniyə olaraq yeniləmə aralığı" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/hr.po0000664000175000017500000002473212107670241013642 00000000000000# Translation of gnome-applets to Croatiann # Copyright (C) Croatiann team # gogo msgid "" msgstr "" "Project-Id-Version: gnome-applets 0\n" "Report-Msgid-Bugs-To: gogo \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:44+0000\n" "Last-Translator: gogo \n" "Language-Team: Croatian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: hr\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Nadzor opterećenja sustava koji može prikazati grafove za procesor, RAM, " "korištenje swap prostora i mrežni promet." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "lokalizacija@linux.hr\n" " Automatski Prijevod <>\n" " Denis Lackovic \n" " Mato Kutlić \n" " Robert Sedak \n" "\n" "Launchpad Contributions:\n" " Miroslav Matejaš https://launchpad.net/~silverspace+amd64\n" " gogo https://launchpad.net/~trebelnik-stefina" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Pokreni Nadzor sustava" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Osobitosti" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_O programu" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Zatvori" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Nadzirani resursi" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memorija" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Mreža" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "S_wap prostor" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Opterećenje" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Čvrsti disk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Mogućnosti" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Širina indikatora nadzora sustava: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Raz_mak ažuriranja nadzora sustava: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "piksela" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisekunda" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Automatsko pokretanje: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Boje" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Korisnik" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ustav" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "S_lobodno" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_O čekanje" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "N_eaktivan" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "D_ijeljeno" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Međuspremnici" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Pred_memorija" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "S_lobodno" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memorija" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Dolazni promet" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Odlazni promet" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokalni promet" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Pozadina" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Mreža" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Korišteno" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Slobodno" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap prostor" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Prosjek" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Opterećenje" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Čitanje" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Zapisivanje" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Čvrsti disk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Stavke izbornika..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Dostupni grafovi" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Brzina osvježavanja programčića u milisekundama" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Širina grafova u pikselima" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Visina grafova u pikselima" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Datoteka opisa radne površine za pokretanje nadzora sustava" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Automatski pokreni prilikom pokretanja sesije" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Informacije prikazane u samom indikatoru" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "Indeks trenutne informacije prikazan u samom indikatoru" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Informacije prikazane kao unos izbornika" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Alfa vrijednost grafa" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Boja pozadine grafa" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Vidljivost grafa" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Minimalna vrijednost gornjeg ruba grafa" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "Maksimalna vrijednost gornjeg ruba grafa, nula znači neograničeno" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "Broj korištenih vrijednosti za glatko skaliranje grafa" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Dostupni tragovi" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Boja iscrtavanja" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "Izraz iscrtavanja" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Vidljivost iscrtavanja" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Prikazana iscrtavanja" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Indikator Nadzora sustava" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Ocijenite izraz" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Popis dostupnih identifikatora izraza" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Prikaži poruke otklanjanja greške" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "- Programčić pokazivača nadzora sustava" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Pokrenite naredbu '%s --help' da biste vidjeli popis dostupnih mogućnosti " "naredbenog retka.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" msgstr[1] "%u B" msgstr[2] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u B/s" msgstr[1] "%u B/s" msgstr[2] "%u B/s" indicator-multiload-0.3/po/ast.po0000664000175000017500000002316712107670241014021 00000000000000# translation of gnome-applets-2.0.po to Asturian # Asturian translation for gnome-applets # Copyright (c) 2006 Rosetta Contributors and Canonical Ltd 2006 # This file is distributed under the same license as the gnome-applets package. # # FIRST AUTHOR , 2006. # Xose S. Puente , 2007. msgid "" msgstr "" "Project-Id-Version: gnome-applets-2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:19+0000\n" "Last-Translator: Mikel González \n" "Language-Team: Asturian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ast\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Un monitor de carga p'amosar gráficos pala CPU, RAM y Swap, arriendes del " "tráficu de la rede." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Mikel González https://launchpad.net/~dangerous-piper\n" " Mikel González https://launchpad.net/~mikelglez" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Abrir el m_onitor del sistema" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferencies" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Tocante a" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Colar" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Recursos monitorizaos" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesador" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memoria" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rede" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Espaciu S_wap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Carga" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Discu duru" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opciones" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Anchor del m_onitor del sistema: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Intervalu d'actualización del monitor del sis_tema: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisegundos" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Autoaniciar: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Colores" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Usuariu" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "Si_stema" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Pr_ioridá" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "Espera _E/S" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "I_nactivu" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesador" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Compartía" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffers" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Cach_eada" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Llib_re" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memoria" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Entrada" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Salida" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Local" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Fondu" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rede" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Usáu" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Llibre" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Espaciu Swap" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Media" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Cargar" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Llectura" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Escritura" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Discu duru" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Tiempu de recarga de l'aplicación en milisegundos" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Anchor de los gráficos en píxeles" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Altor de los gráficos en píxeles" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "El ficheru de descripción del escritoriu qu'executar como'l monitor del " "sistema" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Aniciar automaticamente al entamar la sesión" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Indicador de carga del sistema" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/fo.po0000664000175000017500000002123612107670241013631 00000000000000# Faroese translation for indicator-multiload # Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 # This file is distributed under the same license as the indicator-multiload package. # FIRST AUTHOR , 2012. # msgid "" msgstr "" "Project-Id-Version: indicator-multiload\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:09+0000\n" "Last-Translator: Jógvan Olsen \n" "Language-Team: Faroese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Jógvan Olsen https://launchpad.net/~jeggy" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "" #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "" #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Gott" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Óvirkin" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Ókeypis" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Minni" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Netverk" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Harðdiskur" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/lt.po0000664000175000017500000002543212107670241013646 00000000000000# Lithuanian translation of gnome-applets. # Copyright (C) 2000-2008, 2009 Free Software Foundation, Inc. # Gediminas Paulauskas , 2000-2003. # Vaidotas Zemlys , 2003. # Žygimantas Beručka , 2003-2006, 2010. # Justina Klingaitė , 2005. # Gintautas Miliauskas , 2006, 2007, 2008. msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:38+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Lithuanian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "(n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: lt\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Sistemos apkrovos stebyklė, galinti grafiškai rodyti procesoriaus, RAM, swap " "failo ir tinklo apkrovą." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Paskutinis vertėjas:\n" "Žygimantas Beručka \n" "\n" "Ankstesni vertėjai:\n" "Vaidotas Zemlys \n" "Gediminas Paulauskas \n" "\n" "Launchpad Contributions:\n" " Aurimas Fišeras https://launchpad.net/~aurimas-gmail\n" " Michael Hofmann https://launchpad.net/~mh21\n" " Žygimantas Beručka https://launchpad.net/~zygis" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Atverti sistemos stebyklę" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Nustatymai" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Apie" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "Išei_ti" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Stebimi ištekliai" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesorius" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Atmintis" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Tinklas" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Mainų srities vieta" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Apkrova" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Standusis diskas" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Nustatymai" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Sistemos stebėtuvo plotis: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Sis_temos stebėtuvo atnaujinimo intervalas: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "taškų" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisekundžių" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Automatinis paleidimas: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Spalvos" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Naudotojas" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istema" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OLaukimas" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Ne_veikli" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesorius" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Be_ndra" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buferiai" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "K_ešuota" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "L_aisva" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Atmintis" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Į" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Iš" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Vietinis" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Fonas" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Tinklas" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Užimta" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Laisva" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap talpa" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Vidurkis" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Apkrova" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Skaitymas" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Rašymas" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Standusis diskas" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Meniu elementai..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Prieinamos diagramos" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Įtaiso atnaujinimo dažnis milisekundėmis" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Diagramos plotis pikseliais." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Diagramos aukštis pikseliais." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Darbastalio aprašymo failas, vykdytinas kaip sistemos monitorius" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Automatiškai paleisti seanso pradžioje" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Informacija rodoma pačiame indikatoriuje" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "Dabartinės pačiame indikatoriuje rodomos informacijos indeksas" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Informacija rodoma kaip meniu elementai" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Diagramos alfa reikšmė" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Diagramos fono spalva" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Diagramos matomumas" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Viršutinio diagramos krašto mažiausia reikšmė" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "Viršutinio diagramos krašto didžiausia reikšmė, 0 – neribojama" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "Reikšmių skaičius naudojamas glotniam diagramos mastelio keitimui" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Prieinami pėdsakai" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Pėdsako spalva" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "Pėdsako reiškinys" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Pėdsako matomumas" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Rodomi pėdsakai" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Sistemos apkrovos indikatorius" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u %%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Apskaičiuoti reiškinį" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Parodyti prieinamus reiškinių identifikatorius" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Rodyti derinimo pranešimus" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "– sistemos apkrovos programos indikatorius" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Norėdami pamatyti visą galimų komandų eilutės parinkčių sąrašą, paleiskite " "„%s --help“.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" msgstr[1] "%u B" msgstr[2] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u B/s" msgstr[1] "%u B/s" msgstr[2] "%u B/s" indicator-multiload-0.3/po/hu.po0000664000175000017500000002521012107670241013635 00000000000000# Hungarian translation of gnome-applets. # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # # Szabolcs Ban , 1999, 2000, 2001, 2002, 2003. # Emese Kovacs , 2000, 2001, 2002. # Andras Timar , 2001, 2002, 2003. # Gabor Sari , 2003. # Laszlo Dvornik , 2004. # Gabor Kelemen , 2004, 2005, 2006, 2007, 2008, 2009, 2010. # Mate ORY , 2006. msgid "" msgstr "" "Project-Id-Version: gnome-applets master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:58+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Hungarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Rendszerterhelés-figyelő, amely képes a processzor, a memória és lapozófájl " "használatáról, valamint a hálózati forgalomról grafikonokat rajzolni." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Bán Szabolcs \n" "Dvornik László \n" "Kelemen Gábor \n" "Kovács Emese \n" "Sári Gábor \n" "Tímár András \n" "\n" "Launchpad Contributions:\n" " Bence Lukács https://launchpad.net/~lukacs-bence1\n" " Krasznecz Zoltán https://launchpad.net/~krasznecz-zoltan\n" " Michael Hofmann https://launchpad.net/~mh21\n" " Péter Trombitás https://launchpad.net/~trombipeti\n" " Robert Roth https://launchpad.net/~evfool" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Rendszerfigyelő megnyitása" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Beállítások" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Névjegy" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Kilépés" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Monitorozott erőforrások" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processzor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memória" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Hálózat" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Lapozófájl" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Terhelés" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "Mere_vlemez" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Beállítások" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Ren_dszerfigyelő szélessége: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Rendszerfigyelő frissítési idő_köze: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "képpont" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "ezredmásodperc" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Autostart: : " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Színek" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Felhasználó" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Rendszer" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_O várakozás" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Ür_esjárat" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processzor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Me_gosztott" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Pufferek" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Gy_orsítótárban" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "S_zabad" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memória" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "B_e" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Ki" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Helyi" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Hátté_r" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Hálózat" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Felhasznált" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "S_zabad" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Lapozófájl" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Átla_gos" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Terhelés" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Olvasás" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "Í_rás" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Merevlemez" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Menüelemek" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Kisalkalmazás frissítési gyakorisága ezredmásodpercben" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Grafikon szélessége pixelekben" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Grafikonok magassága (pixel)." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "A rendszerfigyelőként végrehajtandó asztali leírásfájl" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Automatikus indítás bejelentkezéskor" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Grafikon háttérszíne" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Grafikon láthatósága" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Rendszerterhelés indikátor" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Nyomkövetési üzenetek megjelenítése" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "A parancssori paraméterek teljes listája a „%s --help” paranccsal íratható " "ki.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u B/s" msgstr[1] "%u B/s" indicator-multiload-0.3/po/th.po0000664000175000017500000002515412107670241013643 00000000000000# Thai translation for gnome-applets. # Copyright (C) 2004-2010 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # Paisa Seeluangsawat , 2004. # Theppitak Karoonboonyanan , 2004-2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:36+0000\n" "Last-Translator: Theppitak Karoonboonyanan \n" "Language-Team: Thai \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: th\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "แอพเพล็ตติดตามทรัพยากรระบบ สามารถแสดงกราฟระดับการใช้งานตัวประมวลผล " "หน่วยความจำ พื้นที่สลับ และการจราจรในเครือข่าย" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "ไพศาข์ สีเหลืองสวัสดิ์\n" "เทพพิทักษ์ การุญบุญญานันท์\n" "\n" "ถ้ามีเวลาโปรดมาช่วยกันแปล :-)\n" "http://gnome-th.sf.net\n" "\n" "Launchpad Contributions:\n" " Theppitak Karoonboonyanan https://launchpad.net/~thep" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_เปิดโปรแกรมติดตามทรัพยากรระบบ" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_ปรับแต่ง" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "เ_กี่ยวกับ" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "ทรัพยากรที่จะติดตาม" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_ตัวประมวลผล" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_หน่วยความจำ" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "เค_รือข่าย" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_พื้นที่สลับ" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "โห_ลด" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "ฮาร์ด_ดิสก์" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "ตัวเลือก" # Not a direct translation, but helps shorten the message. #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_ความกว้างของแอพเพล็ต: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_ปรับข้อมูลทุกๆ: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "พิกเซล" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "มิลลิวินาที" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "สี" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "ผู้ใ_ช้" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_ระบบ" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "รอ I/_O" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_ว่าง" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "ตัวประมวลผล" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "ใช้_ร่วม" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_บัฟเฟอร์" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "แ_คช" # free memory #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "เ_หลือ" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "หน่วยความจำ" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "เ_ข้า:" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_ออก" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_วนกลับ" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_พื้นหลัง" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "เครือข่าย" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "ใ_ช้อยู่" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "เ_หลือ" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "พื้นที่สลับ" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "เฉ_ลี่ย" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "โหลด" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_อ่าน:" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "เ_ขียน:" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "ฮาร์ดดิสก์" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "จำนวนมิลลิวินาทีระหว่างการเขียนแอพเพล็ต" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "แฟ้ม .desktop ที่จะเรียกทำงานเป็นโปรแกรมติดตามทรัพยากรระบบ" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/mn.po0000664000175000017500000002300112107670241013627 00000000000000# translation of gnome-applets.gnome-2-4.po to Mongolian # translation of gnome-applets.gnome-2-4.mn.po to Mongolian # translation of gnome-applets.HEAD.mn.po to mongolian # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Sanlig Badral , 2003. # Tegshbayar , 2003. # Sanlig Badral , 2003. # msgid "" msgstr "" "Project-Id-Version: gnome-applets.gnome-2-4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:18+0000\n" "Last-Translator: Sanlig Badral \n" "Language-Team: Mongolian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: mn\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Sanlig Badral https://launchpad.net/~badral" # #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Систем хэмжигчийг _нээх" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Ресурсыг хэмжигдлээ" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "Процессор" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "Санах ой" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "Сүлжээ" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Файл соли_х" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Ачаалах" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Параметрууд" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Систем хэмжигчийн өргөн " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Систем хэмжигчийн сэргээх хурд: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "цэгүүд" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "миллисекунд" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Өнгөнүүд" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Хэрэглэгч" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "Систем" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Хандалт" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Энгийн" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Процессор" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Нийтийн" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "Буфер" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Кешлэгдсэн" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Чөлөөт" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Санах ой" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Ар" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Сүлжээ" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Ашиглагдсан" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "Чөлөөт" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Суап хийх зай" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Дундаж ачаала_х" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Процессор ачаалж байна" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Аплетийн сэргээх хугацаа миллисекундээр" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/cs.po0000664000175000017500000002630312107670241013632 00000000000000# Czech translation of gnome-applets. # Copyright (C) 1999, 2003, 2006, 2007, 2008, 2009, 2010 the author(s) of gnome-applets. # Copyright (C) 2003, 2004, 2005, 2006 Miloslav Trmac . # This file is distributed under the same license as the gnome-applets package. # David Sauer (David Šauer), 1999. # GIS , 1999. # George Lebl , 2000, 2001. # Stanislav Brabec , 2000, 2001. # Michal Bukovjan , 2002, 2003. # Miloslav Trmac , 2003, 2004, 2005, 2006. # Petr Tomeš , 2006. # Jakub Friedl , 2006, 2007. # Petr Kovar , 2007, 2008, 2009, 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:42+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: cs\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Sledování zátěže systému schopné zobrazovat grafy CPU, paměti, využití " "odkládacího prostoru a zatížení sítě." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "David Šauer \n" "GIS \n" "George Lebl \n" "Stanislav Brabec \n" "Michal Bukovjan \n" "Miloslav Trmač \n" "Petr Tomeš \n" "Jakub Friedl \n" "Petr Kovář \n" "\n" "Launchpad Contributions:\n" " Martin Volf https://launchpad.net/~volf-cz\n" " Michael Hofmann https://launchpad.net/~mh21\n" " Petr Kovar https://launchpad.net/~pknbe\n" " Vojtěch Trefný https://launchpad.net/~vojtech.trefny\n" " geniv https://launchpad.net/~geniv" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Otevřít _sledování systému" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "Př_edvolby" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "O _aplikaci" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Ukončit" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Sledované zdroje" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "Pa_měť" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Síť" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Odkládací prostor" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "Zá_těž" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "Pe_vný disk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Volby" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Šířka _grafu: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Frekvence _aktualizace grafu: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "bodů" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisekund" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Automatické spouštění: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Barvy" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Uživatel" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ystém" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Ni_ce" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Neč_innost" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Sdíl_eno" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "Bu_ffery" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Ve vyrovnáva_cí paměti" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Vo_lné" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Paměť" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "Vst_up" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "Výs_tup" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Místní" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Poza_dí" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Síť" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Po_užito" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "Vo_lné" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Odkládací prostor" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Průměr" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Zátěž" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "Čt_ení" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "Záp_is" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Pevný disk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Položky menu..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Dostupné grafy" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Čas mezi obnovou appletů v milisekundách" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Šířka grafu v pixelech" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Výška grafu v pixelech." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Soubor popisu pracovní plochy určený ke spuštění jako sledování systému" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Automatické spouštění na začátku sezení" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Informace zobrazené v samotném indikátoru" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "Index aktuální informace je zobrazen v samotném indikátoru" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Informace zobrazené jako vstupy menu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Alfa hodnota grafu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Barva pozadí grafu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Viditelnost grafu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Minimální hodnota vrchního kraje grafu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "Maximální hodnota vrchního kraje grafu, nula znamená bez limitu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "Počet hodnot použitých pro uhlazení průběhu grafu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Dostupná sledování" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Barva křivky" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "Vzhled křivky" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Viditelnost křivky" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Zobrazené křivky" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Indikátor zátěže systému" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Ohodnotit vzhled" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Seznam dostupných identifikátorů vzhledu" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Zobrazit ladící informace" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "-Systémové spuštění aplikace indikátoru" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "Spuštěním '%s --help' se zobrazí všechny volby příkazového řádku.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" msgstr[1] "%u B" msgstr[2] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u B/s" msgstr[1] "%u B/s" msgstr[2] "%u B/s" indicator-multiload-0.3/po/vi.po0000664000175000017500000002335412107670241013646 00000000000000# Vietnamese translation for GNOME Applets. # Copyright © 2009 GNOME i18n Project for Vietnamese. # This file is distributed under the same license as the gnome-applets package. # T.M.Thanh , 2002-2003. # Nguyễn Thái Ngọc Duy , 2002-2004. # Clytie Siddall , 2005-2009. # msgid "" msgstr "" "Project-Id-Version: gnome-applets 2.25.90\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:06+0000\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: vi\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Bộ theo dõi trọng tải hệ thống, có khả năng hiển thị đồ thị của cách sử dụng " "CPU (đơn vị xử lý trung tâm), RAM (bộ nhớ truy cập ngẫu nhiên) và bộ nhớ " "trao đổi, và cũng lưu tải cho mạng." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Nhóm Việt hoá GNOME (http://gnomevi.sourceforge.net)\n" "\n" "Launchpad Contributions:\n" " Clytie Siddall https://launchpad.net/~clytie" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Mở bộ the_o dõi hệ thống" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "Tù_y thích" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Giới thiệu" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Tài nguyên được theo dõi" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "Bộ _xử lý" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Bộ nhớ" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "Mạ_ng" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Bộ nhớ t_ráo đổi" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Trọng tải" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "Đĩa _cứng" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Tùy chọn" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Độ rộng bộ the_o dõi hệ thống: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Khoảng cập nhậ_t theo dõi hệ thống: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "điểm ảnh" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "mili giây" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Màu sắc" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "N_gười dùng" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Hệ thống" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Cấp N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "Chờ _V/R" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "N_ghỉ" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Bộ xử lý" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Chi_a sẻ" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Bộ nhớ đệm" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Nhớ tạ_m" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Còn _rảnh" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Bộ nhớ" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Vào" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Ra" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Cục bộ" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Nền" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Mạng" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Đã _dùng" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Còn rảnh" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Bộ nhớ trao đổi" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Trung _bình" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Trọng tải" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "Đọ_c" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Ghi" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Đĩa cứng" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Tần số cập nhật tiểu dụng (theo mili giây)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Tập tin mô tả màn hình nền cần thực hiện làm bộ theo dõi hệ thống" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/fa.po0000664000175000017500000002366712107670241013625 00000000000000# Persian translation of gnome-applets. # Copyright (C) 2003, 2005, 2006 Sharif FarsiWeb, Inc. # This file is distributed under the same license as the gnome-applets package. # Roozbeh Pournader , 2003, 2005, 2006. # Meelad Zakaria , 2005. # Elnaz Sarbar , 2005, 2006. # Farzaneh Sarafraz , 2006. # msgid "" msgstr "" "Project-Id-Version: gnome-applets gnome-2-12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:09+0000\n" "Last-Translator: Roozbeh Pournader \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "پایشگری برای بار دستگاه که می‌تواند نمودارهایی برای میزان استفاده از واحد " "پردازش مرکزی (CPU)، حافظه‌ی با دستیابی تصادفی (RAM) و فضای مبادله نمایش " "دهد،‌ به‌علاوه‌ی ترافیک شبکه." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "روزبه پورنادر ‏\n" "میلاد زکریا \n" "الناز سربر\n" "فرزانه سرافراز \n" "\n" "Launchpad Contributions:\n" " Roozbeh Pournader https://launchpad.net/~roozbeh-farsiweb" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_باز کردن پایشگر دستگاه" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_ترجیحات" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_درباره" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "منابع پایش‌شده" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_پردازنده" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_حافظه" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_شبکه" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "فضای _مبادله" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_بار" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "دیسک _سخت" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "گزینه‌ها" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "عرض _پایشگر دستگاه: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "بازه‌ی به‌هنگام‌سازی پایشگر _سیستم: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "نقطه" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "میلی‌ثانیه" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "رنگ‌ها" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_کاربر" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_سیستم" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Nice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "IOWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_بی‌کار" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "پردازنده" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_اشتراکی" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_میانگیرها" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_نهان‌شده" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "آ_زاد" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "حافظه" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "پ_س‌زمینه" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "شبکه" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "است_فاده شده" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "آ_زاد" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "فضای مبادله" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_متوسط" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "بار" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_خواندن" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_نوشتن" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "دیسک سخت" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "آهنگ نوسازی برنامک بر حسب میلی‌ثانیه" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ca@valencia.po0000664000175000017500000002363112107670241015414 00000000000000# Catalan translation of gnome-applets. # Copyright © 1999-2009 Free Software Foundation, Inc. # This file is copyrighted under the same license as the gnome-applets package. # Ivan Vilata i Balaguer , 1999, 2000. # Softcatalà , 2000. # Jordi Mallach , 2002, 2003, 2004, 2005. # Josep Puigdemont , 2005, 2006. # Xavier Conde Rueda , 2006 # Joan Duran , 2008-2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:46+0000\n" "Last-Translator: Joan Duran \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ca\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Un monitor de la càrrega del sistema que pot mostrar gràfiques d'ús de cada " "processador, memòria, i espai d'intercanvi usats, a més del trànsit de xarxa." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Ivan Vilata i Balaguer \n" "Softcatalà \n" "Jordi Mallach \n" "Josep Puigdemont \n" "Xavier Conde Rueda \n" "Joan Duran \n" "\n" "Launchpad Contributions:\n" " Joan Duran https://launchpad.net/~jodufi" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Obri el monitor del sistema" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferències" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Quant a" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Recursos dels quals es fa el seguiment" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processador" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memòria" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Xarxa" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Espai d'intercan_vi" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Càrrega" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Disc dur" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opcions" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Amplada del mo_nitor del sistema: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Interval entre actualitzacions del monitor del _sistema: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "píxels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "mil·lisegons" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Colors" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Usuari" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "Sis_tema" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Pr_ioritat" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "In_actiu" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processador" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Comp_artida" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "Memòria intermè_dia" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "En m_emòria cau" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Lliu_re" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memòria" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Entrada:" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Sortida" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Local" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "F_ons" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Xarxa" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Utilitzada" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Lliure" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Espai d'intercanvi" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Mitj_ana" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Càrrega" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lectura" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Escriptura" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disc dur" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Interval de refresc de la miniaplicació en mil·lisegons" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "El fitxer de descripció de l'escriptori a executar com a monitor del sistema" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/id.po0000664000175000017500000002277212107670241013627 00000000000000# translation of gnome-applets.master.po to Indonesian # Indonesian translation of gnome-applets. # Copyright (C) 2004 THE gnome-applets'S COPYRIGHT HOLDER # This file is distributed under the same license as the gnome-applets package. # # # ahmad riza h nst , 2004. # Dirgita , 2010. # Dirgita , 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets.master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:18+0000\n" "Last-Translator: Dirgita \n" "Language-Team: Indonesian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "X-Poedit-Country: Indonesia\n" "Language: id\n" "X-Poedit-Language: Indonesian\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Memantau beban sistem sekaligus menampilkan grafik penggunaan CPU, RAM, " "swap, sekaligus lalu lintas jaringan." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Ahmad Riza H Nst , 2004.\n" "Dirgita , 2010.\n" "\n" "Launchpad Contributions:\n" " Dirgita https://launchpad.net/~dirgita" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Buka M_onitor Sistem" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferensi" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "Tent_ang" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Sumber Daya yang Dipantau" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Prosesor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memori" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "Jari_ngan" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Ruang S_wap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Beban" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Hard Disk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opsi" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Lebar m_onitor sistem: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Jeda pembaharuan monitor sis_tem: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "piksel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milidetik" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Warna" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Pengg_una" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Angka_tan" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "_MK Tunggu" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Men_ganggur" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Prosesor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Berb_agi" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Penyangga" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "T_embolok" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Bebas" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memori" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Masuk" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Keluar" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokal" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Latar _Belakang" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Jaringan" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Dipakai" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Bebas" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Ruang Swap" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "R_ata-rata" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Beban" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Baca" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Tulis" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Hard Disk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Refresh rate applet dalam milidetik" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Berkas deskripsi dekstop untuk dieksekusi sebagai pemantau sistem" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ug.po0000664000175000017500000002420512107670241013637 00000000000000# Uighur translation for gnome-applets # Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 # This file is distributed under the same license as the gnome-applets package. # Ömerjan Tursunqasim , 2008. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:37+0000\n" "Last-Translator: Gheyret T.Kenji \n" "Language-Team: Uyghur Computer Science Association \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" "X-Poedit-Language: Uighur\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "دىئاگرامما شەكلىدە CPU ، ئىچكى ساقلىغۇچ، ھۆججەت ئالماشتۇرۇش ئەھۋالى ھەمدە " "تور ئېقىم مىقدارى قاتارلىقلارنى كۆرسىتىپ بېرەلەيدىغان سىستېما كۆزەتكۈچىسى." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "تەرجىمان تۆھپىكارلار\n" "\n" "Launchpad Contributions:\n" " Gheyret T.Kenji https://launchpad.net/~gheyretkenji" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "سىستېما كۆزەتكۈچنى ئاچ(_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "مايىللىق(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "ھەققىدە(_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "كۆزىتىلگەن بايلىق" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "بىر تەرەپ قىلغۇچ(_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "ئەسلەك(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "تور(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "ئالماشتۇرما بوشلۇقى(_W)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "ئوقۇ(_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "قاتتىق دىسكا(_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "تاللانما" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "سىستېما كۆزەتكۈچ كەڭلىكى (_O): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "سىستېما كۆزەتكۈچىسى يېڭىلىنىش ۋاقىت ئارىلىقى (_T): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "چېكىت" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "مىللىي سېكۇنت" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "رەڭ" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "ئىشلەتكۈچى(_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "سىستېما(_Y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "ئالدىنلىق دەرىجىسى(_I)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "IO كۈتۈۋاتىدۇ(_O)" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "بوش(_D)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "بىر تەرەپ قىلغۇچ" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "ھەمبەھىر(_A)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "بۇففېر(_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "غەملەك(_E)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "ئەركىن(_R)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "ئىچكى ساقلىغۇچ" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "كىر(_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "چىق(_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "يەرلىك(_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "تەگلىك(_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "تور" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "ئىشلىتىلگەن(_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "ئەركىن(_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "ئالماشتۇرۇش بوشلۇقى" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "ئوتتۇرىچە قىممىتى(_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "يۈك" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "ئوقۇ(_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "ياز(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "قاتتىق دىسكا" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "پروگراممىنىڭ يېڭىلىنىشى مىللىي سېكۇنت بويىچە ھېسابلىنىدۇ" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "ئىجرا قىلىشقا بولىدىغان سىستېما كۆزەتكۈچىنىڭ ئۈستەل يۈزى چۈشەندۈرۈش ھۆججىتى" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/mg.po0000664000175000017500000002261312107670241013630 00000000000000# MALAGASY TRANSLATION OF GNOME-APPLETS. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Thierry Randrianiriana , 2006. # Fano Rajaonarisoa , 2006. msgid "" msgstr "" "Project-Id-Version: GNOME-APPLETS VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:08+0000\n" "Last-Translator: Thierry Randrianiriana \n" "Language-Team: MALAGASY \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Mpanara-maso ny vesa-drafitra afaka maneho soritra ho an'ny CPU, ny ram, ary " "ny fampiasana toerana solo arika miampy ny fifamoivoizana amin'ny rezo." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Mpandika teny:\n" "Fanomezana H. Rajaonarisoa\n" "\n" "Launchpad Contributions:\n" " Thierry Randrianiriana https://launchpad.net/~thierry.randrianiriana" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Hanokatra ny mpanara-maso rafitra" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Safidy manokana" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Mombamomba" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Ressource arahi-maso" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processeur" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Arika" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rezo" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Toerana solo arika" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Vesatra" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Kapila mahery" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Safidy" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Indran'ny _mpanara-maso rafitra: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Alanelan'ny fanavaozan'ny mpanara-maso _rafitra: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisegaondra" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Loko" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Mpampiasa" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Rafitra" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Tsy _miasa" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processeur" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Iombonana" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Arika hombo" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Cach_ed" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Malalaka" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Arika" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Afara" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rezo" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Ampiasaina" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Malalaka" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Toerana solo arika" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Salasalany" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Vesatra" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Mamaky" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Manoratra" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Kapila mahery" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Taux de rafraîchissement (milisegaondra) an'ilay applet" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/nl.po0000664000175000017500000002403212107670241013633 00000000000000# Dutch translation for gnome-applets # # This file is distributed under the same license as the gnome-applets package. # # Vincent van Adrighem , 2003. # Tino Meinen , 2003–2004, 2006–2008. # Wouter Bolsterlee , 2006–2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:48+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: nl\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Een systeembelastingmonitor met grafieken om CPU-, geheugen-, swap- en " "netwerkgebruik te volgen." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Tino Meinen\n" "Wouter Bolsterlee\n" "Vincent van Adrighem\n" "Michiel Sikkes\n" "Dirk-Jan Binnema\n" "Dennis Smit\n" "Huib Kleinhout\n" "Ronald Hummelink\n" "\n" "Kijk voor meer informatie op http://nl.gnome.org/\n" "\n" "Launchpad Contributions:\n" " Bert Timmerman https://launchpad.net/~bert-timmerman\n" " Michael Hofmann https://launchpad.net/~mh21\n" " Wouter Bolsterlee (uws) https://launchpad.net/~uws\n" " korst https://launchpad.net/~jasperkorst" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Procesbeheer _openen" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Voorkeuren" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "I_nfo" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "A_fsluiten" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Gemeten bronnen" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Geheugen" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Netwerk" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Wisselbestand" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Belasting" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Harde schijf" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opties" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Systeembelasting _breedte: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Sys_teembelasting verversingsinterval " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "beeldpunten" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milliseconden" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Autostart: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Kleuren" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Gebr_uiker" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ysteem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Achtergrond" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Ongebruikt" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Ge_deeld" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "B_uffers" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Gebufferd" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "V_rij" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Geheugen" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_In" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Uit" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokaal" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Achtergrond" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Netwerk" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Gebr_uikt" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Vrij" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Wisselbestand" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Gemiddeld" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Belasting" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lezen" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Schrijven" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Harde schijf" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Menu items..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Beschikbare grafieken" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Verversingsfrequentie van het applet in milliseconden" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Breedte van de grafiek in pixels." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Hoogte van de grafiek in pixels." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Het desktop-bestand dat uitgevoerd dient te worden voor de systeemmonitor" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Voeg toe aan opstarttoepassingen" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Informatie weergegeven in de indicator zelf" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Informatie weergegeven als menu-items" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Achtergrond kleur grafiek" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Zichtbaarheid grafiek" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Systeembelastingindicator" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} Kb" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/oc.po0000664000175000017500000002277412107670241013636 00000000000000# Translation of oc.po to Occitan # Occitan translation of gnome-applets. # Copyright (C) 2007 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # # Yannig Marchegay (Kokoyaya) , 2007, 2010. msgid "" msgstr "" "Project-Id-Version: oc\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:07+0000\n" "Last-Translator: Yannig MARCHEGAY (Kokoyaya) \n" "Language-Team: Occitan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: oc\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Un monitor (ecran) de gestion de sistèma, capable d'afichar de grafics " "d'utilizacion del processor (CPU), de la RAM, del fichièr d'escambi (memòria " "SWAP) e del trafic ret." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Yannig Marchegay (Kokoyaya) \n" "\n" "Launchpad Contributions:\n" " Yannig MARCHEGAY (Kokoyaya) https://launchpad.net/~yannick-marchegay" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Dobrir lo monitor sistèma" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferéncias" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_A prepaus" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Ressorsas susvelhadas" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memòria" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Ret" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Espaci d'escambi" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Carga" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Disc dur" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opcions" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Larg_or de l'ecran sistèma (\"terminal\") " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Frequéncia de la mesa a jorn de l'ecran sistèma " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisegondas" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Colors" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Utilizaire" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istèma" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "Laténcia I/S (Intradas/Sortidas)" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "I_nactiu" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "P_artejat" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Tampons" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Escond_ut" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Liure" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memòria" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Dintrant" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Sortissant" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Local" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Fons" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Ret" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Utilisat" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Liure" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Espaci swap" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Mejana" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Carga" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lectura" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Escritura" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disc dur" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Frequéncia d'actualizacion de l'ajuston en milisegondas" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Lo fichièr de descripcion .desktop d'utilizar pel monitor sistèma" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ar.po0000664000175000017500000002463112107670241013631 00000000000000# translation of gnome-applets.HEAD.po to Arabic # This file is distributed under the same license as the PACKAGE package. # Copyright (C) 2004 THE PACKAGE'S COPYRIGHT HOLDER # Sayed Jaffer Al-Mosawi , 2002. # Isam Bayazidi , 2002. # Arafat Medini , 2003. # Abdulaziz Al-Arfaj , 2004. # Ayman Hourieh , 2004. # Khaled Hosny , 2006, 2007, 2008, 2009, 2010. # Djihed Afifi , 2007, 2008. # Abou Manal , 2008. # Anas Afif Emad \n" "Language-Team: Arabic \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n % 100 >= " "3 && n % 100 <= 10 ? 3 : n % 100 >= 11 && n % 100 <= 99 ? 4 : 5;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ar\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "مراقب لحالة النظام يستطيع عرض رسوم بيانية للمعالج و الذاكرة و مستوى استخدام " "ملف التبديل بالإضافة إلى حالة الشبكة." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "فريق عربآيز للترجمة http://www.arabeyes.org :\n" "يوسف رفه\t\n" "جهاد عفيفي\t\n" "خالد حسني\t\n" "أنس عفيف عماد\t\n" "\n" "Launchpad Contributions:\n" " Khaled Hosny https://launchpad.net/~khaledhosny\n" " slmb https://launchpad.net/~fqa101" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "ا_فتح مراقب النظام" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "ال_تفضيلات" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_عنْ" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "الموارد المراقَبة" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "الم_عالج" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "ال_ذاكرة" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "ال_شبكة" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "مساحة الت_بديل" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "ال_حِمْل" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "القرص ال_صلب" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "الخيارات" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "عرض مرا_قب النظام: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "مدة تحديث مراقب ال_نظام: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "بكسل" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "ملي ثانية" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "الألوان" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "الم_ستخدِم" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "الن_ظام" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_تحسين" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_خامل" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "المعالج" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "مش_ترك" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "الذاكرة ال_وسيطة" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_مختزن" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_خالي" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "الذاكرة" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_داخل" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_خارج" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_محلي" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "ال_خلفية" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "الشبكة" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "مُ_ستخدَم" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_خالي" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "مساحة التبديل" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "ال_متوسط" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "الحِمْل" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_قراءة" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_كتابة" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "القرص الصلب" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "تردد تحديث البريمج بالملي ثانية" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "ملف وصف سطح المكتب الذي سيتم تنفيذه كمراقب النظام" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "نظام تحميل المؤشر" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/eu.po0000664000175000017500000002320612107670241013635 00000000000000# translation of eu_to_be_translate.po to Basque # Copyright (C) 1999, 2004, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # # euskara , 1999. # Hizkuntza Politikarako Sailburuordetza , 2004, 2005. # Iñaki Larrañaga Murgoitio , 2004, 2006, 2007, 2008, 2009, 2010. # Iñaki Larrañaga Murgoitio , 2007. msgid "" msgstr "" "Project-Id-Version: eu_to_be_translate\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:48+0000\n" "Last-Translator: Iñaki Larrañaga Murgoitio \n" "Language-Team: Basque \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: eu\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "PUZaren, ram memoriaren, swap lekuaren erabileraren eta sare-trafikoaren " "grafikoak bistaratzeko gai den sistema-kargaren monitorea." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Hizkuntza Politikarako Sailburuordetza \n" "Iñaki Larrañaga Murgoitio \n" "\n" "Launchpad Contributions:\n" " Iñaki Larrañaga Murgoitio https://launchpad.net/~dooteo" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Ireki sistema-monitorea" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Hobespenak" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "Honi _buruz" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Kontrolatutako baliabideak" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Prozesadorea" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memoria" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Sarea" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "S_wap lekua" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Karga" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Disko gogorra" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Aukerak" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Sis_tema-monitorearen zabalera: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "S_istema-monitorearen eguneratze-bitartea: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisegundo" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Koloreak" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Erabiltzailea:" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "Sistem_a" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Le_hentasunekoa" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "SI_Zain" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "I_naktiboa" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Prozesadorea" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Partekatua" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "Bu_fferrak" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Cache-koa" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "L_ibre" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memoria" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Sarrera" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Irteera" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokala" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Atzeko _planoa:" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Sarea" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Erabilita" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Libre" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap lekua" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Batez bestekoa" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Karga" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Irakurri" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Idatzi" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disko gogorra" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Miniaplikazioaren freskatze-maiztasuna (milisegundotan)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Mahaigaineko deskripzio-fitxategia sistemako monitore gisa exekutatzeko" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/he.po0000664000175000017500000002323312107670241013620 00000000000000# translation of gnome-applets.HEAD.he.po to Hebrew # translation of gnome-applets.gnome-2-0.po to Hebrew # This file is distributed under the same license as the PACKAGE package. # Copyright (C) 2005 THE PACKAGE'S COPYRIGHT HOLDER # Gil 'Dolfin' Osher , 2002,2003 # msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD.he\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:41+0000\n" "Last-Translator: Yaron \n" "Language-Team: Hebrew \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: he\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "צג עומס מערכת המאפשר להציג גרפים למעבד, מקום שימוש ב RAM ובקובץ תחלופה, וגם " "עומס רשת." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "גיל אשר \n" "יאיר הרשקוביץ \n" "ירון שהרבני \n" "\n" "פרוייקט תרגום GNOME לעברית:\n" "‏http://gnome-il.berlios.de\n" "\n" "Launchpad Contributions:\n" " Yaron https://launchpad.net/~sh-yaron" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_פתח צג מערכת" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_העדפות" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "על _אודות" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "משאבים מוצגים" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_מעבד" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_זיכרון" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_רשת" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "מקום _תחלופה" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "ה_ספק" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_דיסק קשיח" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "אפשרויות" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "רוחב צ_ג המערכת: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "השהיית עדכוני צג המע_רכת: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "פיקסלים" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "מילי-שניות" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "צבעים" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_משתמש" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "מ_ערכת" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_עדיפות" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "הפסקת קלט/פלט" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_סרק" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "מעבד" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "מ_שותף" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_מאגרים" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "מ_טמון" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "פ_נוי" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "זיכרון" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_נכנס" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "י_וצא" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_מקומי" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_רקע" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "רשת" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_בשימוש" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_פנוי" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "מקום תחלופה" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_ממוצע" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "עומס" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_קרא" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_כתוב" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "דיסק קשיח" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Applet refresh rate in milliseconds" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "The desktop description file to execute as the system monitor" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/as.po0000664000175000017500000002441212107670241013627 00000000000000# translation of as.po to Assamese # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Amitakhya Phukan , 2007. # Amitakhya Phukan , 2007, 2008. # Amitakhya Phukan , 2009. msgid "" msgstr "" "Project-Id-Version: as\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:28+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Assamese <>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n!=1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: as\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "CPU, ram, swap-ৰ ব্যৱহাৰ আৰু নেটৱৰ্ক ট্ৰাফিক প্ৰভৃতিসহ ব্যৱস্থাপ্ৰণালীেৰ উপৰ " "চাপ নিৰীক্ষণ ব্যৱস্থা ।" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "অমিতাক্ষ ফুকন (aphukan@fedoraproject.org)\n" "\n" "Launchpad Contributions:\n" " Michael Hofmann https://launchpad.net/~mh21" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "খোলক" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "পছন্দ (_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "বিষয়ে (_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "নিৰীক্ষিত ৰিসোৰ্স" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "প্ৰসেসৰ (_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "মেমৰি(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "নেটৱৰ্ক" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Swap স্থান(_w)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "তুলি লওক" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "হাৰ্ড-ডিস্ক (_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "বিকল্পসমূহ" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "System Monitor'ৰ প্ৰস্থ (_o) " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "System Monitor'ৰ তথ্য আপডেটেৰ মধ্যবৰ্তী বিৰতিকাল:(_t) " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "পিক্সেল" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "মিলি-সেকেন্ড" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "ৰঙ" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "ব্যৱহাৰকৰোঁতা (_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "ব্যৱস্থাপ্ৰণালী (_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "কৰ্মবিহীন (_d)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "প্ৰসেসৰ" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "যৌথৰূপে ব্যৱহৃত (_a)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "বাফাৰ (_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "ক্যাশে কৰা (_e)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "মুক্ত (_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "মেমৰি" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "ইন (_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "আউট (_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "স্থানীয় (_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "পটভূমি (_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "নেটৱৰ্ক" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "ব্যৱহৃত (_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "মুক্ত (_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap স্থান" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "গড় (_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "তুলি লওক" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "পড়া (_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "লিখা (_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "হাৰ্ড-ডিস্ক" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "মিলিসেকেন্ডে এপ্লেটেৰ পৰিবৰ্তনেৰ হাৰ" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "সিস্টেম নিৰীক্ষণৰ বাবে যে ডেস্কটপ বিবৰণৰ ফাইল সঞ্চালন কৰা হ'ব" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/mr.po0000664000175000017500000002476012107670241013650 00000000000000# translation of mr.po to Marathi # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # # Rahul Bhalerao , 2006. # Rahul Bhalerao , 2006. # Sandeep Shedmake , 2008, 2009. # Sandeep Shedmake , 2009. msgid "" msgstr "" "Project-Id-Version: mr\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:02+0000\n" "Last-Translator: Sandeep Shedmake \n" "Language-Team: Marathi \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: mr\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "CPU, ram, आणि स्वॅप जागा वापर, तसेच संजाळ रहदारी यांचे आलेख दर्शवण्यास समर्थ " "प्रणाली भार मॉनिटर." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "राहुल भालेराव , 2006; संदिप शेडमाके " ", 2008, 2009; संदिप शेडमाके " ", 2009.\n" "\n" "Launchpad Contributions:\n" " Sandeep Shedmake https://launchpad.net/~sshedmak" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "प्रणाली मॉनिटर उघडा(_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "आवड निवड(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "विषयी (_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "पर्यवेक्षित साधने" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "प्रोसेसर (_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "स्मृती(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "संजाळ(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "स्वॅप जागा(_w)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "भार(_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "हार्डडिस्क(_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "पर्याय" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "प्रणाली मॉनिटर रुंदी(_o): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "प्रणाली मॉनीटर अद्ययावत अवधी (_t): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "बिंदू" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "मिलीसेकंद" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "रंग" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "वापरकर्ता (_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "प्रणाली (_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "चांगले (_i)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "IOWait (_O)" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "रिकामे (_d)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "प्रोसेसर" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "सहभागीय (_a)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "बफर (_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "कॅश्ड् (_e)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "मुक्त (_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "स्मृती" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "आत (_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "बाहेर (_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "स्थानीय (_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "पार्श्वभूमी(_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "संजाळ" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "वापरलेले(_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "मुक्त(_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "स्वॅप जागा" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "सरासरी(_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "भार" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "वाचन(_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "लेखन(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "हार्डडिस्क" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "एप्लेट रिफ्रेश(पुनःताजे) दर मिलीसेकंदात" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "प्रणाली मॉनीटर नुरूप कार्यान्वीत करण्याजोगी डेस्कटॉप व्याख्या फाइल" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/crh.po0000664000175000017500000002270112107670241013777 00000000000000# Qırımtatarca gnome-applets. # This file is distributed under the same license as the gnome-applets package. # # Reşat SABIQ , 2009, 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:09+0000\n" "Last-Translator: Reşat SABIQ \n" "Language-Team: QIRIMTATARCA (Qırım Türkçesi) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" # tr #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "İşlemci, bellek, takas alanı kullanımı ve ağ yoğunluğunun çizelgelerini " "gösterebilen bir sistem yükü izleyicisidir." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Reşat SABIQ \n" "\n" "Launchpad Contributions:\n" " Reşat SABIQ https://launchpad.net/~tilde-birlik" # tr #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Sistem İzleyici'yi _Aç" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Tercihler" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Aqqında" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" # tr #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "İzlenen Özkaynaklar" # tr #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "İş_lemci" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Hafiza" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Şebeke" # tr #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Takas Alanı" # tr #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Yük" # tr #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Sabit Disk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "İhtiyariyat" # tr #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Sistem izleyici _genişliği: " # tr #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Sistem izleyici güncelleme _sıklığı: " # tr #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "piksel" # tr #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisaniye" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Tüsler" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Qullanıcı" # tr #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Sistem" # tr #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Ö_ncelik" # tr #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" # tr #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "B_eklemede" # tr #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "İşlemci" # tr #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Paylaşımda" # tr #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Tamponlar" # tr #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Önb_ellekli" # tr #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "B_oş" # tr #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Bellek" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_İçeri" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Tışarı" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Yerli" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Arqa-zemin" # tr #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Ağ" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Qullanıla" # tr #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Boş" # tr #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Takas Alanı" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Ortalam_a" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Yük" # tr #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Okuma" # tr #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Yazma" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "_Qattı disk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" # tr #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Milisaniye cinsinden uygulamacık tazeleme hızı" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" # tr #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Sistem izleyici olarak çalıştırılacak masaüstü tanım dosyası" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/pt_BR.po0000664000175000017500000002546112107670241014237 00000000000000# Copyright (C) 2000-2008 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # Gustavo Maciel Dias Vieira , 2000-2001. # Alexandre Folle de Menezes , 2003. # Gustavo Noronha Silva , 2003. # Raphael Higino , 2004-2005. # Evandro Fernandes Giovanini , 2006. # Leonardo Ferreira Fontenelle , 2006-2008. # Og Maciel , 2007. # Vladimir Melo , 2008, 2009. # Fabrício Godoy , 2008. # Fábio Nogueira , 2008. # Henrique P. Machado , 2008. # Andre Gondim , 2009. # Krix Apolinário , 2009. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:11+0000\n" "Last-Translator: Daniel \n" "Language-Team: Brazilian Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "X-Poedit-Country: BRAZIL\n" "Language: pt_BR\n" "X-Poedit-Language: Portuguese\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Um monitor de carga do sistema capaz de exibir gráficos para CPU, RAM e uso " "de espaço de swap, além de tráfego de rede." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Sun Microsystems\n" "Gustavo Maciel Dias Vieira \n" "Alexandre Folle de Menezes \n" "Gustavo Noronha Silva \n" "Raphael Higino \n" "Evandro Fernandes Giovanini \n" "Leonardo Ferreira Fontenelle \n" "Og Maciel \n" "Vladimir Melo \n" "Fábio Nogueira \n" "Henrique P. Machado \n" "Andre Gondim \n" "Krix Apolinário \n" "\n" "Launchpad Contributions:\n" " Daniel https://launchpad.net/~danielskoda\n" " Píndaro GBarbosa https://launchpad.net/~diecavallax" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Abrir monitor de sistema" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferências" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Sobre" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Sair" # SUN NEW TRANSLATION #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Recursos monitorados" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processador" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memória" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rede" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Espaço de s_wap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Carga" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "Disco _rígido" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opções" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Largura do m_onitor do sistema: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Intervalo de atualização do monitor do sis_tema: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milissegundos" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Auto iniciar: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Cores" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Usuário" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istema" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Baixa prioridade" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "Espera de _E/S" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Ocioso" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processador" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Compartilhado" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffers" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Em cache" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Livre" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memória" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "E_ntrada" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Saída" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Local" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Plano de f_undo" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rede" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Usado" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Livre" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Espaço de swap" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Média" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Carga" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Leitura" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Gravação" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disco rígido" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Taxa de atualização do miniaplicativo em milissegundos" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Largura dos gráficos em pixels." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Largura dos gráficos em pixels." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "O arquivo de descrição da área de trabalho para ser executado como o monitor " "de sistema" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Inicia automaticamente ao iniciar a sessão" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Indicador de carregamento do sistema" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/it.po0000664000175000017500000002567512107670241013654 00000000000000# Italian localization for gnome-applets # This file is distributed under the same license as gnome-applets package # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # Christopher R. Gabriel, 2000. # Francesco Marletta , 2003. # Leandro Noferini , 2002, 2003. # # Luca Ferretti , 2004, 2005, 2006, 2007, 2008, 2009, 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets 2.29.x\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:42+0000\n" "Last-Translator: Gianfranco Frisani \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: it\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Un monitor del carico di sistema, capace di visualizzare grafici per la CPU, " "la RAM e l'uso dello spazio di swap, oltre che del traffico di rete." # GNOME-2-24 #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Luca Ferretti \n" "\n" "Con la partecipazione di:\n" " * Christopher R. Gabriel\n" " * Francesco Marletta\n" " * Leandro Noferini\n" " * tutti i revisori del TP\n" "\n" "Launchpad Contributions:\n" " Gianfranco Frisani https://launchpad.net/~gfrisani\n" " Luca Ferretti https://launchpad.net/~lferrett\n" " Milo Casagrande https://launchpad.net/~milo\n" " simone.sandri https://launchpad.net/~lexluxsox" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Apri «Monitor di sistema»" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "Preferen_ze" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "I_nformazioni" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Esci" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Risorse monitorate" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processore" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memoria" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rete" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Spazio di s_wap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "C_arico" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Hard disk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opzioni" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Larghezza monitor di sistema: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Intervallo di aggiornamen_to monitor di sistema: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisecondi" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Avvio automatico: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Colori" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Utente" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Sistema" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Nic_e" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "I_nattività" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processore" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Condivis_a" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffer" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "In cach_e" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Libe_ra" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memoria" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "I_ngresso" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Uscita" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "L_ocale" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Sfondo" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rete" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Usata" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "Li_bera" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Spazio di swap" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Medi_a" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Carico" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lettura" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Scrittura" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Hard disk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Elementi del menù..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Grafici disponibili" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Aggiornamento dell'applet in millisecondi" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Larghezza dei grafici in pixel." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Altezza dei grafici in pixel." # GNOME-2-24 #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Il file descrizione desktop da eseguire come monitor di sistema" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Avvio automatico all'inizializzazione del sistema" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Informazioni visualizzate nell'indicatore" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "Indice delle informazioni correnti indicate nell'indicatore" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Informazioni visualizzate come voci del menù" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Valore alfa del grafico" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Colore dello sfondo del grafico" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Visibilità del grafico" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Valore minimo per il limite inferiore del grafico" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" "Valore massimo per il limite superiore del grafico, zero significa illimitato" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "Numero di valori usati per arrotondare la scala del grafico" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Tracciati disponibili" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Colore del tracciato" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "Calcolo del tracciato" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Visibilità del tracciato" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Tracciati visualizzati" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Indicatore carico di sistema" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Analizzare una espressione" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Elenco dell'identificativo delle espressioni disponibili" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Mostra i messaggi di debug" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "- Indicatore di carico del sistema - Applicazione" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Usare \"%s --help\" per visualizzare un elenco completo delle opzioni " "disponibili da riga di comando.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" msgstr[1] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u B/s" msgstr[1] "%u B/s" indicator-multiload-0.3/po/be.po0000664000175000017500000002462712107670241013622 00000000000000# Беларускі пераклад gnome-applets.HEAD. # SOME DESCRIPTIVE TITLE # Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. # Vital Khilko , 2002, 2003. # Ales Nyakhaychyk , 2003, 2004. # Ihar Hrachyshka , 2006. # msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:16+0000\n" "Last-Translator: Maksim Tamkovič \n" "Language-Team: Belarusian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: be\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Назіральнік загрузкі сыстэмы здольны паказваць графікі выкарыстаньня " "працэсара, памяці, прасторы падкачкі і сеткавага трафіка." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Суполка перакладчыкаў GNU/Linux\n" "Старонка: http://i18n.linux.by/\n" "Апошні перакладчык: \tІгар Грачышка \n" "\n" "Launchpad Contributions:\n" " Maksim Tamkovič https://launchpad.net/~quendimax\n" " booxter https://launchpad.net/~ihar-hrachyshka" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Адкрыць _сыстэмны назіральнік" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Перавагі" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Аб праграме" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Выйсьці" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Рэсурсы, за якімі вядзецца назіраньне" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Працэсар" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "Па_мяць" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Сетка" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Прастора пад_качкі" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Загрузка" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Жорсткі дыск" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Парамэтры" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Шырыня сыстэмнага назіральніка: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_Пэрыяд абнаўленьня сыстэмнага назіральніка: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "піксэлі" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "мілісэкунды" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Колеры" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Карыстальнік" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Сыстэма" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Прыярытэт" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Вольны" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Працэсар" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Агульная" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Буфэры" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Кэш" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Вольная" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Памяць" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Тло" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Сетка" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Выкарыстана" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Вольна" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Прастора падкачкі" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Ся_рэдняя" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Загрузка" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Чытаньне" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Запіс" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Жорсткі дыск" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Даступныя графікі" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Хуткасьць абнаўленьня аплета ў мілісэкундах" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Вышыня графіка ў піксэлях" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Аўтаматычны запуск на пачатку сэсіі" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Празрыстасьць" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Колер тла графіка" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Бачнасьць графіка" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Даступныя крывыя" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/or.po0000664000175000017500000002503012107670241013641 00000000000000# translation of gnome-applets.master.or.po to Oriya # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # # Subhransu Behera , 2006. # Subhransu Behera , 2006. # Manoj Kumar Giri , 2009, 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets.master.or\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:19+0000\n" "Last-Translator: Manoj Kumar Giri \n" "Language-Team: Oriya \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n!=1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: or\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "ଗୋଟିଏ ସିଷ୍ଟମ ଲୋଡ ମୋନିଟର CPU, ରାମ ଏବଂ ସ୍ବାପ ସ୍ଥାନ ଉପୟୋଗ, ତା ସହିତ ନେଟବାର୍କ " "ୟାତାଯତ ପାଇଁ ଗ୍ରାଫ୍କୁ ପ୍ରଦର୍ଶନ କରିବା ପାଇଁ ସକ୍ଷମ ଅଟେ।" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "ଶୁଭ୍ରାଂଶୁ ବେହେରା \n" "\n" "Launchpad Contributions:\n" " Manoj Kumar Giri https://launchpad.net/~mgiri" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "ତନ୍ତ୍ର ପ୍ରଦର୍ଶିକାକୁ ଖୋଲନ୍ତୁ (_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "ପସନ୍ଦ (_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "ବିବରଣୀ (_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "ନିରୀକ୍ଷିତ ସ୍ବମ୍ବଳଗୁଡିକ" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_ପ୍ରୋସେସର" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_ସ୍ମୃତି" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "ନେଟୱାର୍କ (_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "ସ୍ବାପ_ସ୍ଥାନ" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "ଧାରଣ କରନ୍ତୁ (_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "ହାର୍ଡ଼ ଡିସ୍କ (_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "ବିକଳ୍ପଗୁଡ଼ିକ" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "ତନ୍ତ୍ର ପ୍ରଦର୍ଶିକା ଓସାର (_o): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "ସିଷ୍ଟମ_ମନିଟର ଅପଡେଟ ଅନ୍ତରାଳ: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "ପିକ୍ସେଲ୍ସ" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "ମିଲିସେକେଣ୍ଡ" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "ରଙ୍ଗ" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "ଚାଳକ (_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "ସି_ଷ୍ଟମ" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "ସୁ_ନ୍ଦର" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "ଆଇଓ_ଅପେକ୍ଷା" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "ନିଷ୍କ୍ରି_ ଯ" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "ପ୍ରୋସେସର" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "ବିତରିତ_" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_ବଫର" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "କେସ_ହୋଇଥିବା" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "ମୁକ୍ତ_" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "ସ୍ମ୍ରୁତି" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "ଭିତର (_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "ବାହାର (_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "ସ୍ଥାନୀୟ (_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_ପୃଷ୍ଠଭୂମି" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "ନେଟୱାର୍କ" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_ଉପୟୋଗହୋଇଥିବା" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_ମୁକ୍ତ" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "ସ୍ବାପ ସ୍ଥାନ" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_ହାରାହାରି" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "ଲୋଡ କର" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "ପଢନ୍ତୁ (_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "ଲେଖନ୍ତୁ (_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "ହାର୍ଡଡିସ୍କ" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "ଆପଲେଟ୍ ସତେଜନ ହାର (ମିଲିସେକେଣ୍ଡ ରେ)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "ତନ୍ତ୍ର ପ୍ରଦର୍ଶିକା ନିଷ୍ପାଦନ କରିବା ପାଇଁ ଡେସ୍କଟପ ବର୍ଣ୍ଣନା ଫାଇଲ" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ja.po0000664000175000017500000002502712107670241013621 00000000000000# gnome-applets ja.po. # Copyright (C) 1998-2010 Free Software Foundation, Inc. # Yukihiro Nakai , 1998,2000. # Yasuyuki Furukawa , 1999. # Eiichiro ITANI , 1999. # Yuusuke Tahara , 2000. # Shingo Akagaki , 2000. # Takayuki KUSANO , 2000-2002, 2010. # Akira TAGOH , 2001. # Sun G11n , 2002. # KAMAGASAKO Masatoshi , 2003. # Takeshi AIHANA , 2003-2009. # Satoru SATOH , 2006. # Hideki Yamane (Debian-JP) , 2009. # OKANO Takayoshi , 2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:31+0000\n" "Last-Translator: Takayuki KUSANO \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ja\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "CPU、RAM、スワップの使用率とネットワーク負荷のグラフを表示できるシステム負荷モニタです。" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "相花 毅 \n" "佐藤 暁 \n" "KAMAGASAKO Masatoshi \n" "Sun G11n \n" "Akira TAGOH \n" "草野 貴之 \n" "Shingo Akagaki \n" "Yuusuke Tahara \n" "Eiichiro ITANI \n" "Yasuyuki Furukawa \n" "Yukihiro Nakai \n" "やまねひでき \n" "OKANO Takayoshi \n" "日本GNOMEユーザー会 \n" "\n" "Launchpad Contributions:\n" " Takayuki KUSANO https://launchpad.net/~ae5t-ksn" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "システムモニタを開く(_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "設定(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "情報(_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "モニターするリソース" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "プロセッサ(_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "メモリ(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "ネットワーク(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "スワップ領域(_W)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "負荷(_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "ハードディスク(_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "オプション" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "システムモニタの幅(_O): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "更新間隔(_T): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "ピクセル" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "ミリ秒" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "色" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "ユーザ(_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "システム(_Y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Nice値(_I)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "IOWait(_O)" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "待機(_D)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "プロセッサ" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "共有(_A)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "バッファ(_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "キャッシュ(_E)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "未使用(_R)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "メモリ" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "受信(_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "送信(_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "ローカル(_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "背景色(_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "ネットワーク" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "使用中(_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "未使用(_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "スワップ" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "平均(_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "負荷" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "読み込み(_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "書き込み(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "ハードディスク" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "アプレットのリフレッシュ・レート (ミリ秒単位)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "システム・モニタとして実行する .desktop ファイル" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ru.po0000664000175000017500000003102612107670241013651 00000000000000# translation of ru.po to Russian # translation of gnome-applets to Russian # Copyright (C) 1998-2009, 2010 Free Software Foundation, Inc. # # Alexandre Prokhudine, 2002. # Max Valianskiy , 1998,99. # Sergey Panov , 1999. # Valek Filippov , 2000-2002. # Dmitry G. Mastrukov , 2002-2004. # Leonid Kanter , 2002-2004, 2005, 2006, 2007, 2010. # Alexander Ovcharenko , 2003. # Sergey V. Udaltsov, 2003. # Michael Yakhontov , 2003. # Yuri Kozlov , 2010. msgid "" msgstr "" "Project-Id-Version: ru\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:58+0000\n" "Last-Translator: Vassili Platonov \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ru\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Системный монитор способен отображать графики загрузки процессора, памяти, " "файла подкачки и сетевого трафика." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Макс Валянский \n" "Сергей Панов \n" "Валёк Филиппов \n" "Александр Прокудин\n" "Дмитрий Мастрюков \n" "Михаил Яхонтов \n" "Леонид Кантер \n" "\n" "Launchpad Contributions:\n" " Eugene Marshal https://launchpad.net/~lowrider\n" " Michael Hofmann https://launchpad.net/~mh21\n" " Vassili Platonov https://launchpad.net/~vassilip\n" " Yuri Myasoedov https://launchpad.net/~ymyasoedov\n" " zmicier https://launchpad.net/~zmicier" # #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "О_ткрыть системный монитор" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Параметры" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Об апплете" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "В_ыход" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Отслеживаемые ресурсы" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "Про_цессор" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "Па_мять" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Сеть" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Под_качки" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "За_грузка системы" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Жесткий диск" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Параметры" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Ширина системного монитора: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Скорость об_новления системного монитора: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "пикселей" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "миллисекунд" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Автоматический запуск: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Цвета" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "По_льзователь" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "С_истема" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "При_оритет" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Просто_й" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Процессор" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Раз_деляемая" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "Б_уфера" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "К_эшированная" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Сво_бодная" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Память" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Исходящий" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Входящий" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Внутренний" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Фон" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Сеть" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Ис_пользуется" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "Сво_бодно" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Подкачка" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "С_редняя" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Загрузка" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Чтение" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "Запис_ь" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Жесткий диск" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Элементы меню..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Доступные диаграммы" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Частота обновления в миллисекундах" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Ширина диаграммы в пикселях." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Высота диаграммы в пикселях" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Файл описания приложения, запускаемого в качестве системного монитора" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Автоматический запуск при загрузке системы" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Информация, отображаемая индикатором" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "Индекс текущей информации, отображаемой индикатором" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Информация, отображаемая в пунктах меню" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Прозрачность диаграммы" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Цвет фона диаграммы" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Видимость диаграммы" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Минимальное значение верхнего края диаграммы" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" "Максимальное значение верхнего края диаграммы, ноль означает «без " "ограничений»" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" "Количество значений, используемых для плавного изменения масштаба диаграммы" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Доступные кривые" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Цвет кривой" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "Выражение кривой" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Видимость кривой" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Отображение кривых" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Индикатор загрузки системы" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Значение выражения" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Список доступных идентификаторов выражения" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Показывать отладочные сообщения" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "- Индикатор загрузки системы" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Выполните '%s --help' для просмотра полного списка доступных параметров " "командной строки.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} кБ" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} МБ" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} ГБ" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u Б" msgstr[1] "%u Б" msgstr[2] "%u Б" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} кБ/с" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} МБ/с" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} ГБ/с" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} ТБ/с" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u Б/с" msgstr[1] "%u Б/с" msgstr[2] "%u Б/с" indicator-multiload-0.3/po/es.po0000664000175000017500000002447712107670241013646 00000000000000# translation of gnome-applets.HEAD.po to Español # Copyright © 1998,2002,2003, 2006, 2007, 2008 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # Pablo Saratxaga 1999. # Marco César Gloria 2000. # Mauricio Araya P. 2001. # Carlos Perelló Marín 2001. # Pablo Gonzalo del Campo 2002-2003. # # Miguel de Icaza,computo,622-4680 1998. # Francisco Javier F. Serrador , 2003-2006. # Tatiana Gutiérrez Bunster , 2003. # Jorge González , 2007, 2009, 2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets.master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:09+0000\n" "Last-Translator: antonimous \n" "Language-Team: Español \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Un monitor de carga del sistema capaz de mostrar gráficos para la CPU, RAM y " "del uso del espacio intercambio, además del tráfico de red." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Jorge González \n" "Francisco Javier F. Serrador \n" "\n" "Launchpad Contributions:\n" " Adolfo Jayme Barrientos https://launchpad.net/~fitoschido\n" " Jorge González https://launchpad.net/~jorgegonz\n" " antonimous https://launchpad.net/~antonimous" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Abrir el m_onitor del sistema" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "Prefere_ncias" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "Acerca _de" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Salir" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Recursos monitorizados" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesador" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memoria" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Red" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Espacio de _intercambio" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "Car_ga" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Disco duro" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opciones" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Anchura del m_onitor del sistema: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Intervalo de actualización del monitor del sis_tema: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "píxeles" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisegundos" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Autoarranque: " # gnome-terminal/gnome-terminal.c:801 #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Colores" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Usuario" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Sistema" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Prioridad" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "Espera _E/S" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "I_nactivo" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesador" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Compartida" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Búferes" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "C_acheada" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Libre" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memoria" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Entrada" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Salida" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Local" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Fondo" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Red" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Usado" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Libre" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Espacio de intercambio" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Media" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Carga" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lectura" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Escritura" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disco duro" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Tasa de refresco de la miniaplicación en milisegundos" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Ancho de los gráficos en píxeles." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Altura de los gráficos en píxeles." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "El archivo de descripción del escritorio que ejecutar como el monitor del " "sistema" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Iniciar automáticamente al iniciar sesión" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Indicador del sistema de carga" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "Copy text \t {} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/bs.po0000664000175000017500000002245612107670241013636 00000000000000# translation of gnome-applets.HEAD.bs.po to Bosnian # translation of gnome-applets.HEAD.bs.po to # translation of gnome-applets.HEAD.bs.po to # translation of gnome-applets.HEAD.bs.po to # translation of gnome-applets.HEAD.bs.po to # translation of gnome-applets.HEAD.po to Bosnian # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Kenan Hadžiavdić , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD.bs\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:47+0000\n" "Last-Translator: Kenan Hadžiavdić \n" "Language-Team: Bosnian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: bs\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Kenan Hadžiavdić https://launchpad.net/~kenanh" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Otvori monitor sistema" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Opcije" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_O" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Praćeni resursi" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memorija" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "M_reža" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Swap memorija" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Opterećenje" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opcije" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Širina m_onitora sistema: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "In_terval ažuriranja monitora sistema: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "piksli" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisekundi" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Boje" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Korisnik" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "S_lobodno" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Neiskorišteno" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Dijeljeno" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Bufferi" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Cach_e" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Slo_bodno" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memorija" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Pozadina" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Mreža" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Korišteno" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Slobodno" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap memorija" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Prosječno" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Opterećenje" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Ažuriranje apleta u milisekundama" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ky.po0000664000175000017500000002115412107670241013647 00000000000000# gnome-applets Kirghiz translation. # This file is distributed under the same license as the gnome-applets package. # Timur Jamakeev , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-applets HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:12+0000\n" "Last-Translator: Timur Jamakeev \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Тимур Жамакеев \n" "\n" "Launchpad Contributions:\n" " Timur Jamakeev https://launchpad.net/~ztimur-gmail" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Ырастоолор" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Апплет жөнүндө" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "" #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "" #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/tr.po0000664000175000017500000002260612107670241013654 00000000000000# Turkish translation of gnome-applets. # Copyright (C) 2002, 2004, 2005, 2008 Free Software Foundation, Inc. # # Sinan Imamoglu , 2003. # Emre Kadıoğlu , 2005. # Baris Cicek , 2004, 2005, 2008, 2009. msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:17+0000\n" "Last-Translator: Baris Cicek \n" "Language-Team: Turkish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: tr\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "İşlemci, bellek, takas alanı kullanımı ve ağ yoğunluğunun çizelgelerini " "gösterebilen bir sistem yükü izleyicisidir." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Barış Çiçek \n" "Emre Kadıoğlu \n" "\n" "Launchpad Contributions:\n" " Baris Cicek https://launchpad.net/~baris" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Sistem İzleyici'yi _Aç" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Tercihler" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Hakkında" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "İzlenen Özkaynaklar" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "İş_lemci" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Bellek" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Ağ" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Takas Alanı" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Yük" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Sabit Disk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Seçenekler" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Sistem izleyici _genişliği: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Sistem izleyici güncelleme _sıklığı: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "piksel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisaniye" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Renkler" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Kullanıcı" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Sistem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Ö_ncelik" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "B_eklemede" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "İşlemci" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Paylaşımda" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Tamponlar" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Önb_ellekli" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "B_oş" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Bellek" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Gelen" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Giden" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Yerel" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "A_rkaplan" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Ağ" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Kullanılıyor" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Boş" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Takas Alanı" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Ortalam_a" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Yük" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Okuma" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Yazma" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Sabit Disk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Milisaniye cinsinden uygulamacık tazeleme hızı" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Sistem izleyici olarak çalıştırılacak masaüstü tanım dosyası" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ne.po0000664000175000017500000002553712107670241013637 00000000000000# translation of gnome-applets.gnome-2-20.ne.po to Nepali # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # # Kapil Timilsina , 2005. # Jyotshna Shrestha , 2005. # Bishnu Adhikari , 2005. # Jaydeep Bhusal , 2005. # Shiva Pokharel , 2005. # Shyam Krishna Bal , 2006. # Mahesh Subedi , 2006. # Mahesh subedi , 2006. # Narayan Kumar Magar , 2007. msgid "" msgstr "" "Project-Id-Version: gnome-applets.gnome-2-20.ne\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:54+0000\n" "Last-Translator: Narayan Kumar Magar \n" "Language-Team: Nepali \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ne\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "CPU, र्याम, र स्वाप खाली स्थान प्रयोग जोड सञ्जाल ट्राफिकको लागि ग्राफहरूको " "प्रदर्शनको सक्षम एउटा प्रणाली लोड मनिटर ।" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Mahesh Subedi Shiva Pokharel " " Shyam Krishna Bal " "Narayan Kumar Magar \n" "\n" "Launchpad Contributions:\n" " Narayan Kumar Magar https://launchpad.net/~narayan-mpp" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "प्रणाली मनिटर खोल्नुहोस्" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "प्राथमिकताहरू" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "बारेमा" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "अनगमन गरिएको संसाधनहरू" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "प्रक्रियाकर्ता" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "स्मृति" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "सञ्जाल" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "खालीस्थान साटासाट गर्नुहोस्" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "लोड गर्नुहोस्" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "हार्डडिस्क" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "विकल्पहरू" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "प्रणाली मनिटर चौडाई: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "प्रणाली मनिटर अद्यावधिक अन्तराल: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "पिक्सेलहरू" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "मिलिसेकेन्डहरू" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "रङ्गहरू" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "प्रयोगकर्ता" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "प्रणाली" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "राम्रो" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "आइओवेट" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "निष्प्रयोजन" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "प्रक्रियाकर्ता" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "बाँडफाँड गरिएको" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "बफरहरू" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "क्यास गरिएको" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "स्वतन्त्र" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "स्मृति" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "पृष्ठभूमि" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "सञ्जाल" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "प्रयोग गरिएको" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "स्वतन्त्र" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "खाली ठाँउ साटासाट गर्नुहोस्" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "औसत" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "लोड गर्नुहोस्" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "पढनुहोस्" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "लेख्नुहोस्" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "हार्डडिस्क" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "एप्लेट ताजा गर्ने दर मिलिसेकेन्डमा" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/hi.po0000664000175000017500000002463112107670241013627 00000000000000# translation of gnome-applets.master.po to Hindi # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # # Ravishankar Shrivastava , 2004. # Rajesh Ranjan , 2005, 2006. # Rajesh Ranjan , 2009. msgid "" msgstr "" "Project-Id-Version: gnome-applets.master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:19+0000\n" "Last-Translator: Rajesh Ranjan \n" "Language-Team: Hindi \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: hi\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "यह तंत्र लोड मॉनीटर, सीपीयू, रैम, स्वैप फ़ाइल उपयोग के साथ ही नेटवर्क " "ट्रेफिक के ग्राफ बताने में समर्थ है" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "रविशंकर श्रीवास्तव (raviratlami@yahoo.com)\n" "राजेश रंजन (rajeshkajha@yahoo.com)\n" "\n" "Launchpad Contributions:\n" " Rajesh Ranjan https://launchpad.net/~rajesh672" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "तंत्र मॉनीटर खोलें (_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "वरीयताएँ (_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "परिचय (_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "मॉनीटर्ड युक्तियाँ" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "प्रोसेसर (_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "मेमोरी (_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "नेटवर्क (_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "स्वेप जगह (_w)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "लोड (_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "हार्ड डिस्क (_H)" # gnome-session/session-properties-capplet.c:217 #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "विकल्प" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "तंत्र मॉनीटर चौड़ाईः (_o) " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "तंत्र मॉनीटर अद्यतन अंतरालः (_t) " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "पिक्सेल" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "मिली-सेकण्ड्स" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "रंग" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "उपयोगकर्ता (_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "तंत्र (_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "नाइस (_i)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "निष्क्रिय (_d)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "प्रोसेसर" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "साझा (_a)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "बफ़र्स (_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "कैच्ड (_e)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "मुफ्त (_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "मेमोरी" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "अंदर (_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "बाहर (_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "स्थानीय (_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "पृष्ठभूमि (_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "नेटवर्क" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "प्रयुक्त (_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "खाली (_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "स्वेप जगह" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "औसत (_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "लोड" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "पढ़ें (_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "लिखें (_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "हार्ड डिस्क" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "मिलीसेकण्ड्स में एप्लेट ताज़ा करने का दर" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "तंत्र मॉनिटर के रूप में डेस्कटॉप विवरण फ़ाइल" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/pl.po0000664000175000017500000002451312107670241013641 00000000000000# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Aviary.pl # Jeśli masz jakiekolwiek uwagi odnoszące się do tłumaczenia lub chcesz # pomóc w jego rozwijaniu i pielęgnowaniu, napisz do nas: # gnomepl@aviary.pl # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:19+0000\n" "Last-Translator: Kamil Warguła \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "X-Poedit-Country: Poland\n" "Language: pl\n" "X-Poedit-Language: Polish\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Monitor obciążenia systemu wyświetlający wykresy dla procesora, pamięci, " "przestrzeni wymiany oraz sieci." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Aviary.pl , 2008, 2009, 2010\n" "\n" "Launchpad Contributions:\n" " Kamil Warguła https://launchpad.net/~quamilek\n" " Michael Hofmann https://launchpad.net/~mh21\n" " Piotr Drąg https://launchpad.net/~raven46\n" " Stanisław Gackowski https://launchpad.net/~soeb" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Otwórz monitor systemu" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferencje" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_O programie" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Zakończ" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Monitorowane zasoby" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "Pamięć" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Sieć" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Obszar wymiany" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Obciążenie" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Dysk twardy" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Ustawienia" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Szerokość monitora systemu: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_Okres odświeżania monitora systemu: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pikseli" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisekund" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Automatyczne uruchamianie: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Kolory" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Użytkownik" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_System" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Nice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Bezczynny" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Dzielona" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Bufory" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Strony w _cache" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "W_olna" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Pamięć" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Wchodzący" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Wychodzący" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokalny" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Tło" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Sieć" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Używany" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "Wolny" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Przestrzeń wymiany" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Średnia" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Obciążenie" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Odczyt" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Zapis" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Dysk twardy." #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Elementy menu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Dostępne wykresy" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Czas odświeżania apletów w milisekundach" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Szerokość wykresu w pikselach" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Wysokość wykresu w pikselach" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Plik desktop do uruchomienia jako monitor systemu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Automatycznie uruchomienie podczas rozpoczęcia sesji" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Informacje wyświetlane jako elementy menu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Wykres wartości alfa" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Kolor tła wykresu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Widoczność wykresu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" "Minimalna wartość dla górnej krawędzi wykresu, 0 oznacza nieograniczoną " "wartość" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" "Maksymalna wartość dla górnej krawędzi wykresu, 0 oznacza nieograniczoną " "wartość" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "Liczba wartości używana do płynnego skalowania" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Dostępne ślady" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Wskaźnik obciążenia systemu" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Oblicz wyrażenie" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Lista dostępnych wyrażeń" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Wyświetlaj komunikaty debugujące" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "Uruchom \"%s --help\" aby wyświetlić pełną listę dostępnych opcji.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/mai.po0000664000175000017500000002371112107670241013773 00000000000000# translation of gnome-applets.HEAD.po to Maithili # Copyright (C) 2006 The GNOME Foundation # This file is distributed under the same license as the PACKAGE package. # BOSS GNU/Linux , 2008. msgid "" msgstr "" "Project-Id-Version: gedit.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:31+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "ई सिस्टम लोड मॉनीटर, सीपीयू, रैम, स्वैप फ़ाइल उपयोग क' सँग ही सँजाल ट्रेफिक " "क' आरेख बताबैमे समर्थ अछि" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "संगीता कुमारी (sangeeta09@gmail.com)\n" "\n" "Launchpad Contributions:\n" " Michael Hofmann https://launchpad.net/~mh21" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "सिस्टम मॉनीटर खोलू (_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "वरीयतासभ (_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "क' संबंधमे (_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "मॉनीटर्ड संसाधन" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "प्रोसेसर (_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "स्मृति (_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "संजाल (_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "स्वेप जगह (_w)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "लोड (_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "हार्ड डिस्क (_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "विकल्प" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "सिस्टम मॉनीटर चओड़ाइः (_o) " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "सिस्टम मॉनीटर अद्यतन अंतरालः (_t) " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "पिक्सेल्स" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "मिलीसेकेंड" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "रंग" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "प्रयोक्ता (_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "तंत्र (_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "नाइस (_i)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "निष्क्रिय (_d)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "प्रोसेसर" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "साझा (_a)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "बफ़र्स (_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "कैच्ड (_e)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "मुफ्त (_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "स्मृति" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "पृष्ठभूमि (_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "नेटवर्क" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "प्रयुक्त (_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "खाली (_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "स्वैप जगह" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "औसत (_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "लोड" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "पढ़ू (_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "लिखू (_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "हार्ड डिस्क" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "मिलीसेकण्डमे एप्लेट ताज़ा करबाक दर" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ta.po0000664000175000017500000002654712107670241013643 00000000000000# translation of gnome-applets.master.ta.po to Tamil # translation of gnome-applets.gnome-2-26.ta.po to # translation of ta.po to # Translation of gnome-applets. # Copyright (C) 2002, 2004, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. # # B Muthukumar , 2002. # Jayaradha N , 2004, 2006. # Felix , 2006. # drtvasudevan , 2006. # I felix , 2007. # Dr.T.Vasudevan , 2007, 2009, 2010. # I. Felix , 2008, 2009. # Dr,T,Vasudevan , 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets.master.ta\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:12+0000\n" "Last-Translator: drtvasudevan \n" "Language-Team: Tamil <>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ta\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "ஒரு 'ஏற்றுதலைக் கண்காணித்தல்' அமைப்பு ஸிபியு, ரேம் மற்றும் ஸ்வாப் " "ஆகியவற்றின் வரைபடங்களையும் கோப்பை பயன்படுத்துதலையும், வலையமைப்பின் " "போக்குவரத்தையும் காட்ட வல்லது" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "மொழிபெயர்ப்பாளர்-சன்மானம் /nB Muthukumar , " "2002./nJayaradha N , 2004, 2006./nFelix " ", 2006./ndrtvasudevan , 2006./n\n" "\n" "Launchpad Contributions:\n" " drtvasudevan https://launchpad.net/~agnihot3" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_த அமைப்புக் கண்காணியை திற" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_வ விருப்பங்கள்..." #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "பற்றி (_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "கண்காணிக்கப்பட்ட வளம்" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_ச செயலகம்" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_ந நினைவகம்" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_வலையமைப்பு" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_இட மாற்று நினைவகம்" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_பளு" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_வ நிலைவட்டு" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "விருப்பத்தேர்வுகள்" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_அமைப்புக்கண்காணியின் அகலம்: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_இ அமைப்புக்கண்காணியை புதுப்பித்தல் இடைவேளை நேரம்: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "படத் துணுக்குகள்" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "மில்லி வினாடிகள்" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "வண்ணங்கள்" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_பயனர்" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_கணினி" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_ந நைஸ்" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "_ஐஓவெயிட்" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_ச சும்மாயிருத்தல்" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "செயலகம்" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "ப_ங்கிடப்பட்டது" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_ட இடையகங்கள்" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_க கேச்ட்" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_எஞ்சியது" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "நினைவகம்" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_In" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "வெளியே (_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "இடம் (_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_ப பின்னணி" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "வலையமைப்பு" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_பயன்படுத்தப்பட்டது" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_எஞ்சியது" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "இட மாற்று நினைவக வெளி" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_சராசரி" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "பளு்றி" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_படி" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_எழுது" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "நிலைவட்டு" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "சிறுநிரல்களைப் புதுப்பிக்கும் வகையை மில்லி நொடிகளில் அமை" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "பணிமேடை விவர கோப்பு கணினி கண்காணிப்பாக செயல்படுத்தப்படுகிறது" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/en_GB.po0000664000175000017500000002316312107670241014200 00000000000000# English (British) translation of gnome-core # Copyright (C) 1999-2000 Free Software Foundation, Inc. # Robert Brady , 2000. # Gareth Owen , David Lodge , 2004. # Philip Withnall , 2009, 2010. # Bruce Cowan , 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets 1.1.2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:19+0000\n" "Last-Translator: Philip Withnall \n" "Language-Team: British English \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: en_GB\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Gareth Owen \n" "David Lodge \n" "Philip Withnall \n" "Bruce Cowan \n" "\n" "Launchpad Contributions:\n" " Chris Woollard https://launchpad.net/~cwoollard\n" " Philip Withnall https://launchpad.net/~drbob" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Open System Monitor" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferences" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_About" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Quit" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Monitored Resources" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memory" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Network" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "S_wap Space" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Load" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Harddisk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Options" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "System m_onitor width: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Sys_tem monitor update interval: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milliseconds" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Autostart: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Colours" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_User" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ystem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "I_dle" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Sh_ared" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffers" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Cach_ed" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "F_ree" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memory" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_In" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Out" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Local" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Background" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Network" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Used" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Free" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap Space" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Average" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Load" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Read" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Write" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Harddisk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Applet refresh rate in milliseconds" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Width of the graphs in pixels." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Height of the graphs in pixels." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "The desktop description file to execute as the system monitor" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Automatically start on session startup" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "System Load Indicator" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/Makefile.in.in0000644000175000017500000001604612107670254015344 00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # Copyright (C) 2004-2008 Rodney Dawes # # This file may be copied and used freely without restrictions. It may # be used in projects which are not available under a GNU Public License, # but which still want to provide support for the GNU gettext functionality. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # # - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ DATADIRNAME = @DATADIRNAME@ itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ # Automake >= 1.8 provides @mkdir_p@. # Until it can be supposed, use the safe fallback: mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS POTFILES = \ # This comment gets stripped out CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< .po.gmo: $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $$dir; \ if test -r $$lang.gmo; then \ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $(srcdir)/$$lang.gmo as" \ "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ if test -r $$lang.gmo.m; then \ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ if test -r $(srcdir)/$$lang.gmo.m ; then \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $(srcdir)/$$lang.gmo.m as" \ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done # Empty stubs to satisfy archaic automake needs dvi info ctags tags CTAGS TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck: uninstall: linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi mostlyclean: rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES stamp-it rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ test -f $$file || file="$(srcdir)/$$file"; \ ln $$file $(distdir) 2> /dev/null \ || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done Makefile POTFILES: stamp-it @if test ! -f $@; then \ rm -f stamp-it; \ $(MAKE) stamp-it; \ fi stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: indicator-multiload-0.3/po/dz.po0000664000175000017500000002617712107670241013653 00000000000000# Dzongkha translation of gnome-applets. # Copyright @ 2006 Free Software Foundation, Inc. # Mindu Dorji # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:26+0000\n" "Last-Translator: Dawa pemo \n" "Language-Team: DZONGKHA \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "X-Poedit-Country: BHUTAN\n" "Language: \n" "X-Poedit-Language: Dzongkha\n" "X-Poedit-SourceCharset: utf-8\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "ལས་སྦྱོར་ལྟེ་བ་དང་ རེམ་ བརྗེ་སོར་་བར་སྟོང་ལག་ལེན་ " "དེ་ལས་ཡོངས་འབྲེལ་འགྲུལ་ལམ་གྱི་དོན་ལུ་ ཚད་ཁྲམ་ཚུ་བཀྲམ་སྟོན་འབད་ནིའི་ " "ལྕོགས་གྲུབ་ཅན་གྱི་ རིམ་ལུགས་ལྗིད་ཚད་ལྟ་རྟོག་པ་ཅིག" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "ཨའི་ཌི་ཨར་སི་གི་མ་དངུལ་རྒྱབ་སྐྱོར་ཐོག་ལས་ བརྡ་དོན་འཕྲུལ་རིག་ལས་ཁུངས་ནང་ " "སྐད་བསྒྱུར་འབད་ཡི། ཁ་གསལ་གྱི་དོན་ལུ་ འབྲེལ་བ་འཐབ་ས་: " "/\n" "\n" "Launchpad Contributions:\n" " Dawa pemo https://launchpad.net/~daws-403" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "རིམ་ལུགས་ལྟ་རྟོག་པ་ཁ་ཕྱེ།(_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "དགའ་གདམ་ཚུ།\"(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "སྐོར་ལས།(_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "ལྟ་རྟོག་འབད་ཡོད་པའི་ཐོན་ཁུངས།" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "ལས་སྦྱོར་འཕྲུལ་ཆས།(_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "དྲན་ཚད།(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "ཡོངས་འབྲེལ།(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "བརྗེ་སོར་བར་སྟོང་།(_w)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "ལྗིད་ཚད།(_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "ཧརཌི་ཌིཀསི།(_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "གདམ་ཁ་ཚུ།" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "རིམ་ལུགས་གསལ་གཞིའི་གློག་འཕྲུལ་གྱི་རྒྱ་ཚད།(_o) " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "རིམ་ལུགས་ལྟ་རྟོག་པ དུས་མཐུན་བཟོ་བའི་བར་མཚམས།(_t) " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "པིག་སེལསི།" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "མི་ལི་སྐར་ཆ།" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "ཚོས་གཞི།" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "ལག་ལེན་པ།(_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "རིམ་ལུགས།(_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "ཆུང་ཀུ།(_i)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "ཨའི་ཨོ་ཝེཊི།(_O)" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "ལས་མེད།(_d)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "ལས་སྦྱོར་་འཕྲུལ་ཆས།" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "རུབ་སྤྱོད་འབད་ཡོདཔ།(_a)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "གནད་ཁོངས་ཚུ།(_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "འདྲ་མཛོད་ནང་བཞག་ཡོདཔ།(_e)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "དལཝ།(_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "དྲན་ཚད།" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "རྒྱབ་གཞི།(_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "ཡོངས་འབྲེལ།" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "ལག་ལེན་འཐབ་ཡོདཔ།(_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "དལཝ།(_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "བརྗེ་སོར་བར་སྟོང་།" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "ཆ་སྙོམས།(_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "ལྗིད་ཚད།" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "ལྷག(_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "བྲིས།(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "ཧརཌི་ཌིཀསི།" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "ཨེཔ་ལེཊི་ཡང་སེལ་གྱི་མྱུར་ཚད་ མི་ལི་སྐར་ཆའི་ནང་།" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/nn.po0000664000175000017500000002264512107670241013645 00000000000000# translation of nn.po to Norwegian Nynorsk # Norwegian (nynorsk) translation of gnome-applets # Copyright (C) 2001 Roy-Magne Mo # Kjartan Maraas , 2001. # Roy-Magne Mo , 2001. # Åsmund Skjæveland , 2003, 2004, 2006. # Torstein Adolf Winterseth , 2010. msgid "" msgstr "" "Project-Id-Version: nn\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:08+0000\n" "Last-Translator: Torstein A. W. \n" "Language-Team: Norwegian Nynorsk \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: nn\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Ein systemlastovervakar som kan visa grafar for bruk av CPU, RAM og virtuelt " "minne samt nettverkstrafikk." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Åsmund Skjæveland \n" "Roy-Magne Mo \n" "Kjartan Maraas \n" "Torstein Adolf Winterseth \n" "\n" "Launchpad Contributions:\n" " Torstein A. W. https://launchpad.net/~kvikende" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Opna systemvakt" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Brukarval" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Om" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Overvaka ressursar" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Prosessor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Minne" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Nettverk" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Veksleminne" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Last" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Harddisk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Val" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Breidde på syste_mvakta: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Oppda_ter kor ofte: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pikslar" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisekund" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Fargar" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Br_ukar" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ystem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "n_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "T_omgang" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Prosessor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "D_elt" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffer" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "M_ellomlagra" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Ledig" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Minne" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Inn" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Ut" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokal" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Bakgrunn" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Nettverk" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Br_ukt" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Ledig" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Veksleminne" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Snitt" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Last" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Les:" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Skriv:" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Harddisk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Kor ofte panelprogrammet friskar opp, i millisekund" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Skrivebordsskildringsfila å køyra som systemovervakaren" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/sk.po0000664000175000017500000002477712107670241013657 00000000000000# gnome-applets Slovak translation. # Copyright (C) 2000-2007 Free Software Foundation, Inc. # # Stanislav Visnovsky , 2000-2004. # Marcel Telka , 2005. # Peter Tuharsky , 2007, 2008. msgid "" msgstr "" "Project-Id-Version: gnome-applets HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:58+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Slovak \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "X-Poedit-Country: SLOVAKIA\n" "Language: sk\n" "X-Poedit-Language: Slovak\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Sledovač zaťaženia systému, ktorý zobrazuje grafy pre procesor, pamäť, " "odkladací súbor a sieťový prenos." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Stanislav Višňovský\n" "Marcel Telka \n" "Peter Tuhársky \n" "\n" "Launchpad Contributions:\n" " Fpfilko https://launchpad.net/~fpfilko\n" " Michael Hofmann https://launchpad.net/~mh21\n" " tuharsky https://launchpad.net/~tuharsky" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Otvoriť sledovanie systému" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Predvoľby" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_O programe" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "U_končiť" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Sledované zdroje" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "Pa_mäť" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Sieť" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Odkladací súbor" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Zaťaženie" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Pevný disk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Možnosti" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Ší_rka sledovača: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_Rýchlosť sledovača: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "bodov" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisekúnd" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Autoštart: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Farby" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Po_užívateľ" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Systém" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Nice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "Čakanie na I_O" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "N_ečinný" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Zdieľaná" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffery" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Vo vyrovnávacej pamäti" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "V_oľná" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Pamäť" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Vstup" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "Vý_stup" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokálne" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Po_zadie" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Sieť" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Použitá" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Voľná" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Odkladací súbor" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Priemer" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Zaťaženie" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "Čí_tanie" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Zápis" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Pevný disk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Položky menu..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Dostupné grafy" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Rýchlosť aktualizácie apletu v milisekundách" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Šírka grafov v bodoch" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Výška grafu v bodoch" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Opisný súbor na ploche, ktorý sa má vykonať ako systémový monitor" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Spustiť pri prihlasení" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Informácie zobrazené v ukazovateli" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "Zoznam aktuálnych informácií zobrazených v ukazovateli" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Informácie zobrazené ako položky v menu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Hodnota alfa kanála grafu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Farba pozadia grafu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Viditeľnosť grafu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Minimálna hodnota pre horný okraj grafu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "Maximálna hodnota pre horný okraj grafu, nula znamená neobmedzená" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "Počet hodnôt použitých na plynulé škálovanie grafu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Dostupné sledovače" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Farba sledovača" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "Výraz sledovača" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Viditeľnosť sledovača" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Sledovače zobrazené" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Ukazovateľ zaťaženia systému" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Vyhodnotiť výraz" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Zoznam dostupných mien výrazov" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Zobraziť ladiace správy" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "- Ukazovateľ zaťaženia aplikácií systému" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Spustením '%s --help' zobrazíte úplný zoznam dostupných volieb príkazového " "riadku.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" msgstr[1] "%u B" msgstr[2] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u B/s" msgstr[1] "%u B/s" msgstr[2] "%u B/s" indicator-multiload-0.3/po/ro.po0000664000175000017500000002345012107670241013645 00000000000000# translation of gnome-applets.HEAD.ro.po to Română # Romanian translation for gnome-applets. # Copyright (C) Free Software Foundation, Inc. # TODO : threshold, readout, basic, custom # sliding, goofy, dew, caveat spurious Despeckle Emboss Frills, threshold # Marius Andreiana , 2000. # Dan Damian , 2000, 2001. # Mugurel Tudor , 2002-2004, 2005, 2006. # Lucian Adrian Grijincu , 2009, 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD.ro\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:38+0000\n" "Last-Translator: Lucian Adrian Grijincu \n" "Language-Team: Romanian Gnome Team \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n == 1 ? 0: (((n % 100 > 19) || ((n % 100 " "== 0) && (n != 0))) ? 2: 1));\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ro\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Un monitor al sistemului capabil de a afișa grafice despre CPU, ram, swap " "folosit, plus traficul pe rețea." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Marius Andreiana \n" "Dan Damian \n" "Mugurel Tudor \n" "Lucian Adrian Grijincu \n" "\n" "Launchpad Contributions:\n" " Lucian Adrian Grijincu https://launchpad.net/~lucian.grijincu" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Deschide M_onitor sistem" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferințe" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Despre" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Resurse monitorizate" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesor:" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memorie" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rețea" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Spațiu s_wap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "Î_ncărcare" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Disc" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opțiuni" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Lățime m_onitor sistem: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Interval de ac_tualizare monitorizare: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pixeli" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisecunde" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Culori" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Utilizator" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Ne_folosit" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "P_artajat" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffere" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Ca_che" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Libe_r" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memorie" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Intrare" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "I_eșire" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Local" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Fundal" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rețea" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "F_olosit" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Liber" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Încărc_are medie" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Încărcare" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "Citi_re" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Scriere" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disc" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Rata de reîmprospătare a miniaplicației, în milisecunde" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Fișierul de descriere pentru spațiul de lucru de executat ca monitor de " "sistem" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/am.po0000664000175000017500000002144512107670241013624 00000000000000# Translations into the Amharic Language. # Copyright (C) 2002 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # Ge'ez Frontier Foundation , 2002. # # msgid "" msgstr "" "Project-Id-Version: gnome-applets 2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:17+0000\n" "Last-Translator: Daniel Yacob \n" "Language-Team: Amharic \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: am\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Daniel Yacob https://launchpad.net/~locales" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "ማስታወሻ (_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_መረብ" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "ምርጫዎች" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "" #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "" #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "ሚሊሴኮንዶች" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "ቀለሞች" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "ተጠቃሚ" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "ሲስተም" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "ነፃ (_R)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "ማስታወሻ" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "ቅርበት (_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "ርቀት (_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_መደብ" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "መረብ" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "ነፃ (_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/nb.po0000664000175000017500000002236412107670241013627 00000000000000# Norwegian translation of gnome-applets (bokmål dialect). # Copyright (C) 1998-2004, 2005 Free Software Foundation, Inc. # Kjartan Maraas , 1998-2010. # Terance Edward Sola , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-applets 2.31.x\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:47+0000\n" "Last-Translator: Kjartan Maraas \n" "Language-Team: Norwegian Bokmal \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: nb\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Systemmonitor som kan vise grafer for bruk av CPU, RAM og bruk av swap i " "tillegg til nettverkstrafikk." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Kjartan Maraas \n" "\n" "Launchpad Contributions:\n" " Kjartan Maraas https://launchpad.net/~kmaraas" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Åpne systemmonitor" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Brukervalg" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Om" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Overvåkede ressurser" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Prosessor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Minne" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Nettverk" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "S_wap-område" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "Bel_astning" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Harddisk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Alternativer" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Bredde for systemm_onitor: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Oppdateringsintervall for sys_temmonitor: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "piksler" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisekunder" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Farger" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Br_uker" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ystem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Sn_ill" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Tom_gang" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Prosessor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "D_elt" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buffere" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "M_ellomlagret" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Le_dig" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Minne" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Inn" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Ut" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokal" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Bakgrunn" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Nettverk" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Br_ukt" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "L_edig" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap-område" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Gjennomsnitt" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Belastning" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Les" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Skriv" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Harddisk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Oppdateringsintervall i millisekunder" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Skrivebordsfil som skal kjøres som systemmonitor" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ca.po0000664000175000017500000002402612107670241013610 00000000000000# Catalan translation of gnome-applets. # Copyright © 1999-2009 Free Software Foundation, Inc. # This file is copyrighted under the same license as the gnome-applets package. # Ivan Vilata i Balaguer , 1999, 2000. # Softcatalà , 2000. # Jordi Mallach , 2002, 2003, 2004, 2005. # Josep Puigdemont , 2005, 2006. # Xavier Conde Rueda , 2006 # Joan Duran , 2008-2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:17+0000\n" "Last-Translator: Joan Duran \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ca\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Un monitor de la càrrega del sistema que pot mostrar gràfiques d'ús de cada " "processador, memòria, i espai d'intercanvi usats, a més del trànsit de xarxa." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Ivan Vilata i Balaguer \n" "Softcatalà \n" "Jordi Mallach \n" "Josep Puigdemont \n" "Xavier Conde Rueda \n" "Joan Duran \n" "\n" "Launchpad Contributions:\n" " Isaace https://launchpad.net/~izotop510\n" " Joan Duran https://launchpad.net/~jodufi" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Obre el monitor del sistema" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferències" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Quant a" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Surt" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Recursos dels quals es fa el seguiment" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Processador" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memòria" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Xarxa" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Espai d'intercan_vi" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Càrrega" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Disc dur" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opcions" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Amplada del mo_nitor del sistema: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Interval entre actualitzacions del monitor del _sistema: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "píxels" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "mil·lisegons" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Colors" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Usuari" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "Sis_tema" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Pr_ioritat" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "In_actiu" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Processador" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Comp_artida" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "Memòria intermè_dia" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "En m_emòria cau" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Lliu_re" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memòria" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Entrada:" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Sortida" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Local" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "F_ons" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Xarxa" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Utilitzada" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Lliure" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Espai d'intercanvi" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Mitj_ana" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Càrrega" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lectura" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Escriptura" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disc dur" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Interval de refresc de la miniaplicació en mil·lisegons" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "El fitxer de descripció de l'escriptori a executar com a monitor del sistema" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Indicador de la càrrega del sistema" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/pa.po0000664000175000017500000002435212107670241013627 00000000000000# translation of gnome-applets.HEAD.po to Punjabi # This file is distributed under the same license as the gnome-applets.hi package. # Copyright (C) 2004 THE gnome-applets'S COPYRIGHT HOLDER # # # Amanpreet Singh Alam , 2004. # A S Alam , 2005, 2006, 2007, 2008, 2009, 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:06+0000\n" "Last-Translator: A S Alam \n" "Language-Team: Punjabi/Panjabi \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "CPU (ਪਰੋਸੈਸਰ), RAM ਵਰਤੋਂ, ਸਵੈਪ ਵਰਤੋਂ, ਨੈਟਵਰਕ ਟਰੈਫਿਕ ਗਰਾਫ਼ ਵੇਖਾਉਣ ਵਾਲਾ ਸਿਸਟਮ " "ਲੋਡ ਨਿਗਰਾਨ ਹੈ।" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "ਅਮਨਪਰੀਤ ਸਿੰਘ ਆਲਮਵਾਲਾ, ੨੦੦੪-੨੦੧੦\n" "ਪੰਜਾਬ ਓਪਨ ਸੋਰਸ ਟੀਮ (POST)\n" "http://www.satluj.com\n" "\n" "Launchpad Contributions:\n" " A S Alam https://launchpad.net/~aalam-users" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "ਸਿਸਟਮ ਨਿਗਰਾਨ ਖੋਲ੍ਹੋ(_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "ਮੇਰੀ ਪਸੰਦ(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "ਇਸ ਬਾਰੇ(_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "ਸਰੋਤ ਨਿਗਰਾਨੀ" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "ਪਰੋਸੈਸਰ(_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "ਮੈਮੋਰੀ(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "ਨੈੱਟਵਰਕ(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "ਸਵੈਪ ਥਾਂ(_w)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "ਲੋਡ(_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "ਹਾਰਡ ਡਿਸਕ(_H)" # gnome-session/session-properties-capplet.c:217 #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "ਚੋਣ" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "ਸਿਸਟਮ ਨਿਗਰਾਨ ਚੌੜਾਈ(_o): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "ਸਿਸਟਮ ਨਿਗਰਾਨ ਅੱਪਡੇਟ ਅੰਤਰਾਲ(_t): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "ਪਿਕਸਲ" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "ਮਿਲੀਸਕਿੰਟ" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "ਰੰਗ" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "ਯੂਜ਼ਰ(_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "ਸਿਸਟਮ(_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "ਨਾਈਸ(_i)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_O ਉਡੀਕ" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "ਵੇਹਲ(_d)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "ਪਰੋਸੈਸਰ" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "ਸਾਂਝੀ(_a)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "ਬਫ਼ਰ(_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "ਕੈਂਚੇ(_e)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "ਖਾਲੀ(_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "ਮੈਮੋਰੀ" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "ਇਨ(_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "ਬਾਹਰ(_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "ਲੋਕਲ(_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "ਬੈਕਗਰਾਊਂਡ(_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "ਨੈੱਟਵਰਕ" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "ਵਰਤੀ(_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "ਖਾਲੀ(_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "ਸਵੈਪ ਥਾਂ" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "ਔਸਤ(_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "ਲੋਡ" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "ਪੜ੍ਹਨ(_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "ਲਿਖਣ(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "ਹਾਰਡ-ਡਿਸਕ" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "ਐਪਲਿਟ ਤਾਜ਼ਾ ਦਰ ਮੁੱਲ (ਮਿਲੀਸਕਿੰਟ ਵਿੱਚ)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "ਸਿਸਟਮ ਨਿਗਰਾਨ ਵਜੋਂ ਚਲਾਉਣ ਲਈ ਡੈਸਕਟਾਪ ਵੇਰਵਾ ਫਾਇਲ" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/lv.po0000664000175000017500000002314312107670241013645 00000000000000# translation of lv.po to Latvian # gnome-applets for Latvian. # Copyright (C) 2002, 2006, 2009 Free Software Foundation, Inc. # # Artis Trops , 2002. # Peteris Krisjanis , 2006. # Peteris Krisjanis , 2006. # Raivis Dejus , 2006, 2009. # Anita Reitere , 2010. msgid "" msgstr "" "Project-Id-Version: lv\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:49+0000\n" "Last-Translator: Nita \n" "Language-Team: Latviešu \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Sistēmas noslodzes pārraugs, kas var attēlot grafikus ar CPU, atmiņas un " "maiņvietas lietojumu, kā arī tīkla plūsmas noslodzi." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Pēteris Krišjānis \n" "Artis Trops \n" "Raivis Dejus \n" "Anita Reitere \n" "\n" "Launchpad Contributions:\n" " Nita https://launchpad.net/~nitalynx" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Atvērt sistēmas pārraugu" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Iestatījumi" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "P_ar" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Pārraudzītie resursi" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesors" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Atmiņa" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Tīkls" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Maiņvieta" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Noslodze" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Cietais disks" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Iestatījumi" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Sistēmas pār_rauga platums: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Sis_tēmas pārrauga atjaunināšanas intervāls: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pikseļi" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisekundes" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Krāsas" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Lietotājs" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istēma" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "J_auks" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_O gaidīšana" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Dī_kstāvē" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesors" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Koplietots" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Buferi" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "K_ešots" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "B_rīva" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Atmiņa" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Ienākošā" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "I_zejošā" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokālā" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Fons" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Tīkls" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Izmantoti" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Brīvi" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Maiņvieta" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Vidēji" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Noslodze" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lasīt" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Rakstīt" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Cietais disks" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Sīkrīka atjaunināšanās biežums milisekundēs" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Darbvirsmas apraksta fails, ko izpildīt kā sistēmas pārraugu" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/eo.po0000664000175000017500000002251712107670241013633 00000000000000# Esperanto translation for gnome-applets # Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 # This file is distributed under the same license as the gnome-applets package. # Joop EGGEN , 2006. # Kristjan SCHMIDT , 2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:16+0000\n" "Last-Translator: Kristjan SCHMIDT \n" "Language-Team: Esperanto \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: eo\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Sistemŝarga vidigilo kapabla vidigi diagramojn por uzo de CPU, labormemoro, " "kaj virtuala memoro, plus reta trafiko." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Joop EGGEN \n" "Launchpad Contributions:\n" " Kristjan SCHMIDT https://launchpad.net/~kristjan-eo" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Malfermu sistemvidigilon" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Agordoj" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Pri" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Monitorata risurcoj" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesoro" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memoro" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Reto" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Virtuala memoro" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "Ŝar_go" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Fiksita disko" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opcioj" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Sistemmonitora larĝo: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Sistemmonitora ĝisdatiga intervalo: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "bilderoj" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisekundoj" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Koloroj" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Uzanto" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istemo" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "A_fableco" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "Eneliga _atendo" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Senlabora" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesoro" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Komun_a" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Bufroj" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Kaŝm_emora" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Libe_ra" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memoro" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_En" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_El" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Loka" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Fono" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Reto" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Uzata" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Libera" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Virtuala memoro" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Meznombro" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Ŝargo" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lego" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Skribo" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Fiksita disko" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Aplikaĵeta refreŝiga grado en milisekundoj" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "La labortabla priskriba dosiero plenumenda kiel sistemobservilo" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/de.po0000664000175000017500000002772712107670241013630 00000000000000# German gnome-applets translation # Copyright (C) 1999-2004 Free Software Foundation, Inc. # Carsten Schaar , 1998. # Matthias Warkus , 1999, 2000. # Karl Eichwalder , 2000. # Benedikt Roth , 2000. # Christian Neumair , 2002-2004. # Hendrik Richter , 2004-2009. # Hendrik Brandt , 2004-2005. # Jochen Skulj , 2006. # Mario Blättermann , 2009, 2010. # Mario Klug , 2009, 2010. # Christian Kirbach , 2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:26+0000\n" "Last-Translator: Mario Blättermann \n" "Language-Team: Deutsch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Eine Systemlastanzeige, die Graphen für Prozessor-, Arbeitsspeicher- und " "Auslagerungsspeicherlast sowie den Netzwerkverkehr anzeigen kann." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Karl Eichwalder \n" "Christian Meyer \n" "Christian Neumair \n" "Benedikt Roth \n" "Carsten Schaar \n" "Jörgen Scheibengruber \n" "Matthias Warkus \n" "Hendrik Brandt \n" "Mario Blättermann \n" "Mario Klug \n" "Christian Kirbach \n" "\n" "Launchpad Contributions:\n" " Daniel Winzen https://launchpad.net/~q-d\n" " Dennis Baudys https://launchpad.net/~thecondordb\n" " Flames_in_Paradise https://launchpad.net/~ellisistfroh\n" " Ghenrik https://launchpad.net/~ghenrik-deactivatedaccount\n" " Mario Blättermann https://launchpad.net/~mario.blaettermann\n" " Michael Hofmann https://launchpad.net/~mh21\n" " Sascha https://launchpad.net/~skbierm-deactivatedaccount\n" " d-snake https://launchpad.net/~dsnake\n" " thomas https://launchpad.net/~thomas-heuer" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Systemmonitor ö_ffnen" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Einstellungen" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Info" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Beenden" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Überwachte Ressourcen" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Prozessor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Speicher" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Netzwerk" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Auslagerungsspeicher" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Last" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Festplatte" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Einstellungen" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "B_reite des Systemmonitors: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_Aktualisierungsintervall des Systemmonitors: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "Pixel" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "Millisekunden" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Autostart " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Farben" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Benutzer" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_ystem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "P_riorität" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "E_AWarten" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Leerlauf" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Prozessor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Gemeinsam" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "P_uffer" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Zwischengespeichert" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Frei" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Speicher" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Ein" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Aus" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Lokal" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Hintergrund" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Netzwerk" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Belegt" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Frei" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Auslagerungsspeicher" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Last_mittel" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Last" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lesen" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Schreiben" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Festplatte" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Menüobjekte ..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "Verfügbare Graphen" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Aktualisierungsintervall des Applets in Millisekunden" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Breite der Graphen in Pixel" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Höhe der Graphen in Pixel" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Die beim Anklicken zu startende .desktop-Datei" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Automatisch beim Hochfahren starten" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "Informationen die im Indikator selbst angezeigt werden" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" "Verzeichnis der gegenwärtigen Informtionen, die im Indikator selbst " "angezeigt werden" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" "[ \"CPU: $(percent(cpu.inuse)), warten $(percent(cpu.io))\", \"Speicher: " "$(size(mem.user)), Cache $(size(mem.cached))\", \"Netwerk: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Last: $(decimals(load.avg,2))\", \"Festplatte: lesen $(speed(disk.read)), " "schreiben $(speed(disk.write))\" ]" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "Informationen die als Menüeinträge angezeigt werden" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "Graph Alphawert" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "Graph Hintergrundfarbe" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "Graph Sichtbarkeit" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "Minimalwerte für obere Graphränder" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "Maximalwerte für obere Graphränder, Null bedeutet uneingeschränkt" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" "Anzahl an Werten die dargestellt werden sollen für eine sanfte graphische " "Skalierung" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "Verfügbare Protokollierungen" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "Protokollierungsfarbe" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "Protokollierungsausdruck" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "Protokollierungssichtbarkeit" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "Angezeigte Protokollierungen" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Systemlastanzeige" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "Berechne einen Ausdruck" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "Auflistung verfügbarer Ausdruck-Identifikatoren" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Debug-Meldungen anzeigen" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "- Systemlast Anwendungsindikator" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Führen Sie »%s --help« aus, um eine vollständige Liste von verfügbaren " "Befehlszeilenoptionen zu erhalten.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" msgstr[1] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u B/s" msgstr[1] "%u B/s" indicator-multiload-0.3/po/si.po0000664000175000017500000002271612107670241013644 00000000000000# translation of si.po to Sinhala # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Danishka Navin , 2007. # Danishka Navin , 2008. msgid "" msgstr "" "Project-Id-Version: si\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:21+0000\n" "Last-Translator: Danishka Navin \n" "Language-Team: Sinhala \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: si\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "පරිවර්තන ස්තුතිය\n" "\n" "Launchpad Contributions:\n" " Danishka Navin https://launchpad.net/~danishka" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "පද්ධති නිරීක්‍ෂකය විවෘත කරන්න (_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "අභිප්‍රේත (_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "සම්බන්ධව (_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "නිරීක්‍ෂණය කළ සම්පත්" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "මතකය (_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "ජාලය (_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "දෘඩ තැටිය (_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "විකල්ප" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "පද්ධති නිරීක්‍ෂකයේ පළල (_o): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "පද්ධති නිරීක්‍ෂකය යාවත් කාළීන වන කාල පරතරය (_t): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "පික්සල" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "මිලි තත්පර" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "වර්‍ණ" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "පරිශීලක (_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "පද්ධතිය (_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "භාවිතා නොකළ (_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "මතකය" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "පසුබිම (_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "ජාලය" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "භාවිතා කළ (_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "භාවිතා නොකළ (_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "පූරණය" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "කියවීම (_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "ලිවීම (_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "දෘඩ තැටිය" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/bn.po0000664000175000017500000003000412107670241013615 00000000000000# Bengali translation of gnome-applets # This file is distributed under the same license as the gnome-applets package. # Copyright (C) 2003, 2006, 2007 Free Software Foundation, Inc. # # Sayamindu Dasgupta , 2003. # Mahay Alam Khan , 2005. # Samia Niamatullah , 2005. # Runa Bhattacharjee , 2006, 2007. # Khandakar Mujahidul Islam , 2007. # Sadia Afroz , 2010. # Israt Jahan , 2010. # msgid "" msgstr "" "Project-Id-Version: bn\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:43+0000\n" "Last-Translator: Istiaque Ahamed \n" "Language-Team: Bengali \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: bn\n" # msgstr "চাপ গড়" # msgstr "গড় ভার" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "CPU, ram, swap-র ব্যবহার ও নেটওয়ার্ক ট্রাফিক প্রভৃতিসহ সিস্টেমের উপর চাপ " "নিরীক্ষণ ব্যবস্থা।" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "অঙ্কুর প্রকল্পের পক্ষে, সায়মিন্দু দাশগুপ্ত \n" "মাহে আলম খান \n" "সামিয়া নিয়ামতুল্লাহ \n" "রুণা ভট্টাচার্য্য \n" "খন্দকার মুজাহিদুল ইসলাম \n" "সাদিয়া আফরোজ \n" "ইসরাত জাহান \n" "\n" "Launchpad Contributions:\n" " Ishak Herock https://launchpad.net/~ourherock\n" " Israt Jahan https://launchpad.net/~israt\n" " Istiaque Ahamed https://launchpad.net/~istiaque\n" " Shahnoor Ashraf https://launchpad.net/~kaziweb" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "সিস্টেম পর্যবেক্ষণ আরম্ভ করুন (_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "পছন্দসমূহ (_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "সম্বন্ধে" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Quit" # msgstr "মোট ভার" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "নিরীক্ষিত রিসোর্স" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "প্রসেসর (_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "মেমরি(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "নেটওয়ার্ক(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Swap স্থান(_w)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "লোড (_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "হার্ড-ডিস্ক (_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "অপশন" # msgstr "_ভার" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "সিস্টেম পর্যবেক্ষনের প্রস্থ: (_o) " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "সিস্টেম পর্যবেক্ষণ তথ্য আপডেটের মধ্যবর্তী বিরতিকাল: (_t) " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "পিক্সেল" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "মিলি-সেকেন্ড" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Autostart: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "রঙ" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "ব্যবহারকারী (_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "সিস্টেম (_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "সুন্দর (_i)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "কর্মবিহীন (_d)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "প্রসেসর" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "যৌথরূপে ব্যবহৃত (_a)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "বাফার (_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "ক্যাশে করা (_e)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "মুক্ত (_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "মেমরি" # Translated by sadia #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "ভিতরে (_I)" # msgstr "উপযোগিতা" # উহুঁ - হবে না # # Translated by sadia #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "বাইরে (_O)" # Translated by sadia #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "স্থানীয় (_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "পটভূমি (_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "নেটওয়ার্ক" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "ব্যবহৃত (_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "মুক্ত (_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap স্থান" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "গড় (_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "লোড" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "পড়া (_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "লেখা (_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "হার্ড-ডিস্ক" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "তালিকাভুক্ত বিষয়সমূহ" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "বিদ্যমান লেখচিত্রসমূহ" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "মিলিসেকেন্ডে অ্যাপ্লেটের পরিবর্তনের হার" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" # Translated by sadia #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "ডেক্সটপ বর্ণনাকারী ফাইলকে সিস্টেম পর্যবেক্ষক হিসেবে এক্সিকিউট করতে হবে" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "প্রারম্ভকালে স্বয়ংক্রিয় ভাবে শুরু" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "সিস্টেম লোড নির্দেশক" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} কি.বা." #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} মে.বা." #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} গি.বা." #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} কি.বা/সে." #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} মে.বা./সে." #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} গি.বা/সে." #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "টে.বা/সে." #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/sr.po0000664000175000017500000002435312107670241013654 00000000000000# Serbian translation of gnome-applets # Courtesy of Prevod.org team (http://prevod.org/) -- 2003, 2004, 2005, 2006. # # This file is distributed under the same license as the gnome-applets package. # # Maintainer: Данило Шеган # Reviewed on 2005-09-03 by: Игор Несторовић # Милош Поповић , 2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:29+0000\n" "Last-Translator: Miloš Popović \n" "Language-Team: Serbian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: sr\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Праћење оптерећења система омогућава приказ графика за процесор, меморију, и " "меморију на диску, а уз то и мрежни саобраћај." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Данило Шеган \n" "\n" "http://prevod.org — превод на српски језик.\n" "\n" "Launchpad Contributions:\n" " Miloš Popović https://launchpad.net/~gpopac" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Покрени Праћење система" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Поставке" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_О програму" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Праћени ресурси" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Процесор" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Меморија" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "М_режа" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Замена за меморију (swap)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Оптерећење" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Тврди диск" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Опције" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Ширина програмчета: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_Време између два освежавања приказа: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "пиксела" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "милисекунди" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Боје" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Корисник" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Систем" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Мање приоритетно" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "У_Ичекање" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Неупослен" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Процесор" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Дељена" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Бафери" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Кеш_ирана" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Слободна" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Меморија" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Примљено" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "П_ослато" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Локално" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Позадина" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Мрежа" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Ис_коришћено" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Слободно" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Замена за меморију (swap)" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Про_сечно" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Оптерећење" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Читање" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Упис" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Тврди диск" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Брзина освежавања програмчета у милисекундама" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" # Јел ок овако? #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Покретачка датотека коју треба покренути као програм за праћење система" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/kn.po0000664000175000017500000002473012107670241013637 00000000000000# translation of gnome-applets.master.kn.po to Kannada # translation of gnome-applets.HEAD.po to # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Shankar Prasad , 2008, 2009, 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets.master.kn\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:57+0000\n" "Last-Translator: shankar Prasad \n" "Language-Team: kn-IN <>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: en\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "ಒಂದು ಗಣಕದ ಲೋಡ್‌ ಮೇಲ್ವಿಚಾರಕವು CPU ram, ಹಾಗು ಸ್ವಾಪ್‌ ಬಳಕೆ ಜಾಗ, ಹಾಗು ಜಾಲಬಂಧದ " "ಟ್ರಾಫಿಕ್‌ಗಾಗಿನ ನಕ್ಷೆಗಳನ್ನು ತೋರಿಸಲು ಶಕ್ತವಾಗಿರುತ್ತದೆ." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "ಶಂಕರ್ ಪ್ರಸಾದ್ ಎಂ. ವಿ.\n" "\n" "Launchpad Contributions:\n" " shankar Prasad https://launchpad.net/~svenkate" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "ತೆಗೆ ಗಣಕ ಮೇಲ್ವಿಚಾರಕವನ್ನು ತೆರೆ(_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "ಆದ್ಯತೆಗಳು(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "ಇದರ ಬಗ್ಗೆ(_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "ಮೇಲ್ವಿಚಾರಣೆ ಮಾಡಲಾದ ಸಂಪನ್ಮೂಲಗಳು" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "ಸಂಸ್ಕಾರಕ(_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "ಮೆಮೊರಿ(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "ಜಾಲಬಂಧ(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "ಸ್ವಾಪ್ ಜಾಗ(_w)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "ಲೋಡ್(_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "ಹಾರ್ಡ್-ಡಿಸ್ಕ್‍(_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "ಆಯ್ಕೆಗಳು" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "ಗಣಕ ಗಣಕ ಮೇಲ್ವಿಚಾರಕದ ಅಗಲ(_o): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "ಗಣಕದ ಮೇಲ್ವಿಚಾರಣೆಯ ಅಪ್‌ಡೇಟ್ ಕಾಲಾವಧಿ(_t): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "ಪಿಕ್ಸೆಲ್‍ಗಳು" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "ಮಿಲಿಸೆಕೆಂಡುಗಳು" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "ಬಣ್ಣಗಳು" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "ಬಳಕೆದಾರ(_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "ಗಣಕ(_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "ನೈಸ್(_i)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "ಜಡ(_d)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "ಸಂಸ್ಕಾರಕ" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "ಹಂಚಲಾದ(_a)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "ಬಫರ್ಸ್(_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "ಕ್ಯಾಚ್ ಆದ(_e)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "ಮುಕ್ತ(_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "ಮೆಮೊರಿ" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "ಒಳಗೆ(_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "ಹೊರಗೆ(_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "ಸ್ಥಳೀಯ(_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "ಹಿನ್ನಲೆ(_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "ಜಾಲಬಂಧ" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "ಬಳಕೆಯಾದ(_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "ಮುಕ್ತ(_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "ಸ್ವಾಪ್ ಜಾಗ" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "ಸಾಧಾರಣ(_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "ಲೋಡ್" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "ಓದು(_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "ಬರೆ(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "ಹಾರ್ಡ್-ಡಿಸ್ಕ್‍" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "ಮಿಲಿಸೆಕೆಂಡುಗಳಲ್ಲಿ ಆಪ್ಲೆಟ್‍ನ ಪುನಶ್ಚೇತನ ದರ" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "ಗಣಕದ ಮೇಲ್ವಿಚಾರಕವಾಗಿ ಕಾರ್ಯಗತಗೊಳಿಸಬೇಕಿರುವ ಗಣಕತೆರೆ ವಿವರಣೆಗಾರ ಕಡತ" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/gu.po0000664000175000017500000002452612107670241013645 00000000000000# translation of gnome-applets.master.gu.po to Gujarati # Ankit Patel , 2005, 2006. # Ankit Patel , 2005, 2007, 2008, 2009. # Sweta Kothari , 2008, 2009. msgid "" msgstr "" "Project-Id-Version: gnome-applets.master.gu\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:31+0000\n" "Last-Translator: Sweta Kothari \n" "Language-Team: Gujarati\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: \n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "સિસ્ટમ લોડ મોનિટર CPU, ram, અને વપરાયેલ સ્વેપ જગ્યા, વત્તા નેટવર્કનો ટ્રાફિક " "માટે આલેખો બતાવવા માટે સક્ષમ હોય છે." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "અંકિત પટેલ , શ્ર્વેતા કોઠારી \n" "\n" "Launchpad Contributions:\n" " Sweta Kothari https://launchpad.net/~swkothar" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "સિસ્ટમ મોનીટર ખોલો (_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "પસંદગીઓ (_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "વિશે (_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "જોવાઈ ગયેલા સ્રોતો" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "પ્રોસેસર (_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "મેમરી (_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "નેટવર્ક (_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "અદલબદલની જગ્યા (_w)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "બોજો (_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "હાર્ડ ડિસ્ક (_H)" # gnome-session/session-properties-capplet.c:217 #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "વિકલ્પો" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "સિસ્ટમ મોનીટરની પહોળાઈ: (_o) " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "સિસ્ટમ મોનીટર બદલવાનો અંતરાલ: (_t) " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "બિંદુઓ" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "મિલિસેકન્ડો" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "રંગો" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "વપરાશકર્તા (_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "સિસ્ટમ (_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "સરસ (_i)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "IOWait (_O)" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "નિષ્ક્રિય (_d)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "પ્રોસેસર" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "સહભાગી (_a)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "બફરો (_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "કેશવાળી (_e)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "મુક્ત (_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "મેમરી" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "માં (_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "બહાર (_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "સ્થાનિય (_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "પાશ્વ ભાગ (_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "નેટવર્ક" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "વપરાયેલ (_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "મુક્ત (_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "અદલબદલની જગ્યા" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "સરેરાશ (_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "લાવો" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "વાંચો (_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "લખો (_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "હાર્ડ ડિસ્ક" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "એપ્લેટનો ફરીથી તાજા થવાનો દર મિલિસેકન્ડમાં" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "સિસ્ટમ મોનીટર તરીકે ચલાવવા માટે ડેસ્કટોપ વર્ણન ફાઇલ" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/LINGUAS0000664000175000017500000000046212107670161013711 00000000000000af am ar as ast az be bg bn br bs ca ca@valencia crh cs cy da de dz el en_CA en_GB eo es et eu fa fi fo fr ga gl gu he hi hr hu hy id is it ja ka kk kn ko ku ky lt lv mai mg mk ml mn mr ms nb ne nl nn oc or pa pl ps pt_BR pt ro ru rw si sk sl sq sr@latin sr sv ta te th tr ug uk vi wa xh zh_CN zh_HK zh_TW indicator-multiload-0.3/po/gl.po0000664000175000017500000002452612107670241013634 00000000000000# translation of gnome-applets-master-po-gl-18973.po to Galician # Galician translation of gnome-applets. # Copyright (C) 1999-2002 Jesús Bravo Álvarez # # Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas # colaborar connosco, podes atopar máis información en http://www.trasno.net # # First Version: 1999-10-07 15:15+0200 # # Jesús Bravo Álvarez , 1999-2002. # Ignacio Casal Quinteiro , 2005, 2006. # Ignacio Casal Quinteiro , 2008. # Mancomún - Centro de Referencia e Servizos de Software Libre , 2009. # Suso Baleato , 2009. # Fran Dieguez , 2009. # Antón Méixome , 2009. # Fran Diéguez , 2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets-master-po-gl-18973\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:14+0000\n" "Last-Translator: Fran Diéguez \n" "Language-Team: Galician \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: gl\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Un monitor de carga do sistema capaz de mostrar as gráficas para o uso da " "CPU, da RAM e do espazo de swap, ademais do tráfico da rede." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Fran Diéguez , 2009-2010.\n" "Antón Méixome , 2009.\n" "Mancomún - Centro de Referencia e Servizos de Software Libre " ", 2009.\n" "Suso Baleato , 2009.\n" "Ignacio Casal Quinteiro , 2005-2008.\n" "Jesús Bravo Álvarez , 1999-2002.\n" "\n" "Launchpad Contributions:\n" " Fran Diéguez https://launchpad.net/~frandieguez" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Abrir o monitor do sistema" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Preferencias" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Sobre" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Recursos monitorizados" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesador" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Memoria" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Rede" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "Espazo de s_wap" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Carga" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Disco ríxido" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Opcións" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Largura do m_onitor do sistema: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Intervalo de actualización do monitor do sis_tema: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "píxeles" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisegundos" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Cores" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Usuario" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Sistema" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "N_ice" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "Espera _E/S" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Ina_ctivo" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesador" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Compartida" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Búfers" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "Na cac_hé" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Lib_re" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Memoria" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Entrada" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Saída" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Local" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Fondo" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Rede" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Usado" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Libre" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Espazo de swap" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Media" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Carga" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lectura" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Escritura" # (pofilter) accelerators: accelerator _ does not occur in original and should not be in translation #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Disco" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Taxa de actualización do miniaplicativo en milisegundos" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "O ficheiro de descrición do escritorio para executar como o monitor do " "sistema" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/te.po0000664000175000017500000002522112107670241013633 00000000000000# translation of gnome-applets.master.te.po to Telugu # Telugu translation of gnome-applets # Copyright (C) 2005 Free Software Foundation, Andhra Pradesh. # This file is distributed under the same license as the gnome-applets package. # # Prajasakti Localisation Team , 2005. # Krishna Babu K , 2008, 2009. msgid "" msgstr "" "Project-Id-Version: gnome-applets.master.te\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:56+0000\n" "Last-Translator: Arjuna Rao Chavala \n" "Language-Team: Telugu \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: te\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "వ్యవస్థ భార దర్శని CPU,ram, మరియు ఖాళీ బదలాయింపు ఉపయోగము కొరకు రేఖా పటములను " "మరియు అల్లిక ట్రాఫిక్ ను ప్రదర్శించగలదు." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "KrishnaBabu K 2008.\n" "\n" "Launchpad Contributions:\n" " Arjuna Rao Chavala https://launchpad.net/~arjunaraoc-gmail" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "వ్యవస్థ దర్శినిని తెరువు (_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "అభీష్టాలు(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "గురించి(_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "అజమాయిషీలో వున్న వనరులు" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "ప్రోసెసర్ (_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "జ్ఞాపకశక్తి (_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "అల్లిక (_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "బదలాయింపు స్థలం (_w)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "నింపుము (_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "ప్రధానఖని (_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "ఐచ్చికాలు" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "వ్యవస్థ దర్శిని వెడల్పు (_o): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "వ్యవస్థ దర్శినిని తాజాపర్చు విరామం (_t): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "పిగ్జెల్స్" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "మిల్లీ సెకండ్లు" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "వర్ణములు" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "వినియోగదారి (_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "వ్యవస్థ (_y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "బాగుంది (_i)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "తీరిగ్గా (_d)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "ప్రోసెసర్" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "పంచుకున్న (_a)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "బఫర్ (_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "పట్టుకొన్న (_e)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "ఖాళీ (_r)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "జ్ఞాపకశక్తి" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "లోపల (_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "బయట (_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "స్థానిక (_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "పూర్వరంగం (_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "నెట్వర్కు" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "ఉపయోగంలోవున్న (_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "ఖాళీ (_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "బదలాయింపు స్థలం" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "సగటు (_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "భారం" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "చదువు (_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "రాత(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "ప్రధానఖని" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "మిల్లి సెకనులలో ఆప్లెట్ పునర్వికాస మార్పు" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "సిస్టమ్ మానిటర్ వలె నిర్వర్తించబడుటకు డెస్కుటాప్ వివరణ దస్త్రము" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/bg.po0000664000175000017500000002564312107670241013623 00000000000000# This is the Bulgarian translation of the gnome-applets po-file. # Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # Copyright (C) 2009 Free Software Foundation, Inc. # Alexander Shopov , 2002, 2004, 2005, 2007, 2009, 2010. # Yanko Kaneti , 2003. # Vladimir Petkov , 2004, 2005. # Peter Slavov , 2004. # Rostislav "zbrox" Raykov , 2004, 2005, 2006. # Yavor Doganov , 2008. # msgid "" msgstr "" "Project-Id-Version: gnome-applets master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:01+0000\n" "Last-Translator: Alexander Shopov \n" "Language-Team: Bulgarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: bg\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Инструмент за наблюдение на системата, който показва графики за процесора, " "оперативната памет, виртуалната памет и натовареността на мрежата." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Петър „peshka“ Славов \n" "Владимир „Kaladan“ Петков \n" "Александър Шопов \n" "Янко Канети \n" "\n" "Проектът за превод на GNOME има нужда от подкрепа.\n" "Научете повече за нас на http://gnome.cult.bg\n" "Докладвайте за грешки на http://gnome.cult.bg/bugs\n" "\n" "Launchpad Contributions:\n" " Alexander Shopov https://launchpad.net/~ash-kambanaria\n" " Svetoslav Stefanov https://launchpad.net/~svetlisashkov" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Отваряне на _системен датчик" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Настройки" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Относно" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Изход" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Наблюдавани ресурси" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Процесор" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "Па_мет" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "Мре_жа" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "В_иртуална памет" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Натовареност" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Твърд диск" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Настройки" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Широчина на системния датчик: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "П_ериод на обновяване на системния датчик: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "пиксела" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "ms" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Автоматично стартиране: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Цветове" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Пот_ребител" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Система" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "Приори_тет" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "_В/И изчакване" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Незаети" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Процесор" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Споделени" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Буфери" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Записан в паметта" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "Сво_бодни" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Памет" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Входящ" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Изходящ" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Локален" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Фон" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Мрежа" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Използвани" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Свободни" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Виртуална памет" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Средно" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Натовареност" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Четене" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Писане" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Твърд диск" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Време за обновяване на аплета в милисекунди" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" "Файлът със записи тип „.desktop“, който да се изпълнява като програма за " "наблюдение на системата." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Автоматично стартиране при влизане в сесията" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ka.po0000664000175000017500000002461412107670241013623 00000000000000# translation of gnome-applets.HEAD.po to Georgian # Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER # Alina Kirakosyan # # Vladimer Sichinava , 2006. msgid "" msgstr "" "Project-Id-Version: gnome-applets.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:34+0000\n" "Last-Translator: Vladimer Sichinava \n" "Language-Team: Georgian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ka\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "სისტემის დატვირთვის მაჩვენებელი, რომელსაც შეუძლია გრაფიკის სახით გამოსახოს " "პროცესორის ან ქსელის ტრაფიკის დატვირთვა და ამასთანავე ram და swap " "მეხსიერებების ტევადობა." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "თარგმანი-შესრულებულია\n" "\n" "Launchpad Contributions:\n" " Vladimer Sichinava https://launchpad.net/~vlsichinava-deactivatedaccount" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "სისტემის მ_ონიტორის ჩართვა" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_პარამეტრები" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_პროგრამის შესახებ" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "კონტროლირებული რესურსები" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_პროცესორი" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "მეხსიე_რება" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_ქსელი" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "swap ტევადობა" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_ჩატვირთვა" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_მყარი დისკი" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "პარამეტრები" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "ს_ისტემის მონიტორის სიგანე " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "სისტემის მონიტორის განახლების ინტერვალი: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "პიქსელი" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "მილიწამები" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "ფერები" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_მომხმარებელი" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "ს_ისტემა" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "პრ_იორიტეტი" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "უმოქმედო" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "პროცესორი" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "გ_აზიარებული" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_ბუფერები" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "კ_ეშირებული" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "თავის_უფალი" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "მეხსიერება" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_ფონი" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "ქსელი" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_გამოყენებულია" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_თავისუფალი" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Swap სივრცე" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "ს_აშუალო" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "ჩატვირთვა" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_კითხვა" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_ჩაწერა" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "მყარი დისკი" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "აპლეტი განახლების სიხშირე მილიწამებში" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ga.po0000664000175000017500000002255612107670241013622 00000000000000# Irish translations for gnome-applets package. # Copyright (C) 1998-2009 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # Alastair McKinstry , 1998. # Paul Duffy , 2003. # Seán de Búrca , 2007, 2008, 2009. # msgid "" msgstr "" "Project-Id-Version: gnome-applets.master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:07+0000\n" "Last-Translator: Seán de Búrca \n" "Language-Team: Irish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: ga\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Alastair McKinstry \n" "Paul Duffy \n" "Seán de Búrca \n" "\n" "Launchpad Contributions:\n" " Seán de Búrca https://launchpad.net/~leftmostcat" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Oscail Monatóir Córais" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Sainroghanna" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Maidir Leis Seo" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Acmhainní Monatóirithe" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Próiseálaí" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Cuimhne" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "Líon_ra" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Spás Babhtála" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Lód" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "Diosca Cr_ua" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Roghanna" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Leithead mhonatóirí córa_is: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "_Eatramh idir nuashonruithe mhonatóirí córais: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "picteilín" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milleasoicind" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Dathanna" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Úsáideoi_r" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "C_orás" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "De_as" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "IAFei_theamh" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "Dío_mhaoin" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Próiseálaí" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "Com_hroinnte" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Maoláin" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "I d_Taisce" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "S_aor" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Cuimhne" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "Is_teach" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Amach" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "L_ogánta" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "Cúl_ra" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Líonra" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Úsáid_te" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "Sao_r" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Spás Babhtála" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Meán" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Lód" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "Léi_gh" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "Scrío_bh" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Diosca Crua" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/et.po0000664000175000017500000002343512107670241013640 00000000000000# GNOME rakendite eesti keele tõlge. # Estonian translation of GNOME applets. # # Copyright (C) 1999, 2001, 2002, 2005, 2006 Free Software Foundation, Inc. # Copyright (C) 2007-2010 The GNOME Project # This file is distributed under the same license as the gnome-applets package. # # Lauris Kaplinski , 1999. # Ilmar Kerm , 2001, 2002. # Tõivo Leedjärv , 2002. # Priit Laes , 2004-2006. # Ivar Smolin , 2005-2010. # Mattias Põldaru , 2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets 2.32\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:38+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Estonian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: et\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Süsteemi koormusmonitor on suuteline kuvama graafikuid protsessori koormuse, " "mälu- ja saaleruumi kasutuse ning võrguliikluse kohta." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Lauris Kaplinski , 1999.\n" "Ilmar Kerm , 2001, 2002.\n" "Tõivo Leedjärv , 2002.\n" "Priit Laes , 2004-2006.\n" "Ivar Smolin , 2005-2010.\n" "\n" "Launchpad Contributions:\n" " Michael Hofmann https://launchpad.net/~mh21" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "Ava _süsteemi jälgija" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Eelistused" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_Rakendist lähemalt" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Jälgitavad ressursid" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Protsessor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "_Mälu" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Võrk" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Saaleruum" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Koormus" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Kõvaketas" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Valikud" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "Süsteemi _jälgija laius: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Süs_teemijälgija uuendamise vahemik: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "pikslit" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "millisekundit" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Värvid" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Kasutaja" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "_Süsteem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Tähtsus (nice)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "I_OWait" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Jõude" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Protsessor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Jagatud" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Puhvrid" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Puhverdatud" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "_Vaba" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Mälu" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Sisse" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Välja" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Kohalik" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Taust" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Võrk" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Kasutatud" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "_Vaba" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Saaleruum" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "_Keskmine" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Koormus" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Lugemine" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Kirjutamine" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Kõvaketas" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Rakendi värskendamissagedus millisekundites" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Töölaua kirjeldusfail süsteemijälgija käivitamiseks" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/zh_CN.po0000664000175000017500000002431712107670241014231 00000000000000# translation of gnome-applets.po to zh_CN # Copyright (C) 2002,2003 Free Software Foundation, Inc. # Wang Li , 2002. # Wu XiaoGuang , 2002. # Xiong Jiang , 2003. # Funda Wang , 2003. # Liu Songhe , 2003. # 甘露(Gan Lu) , 2009. # YunQiang Su , 2010. msgid "" msgstr "" "Project-Id-Version: gnome-applets master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 07:19+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Chinese (simplified) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:56+0000\n" "X-Generator: Launchpad (build 16491)\n" "Language: zh_CN\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "一个能够以图形方式显示 CPU、内存、对换文件使用情况,以及网络流量的系统监视器。" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "开源软件国际化简体中文组(http://i18n.linux.net.cn)\n" "甘露(Gan Lu) \n" "\n" "Launchpad Contributions:\n" " Eleanor Chen https://launchpad.net/~chenyueg\n" " Michael Hofmann https://launchpad.net/~mh21\n" " Wang Dianjin https://launchpad.net/~tuhaihe" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "打开系统监视器(_O)" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "首选项(_P)" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "关于(_A)" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "退出 (_Q)" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "已监视的资源" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "处理器(_P)" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "内存(_M)" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "网络(_N)" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "交换空间(_W)" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "负载(_L)" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "硬盘(_H)" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "选项" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "系统监视器宽度(_O): " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "系统监视器更新间隔(_T): " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "像素" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "毫秒" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "开机启动(_A): " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "颜色" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "用户(_U)" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "系统(_Y)" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "优先级(_I)" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "IO 等候(_O)" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "闲置(_D)" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "处理器" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "共享(_A)" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "缓冲(_B)" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "缓存(_E)" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "空闲(_R)" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "内存" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "进(_I)" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "出(_O)" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "本地(_L)" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "背景(_B)" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "网络" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "已用(_U)" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "空闲(_F)" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "交换空间" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "均值(_A)" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "负载" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "读取(_R)" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "写入(_W)" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "硬盘" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "菜单项..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "可视化图像" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "小程序的刷新率,以毫秒计" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "图像宽度(以像素为单位)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "图像高度(以像素为单位)" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "可执行系统监视器的桌面描述文件" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "会话开始时自动启动" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "提示器显示信息" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "提示器当前信息索引" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "菜单项信息" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "图像 alpha 值" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "图像背景色" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "图像能见度" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "图像上方边缘最小值" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "图像上方边缘最大值,0 值表示无限制" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "平滑图像尺寸数值" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "路径颜色" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "路径描述" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "路径可见" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "路径显示" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "系统负载提示器" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "显示调试信息" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "-系统负载应用提示器" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "运行‘%s --help’查看可用命令行选项的完整列表。\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "%u B" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/秒" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/秒" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/秒" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/秒" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "%u B/秒" indicator-multiload-0.3/po/sl.po0000664000175000017500000002463112107670241013645 00000000000000# Slovenian translations for gnome-applets. # Copyright (C) 2002-2007 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-applets package. # # Urban Borštnik , 2000. # Nejc Novak , 2002. # Andraž Tori , 2003. # Matic Žgur , 2006. # Matej Urbančič , 2007 - 2010. # Andrej Žnidaršič , 2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:02+0000\n" "Last-Translator: Michael Hofmann \n" "Language-Team: Slovenščina \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " "n%100==4 ? 3 : 0);\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "X-Poedit-Country: SLOVENIA\n" "Language: \n" "X-Poedit-Language: Slovenian\n" "X-Poedit-SourceCharset: utf-8\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" "Nadzornik sistemskih obremenitev, ki omogoča prikaz grafov delovanje CPE, " "pomnilnika, izmenjevalnega razdelka ter omrežnega prometa." #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Nejc Novak \n" "Andraž Tori \n" "Matic Žgur \n" "Matej Urbančič \n" "\n" "Launchpad Contributions:\n" " Andrej Znidarsic https://launchpad.net/~andrej.znidarsic\n" " Michael Hofmann https://launchpad.net/~mh21\n" " Miha Gašperšič https://launchpad.net/~miha.gaspersic\n" " Sasa Batistic https://launchpad.net/~sasa-batistic" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "_Odpri nadzornika sistema" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "_Možnosti" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "_O programu" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "_Končaj" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "Nadzorovani viri" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "_Procesor" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "Po_mnilnik" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "_Omrežje" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "_Zasedenost izmenjevalnega prostora" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "_Obremenjenost" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "_Trdi disk" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Možnosti" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "_Širina nadzornika sistema: " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "Frekvenca osveževanja nadzornika sis_tema: " #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "točk" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "milisekund" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "_Samodejni zagon: " #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Barve" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "_Uporabnik" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "S_istem" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "_Ocena prednostni delovanja" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "_V/I-čakanje" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "_Nedejavno" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "Procesor" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "_Souporaba" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "_Medpomnilniki" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "_Predpomnjeno" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "P_rosto" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "Pomnilnik" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "_Vhodno" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "_Izhodno" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "_Krajevno" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Ozadje" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Omrežje" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "_Porabljeno" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "P_rosto" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "Izmenjevalni razdelek" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "Po_vprečje" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "Obremenjenost" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Branje" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "_Pisanje" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Trdi disk" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "Elementi menija ..." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "Čas posodabljanja apleta v milisekundah" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "Širina grafa v slikovnih točkah." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "Višina grafa v slikovnih točkah." #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "Opisna datoteka namizja za nadzor sistema" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "Samodejni zagon ob pričetku seje" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "Kazalnik obremenitve sistema" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "%u%%" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "Prikaži razhroščevalna sporočila" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Zaženite '%s --help' za ogled celotnega seznama možnosti ukazne vrstice.\n" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "{} kB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "{} MB" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "{} GB" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "{} kB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "{} MB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "{} GB/s" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "{} TB/s" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/ps.po0000664000175000017500000002224112107670241013644 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: gnome-applets.head.po\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:59+0000\n" "Last-Translator: Zabeeh Khan \n" "Language-Team: Pashto \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n!=1;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "X-Poedit-Country: AFGHANISTAN\n" "Language: ps\n" "X-Poedit-Language: Pashto, Pushto\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Zabeeh Khan \n" "The Pathanisation Project \n" "\n" "Launchpad Contributions:\n" " Zabeeh Khan https://launchpad.net/~zabeehkhan" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "غونډال ليدانی پرانيستل_" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "غوراوي_" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "په اړه_" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "بهیرګر_" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "یاد_" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "ځال_" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "و_نج تشه" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "لېښل_" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "کلک ټیکلی_" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "غوراوي" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr ":د غونډال ل_يداني پلنوالی " #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "" #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "پېکسلې" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "مېلېسېکېنډه" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "رنګونه" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "کارن_" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "غ_ونډال" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "بهيرګر" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "ونډول شوی" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "یاد" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "شاليد_" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "ځال" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "کارېدلی_" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "پاتې_" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "ونج تشه" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "منځنی_" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "لېښل" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "لوستل_" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "لوستل_" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "کلک ټیکلی" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/po/kk.po0000664000175000017500000002172312107670241013633 00000000000000# Kazakh translation for gnome-applets. # Copyright (C) 2010 gnome-applets's COPYRIGHT HOLDER # This file is distributed under the same license as the gnome-applets package. # Baurzhan Muftakhidinov , 2010. # msgid "" msgstr "" "Project-Id-Version: gnome-applets master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-14 20:17+0000\n" "PO-Revision-Date: 2013-02-12 06:49+0000\n" "Last-Translator: Baurzhan Muftakhidinov \n" "Language-Team: Kazakh \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Launchpad-Export-Date: 2013-02-15 04:55+0000\n" "X-Generator: Launchpad (build 16491)\n" "X-Poedit-Country: KAZAKHSTAN\n" "Language: kk\n" "X-Poedit-Language: Kazakh\n" #: ../data/preferences.ui.in.h:1 ../data/indicator-multiload.desktop.in.h:2 msgid "" "A system load monitor capable of displaying graphs for CPU, ram, and swap " "space use, plus network traffic." msgstr "" #: ../data/preferences.ui.in.h:2 msgid "translator-credits" msgstr "" "Baurzhan Muftakhidinov , 2010\n" "\n" "Launchpad Contributions:\n" " Baurzhan Muftakhidinov https://launchpad.net/~baurthefirst" #: ../data/preferences.ui.in.h:3 msgid "_Open System Monitor" msgstr "" #: ../data/preferences.ui.in.h:4 msgid "_Preferences" msgstr "Қа_лаулар" #: ../data/preferences.ui.in.h:5 msgid "_About" msgstr "О_сы туралы" #: ../data/preferences.ui.in.h:6 msgid "_Quit" msgstr "" #: ../data/preferences.ui.in.h:7 msgid "Monitored Resources" msgstr "" #: ../data/preferences.ui.in.h:8 msgid "_Processor" msgstr "" #: ../data/preferences.ui.in.h:9 msgid "_Memory" msgstr "" #: ../data/preferences.ui.in.h:10 msgid "_Network" msgstr "Ж_елі" #: ../data/preferences.ui.in.h:11 msgid "S_wap Space" msgstr "" #: ../data/preferences.ui.in.h:12 msgid "_Load" msgstr "" #: ../data/preferences.ui.in.h:13 msgid "_Harddisk" msgstr "Қ_атты дискі" #: ../data/preferences.ui.in.h:14 msgid "Options" msgstr "Опциялар" #: ../data/preferences.ui.in.h:15 msgid "System m_onitor width: " msgstr "" #: ../data/preferences.ui.in.h:16 msgid "Sys_tem monitor update interval: " msgstr "" #: ../data/preferences.ui.in.h:17 msgid "pixels" msgstr "пиксель" #: ../data/preferences.ui.in.h:18 msgid "milliseconds" msgstr "" #: ../data/preferences.ui.in.h:19 msgid "_Autostart: " msgstr "" #: ../data/preferences.ui.in.h:20 msgid "Colors" msgstr "Түстер" #: ../data/preferences.ui.in.h:21 msgid "_User" msgstr "Па_йдаланушы" #: ../data/preferences.ui.in.h:22 msgid "S_ystem" msgstr "" #: ../data/preferences.ui.in.h:23 msgid "N_ice" msgstr "" #: ../data/preferences.ui.in.h:24 msgid "I_OWait" msgstr "" #: ../data/preferences.ui.in.h:25 msgid "I_dle" msgstr "" #: ../data/preferences.ui.in.h:26 msgid "Processor" msgstr "" #: ../data/preferences.ui.in.h:27 msgid "Sh_ared" msgstr "" #: ../data/preferences.ui.in.h:28 msgid "_Buffers" msgstr "" #: ../data/preferences.ui.in.h:29 msgid "Cach_ed" msgstr "" #: ../data/preferences.ui.in.h:30 msgid "F_ree" msgstr "" #: ../data/preferences.ui.in.h:31 msgid "Memory" msgstr "" #: ../data/preferences.ui.in.h:32 msgid "_In" msgstr "" #: ../data/preferences.ui.in.h:33 msgid "_Out" msgstr "" #: ../data/preferences.ui.in.h:34 msgid "_Local" msgstr "Же_ргілікті" #: ../data/preferences.ui.in.h:35 msgid "_Background" msgstr "_Фон" #: ../data/preferences.ui.in.h:36 msgid "Network" msgstr "Желі" #: ../data/preferences.ui.in.h:37 msgid "_Used" msgstr "Қ_олдануда" #: ../data/preferences.ui.in.h:38 msgid "_Free" msgstr "" #: ../data/preferences.ui.in.h:39 msgid "Swap Space" msgstr "" #: ../data/preferences.ui.in.h:40 msgid "_Average" msgstr "" #: ../data/preferences.ui.in.h:41 msgid "Load" msgstr "" #: ../data/preferences.ui.in.h:42 msgid "_Read" msgstr "_Оқу" #: ../data/preferences.ui.in.h:43 msgid "_Write" msgstr "" #: ../data/preferences.ui.in.h:44 msgid "Harddisk" msgstr "Қатты дискі" #: ../data/preferences.ui.in.h:45 msgid "Menu items..." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:1 msgid "Available graphs" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:2 msgid "Applet refresh rate in milliseconds" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:3 msgid "Width of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:4 msgid "Height of the graphs in pixels." msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:5 msgid "The desktop description file to execute as the system monitor" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:6 msgid "Automatically start on session startup" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:8 msgid "" "[ \"CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down " "$(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load " "$(decimals(load.avg,2)) Disk read $(speed(disk.read)) write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:9 msgid "Information in the accessible description of the indicator" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:10 msgid "Information shown in the indicator itself" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:11 msgid "Index of the current information shown in the indicator itself" msgstr "" #. TRANSLATORS: This is a list of translatable strings. Do not translate anything inside of $(...), and make sure to keep any brackets, quotes, and commas. #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:13 msgid "" "[ \"CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))\", \"Mem: " "$(size(mem.user)), cache $(size(mem.cached))\", \"Net: down " "$(speed(net.down)), up $(speed(net.up))\", \"Swap: $(size(swap.used))\", " "\"Load: $(decimals(load.avg,2))\", \"Disk: read $(speed(disk.read)), write " "$(speed(disk.write))\" ]" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:14 msgid "Information shown as menu entries" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:15 msgid "Graph alpha value" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:16 msgid "Graph background color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:17 msgid "Graph visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:18 msgid "Minimum value for upper graph edge" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:19 msgid "Maximum value for upper graph edge, zero means unlimited" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:20 msgid "Number of values used for smooth graph scaling" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:21 msgid "Available traces" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:22 msgid "Trace color" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:23 msgid "Trace expression" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:24 msgid "Trace visibility" msgstr "" #: ../data/de.mh21.indicator.multiload.gschema.xml.in.in.h:25 msgid "Traces shown" msgstr "" #: ../data/indicator-multiload.desktop.in.h:1 msgid "System Load Indicator" msgstr "" #: ../src/function.vala:88 #, c-format msgid "%u%%" msgstr "" #: ../src/main.vala:37 msgid "Evaluate an expression" msgstr "" #: ../src/main.vala:39 msgid "List available expression identifiers" msgstr "" #: ../src/main.vala:41 msgid "Show debug messages" msgstr "" #: ../src/main.vala:322 msgid "- System load application indicator" msgstr "" #: ../src/main.vala:330 #, c-format msgid "" "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:57 msgid "{} kB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:59 msgid "{} MB" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the size #: ../src/utils.vala:61 msgid "{} GB" msgstr "" #: ../src/utils.vala:69 #, c-format msgid "%u B" msgid_plural "%u B" msgstr[0] "" msgstr[1] "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:82 msgid "{} kB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:84 msgid "{} MB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:86 msgid "{} GB/s" msgstr "" #. TRANSLATORS: Please leave {} as it is, it is replaced by the speed #: ../src/utils.vala:88 msgid "{} TB/s" msgstr "" #: ../src/utils.vala:96 #, c-format msgid "%u B/s" msgid_plural "%u B/s" msgstr[0] "" msgstr[1] "" indicator-multiload-0.3/TODO0000664000175000017500000000034312107670161012734 000000000000000.3: - no graphs shown should be possible - first icon should be empty icon, not image-not-found - system(...) function 0.4: - color schemes - error messages for expressions not only on stderr File bug reports: - glibtop lvm indicator-multiload-0.3/config.guess0000755000175000017500000012743212107670261014574 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-02-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner. Please send patches (context # diff format) to and include a ChangeLog # entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-gnu else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-gnueabi else echo ${UNAME_MACHINE}-unknown-linux-gnueabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-gnu exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:Linux:*:*) LIBC=gnu eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; padre:Linux:*:*) echo sparc-unknown-linux-gnu exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in i386) eval $set_cc_for_build if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then UNAME_PROCESSOR="x86_64" fi fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: indicator-multiload-0.3/src/0000775000175000017500000000000012107670273013117 500000000000000indicator-multiload-0.3/src/itempreferences.c0000664000175000017500000010731312107670273016370 00000000000000/* itempreferences.c generated by valac 0.14.2, the Vala compiler * generated from itempreferences.vala, do not modify */ #include #include #include #include #include #include #define TYPE_ITEM_PREFERENCES (item_preferences_get_type ()) #define ITEM_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ITEM_PREFERENCES, ItemPreferences)) #define ITEM_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ITEM_PREFERENCES, ItemPreferencesClass)) #define IS_ITEM_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ITEM_PREFERENCES)) #define IS_ITEM_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ITEM_PREFERENCES)) #define ITEM_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ITEM_PREFERENCES, ItemPreferencesClass)) typedef struct _ItemPreferences ItemPreferences; typedef struct _ItemPreferencesClass ItemPreferencesClass; typedef struct _ItemPreferencesPrivate ItemPreferencesPrivate; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define TYPE_SETTINGS_CACHE (settings_cache_get_type ()) #define SETTINGS_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS_CACHE, SettingsCache)) #define SETTINGS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS_CACHE, SettingsCacheClass)) #define IS_SETTINGS_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS_CACHE)) #define IS_SETTINGS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS_CACHE)) #define SETTINGS_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS_CACHE, SettingsCacheClass)) typedef struct _SettingsCache SettingsCache; typedef struct _SettingsCacheClass SettingsCacheClass; #define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL))) struct _ItemPreferences { GObject parent_instance; ItemPreferencesPrivate * priv; }; struct _ItemPreferencesClass { GObjectClass parent_class; }; struct _ItemPreferencesPrivate { GtkDialog* items; GtkListStore* itemstore; GtkTreeView* itemview; GtkTreeSelection* itemselection; GtkButton* itemadd; GtkButton* itemremove; GtkButton* itemedit; GtkButton* itemup; GtkButton* itemdown; GSettings* itemsettings; gboolean itemsignoresignals; gchar* _settingskey; }; static gpointer item_preferences_parent_class = NULL; GType item_preferences_get_type (void) G_GNUC_CONST; #define ITEM_PREFERENCES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_ITEM_PREFERENCES, ItemPreferencesPrivate)) enum { ITEM_PREFERENCES_DUMMY_PROPERTY, ITEM_PREFERENCES_SETTINGSKEY }; ItemPreferences* item_preferences_new (const gchar* settingskey); ItemPreferences* item_preferences_construct (GType object_type, const gchar* settingskey); void item_preferences_show (ItemPreferences* self); GObject* utils_get_ui (const gchar* objectid, GObject* signalhandlers, gchar** additional, int additional_length1, GtkBuilder** builder); SettingsCache* settings_cache_new (void); SettingsCache* settings_cache_construct (GType object_type); GType settings_cache_get_type (void) G_GNUC_CONST; GSettings* settings_cache_generalsettings (SettingsCache* self); void item_preferences_on_itemsettings_changed (ItemPreferences* self); static void _item_preferences_on_itemsettings_changed_g_settings_changed (GSettings* _sender, const gchar* key, gpointer self); void item_preferences_on_itemselection_changed (ItemPreferences* self); static void _item_preferences_on_itemselection_changed_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self); static void item_preferences_itemsgsettingstostore (ItemPreferences* self); void item_preferences_on_itemdialog_destroy (GtkWidget* source, ItemPreferences* self); void item_preferences_on_itemdialog_response (GtkDialog* source, gint response, ItemPreferences* self); const gchar* item_preferences_get_settingskey (ItemPreferences* self); void item_preferences_on_expressionrenderer_edited (GtkCellRendererText* renderer, const gchar* path, const gchar* new_text, ItemPreferences* self); static void item_preferences_updatebuttons (ItemPreferences* self); void item_preferences_on_itemstore_row_inserted (GtkTreeModel* model, const gchar* path, GtkTreeIter* iter, ItemPreferences* self); static void item_preferences_itemsstoretogsettings (ItemPreferences* self); void item_preferences_on_itemstore_row_changed (GtkTreeModel* model, const gchar* path, GtkTreeIter* iter, ItemPreferences* self); void item_preferences_on_itemstore_row_deleted (GtkTreeModel* model, const gchar* path, ItemPreferences* self); void item_preferences_on_itemadd_clicked (GtkButton* button, ItemPreferences* self); void item_preferences_on_itemremove_clicked (GtkButton* button, ItemPreferences* self); void item_preferences_on_itemedit_clicked (GtkButton* button, ItemPreferences* self); void item_preferences_on_itemup_clicked (GtkButton* button, ItemPreferences* self); void item_preferences_on_itemdown_clicked (GtkButton* button, ItemPreferences* self); static void item_preferences_set_settingskey (ItemPreferences* self, const gchar* value); static void item_preferences_finalize (GObject* obj); static void _vala_item_preferences_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_item_preferences_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); ItemPreferences* item_preferences_construct (GType object_type, const gchar* settingskey) { ItemPreferences * self = NULL; const gchar* _tmp0_; g_return_val_if_fail (settingskey != NULL, NULL); _tmp0_ = settingskey; self = (ItemPreferences*) g_object_new (object_type, "settingskey", _tmp0_, NULL); return self; } ItemPreferences* item_preferences_new (const gchar* settingskey) { return item_preferences_construct (TYPE_ITEM_PREFERENCES, settingskey); } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void _item_preferences_on_itemsettings_changed_g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) { item_preferences_on_itemsettings_changed (self); } static void _item_preferences_on_itemselection_changed_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self) { item_preferences_on_itemselection_changed (self); } void item_preferences_show (ItemPreferences* self) { GtkDialog* _tmp0_; GtkBuilder* builder = NULL; gchar* _tmp2_; gchar** _tmp3_ = NULL; gchar** _tmp4_; gint _tmp4__length1; GtkBuilder* _tmp5_ = NULL; GObject* _tmp6_ = NULL; GtkDialog* _tmp7_; GtkBuilder* _tmp8_; GObject* _tmp9_ = NULL; GtkListStore* _tmp10_; GtkBuilder* _tmp11_; GObject* _tmp12_ = NULL; GtkTreeView* _tmp13_; SettingsCache* _tmp14_; SettingsCache* _tmp15_; GSettings* _tmp16_ = NULL; GSettings* _tmp17_; GtkBuilder* _tmp18_; GObject* _tmp19_ = NULL; GtkButton* _tmp20_; GtkBuilder* _tmp21_; GObject* _tmp22_ = NULL; GtkButton* _tmp23_; GtkBuilder* _tmp24_; GObject* _tmp25_ = NULL; GtkButton* _tmp26_; GtkBuilder* _tmp27_; GObject* _tmp28_ = NULL; GtkButton* _tmp29_; GtkBuilder* _tmp30_; GObject* _tmp31_ = NULL; GtkButton* _tmp32_; GtkBuilder* _tmp33_; GObject* _tmp34_ = NULL; GtkTreeSelection* _tmp35_ = NULL; GtkTreeSelection* _tmp36_; GtkTreeSelection* _tmp37_; GtkTreeSelection* _tmp38_; GtkTreePath* _tmp39_; GtkTreePath* _tmp40_; GtkDialog* _tmp41_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); _tmp0_ = self->priv->items; if (_tmp0_ != NULL) { GtkDialog* _tmp1_; _tmp1_ = self->priv->items; gtk_window_present (GTK_WINDOW (_tmp1_)); return; } _tmp2_ = g_strdup ("itemstore"); _tmp3_ = g_new0 (gchar*, 1 + 1); _tmp3_[0] = _tmp2_; _tmp4_ = _tmp3_; _tmp4__length1 = 1; _tmp6_ = utils_get_ui ("itemdialog", G_OBJECT (self), _tmp4_, 1, &_tmp5_); _g_object_unref0 (builder); builder = _tmp5_; _g_object_unref0 (self->priv->items); self->priv->items = GTK_IS_DIALOG (_tmp6_) ? ((GtkDialog*) _tmp6_) : NULL; _tmp4_ = (_vala_array_free (_tmp4_, _tmp4__length1, (GDestroyNotify) g_free), NULL); _tmp7_ = self->priv->items; g_return_if_fail (_tmp7_ != NULL); _tmp8_ = builder; _tmp9_ = gtk_builder_get_object (_tmp8_, "itemstore"); _tmp10_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp9_) ? ((GtkListStore*) _tmp9_) : NULL); _g_object_unref0 (self->priv->itemstore); self->priv->itemstore = _tmp10_; _tmp11_ = builder; _tmp12_ = gtk_builder_get_object (_tmp11_, "itemview"); _tmp13_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp12_) ? ((GtkTreeView*) _tmp12_) : NULL); _g_object_unref0 (self->priv->itemview); self->priv->itemview = _tmp13_; _tmp14_ = settings_cache_new (); _tmp15_ = _tmp14_; _tmp16_ = settings_cache_generalsettings (_tmp15_); _g_object_unref0 (self->priv->itemsettings); self->priv->itemsettings = _tmp16_; _g_object_unref0 (_tmp15_); _tmp17_ = self->priv->itemsettings; g_signal_connect_object (_tmp17_, "changed::menu-expressions", (GCallback) _item_preferences_on_itemsettings_changed_g_settings_changed, self, 0); _tmp18_ = builder; _tmp19_ = gtk_builder_get_object (_tmp18_, "itemadd"); _tmp20_ = _g_object_ref0 (GTK_IS_BUTTON (_tmp19_) ? ((GtkButton*) _tmp19_) : NULL); _g_object_unref0 (self->priv->itemadd); self->priv->itemadd = _tmp20_; _tmp21_ = builder; _tmp22_ = gtk_builder_get_object (_tmp21_, "itemremove"); _tmp23_ = _g_object_ref0 (GTK_IS_BUTTON (_tmp22_) ? ((GtkButton*) _tmp22_) : NULL); _g_object_unref0 (self->priv->itemremove); self->priv->itemremove = _tmp23_; _tmp24_ = builder; _tmp25_ = gtk_builder_get_object (_tmp24_, "itemedit"); _tmp26_ = _g_object_ref0 (GTK_IS_BUTTON (_tmp25_) ? ((GtkButton*) _tmp25_) : NULL); _g_object_unref0 (self->priv->itemedit); self->priv->itemedit = _tmp26_; _tmp27_ = builder; _tmp28_ = gtk_builder_get_object (_tmp27_, "itemup"); _tmp29_ = _g_object_ref0 (GTK_IS_BUTTON (_tmp28_) ? ((GtkButton*) _tmp28_) : NULL); _g_object_unref0 (self->priv->itemup); self->priv->itemup = _tmp29_; _tmp30_ = builder; _tmp31_ = gtk_builder_get_object (_tmp30_, "itemdown"); _tmp32_ = _g_object_ref0 (GTK_IS_BUTTON (_tmp31_) ? ((GtkButton*) _tmp31_) : NULL); _g_object_unref0 (self->priv->itemdown); self->priv->itemdown = _tmp32_; _tmp33_ = builder; _tmp34_ = gtk_builder_get_object (_tmp33_, "itemview"); _tmp35_ = gtk_tree_view_get_selection (GTK_IS_TREE_VIEW (_tmp34_) ? ((GtkTreeView*) _tmp34_) : NULL); _tmp36_ = _g_object_ref0 (_tmp35_); _g_object_unref0 (self->priv->itemselection); self->priv->itemselection = _tmp36_; _tmp37_ = self->priv->itemselection; g_signal_connect_object (_tmp37_, "changed", (GCallback) _item_preferences_on_itemselection_changed_gtk_tree_selection_changed, self, 0); item_preferences_itemsgsettingstostore (self); _tmp38_ = self->priv->itemselection; _tmp39_ = gtk_tree_path_new_from_indices (0, -1); _tmp40_ = _tmp39_; gtk_tree_selection_select_path (_tmp38_, _tmp40_); _gtk_tree_path_free0 (_tmp40_); _tmp41_ = self->priv->items; gtk_widget_show_all (GTK_WIDGET (_tmp41_)); _g_object_unref0 (builder); } void item_preferences_on_itemdialog_destroy (GtkWidget* source, ItemPreferences* self) { g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_WIDGET (source)); _g_object_unref0 (self->priv->items); self->priv->items = NULL; _g_object_unref0 (self->priv->itemstore); self->priv->itemstore = NULL; _g_object_unref0 (self->priv->itemsettings); self->priv->itemsettings = NULL; } void item_preferences_on_itemdialog_response (GtkDialog* source, gint response, ItemPreferences* self) { gint _tmp0_; GSettings* _tmp2_; const gchar* _tmp3_; GtkTreeSelection* _tmp4_; GtkTreePath* _tmp5_; GtkTreePath* _tmp6_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_DIALOG (source)); _tmp0_ = response; if (_tmp0_ != 1) { GtkDialog* _tmp1_; _tmp1_ = source; gtk_widget_destroy (GTK_WIDGET (_tmp1_)); return; } _tmp2_ = self->priv->itemsettings; _tmp3_ = self->priv->_settingskey; g_settings_reset (_tmp2_, _tmp3_); _tmp4_ = self->priv->itemselection; _tmp5_ = gtk_tree_path_new_from_indices (0, -1); _tmp6_ = _tmp5_; gtk_tree_selection_select_path (_tmp4_, _tmp6_); _gtk_tree_path_free0 (_tmp6_); } void item_preferences_on_expressionrenderer_edited (GtkCellRendererText* renderer, const gchar* path, const gchar* new_text, ItemPreferences* self) { GtkTreeIter iter = {0}; GtkListStore* _tmp0_; const gchar* _tmp1_; GtkTreeIter _tmp2_ = {0}; GtkListStore* _tmp3_; GtkTreeIter _tmp4_; const gchar* _tmp5_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_CELL_RENDERER_TEXT (renderer)); g_return_if_fail (path != NULL); g_return_if_fail (new_text != NULL); _tmp0_ = self->priv->itemstore; _tmp1_ = path; gtk_tree_model_get_iter_from_string (GTK_TREE_MODEL (_tmp0_), &_tmp2_, _tmp1_); iter = _tmp2_; _tmp3_ = self->priv->itemstore; _tmp4_ = iter; _tmp5_ = new_text; gtk_list_store_set (_tmp3_, &_tmp4_, 0, _tmp5_, -1); } void item_preferences_on_itemselection_changed (ItemPreferences* self) { g_return_if_fail (IS_ITEM_PREFERENCES (self)); item_preferences_updatebuttons (self); } void item_preferences_on_itemsettings_changed (ItemPreferences* self) { gboolean _tmp0_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); _tmp0_ = self->priv->itemsignoresignals; if (!_tmp0_) { item_preferences_itemsgsettingstostore (self); } } void item_preferences_on_itemstore_row_inserted (GtkTreeModel* model, const gchar* path, GtkTreeIter* iter, ItemPreferences* self) { gboolean _tmp0_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_TREE_MODEL (model)); g_return_if_fail (path != NULL); g_return_if_fail (iter != NULL); _tmp0_ = self->priv->itemsignoresignals; if (!_tmp0_) { item_preferences_itemsstoretogsettings (self); } } void item_preferences_on_itemstore_row_changed (GtkTreeModel* model, const gchar* path, GtkTreeIter* iter, ItemPreferences* self) { gboolean _tmp0_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_TREE_MODEL (model)); g_return_if_fail (path != NULL); g_return_if_fail (iter != NULL); _tmp0_ = self->priv->itemsignoresignals; if (!_tmp0_) { item_preferences_itemsstoretogsettings (self); } } void item_preferences_on_itemstore_row_deleted (GtkTreeModel* model, const gchar* path, ItemPreferences* self) { gboolean _tmp0_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_TREE_MODEL (model)); g_return_if_fail (path != NULL); _tmp0_ = self->priv->itemsignoresignals; if (!_tmp0_) { item_preferences_itemsstoretogsettings (self); } } void item_preferences_on_itemadd_clicked (GtkButton* button, ItemPreferences* self) { guint pos; GtkTreeIter iter = {0}; GtkTreeSelection* _tmp0_; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; GtkListStore* _tmp11_; guint _tmp12_; GtkTreeIter _tmp13_ = {0}; GtkTreeView* _tmp14_; GtkTreeView* _tmp15_; GtkListStore* _tmp16_; GtkTreeIter _tmp17_; GtkTreePath* _tmp18_ = NULL; GtkTreePath* _tmp19_; GtkTreeView* _tmp20_; GtkTreeViewColumn* _tmp21_ = NULL; g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_BUTTON (button)); pos = (guint) 0; _tmp0_ = self->priv->itemselection; _tmp2_ = gtk_tree_selection_get_selected (_tmp0_, NULL, &_tmp1_); iter = _tmp1_; if (_tmp2_) { GtkListStore* _tmp3_; GtkTreeIter _tmp4_; GtkTreePath* _tmp5_ = NULL; GtkTreePath* path; GtkTreePath* _tmp6_; gint _tmp7_ = 0; gint* _tmp8_ = NULL; gint* indices; gint indices_length1; gint _indices_size_; gint* _tmp9_; gint _tmp9__length1; gint _tmp10_; _tmp3_ = self->priv->itemstore; _tmp4_ = iter; _tmp5_ = gtk_tree_model_get_path (GTK_TREE_MODEL (_tmp3_), &_tmp4_); path = _tmp5_; _tmp6_ = path; _tmp8_ = gtk_tree_path_get_indices_with_depth (_tmp6_, &_tmp7_); indices = _tmp8_; indices_length1 = _tmp7_; _indices_size_ = indices_length1; _tmp9_ = indices; _tmp9__length1 = indices_length1; _tmp10_ = _tmp9_[0]; pos = (guint) (_tmp10_ + 1); _gtk_tree_path_free0 (path); } _tmp11_ = self->priv->itemstore; _tmp12_ = pos; gtk_list_store_insert (_tmp11_, &_tmp13_, (gint) _tmp12_); iter = _tmp13_; _tmp14_ = self->priv->itemview; gtk_widget_grab_focus (GTK_WIDGET (_tmp14_)); _tmp15_ = self->priv->itemview; _tmp16_ = self->priv->itemstore; _tmp17_ = iter; _tmp18_ = gtk_tree_model_get_path (GTK_TREE_MODEL (_tmp16_), &_tmp17_); _tmp19_ = _tmp18_; _tmp20_ = self->priv->itemview; _tmp21_ = gtk_tree_view_get_column (_tmp20_, 0); gtk_tree_view_set_cursor (_tmp15_, _tmp19_, _tmp21_, TRUE); _gtk_tree_path_free0 (_tmp19_); } void item_preferences_on_itemremove_clicked (GtkButton* button, ItemPreferences* self) { GtkTreeIter iter = {0}; GtkTreeSelection* _tmp0_; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; GtkListStore* _tmp3_; GtkTreeIter _tmp4_; GtkTreePath* _tmp5_ = NULL; GtkTreePath* path; GtkListStore* _tmp6_; GtkTreeIter _tmp7_; GtkListStore* _tmp8_; GtkTreePath* _tmp9_; GtkTreeIter _tmp10_ = {0}; gboolean _tmp11_ = FALSE; GtkTreeSelection* _tmp13_; GtkTreePath* _tmp14_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_BUTTON (button)); _tmp0_ = self->priv->itemselection; _tmp2_ = gtk_tree_selection_get_selected (_tmp0_, NULL, &_tmp1_); iter = _tmp1_; if (!_tmp2_) { return; } _tmp3_ = self->priv->itemstore; _tmp4_ = iter; _tmp5_ = gtk_tree_model_get_path (GTK_TREE_MODEL (_tmp3_), &_tmp4_); path = _tmp5_; _tmp6_ = self->priv->itemstore; _tmp7_ = iter; gtk_list_store_remove (_tmp6_, &_tmp7_); _tmp8_ = self->priv->itemstore; _tmp9_ = path; _tmp11_ = gtk_tree_model_get_iter (GTK_TREE_MODEL (_tmp8_), &_tmp10_, _tmp9_); iter = _tmp10_; if (!_tmp11_) { GtkTreePath* _tmp12_; _tmp12_ = path; gtk_tree_path_prev (_tmp12_); } _tmp13_ = self->priv->itemselection; _tmp14_ = path; gtk_tree_selection_select_path (_tmp13_, _tmp14_); _gtk_tree_path_free0 (path); } void item_preferences_on_itemedit_clicked (GtkButton* button, ItemPreferences* self) { GtkTreeIter iter = {0}; GtkTreeSelection* _tmp0_; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; GtkTreeView* _tmp3_; GtkTreeView* _tmp4_; GtkListStore* _tmp5_; GtkTreeIter _tmp6_; GtkTreePath* _tmp7_ = NULL; GtkTreePath* _tmp8_; GtkTreeView* _tmp9_; GtkTreeViewColumn* _tmp10_ = NULL; g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_BUTTON (button)); _tmp0_ = self->priv->itemselection; _tmp2_ = gtk_tree_selection_get_selected (_tmp0_, NULL, &_tmp1_); iter = _tmp1_; if (!_tmp2_) { return; } _tmp3_ = self->priv->itemview; gtk_widget_grab_focus (GTK_WIDGET (_tmp3_)); _tmp4_ = self->priv->itemview; _tmp5_ = self->priv->itemstore; _tmp6_ = iter; _tmp7_ = gtk_tree_model_get_path (GTK_TREE_MODEL (_tmp5_), &_tmp6_); _tmp8_ = _tmp7_; _tmp9_ = self->priv->itemview; _tmp10_ = gtk_tree_view_get_column (_tmp9_, 0); gtk_tree_view_set_cursor (_tmp4_, _tmp8_, _tmp10_, TRUE); _gtk_tree_path_free0 (_tmp8_); } void item_preferences_on_itemup_clicked (GtkButton* button, ItemPreferences* self) { GtkTreeIter iter = {0}; GtkTreeSelection* _tmp0_; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; GtkTreeIter previter = {0}; GtkListStore* _tmp3_; GtkTreeIter _tmp4_; GtkTreePath* _tmp5_ = NULL; GtkTreePath* prevpath; GtkTreePath* _tmp6_; gboolean _tmp7_ = FALSE; GtkListStore* _tmp8_; GtkTreePath* _tmp9_; GtkTreeIter _tmp10_ = {0}; gboolean _tmp11_ = FALSE; GValue value = {0}; GValue prevvalue = {0}; GtkListStore* _tmp12_; GtkTreeIter _tmp13_; GValue _tmp14_ = {0}; GtkListStore* _tmp15_; GtkTreeIter _tmp16_; GValue _tmp17_ = {0}; GtkListStore* _tmp18_; GtkTreeIter _tmp19_; GValue _tmp20_; GtkListStore* _tmp21_; GtkTreeIter _tmp22_; GValue _tmp23_; GtkTreeSelection* _tmp24_; GtkTreePath* _tmp25_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_BUTTON (button)); _tmp0_ = self->priv->itemselection; _tmp2_ = gtk_tree_selection_get_selected (_tmp0_, NULL, &_tmp1_); iter = _tmp1_; if (!_tmp2_) { return; } _tmp3_ = self->priv->itemstore; _tmp4_ = iter; _tmp5_ = gtk_tree_model_get_path (GTK_TREE_MODEL (_tmp3_), &_tmp4_); prevpath = _tmp5_; _tmp6_ = prevpath; _tmp7_ = gtk_tree_path_prev (_tmp6_); if (!_tmp7_) { _gtk_tree_path_free0 (prevpath); return; } _tmp8_ = self->priv->itemstore; _tmp9_ = prevpath; _tmp11_ = gtk_tree_model_get_iter (GTK_TREE_MODEL (_tmp8_), &_tmp10_, _tmp9_); previter = _tmp10_; if (!_tmp11_) { _gtk_tree_path_free0 (prevpath); return; } _tmp12_ = self->priv->itemstore; _tmp13_ = iter; gtk_tree_model_get_value (GTK_TREE_MODEL (_tmp12_), &_tmp13_, 0, &_tmp14_); G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL; value = _tmp14_; _tmp15_ = self->priv->itemstore; _tmp16_ = previter; gtk_tree_model_get_value (GTK_TREE_MODEL (_tmp15_), &_tmp16_, 0, &_tmp17_); G_IS_VALUE (&prevvalue) ? (g_value_unset (&prevvalue), NULL) : NULL; prevvalue = _tmp17_; _tmp18_ = self->priv->itemstore; _tmp19_ = iter; _tmp20_ = prevvalue; gtk_list_store_set_value (_tmp18_, &_tmp19_, 0, &_tmp20_); _tmp21_ = self->priv->itemstore; _tmp22_ = previter; _tmp23_ = value; gtk_list_store_set_value (_tmp21_, &_tmp22_, 0, &_tmp23_); _tmp24_ = self->priv->itemselection; _tmp25_ = prevpath; gtk_tree_selection_select_path (_tmp24_, _tmp25_); G_IS_VALUE (&prevvalue) ? (g_value_unset (&prevvalue), NULL) : NULL; G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL; _gtk_tree_path_free0 (prevpath); } void item_preferences_on_itemdown_clicked (GtkButton* button, ItemPreferences* self) { GtkTreeIter iter = {0}; GtkTreeSelection* _tmp0_; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; GtkTreeIter nextiter = {0}; GtkListStore* _tmp3_; GtkTreeIter _tmp4_; GtkTreePath* _tmp5_ = NULL; GtkTreePath* nextpath; GtkTreePath* _tmp6_; GtkListStore* _tmp7_; GtkTreePath* _tmp8_; GtkTreeIter _tmp9_ = {0}; gboolean _tmp10_ = FALSE; GValue value = {0}; GValue nextvalue = {0}; GtkListStore* _tmp11_; GtkTreeIter _tmp12_; GValue _tmp13_ = {0}; GtkListStore* _tmp14_; GtkTreeIter _tmp15_; GValue _tmp16_ = {0}; GtkListStore* _tmp17_; GtkTreeIter _tmp18_; GValue _tmp19_; GtkListStore* _tmp20_; GtkTreeIter _tmp21_; GValue _tmp22_; GtkTreeSelection* _tmp23_; GtkTreePath* _tmp24_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); g_return_if_fail (GTK_IS_BUTTON (button)); _tmp0_ = self->priv->itemselection; _tmp2_ = gtk_tree_selection_get_selected (_tmp0_, NULL, &_tmp1_); iter = _tmp1_; if (!_tmp2_) { return; } _tmp3_ = self->priv->itemstore; _tmp4_ = iter; _tmp5_ = gtk_tree_model_get_path (GTK_TREE_MODEL (_tmp3_), &_tmp4_); nextpath = _tmp5_; _tmp6_ = nextpath; gtk_tree_path_next (_tmp6_); _tmp7_ = self->priv->itemstore; _tmp8_ = nextpath; _tmp10_ = gtk_tree_model_get_iter (GTK_TREE_MODEL (_tmp7_), &_tmp9_, _tmp8_); nextiter = _tmp9_; if (!_tmp10_) { _gtk_tree_path_free0 (nextpath); return; } _tmp11_ = self->priv->itemstore; _tmp12_ = iter; gtk_tree_model_get_value (GTK_TREE_MODEL (_tmp11_), &_tmp12_, 0, &_tmp13_); G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL; value = _tmp13_; _tmp14_ = self->priv->itemstore; _tmp15_ = nextiter; gtk_tree_model_get_value (GTK_TREE_MODEL (_tmp14_), &_tmp15_, 0, &_tmp16_); G_IS_VALUE (&nextvalue) ? (g_value_unset (&nextvalue), NULL) : NULL; nextvalue = _tmp16_; _tmp17_ = self->priv->itemstore; _tmp18_ = iter; _tmp19_ = nextvalue; gtk_list_store_set_value (_tmp17_, &_tmp18_, 0, &_tmp19_); _tmp20_ = self->priv->itemstore; _tmp21_ = nextiter; _tmp22_ = value; gtk_list_store_set_value (_tmp20_, &_tmp21_, 0, &_tmp22_); _tmp23_ = self->priv->itemselection; _tmp24_ = nextpath; gtk_tree_selection_select_path (_tmp23_, _tmp24_); G_IS_VALUE (&nextvalue) ? (g_value_unset (&nextvalue), NULL) : NULL; G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL; _gtk_tree_path_free0 (nextpath); } static void item_preferences_updatebuttons (ItemPreferences* self) { GtkTreeIter iter = {0}; gboolean add; gboolean remove; gboolean edit; gboolean up; gboolean down; GtkTreeSelection* _tmp0_; GtkTreeIter _tmp1_ = {0}; gboolean _tmp2_ = FALSE; GtkButton* _tmp15_; gboolean _tmp16_; GtkButton* _tmp17_; gboolean _tmp18_; GtkButton* _tmp19_; gboolean _tmp20_; GtkButton* _tmp21_; gboolean _tmp22_; GtkButton* _tmp23_; gboolean _tmp24_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); add = TRUE; remove = FALSE; edit = FALSE; up = FALSE; down = FALSE; _tmp0_ = self->priv->itemselection; _tmp2_ = gtk_tree_selection_get_selected (_tmp0_, NULL, &_tmp1_); iter = _tmp1_; if (_tmp2_) { GtkListStore* _tmp3_; GtkTreeIter _tmp4_; GtkTreePath* _tmp5_ = NULL; GtkTreePath* path; GtkTreePath* _tmp6_; gint _tmp7_ = 0; gint* _tmp8_ = NULL; gint* indices; gint indices_length1; gint _indices_size_; gint* _tmp9_; gint _tmp9__length1; gint _tmp10_; gint* _tmp11_; gint _tmp11__length1; gint _tmp12_; GtkListStore* _tmp13_; gint _tmp14_ = 0; edit = TRUE; remove = TRUE; _tmp3_ = self->priv->itemstore; _tmp4_ = iter; _tmp5_ = gtk_tree_model_get_path (GTK_TREE_MODEL (_tmp3_), &_tmp4_); path = _tmp5_; _tmp6_ = path; _tmp8_ = gtk_tree_path_get_indices_with_depth (_tmp6_, &_tmp7_); indices = _tmp8_; indices_length1 = _tmp7_; _indices_size_ = indices_length1; _tmp9_ = indices; _tmp9__length1 = indices_length1; _tmp10_ = _tmp9_[0]; up = _tmp10_ > 0; _tmp11_ = indices; _tmp11__length1 = indices_length1; _tmp12_ = _tmp11_[0]; _tmp13_ = self->priv->itemstore; _tmp14_ = gtk_tree_model_iter_n_children (GTK_TREE_MODEL (_tmp13_), NULL); down = (_tmp12_ + 1) < _tmp14_; _gtk_tree_path_free0 (path); } _tmp15_ = self->priv->itemadd; _tmp16_ = add; gtk_widget_set_sensitive (GTK_WIDGET (_tmp15_), _tmp16_); _tmp17_ = self->priv->itemremove; _tmp18_ = remove; gtk_widget_set_sensitive (GTK_WIDGET (_tmp17_), _tmp18_); _tmp19_ = self->priv->itemedit; _tmp20_ = edit; gtk_widget_set_sensitive (GTK_WIDGET (_tmp19_), _tmp20_); _tmp21_ = self->priv->itemup; _tmp22_ = up; gtk_widget_set_sensitive (GTK_WIDGET (_tmp21_), _tmp22_); _tmp23_ = self->priv->itemdown; _tmp24_ = down; gtk_widget_set_sensitive (GTK_WIDGET (_tmp23_), _tmp24_); } static void item_preferences_itemsgsettingstostore (ItemPreferences* self) { GSettings* _tmp0_; const gchar* _tmp1_; gchar** _tmp2_; gchar** _tmp3_ = NULL; gchar** expressions; gint expressions_length1; gint _expressions_size_; GtkListStore* _tmp4_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); _tmp0_ = self->priv->itemsettings; _tmp1_ = self->priv->_settingskey; _tmp3_ = _tmp2_ = g_settings_get_strv (_tmp0_, _tmp1_); expressions = _tmp3_; expressions_length1 = _vala_array_length (_tmp2_); _expressions_size_ = expressions_length1; self->priv->itemsignoresignals = TRUE; _tmp4_ = self->priv->itemstore; gtk_list_store_clear (_tmp4_); { guint i; gchar** _tmp5_; gint _tmp5__length1; guint isize; i = (guint) 0; _tmp5_ = expressions; _tmp5__length1 = expressions_length1; isize = (guint) _tmp5__length1; { gboolean _tmp6_; _tmp6_ = TRUE; while (TRUE) { gboolean _tmp7_; guint _tmp9_; guint _tmp10_; GtkListStore* _tmp11_; guint _tmp12_; gchar** _tmp13_; gint _tmp13__length1; guint _tmp14_; const gchar* _tmp15_; _tmp7_ = _tmp6_; if (!_tmp7_) { guint _tmp8_; _tmp8_ = i; i = _tmp8_ + 1; } _tmp6_ = FALSE; _tmp9_ = i; _tmp10_ = isize; if (!(_tmp9_ < _tmp10_)) { break; } _tmp11_ = self->priv->itemstore; _tmp12_ = i; _tmp13_ = expressions; _tmp13__length1 = expressions_length1; _tmp14_ = i; _tmp15_ = _tmp13_[_tmp14_]; gtk_list_store_insert_with_values (_tmp11_, NULL, (gint) _tmp12_, 0, _tmp15_, -1); } } } self->priv->itemsignoresignals = FALSE; expressions = (_vala_array_free (expressions, expressions_length1, (GDestroyNotify) g_free), NULL); } static void item_preferences_itemsstoretogsettings (ItemPreferences* self) { GtkListStore* _tmp0_; gint _tmp1_ = 0; gchar** _tmp2_ = NULL; gchar** _result_; gint _result__length1; gint __result__size_; GtkTreeIter iter = {0}; GSettings* _tmp20_; const gchar* _tmp21_; gchar** _tmp22_; gint _tmp22__length1; g_return_if_fail (IS_ITEM_PREFERENCES (self)); _tmp0_ = self->priv->itemstore; _tmp1_ = gtk_tree_model_iter_n_children (GTK_TREE_MODEL (_tmp0_), NULL); _tmp2_ = g_new0 (gchar*, _tmp1_ + 1); _result_ = _tmp2_; _result__length1 = _tmp1_; __result__size_ = _result__length1; { guint i; gchar** _tmp3_; gint _tmp3__length1; guint isize; i = (guint) 0; _tmp3_ = _result_; _tmp3__length1 = _result__length1; isize = (guint) _tmp3__length1; { gboolean _tmp4_; _tmp4_ = TRUE; while (TRUE) { gboolean _tmp5_; guint _tmp7_; guint _tmp8_; GtkListStore* _tmp9_; guint _tmp10_; GtkTreeIter _tmp11_ = {0}; GValue value = {0}; GtkListStore* _tmp12_; GtkTreeIter _tmp13_; GValue _tmp14_ = {0}; gchar** _tmp15_; gint _tmp15__length1; guint _tmp16_; GValue _tmp17_; gchar* _tmp18_; gchar* _tmp19_; _tmp5_ = _tmp4_; if (!_tmp5_) { guint _tmp6_; _tmp6_ = i; i = _tmp6_ + 1; } _tmp4_ = FALSE; _tmp7_ = i; _tmp8_ = isize; if (!(_tmp7_ < _tmp8_)) { break; } _tmp9_ = self->priv->itemstore; _tmp10_ = i; gtk_tree_model_iter_nth_child (GTK_TREE_MODEL (_tmp9_), &_tmp11_, NULL, (gint) _tmp10_); iter = _tmp11_; _tmp12_ = self->priv->itemstore; _tmp13_ = iter; gtk_tree_model_get_value (GTK_TREE_MODEL (_tmp12_), &_tmp13_, 0, &_tmp14_); G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL; value = _tmp14_; _tmp15_ = _result_; _tmp15__length1 = _result__length1; _tmp16_ = i; _tmp17_ = value; _tmp18_ = g_strdup (g_value_get_string (&_tmp17_)); _g_free0 (_tmp15_[_tmp16_]); _tmp15_[_tmp16_] = _tmp18_; _tmp19_ = _tmp15_[_tmp16_]; G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL; } } } self->priv->itemsignoresignals = TRUE; _tmp20_ = self->priv->itemsettings; _tmp21_ = self->priv->_settingskey; _tmp22_ = _result_; _tmp22__length1 = _result__length1; g_settings_set_strv (_tmp20_, _tmp21_, _tmp22_); self->priv->itemsignoresignals = FALSE; _result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_free), NULL); } const gchar* item_preferences_get_settingskey (ItemPreferences* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (IS_ITEM_PREFERENCES (self), NULL); _tmp0_ = self->priv->_settingskey; result = _tmp0_; return result; } static void item_preferences_set_settingskey (ItemPreferences* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (IS_ITEM_PREFERENCES (self)); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_settingskey); self->priv->_settingskey = _tmp1_; g_object_notify ((GObject *) self, "settingskey"); } static void item_preferences_class_init (ItemPreferencesClass * klass) { item_preferences_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (ItemPreferencesPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_item_preferences_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_item_preferences_set_property; G_OBJECT_CLASS (klass)->finalize = item_preferences_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), ITEM_PREFERENCES_SETTINGSKEY, g_param_spec_string ("settingskey", "settingskey", "settingskey", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); } static void item_preferences_instance_init (ItemPreferences * self) { self->priv = ITEM_PREFERENCES_GET_PRIVATE (self); } static void item_preferences_finalize (GObject* obj) { ItemPreferences * self; self = ITEM_PREFERENCES (obj); _g_object_unref0 (self->priv->items); _g_object_unref0 (self->priv->itemstore); _g_object_unref0 (self->priv->itemview); _g_object_unref0 (self->priv->itemselection); _g_object_unref0 (self->priv->itemadd); _g_object_unref0 (self->priv->itemremove); _g_object_unref0 (self->priv->itemedit); _g_object_unref0 (self->priv->itemup); _g_object_unref0 (self->priv->itemdown); _g_object_unref0 (self->priv->itemsettings); _g_free0 (self->priv->_settingskey); G_OBJECT_CLASS (item_preferences_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType item_preferences_get_type (void) { static volatile gsize item_preferences_type_id__volatile = 0; if (g_once_init_enter (&item_preferences_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (ItemPreferencesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) item_preferences_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ItemPreferences), 0, (GInstanceInitFunc) item_preferences_instance_init, NULL }; GType item_preferences_type_id; item_preferences_type_id = g_type_register_static (G_TYPE_OBJECT, "ItemPreferences", &g_define_type_info, 0); g_once_init_leave (&item_preferences_type_id__volatile, item_preferences_type_id); } return item_preferences_type_id__volatile; } static void _vala_item_preferences_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { ItemPreferences * self; self = ITEM_PREFERENCES (object); switch (property_id) { case ITEM_PREFERENCES_SETTINGSKEY: g_value_set_string (value, item_preferences_get_settingskey (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_item_preferences_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { ItemPreferences * self; self = ITEM_PREFERENCES (object); switch (property_id) { case ITEM_PREFERENCES_SETTINGSKEY: item_preferences_set_settingskey (self, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; } indicator-multiload-0.3/src/netprovider.c0000664000175000017500000004272012107670273015551 00000000000000/* netprovider.c generated by valac 0.14.2, the Vala compiler * generated from netprovider.vala, do not modify */ #include #include #include #include #include #include #include #include #include #define TYPE_PROVIDER (provider_get_type ()) #define PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDER, Provider)) #define PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDER, ProviderClass)) #define IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDER)) #define IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDER)) #define PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDER, ProviderClass)) typedef struct _Provider Provider; typedef struct _ProviderClass ProviderClass; typedef struct _ProviderPrivate ProviderPrivate; #define TYPE_NET_PROVIDER (net_provider_get_type ()) #define NET_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_NET_PROVIDER, NetProvider)) #define NET_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_NET_PROVIDER, NetProviderClass)) #define IS_NET_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_NET_PROVIDER)) #define IS_NET_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_NET_PROVIDER)) #define NET_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_NET_PROVIDER, NetProviderClass)) typedef struct _NetProvider NetProvider; typedef struct _NetProviderClass NetProviderClass; typedef struct _NetProviderPrivate NetProviderPrivate; #define _g_free0(var) (var = (g_free (var), NULL)) struct _Provider { GObject parent_instance; ProviderPrivate * priv; }; struct _ProviderClass { GObjectClass parent_class; void (*update) (Provider* self); }; struct _NetProvider { Provider parent_instance; NetProviderPrivate * priv; }; struct _NetProviderClass { ProviderClass parent_class; }; struct _NetProviderPrivate { guint64* lastdata; gint lastdata_length1; gint _lastdata_size_; guint64 lasttime; }; static gpointer net_provider_parent_class = NULL; GType provider_get_type (void) G_GNUC_CONST; GType net_provider_get_type (void) G_GNUC_CONST; #define NET_PROVIDER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_NET_PROVIDER, NetProviderPrivate)) enum { NET_PROVIDER_DUMMY_PROPERTY }; NetProvider* net_provider_new (void); NetProvider* net_provider_construct (GType object_type); Provider* provider_construct (GType object_type, const gchar* id, gchar** keys, int keys_length1); static void net_provider_real_update (Provider* base); gdouble* provider_get_values (Provider* self, int* result_length1); static guint64* _vala_array_dup18 (guint64* self, int length); static void net_provider_finalize (GObject* obj); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); NetProvider* net_provider_construct (GType object_type) { NetProvider * self = NULL; gchar* _tmp0_; gchar* _tmp1_; gchar* _tmp2_; gchar** _tmp3_ = NULL; gchar** _tmp4_; gint _tmp4__length1; _tmp0_ = g_strdup ("down"); _tmp1_ = g_strdup ("up"); _tmp2_ = g_strdup ("local"); _tmp3_ = g_new0 (gchar*, 3 + 1); _tmp3_[0] = _tmp0_; _tmp3_[1] = _tmp1_; _tmp3_[2] = _tmp2_; _tmp4_ = _tmp3_; _tmp4__length1 = 3; self = (NetProvider*) provider_construct (object_type, "net", _tmp4_, 3); _tmp4_ = (_vala_array_free (_tmp4_, _tmp4__length1, (GDestroyNotify) g_free), NULL); return self; } NetProvider* net_provider_new (void) { return net_provider_construct (TYPE_NET_PROVIDER); } static guint64* _vala_array_dup18 (guint64* self, int length) { return g_memdup (self, length * sizeof (guint64)); } static void net_provider_real_update (Provider* base) { NetProvider * self; guint64* _tmp0_ = NULL; guint64* newdata; gint newdata_length1; gint _newdata_size_; guint64 _tmp1_ = 0ULL; guint64 newtime; gchar** devices = NULL; gint devices_length1 = 0; gint _devices_size_ = 0; glibtop_netlist netlist = {0}; glibtop_netlist _tmp2_ = {0}; gchar** _tmp3_; gchar** _tmp4_ = NULL; glibtop_netlist _tmp5_; guint32 _tmp6_; guint64* _tmp89_; gint _tmp89__length1; guint64* _tmp110_; gint _tmp110__length1; guint64* _tmp111_; gint _tmp111__length1; guint64 _tmp112_; self = NET_PROVIDER (base); _tmp0_ = g_new0 (guint64, 3); newdata = _tmp0_; newdata_length1 = 3; _newdata_size_ = newdata_length1; _tmp1_ = g_get_monotonic_time (); newtime = _tmp1_; _tmp4_ = _tmp3_ = glibtop_get_netlist (&_tmp2_); netlist = _tmp2_; devices = (_vala_array_free (devices, devices_length1, (GDestroyNotify) g_free), NULL); devices = _tmp4_; devices_length1 = _vala_array_length (_tmp3_); _devices_size_ = devices_length1; _tmp5_ = netlist; _tmp6_ = _tmp5_.number; g_debug ("netprovider.vala:34: Netlist: %u entries", (guint) _tmp6_); { guint i; i = (guint) 0; { gboolean _tmp7_; _tmp7_ = TRUE; while (TRUE) { gboolean _tmp8_; guint _tmp10_; glibtop_netlist _tmp11_; guint32 _tmp12_; glibtop_netload netload = {0}; gchar** _tmp13_; gint _tmp13__length1; guint _tmp14_; const gchar* _tmp15_; glibtop_netload _tmp16_ = {0}; gchar** _tmp17_; gint _tmp17__length1; guint _tmp18_; const gchar* _tmp19_; glibtop_netload _tmp20_; guint64 _tmp21_; glibtop_netload _tmp22_; guint64 _tmp23_; glibtop_netload _tmp24_; guint32 _tmp25_; glibtop_netload _tmp26_; guint32 _tmp27_; glibtop_netload _tmp28_; guint32 _tmp29_; glibtop_netload _tmp30_; guint64 _tmp31_; glibtop_netload _tmp32_; guint64 _tmp33_; glibtop_netload _tmp34_; guint64 _tmp35_; glibtop_netload _tmp36_; guint64 _tmp37_; glibtop_netload _tmp38_; guint64 _tmp39_; glibtop_netload _tmp40_; guint64 _tmp41_; glibtop_netload _tmp42_; guint64 _tmp43_; glibtop_netload _tmp44_; guint64 _tmp45_; glibtop_netload _tmp46_; guint64 _tmp47_; glibtop_netload _tmp48_; guint64 _tmp49_; glibtop_netload _tmp50_; guint64 _tmp51_; gint _tmp52_; glibtop_netload _tmp53_; guint64 _tmp54_; gint _tmp55_; _tmp8_ = _tmp7_; if (!_tmp8_) { guint _tmp9_; _tmp9_ = i; i = _tmp9_ + 1; } _tmp7_ = FALSE; _tmp10_ = i; _tmp11_ = netlist; _tmp12_ = _tmp11_.number; if (!(_tmp10_ < ((guint) _tmp12_))) { break; } _tmp13_ = devices; _tmp13__length1 = devices_length1; _tmp14_ = i; _tmp15_ = _tmp13_[_tmp14_]; glibtop_get_netload (&_tmp16_, _tmp15_); netload = _tmp16_; _tmp17_ = devices; _tmp17__length1 = devices_length1; _tmp18_ = i; _tmp19_ = _tmp17_[_tmp18_]; g_debug ("netprovider.vala:38: Netload: %s", _tmp19_); _tmp20_ = netload; _tmp21_ = _tmp20_.flags; g_debug ("netprovider.vala:39: flags: %llx", _tmp21_); _tmp22_ = netload; _tmp23_ = _tmp22_.if_flags; g_debug ("netprovider.vala:40: if flags: %llx", _tmp23_); _tmp24_ = netload; _tmp25_ = _tmp24_.mtu; g_debug ("netprovider.vala:41: mtu: %u", (guint) _tmp25_); _tmp26_ = netload; _tmp27_ = _tmp26_.subnet; g_debug ("netprovider.vala:42: subnet: %u", (guint) _tmp27_); _tmp28_ = netload; _tmp29_ = _tmp28_.address; g_debug ("netprovider.vala:43: address: %u", (guint) _tmp29_); _tmp30_ = netload; _tmp31_ = _tmp30_.packets_in; g_debug ("netprovider.vala:44: packets in: %llu", _tmp31_); _tmp32_ = netload; _tmp33_ = _tmp32_.packets_out; g_debug ("netprovider.vala:45: packets out: %llu", _tmp33_); _tmp34_ = netload; _tmp35_ = _tmp34_.packets_total; g_debug ("netprovider.vala:46: packets total: %llu", _tmp35_); _tmp36_ = netload; _tmp37_ = _tmp36_.bytes_in; g_debug ("netprovider.vala:47: bytes in: %llu", _tmp37_); _tmp38_ = netload; _tmp39_ = _tmp38_.bytes_out; g_debug ("netprovider.vala:48: bytes out: %llu", _tmp39_); _tmp40_ = netload; _tmp41_ = _tmp40_.bytes_total; g_debug ("netprovider.vala:49: bytes total: %llu", _tmp41_); _tmp42_ = netload; _tmp43_ = _tmp42_.errors_in; g_debug ("netprovider.vala:50: errors in: %llu", _tmp43_); _tmp44_ = netload; _tmp45_ = _tmp44_.errors_out; g_debug ("netprovider.vala:51: errors out: %llu", _tmp45_); _tmp46_ = netload; _tmp47_ = _tmp46_.errors_total; g_debug ("netprovider.vala:52: errors total: %llu", _tmp47_); _tmp48_ = netload; _tmp49_ = _tmp48_.collisions; g_debug ("netprovider.vala:53: collisions: %llu", _tmp49_); _tmp50_ = netload; _tmp51_ = _tmp50_.if_flags; _tmp52_ = GLIBTOP_IF_FLAGS_UP; _tmp53_ = netload; _tmp54_ = _tmp53_.if_flags; _tmp55_ = GLIBTOP_IF_FLAGS_RUNNING; if (((_tmp51_ & (1L << _tmp52_)) == ((guint64) 0)) | ((_tmp54_ & (1L << _tmp55_)) == ((guint64) 0))) { g_debug ("netprovider.vala:57: down or not running"); } else { gchar** _tmp56_; gint _tmp56__length1; guint _tmp57_; const gchar* _tmp58_; gchar* _tmp59_ = NULL; gchar* _tmp60_; gboolean _tmp61_ = FALSE; gboolean _tmp62_; _tmp56_ = devices; _tmp56__length1 = devices_length1; _tmp57_ = i; _tmp58_ = _tmp56_[_tmp57_]; _tmp59_ = g_strdup_printf ("/sys/class/net/%s/device", _tmp58_); _tmp60_ = _tmp59_; _tmp61_ = g_file_test (_tmp60_, G_FILE_TEST_EXISTS); _tmp62_ = _tmp61_; _g_free0 (_tmp60_); if (_tmp62_) { guint64* _tmp63_; gint _tmp63__length1; glibtop_netload _tmp64_; guint64 _tmp65_; guint64 _tmp66_; guint64* _tmp67_; gint _tmp67__length1; glibtop_netload _tmp68_; guint64 _tmp69_; guint64 _tmp70_; _tmp63_ = newdata; _tmp63__length1 = newdata_length1; _tmp64_ = netload; _tmp65_ = _tmp64_.bytes_in; _tmp63_[0] += _tmp65_; _tmp66_ = _tmp63_[0]; _tmp67_ = newdata; _tmp67__length1 = newdata_length1; _tmp68_ = netload; _tmp69_ = _tmp68_.bytes_out; _tmp67_[1] += _tmp69_; _tmp70_ = _tmp67_[1]; g_debug ("netprovider.vala:61: existing device link"); } else { glibtop_netload _tmp71_; guint64 _tmp72_; gint _tmp73_; _tmp71_ = netload; _tmp72_ = _tmp71_.if_flags; _tmp73_ = GLIBTOP_IF_FLAGS_POINTOPOINT; if ((_tmp72_ & (1L << _tmp73_)) > ((guint64) 0)) { guint64* _tmp74_; gint _tmp74__length1; glibtop_netload _tmp75_; guint64 _tmp76_; guint64 _tmp77_; guint64* _tmp78_; gint _tmp78__length1; glibtop_netload _tmp79_; guint64 _tmp80_; guint64 _tmp81_; _tmp74_ = newdata; _tmp74__length1 = newdata_length1; _tmp75_ = netload; _tmp76_ = _tmp75_.bytes_in; _tmp74_[0] += _tmp76_; _tmp77_ = _tmp74_[0]; _tmp78_ = newdata; _tmp78__length1 = newdata_length1; _tmp79_ = netload; _tmp80_ = _tmp79_.bytes_out; _tmp78_[1] += _tmp80_; _tmp81_ = _tmp78_[1]; g_debug ("netprovider.vala:65: pointtopoint"); } else { glibtop_netload _tmp82_; guint64 _tmp83_; gint _tmp84_; _tmp82_ = netload; _tmp83_ = _tmp82_.if_flags; _tmp84_ = GLIBTOP_IF_FLAGS_LOOPBACK; if ((_tmp83_ & (1L << _tmp84_)) > ((guint64) 0)) { guint64* _tmp85_; gint _tmp85__length1; glibtop_netload _tmp86_; guint64 _tmp87_; guint64 _tmp88_; _tmp85_ = newdata; _tmp85__length1 = newdata_length1; _tmp86_ = netload; _tmp87_ = _tmp86_.bytes_in; _tmp85_[2] += _tmp87_; _tmp88_ = _tmp85_[2]; g_debug ("netprovider.vala:68: loopback"); } else { g_debug ("netprovider.vala:70: unknown"); } } } } } } } _tmp89_ = self->priv->lastdata; _tmp89__length1 = self->priv->lastdata_length1; if (_tmp89__length1 != 0) { guint64 _tmp90_; guint64 _tmp91_; gdouble delta; _tmp90_ = newtime; _tmp91_ = self->priv->lasttime; delta = (_tmp90_ - _tmp91_) / 1e6; { guint i; gdouble* _tmp92_; gint _tmp92__length1; gdouble* _tmp93_; gint _tmp93__length1; guint isize; i = (guint) 0; _tmp92_ = provider_get_values (PROVIDER (self), &_tmp92__length1); _tmp93_ = _tmp92_; _tmp93__length1 = _tmp92__length1; isize = (guint) _tmp93__length1; { gboolean _tmp94_; _tmp94_ = TRUE; while (TRUE) { gboolean _tmp95_; guint _tmp97_; guint _tmp98_; gdouble* _tmp99_; gint _tmp99__length1; gdouble* _tmp100_; gint _tmp100__length1; guint _tmp101_; guint64* _tmp102_; gint _tmp102__length1; guint _tmp103_; guint64 _tmp104_; guint64* _tmp105_; gint _tmp105__length1; guint _tmp106_; guint64 _tmp107_; gdouble _tmp108_; gdouble _tmp109_; _tmp95_ = _tmp94_; if (!_tmp95_) { guint _tmp96_; _tmp96_ = i; i = _tmp96_ + 1; } _tmp94_ = FALSE; _tmp97_ = i; _tmp98_ = isize; if (!(_tmp97_ < _tmp98_)) { break; } _tmp99_ = provider_get_values (PROVIDER (self), &_tmp99__length1); _tmp100_ = _tmp99_; _tmp100__length1 = _tmp99__length1; _tmp101_ = i; _tmp102_ = newdata; _tmp102__length1 = newdata_length1; _tmp103_ = i; _tmp104_ = _tmp102_[_tmp103_]; _tmp105_ = self->priv->lastdata; _tmp105__length1 = self->priv->lastdata_length1; _tmp106_ = i; _tmp107_ = _tmp105_[_tmp106_]; _tmp108_ = delta; _tmp100_[_tmp101_] = (_tmp104_ - _tmp107_) / _tmp108_; _tmp109_ = _tmp100_[_tmp101_]; } } } } _tmp110_ = newdata; _tmp110__length1 = newdata_length1; _tmp111_ = (_tmp110_ != NULL) ? _vala_array_dup18 (_tmp110_, _tmp110__length1) : ((gpointer) _tmp110_); _tmp111__length1 = _tmp110__length1; self->priv->lastdata = (g_free (self->priv->lastdata), NULL); self->priv->lastdata = _tmp111_; self->priv->lastdata_length1 = _tmp111__length1; self->priv->_lastdata_size_ = self->priv->lastdata_length1; _tmp112_ = newtime; self->priv->lasttime = _tmp112_; devices = (_vala_array_free (devices, devices_length1, (GDestroyNotify) g_free), NULL); newdata = (g_free (newdata), NULL); } static void net_provider_class_init (NetProviderClass * klass) { net_provider_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (NetProviderPrivate)); PROVIDER_CLASS (klass)->update = net_provider_real_update; G_OBJECT_CLASS (klass)->finalize = net_provider_finalize; } static void net_provider_instance_init (NetProvider * self) { self->priv = NET_PROVIDER_GET_PRIVATE (self); } static void net_provider_finalize (GObject* obj) { NetProvider * self; self = NET_PROVIDER (obj); self->priv->lastdata = (g_free (self->priv->lastdata), NULL); G_OBJECT_CLASS (net_provider_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType net_provider_get_type (void) { static volatile gsize net_provider_type_id__volatile = 0; if (g_once_init_enter (&net_provider_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (NetProviderClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) net_provider_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (NetProvider), 0, (GInstanceInitFunc) net_provider_instance_init, NULL }; GType net_provider_type_id; net_provider_type_id = g_type_register_static (TYPE_PROVIDER, "NetProvider", &g_define_type_info, 0); g_once_init_leave (&net_provider_type_id__volatile, net_provider_type_id); } return net_provider_type_id__volatile; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; } indicator-multiload-0.3/src/menumodel.c0000664000175000017500000003531512107670273015177 00000000000000/* menumodel.c generated by valac 0.14.2, the Vala compiler * generated from menumodel.vala, do not modify */ #include #include #include #include #define TYPE_MENU_MODEL (menu_model_get_type ()) #define MENU_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MENU_MODEL, MenuModel)) #define MENU_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MENU_MODEL, MenuModelClass)) #define IS_MENU_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MENU_MODEL)) #define IS_MENU_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MENU_MODEL)) #define MENU_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MENU_MODEL, MenuModelClass)) typedef struct _MenuModel MenuModel; typedef struct _MenuModelClass MenuModelClass; typedef struct _MenuModelPrivate MenuModelPrivate; #define TYPE_PROVIDERS (providers_get_type ()) #define PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDERS, Providers)) #define PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDERS, ProvidersClass)) #define IS_PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDERS)) #define IS_PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDERS)) #define PROVIDERS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDERS, ProvidersClass)) typedef struct _Providers Providers; typedef struct _ProvidersClass ProvidersClass; #define TYPE_EXPRESSION_CACHE (expression_cache_get_type ()) #define EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EXPRESSION_CACHE, ExpressionCache)) #define EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) #define IS_EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EXPRESSION_CACHE)) #define IS_EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EXPRESSION_CACHE)) #define EXPRESSION_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) typedef struct _ExpressionCache ExpressionCache; typedef struct _ExpressionCacheClass ExpressionCacheClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) struct _MenuModel { GObject parent_instance; MenuModelPrivate * priv; }; struct _MenuModelClass { GObjectClass parent_class; }; struct _MenuModelPrivate { Providers* providers; ExpressionCache** caches; gint caches_length1; gint _caches_size_; gchar** _expressions; gint _expressions_length1; gint __expressions_size_; }; static gpointer menu_model_parent_class = NULL; GType menu_model_get_type (void) G_GNUC_CONST; GType providers_get_type (void) G_GNUC_CONST; GType expression_cache_get_type (void) G_GNUC_CONST; #define MENU_MODEL_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MENU_MODEL, MenuModelPrivate)) enum { MENU_MODEL_DUMMY_PROPERTY, MENU_MODEL_EXPRESSIONS }; MenuModel* menu_model_new (Providers* providers); MenuModel* menu_model_construct (GType object_type, Providers* providers); void menu_model_update (MenuModel* self); void expression_cache_update (ExpressionCache* self); ExpressionCache* menu_model_expression (MenuModel* self, guint index); gchar** menu_model_get_expressions (MenuModel* self, int* result_length1); void menu_model_set_expressions (MenuModel* self, gchar** value, int value_length1); static gchar** _vala_array_dup15 (gchar** self, int length); static GObject * menu_model_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void _menu_model___lambda2_ (MenuModel* self); ExpressionCache* expression_cache_new (Providers* providers, const gchar* expression); ExpressionCache* expression_cache_construct (GType object_type, Providers* providers, const gchar* expression); static void __menu_model___lambda2__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self); static void menu_model_finalize (GObject* obj); static void _vala_menu_model_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_menu_model_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } MenuModel* menu_model_construct (GType object_type, Providers* providers) { MenuModel * self = NULL; Providers* _tmp0_; Providers* _tmp1_; g_return_val_if_fail (IS_PROVIDERS (providers), NULL); self = (MenuModel*) g_object_new (object_type, NULL); _tmp0_ = providers; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->providers); self->priv->providers = _tmp1_; return self; } MenuModel* menu_model_new (Providers* providers) { return menu_model_construct (TYPE_MENU_MODEL, providers); } void menu_model_update (MenuModel* self) { ExpressionCache** _tmp0_; gint _tmp0__length1; g_return_if_fail (IS_MENU_MODEL (self)); _tmp0_ = self->priv->caches; _tmp0__length1 = self->priv->caches_length1; { ExpressionCache** cache_collection = NULL; gint cache_collection_length1 = 0; gint _cache_collection_size_ = 0; gint cache_it = 0; cache_collection = _tmp0_; cache_collection_length1 = _tmp0__length1; for (cache_it = 0; cache_it < _tmp0__length1; cache_it = cache_it + 1) { ExpressionCache* _tmp1_; ExpressionCache* cache = NULL; _tmp1_ = _g_object_ref0 (cache_collection[cache_it]); cache = _tmp1_; { ExpressionCache* _tmp2_; _tmp2_ = cache; expression_cache_update (_tmp2_); _g_object_unref0 (cache); } } } } ExpressionCache* menu_model_expression (MenuModel* self, guint index) { ExpressionCache* result = NULL; guint _tmp0_; ExpressionCache** _tmp1_; gint _tmp1__length1; ExpressionCache** _tmp2_; gint _tmp2__length1; guint _tmp3_; ExpressionCache* _tmp4_; ExpressionCache* _tmp5_; g_return_val_if_fail (IS_MENU_MODEL (self), NULL); _tmp0_ = index; _tmp1_ = self->priv->caches; _tmp1__length1 = self->priv->caches_length1; g_return_val_if_fail (_tmp0_ < ((guint) _tmp1__length1), NULL); _tmp2_ = self->priv->caches; _tmp2__length1 = self->priv->caches_length1; _tmp3_ = index; _tmp4_ = _tmp2_[_tmp3_]; _tmp5_ = _g_object_ref0 (_tmp4_); result = _tmp5_; return result; } gchar** menu_model_get_expressions (MenuModel* self, int* result_length1) { gchar** result; gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_MENU_MODEL (self), NULL); _tmp0_ = self->priv->_expressions; _tmp0__length1 = self->priv->_expressions_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static gchar** _vala_array_dup15 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } void menu_model_set_expressions (MenuModel* self, gchar** value, int value_length1) { gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_MENU_MODEL (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup15 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_expressions = (_vala_array_free (self->priv->_expressions, self->priv->_expressions_length1, (GDestroyNotify) g_free), NULL); self->priv->_expressions = _tmp1_; self->priv->_expressions_length1 = _tmp1__length1; self->priv->__expressions_size_ = self->priv->_expressions_length1; g_object_notify ((GObject *) self, "expressions"); } static void _menu_model___lambda2_ (MenuModel* self) { gchar** _tmp0_; gint _tmp0__length1; ExpressionCache** _tmp1_ = NULL; _tmp0_ = self->priv->_expressions; _tmp0__length1 = self->priv->_expressions_length1; _tmp1_ = g_new0 (ExpressionCache*, _tmp0__length1 + 1); self->priv->caches = (_vala_array_free (self->priv->caches, self->priv->caches_length1, (GDestroyNotify) g_object_unref), NULL); self->priv->caches = _tmp1_; self->priv->caches_length1 = _tmp0__length1; self->priv->_caches_size_ = self->priv->caches_length1; { guint i; ExpressionCache** _tmp2_; gint _tmp2__length1; guint isize; i = (guint) 0; _tmp2_ = self->priv->caches; _tmp2__length1 = self->priv->caches_length1; isize = (guint) _tmp2__length1; { gboolean _tmp3_; _tmp3_ = TRUE; while (TRUE) { gboolean _tmp4_; guint _tmp6_; guint _tmp7_; ExpressionCache** _tmp8_; gint _tmp8__length1; guint _tmp9_; Providers* _tmp10_; gchar** _tmp11_; gint _tmp11__length1; guint _tmp12_; const gchar* _tmp13_; ExpressionCache* _tmp14_; ExpressionCache* _tmp15_; _tmp4_ = _tmp3_; if (!_tmp4_) { guint _tmp5_; _tmp5_ = i; i = _tmp5_ + 1; } _tmp3_ = FALSE; _tmp6_ = i; _tmp7_ = isize; if (!(_tmp6_ < _tmp7_)) { break; } _tmp8_ = self->priv->caches; _tmp8__length1 = self->priv->caches_length1; _tmp9_ = i; _tmp10_ = self->priv->providers; _tmp11_ = self->priv->_expressions; _tmp11__length1 = self->priv->_expressions_length1; _tmp12_ = i; _tmp13_ = _tmp11_[_tmp12_]; _tmp14_ = expression_cache_new (_tmp10_, _tmp13_); _g_object_unref0 (_tmp8_[_tmp9_]); _tmp8_[_tmp9_] = _tmp14_; _tmp15_ = _tmp8_[_tmp9_]; } } } } static void __menu_model___lambda2__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) { _menu_model___lambda2_ (self); } static GObject * menu_model_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; MenuModel * self; parent_class = G_OBJECT_CLASS (menu_model_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MENU_MODEL (obj); g_signal_connect_object (G_OBJECT (self), "notify::expressions", (GCallback) __menu_model___lambda2__g_object_notify, self, 0); return obj; } static void menu_model_class_init (MenuModelClass * klass) { menu_model_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (MenuModelPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_menu_model_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_menu_model_set_property; G_OBJECT_CLASS (klass)->constructor = menu_model_constructor; G_OBJECT_CLASS (klass)->finalize = menu_model_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MENU_MODEL_EXPRESSIONS, g_param_spec_boxed ("expressions", "expressions", "expressions", G_TYPE_STRV, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); } static void menu_model_instance_init (MenuModel * self) { self->priv = MENU_MODEL_GET_PRIVATE (self); } static void menu_model_finalize (GObject* obj) { MenuModel * self; self = MENU_MODEL (obj); _g_object_unref0 (self->priv->providers); self->priv->caches = (_vala_array_free (self->priv->caches, self->priv->caches_length1, (GDestroyNotify) g_object_unref), NULL); self->priv->_expressions = (_vala_array_free (self->priv->_expressions, self->priv->_expressions_length1, (GDestroyNotify) g_free), NULL); G_OBJECT_CLASS (menu_model_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType menu_model_get_type (void) { static volatile gsize menu_model_type_id__volatile = 0; if (g_once_init_enter (&menu_model_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (MenuModelClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) menu_model_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MenuModel), 0, (GInstanceInitFunc) menu_model_instance_init, NULL }; GType menu_model_type_id; menu_model_type_id = g_type_register_static (G_TYPE_OBJECT, "MenuModel", &g_define_type_info, 0); g_once_init_leave (&menu_model_type_id__volatile, menu_model_type_id); } return menu_model_type_id__volatile; } static void _vala_menu_model_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { MenuModel * self; self = MENU_MODEL (object); switch (property_id) { case MENU_MODEL_EXPRESSIONS: { int length; g_value_set_boxed (value, menu_model_get_expressions (self, &length)); } break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_menu_model_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { MenuModel * self; self = MENU_MODEL (object); switch (property_id) { case MENU_MODEL_EXPRESSIONS: { gpointer boxed; boxed = g_value_get_boxed (value); menu_model_set_expressions (self, boxed, g_strv_length (boxed)); } break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/settingsconversion.c0000664000175000017500000010602212107670273017152 00000000000000/* settingsconversion.c generated by valac 0.14.2, the Vala compiler * generated from settingsconversion.vala, do not modify */ #include #include #include #include #include #define TYPE_SETTINGS_CONVERSION (settings_conversion_get_type ()) #define SETTINGS_CONVERSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS_CONVERSION, SettingsConversion)) #define SETTINGS_CONVERSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS_CONVERSION, SettingsConversionClass)) #define IS_SETTINGS_CONVERSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS_CONVERSION)) #define IS_SETTINGS_CONVERSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS_CONVERSION)) #define SETTINGS_CONVERSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS_CONVERSION, SettingsConversionClass)) typedef struct _SettingsConversion SettingsConversion; typedef struct _SettingsConversionClass SettingsConversionClass; typedef struct _SettingsConversionPrivate SettingsConversionPrivate; #define TYPE_SETTINGS_CACHE (settings_cache_get_type ()) #define SETTINGS_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS_CACHE, SettingsCache)) #define SETTINGS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS_CACHE, SettingsCacheClass)) #define IS_SETTINGS_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS_CACHE)) #define IS_SETTINGS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS_CACHE)) #define SETTINGS_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS_CACHE, SettingsCacheClass)) typedef struct _SettingsCache SettingsCache; typedef struct _SettingsCacheClass SettingsCacheClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) struct _SettingsConversion { GObject parent_instance; SettingsConversionPrivate * priv; }; struct _SettingsConversionClass { GObjectClass parent_class; }; struct _SettingsConversionPrivate { SettingsCache* settingscache; }; static gpointer settings_conversion_parent_class = NULL; GType settings_conversion_get_type (void) G_GNUC_CONST; GType settings_cache_get_type (void) G_GNUC_CONST; #define SETTINGS_CONVERSION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SETTINGS_CONVERSION, SettingsConversionPrivate)) enum { SETTINGS_CONVERSION_DUMMY_PROPERTY }; SettingsCache* settings_cache_new (void); SettingsCache* settings_cache_construct (GType object_type); guint settings_conversion_oldversion (SettingsConversion* self); GSettings* settings_cache_generalsettings (SettingsCache* self); gboolean settings_conversion_is_current (SettingsConversion* self); void settings_conversion_convert (SettingsConversion* self); static void settings_conversion_convert_version1 (SettingsConversion* self); static GVariant* _variant_new1 (guint value); GSettings* settings_cache_graphsettings (SettingsCache* self, const gchar* graphid); GSettings* settings_cache_tracesettings (SettingsCache* self, const gchar* graphid, const gchar* traceid); SettingsConversion* settings_conversion_new (void); SettingsConversion* settings_conversion_construct (GType object_type); static void settings_conversion_finalize (GObject* obj); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); guint settings_conversion_oldversion (SettingsConversion* self) { guint result = 0U; SettingsCache* _tmp0_; GSettings* _tmp1_ = NULL; GSettings* settings; GVariant* _tmp2_ = NULL; GVariant* _tmp3_; guint32 _tmp4_ = 0U; guint _tmp5_; g_return_val_if_fail (IS_SETTINGS_CONVERSION (self), 0U); _tmp0_ = self->priv->settingscache; _tmp1_ = settings_cache_generalsettings (_tmp0_); settings = _tmp1_; _tmp2_ = g_settings_get_value (settings, "settings-version"); _tmp3_ = _tmp2_; _tmp4_ = g_variant_get_uint32 (_tmp3_); _tmp5_ = (guint) _tmp4_; _g_variant_unref0 (_tmp3_); result = _tmp5_; _g_object_unref0 (settings); return result; } gboolean settings_conversion_is_current (SettingsConversion* self) { gboolean result = FALSE; guint _tmp0_ = 0U; g_return_val_if_fail (IS_SETTINGS_CONVERSION (self), FALSE); _tmp0_ = settings_conversion_oldversion (self); result = _tmp0_ == ((guint) 2); return result; } static GVariant* _variant_new1 (guint value) { return g_variant_ref_sink (g_variant_new_uint32 (value)); } void settings_conversion_convert (SettingsConversion* self) { SettingsCache* _tmp0_; GSettings* _tmp1_ = NULL; GSettings* settings; g_return_if_fail (IS_SETTINGS_CONVERSION (self)); _tmp0_ = self->priv->settingscache; _tmp1_ = settings_cache_generalsettings (_tmp0_); settings = _tmp1_; while (TRUE) { gboolean _tmp2_ = FALSE; guint _tmp3_ = 0U; GSettings* _tmp4_; guint _tmp5_ = 0U; GVariant* _tmp6_; _tmp2_ = settings_conversion_is_current (self); if (!(!_tmp2_)) { break; } _tmp3_ = settings_conversion_oldversion (self); switch (_tmp3_) { case 1: { settings_conversion_convert_version1 (self); break; } default: break; } _tmp4_ = settings; _tmp5_ = settings_conversion_oldversion (self); _tmp6_ = _variant_new1 (_tmp5_ + 1); g_settings_set_value (_tmp4_, "settings-version", _tmp6_); } _g_object_unref0 (settings); } static void settings_conversion_convert_version1 (SettingsConversion* self) { GSettings* _tmp0_; GSettings* oldsettings; GSettings* _tmp1_; gchar** _tmp2_; gchar** _tmp3_ = NULL; g_return_if_fail (IS_SETTINGS_CONVERSION (self)); _tmp0_ = g_settings_new_with_path ("de.mh21.indicator.multiload.version1", "/apps/indicators/multiload/"); oldsettings = _tmp0_; _tmp1_ = oldsettings; _tmp3_ = _tmp2_ = g_settings_list_keys (_tmp1_); { gchar** key_collection = NULL; gint key_collection_length1 = 0; gint _key_collection_size_ = 0; gint key_it = 0; key_collection = _tmp3_; key_collection_length1 = _vala_array_length (_tmp2_); for (key_it = 0; key_it < _vala_array_length (_tmp2_); key_it = key_it + 1) { gchar* _tmp4_; gchar* key = NULL; _tmp4_ = g_strdup (key_collection[key_it]); key = _tmp4_; { GSettings* _tmp5_; const gchar* _tmp6_; GVariant* _tmp7_ = NULL; GVariant* value; GSettings* _tmp8_; const gchar* _tmp9_; GSettings* _tmp10_; const gchar* _tmp11_; GVariant* _tmp12_ = NULL; GVariant* defaultvalue; GVariant* _tmp13_; GVariant* _tmp14_; gboolean _tmp15_ = FALSE; _tmp5_ = oldsettings; _tmp6_ = key; _tmp7_ = g_settings_get_value (_tmp5_, _tmp6_); value = _tmp7_; _tmp8_ = oldsettings; _tmp9_ = key; g_settings_reset (_tmp8_, _tmp9_); _tmp10_ = oldsettings; _tmp11_ = key; _tmp12_ = g_settings_get_value (_tmp10_, _tmp11_); defaultvalue = _tmp12_; _tmp13_ = value; _tmp14_ = defaultvalue; _tmp15_ = g_variant_equal (_tmp13_, _tmp14_); if (!_tmp15_) { const gchar* _tmp16_; const gchar* _tmp17_; GQuark _tmp19_ = 0U; static GQuark _tmp18_label0 = 0; static GQuark _tmp18_label1 = 0; static GQuark _tmp18_label2 = 0; static GQuark _tmp18_label3 = 0; static GQuark _tmp18_label4 = 0; static GQuark _tmp18_label5 = 0; static GQuark _tmp18_label6 = 0; static GQuark _tmp18_label7 = 0; static GQuark _tmp18_label8 = 0; static GQuark _tmp18_label9 = 0; static GQuark _tmp18_label10 = 0; static GQuark _tmp18_label11 = 0; static GQuark _tmp18_label12 = 0; static GQuark _tmp18_label13 = 0; static GQuark _tmp18_label14 = 0; static GQuark _tmp18_label15 = 0; static GQuark _tmp18_label16 = 0; static GQuark _tmp18_label17 = 0; static GQuark _tmp18_label18 = 0; static GQuark _tmp18_label19 = 0; static GQuark _tmp18_label20 = 0; static GQuark _tmp18_label21 = 0; static GQuark _tmp18_label22 = 0; static GQuark _tmp18_label23 = 0; static GQuark _tmp18_label24 = 0; static GQuark _tmp18_label25 = 0; static GQuark _tmp18_label26 = 0; static GQuark _tmp18_label27 = 0; static GQuark _tmp18_label28 = 0; static GQuark _tmp18_label29 = 0; static GQuark _tmp18_label30 = 0; static GQuark _tmp18_label31 = 0; static GQuark _tmp18_label32 = 0; static GQuark _tmp18_label33 = 0; static GQuark _tmp18_label34 = 0; static GQuark _tmp18_label35 = 0; static GQuark _tmp18_label36 = 0; static GQuark _tmp18_label37 = 0; _tmp16_ = key; _tmp17_ = _tmp16_; _tmp19_ = (NULL == _tmp17_) ? 0 : g_quark_from_string (_tmp17_); if (_tmp19_ == ((0 != _tmp18_label0) ? _tmp18_label0 : (_tmp18_label0 = g_quark_from_static_string ("cpuload-alpha4")))) { switch (0) { default: { SettingsCache* _tmp20_; GSettings* _tmp21_ = NULL; GSettings* _tmp22_; GVariant* _tmp23_; _tmp20_ = self->priv->settingscache; _tmp21_ = settings_cache_graphsettings (_tmp20_, "cpu"); _tmp22_ = _tmp21_; _tmp23_ = value; g_settings_set_value (_tmp22_, "alpha", _tmp23_); _g_object_unref0 (_tmp22_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label1) ? _tmp18_label1 : (_tmp18_label1 = g_quark_from_static_string ("memload-alpha4")))) { switch (0) { default: { SettingsCache* _tmp24_; GSettings* _tmp25_ = NULL; GSettings* _tmp26_; GVariant* _tmp27_; _tmp24_ = self->priv->settingscache; _tmp25_ = settings_cache_graphsettings (_tmp24_, "mem"); _tmp26_ = _tmp25_; _tmp27_ = value; g_settings_set_value (_tmp26_, "alpha", _tmp27_); _g_object_unref0 (_tmp26_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label2) ? _tmp18_label2 : (_tmp18_label2 = g_quark_from_static_string ("netload-alpha3")))) { switch (0) { default: { SettingsCache* _tmp28_; GSettings* _tmp29_ = NULL; GSettings* _tmp30_; GVariant* _tmp31_; _tmp28_ = self->priv->settingscache; _tmp29_ = settings_cache_graphsettings (_tmp28_, "net"); _tmp30_ = _tmp29_; _tmp31_ = value; g_settings_set_value (_tmp30_, "alpha", _tmp31_); _g_object_unref0 (_tmp30_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label3) ? _tmp18_label3 : (_tmp18_label3 = g_quark_from_static_string ("swapload-alpha1")))) { switch (0) { default: { SettingsCache* _tmp32_; GSettings* _tmp33_ = NULL; GSettings* _tmp34_; GVariant* _tmp35_; _tmp32_ = self->priv->settingscache; _tmp33_ = settings_cache_graphsettings (_tmp32_, "swap"); _tmp34_ = _tmp33_; _tmp35_ = value; g_settings_set_value (_tmp34_, "alpha", _tmp35_); _g_object_unref0 (_tmp34_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label4) ? _tmp18_label4 : (_tmp18_label4 = g_quark_from_static_string ("loadavg-alpha1")))) { switch (0) { default: { SettingsCache* _tmp36_; GSettings* _tmp37_ = NULL; GSettings* _tmp38_; GVariant* _tmp39_; _tmp36_ = self->priv->settingscache; _tmp37_ = settings_cache_graphsettings (_tmp36_, "load"); _tmp38_ = _tmp37_; _tmp39_ = value; g_settings_set_value (_tmp38_, "alpha", _tmp39_); _g_object_unref0 (_tmp38_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label5) ? _tmp18_label5 : (_tmp18_label5 = g_quark_from_static_string ("diskload-alpha2")))) { switch (0) { default: { SettingsCache* _tmp40_; GSettings* _tmp41_ = NULL; GSettings* _tmp42_; GVariant* _tmp43_; _tmp40_ = self->priv->settingscache; _tmp41_ = settings_cache_graphsettings (_tmp40_, "disk"); _tmp42_ = _tmp41_; _tmp43_ = value; g_settings_set_value (_tmp42_, "alpha", _tmp43_); _g_object_unref0 (_tmp42_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label6) ? _tmp18_label6 : (_tmp18_label6 = g_quark_from_static_string ("view-cpuload")))) { switch (0) { default: { SettingsCache* _tmp44_; GSettings* _tmp45_ = NULL; GSettings* _tmp46_; GVariant* _tmp47_; _tmp44_ = self->priv->settingscache; _tmp45_ = settings_cache_graphsettings (_tmp44_, "cpu"); _tmp46_ = _tmp45_; _tmp47_ = value; g_settings_set_value (_tmp46_, "enabled", _tmp47_); _g_object_unref0 (_tmp46_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label7) ? _tmp18_label7 : (_tmp18_label7 = g_quark_from_static_string ("view-memload")))) { switch (0) { default: { SettingsCache* _tmp48_; GSettings* _tmp49_ = NULL; GSettings* _tmp50_; GVariant* _tmp51_; _tmp48_ = self->priv->settingscache; _tmp49_ = settings_cache_graphsettings (_tmp48_, "mem"); _tmp50_ = _tmp49_; _tmp51_ = value; g_settings_set_value (_tmp50_, "enabled", _tmp51_); _g_object_unref0 (_tmp50_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label8) ? _tmp18_label8 : (_tmp18_label8 = g_quark_from_static_string ("view-netload")))) { switch (0) { default: { SettingsCache* _tmp52_; GSettings* _tmp53_ = NULL; GSettings* _tmp54_; GVariant* _tmp55_; _tmp52_ = self->priv->settingscache; _tmp53_ = settings_cache_graphsettings (_tmp52_, "net"); _tmp54_ = _tmp53_; _tmp55_ = value; g_settings_set_value (_tmp54_, "enabled", _tmp55_); _g_object_unref0 (_tmp54_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label9) ? _tmp18_label9 : (_tmp18_label9 = g_quark_from_static_string ("view-swapload")))) { switch (0) { default: { SettingsCache* _tmp56_; GSettings* _tmp57_ = NULL; GSettings* _tmp58_; GVariant* _tmp59_; _tmp56_ = self->priv->settingscache; _tmp57_ = settings_cache_graphsettings (_tmp56_, "swap"); _tmp58_ = _tmp57_; _tmp59_ = value; g_settings_set_value (_tmp58_, "enabled", _tmp59_); _g_object_unref0 (_tmp58_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label10) ? _tmp18_label10 : (_tmp18_label10 = g_quark_from_static_string ("view-loadavg")))) { switch (0) { default: { SettingsCache* _tmp60_; GSettings* _tmp61_ = NULL; GSettings* _tmp62_; GVariant* _tmp63_; _tmp60_ = self->priv->settingscache; _tmp61_ = settings_cache_graphsettings (_tmp60_, "load"); _tmp62_ = _tmp61_; _tmp63_ = value; g_settings_set_value (_tmp62_, "enabled", _tmp63_); _g_object_unref0 (_tmp62_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label11) ? _tmp18_label11 : (_tmp18_label11 = g_quark_from_static_string ("view-diskload")))) { switch (0) { default: { SettingsCache* _tmp64_; GSettings* _tmp65_ = NULL; GSettings* _tmp66_; GVariant* _tmp67_; _tmp64_ = self->priv->settingscache; _tmp65_ = settings_cache_graphsettings (_tmp64_, "disk"); _tmp66_ = _tmp65_; _tmp67_ = value; g_settings_set_value (_tmp66_, "enabled", _tmp67_); _g_object_unref0 (_tmp66_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label12) ? _tmp18_label12 : (_tmp18_label12 = g_quark_from_static_string ("cpuload-color0")))) { switch (0) { default: { SettingsCache* _tmp68_; GSettings* _tmp69_ = NULL; GSettings* _tmp70_; GVariant* _tmp71_; _tmp68_ = self->priv->settingscache; _tmp69_ = settings_cache_tracesettings (_tmp68_, "cpu", "cpu1"); _tmp70_ = _tmp69_; _tmp71_ = value; g_settings_set_value (_tmp70_, "color", _tmp71_); _g_object_unref0 (_tmp70_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label13) ? _tmp18_label13 : (_tmp18_label13 = g_quark_from_static_string ("cpuload-color1")))) { switch (0) { default: { SettingsCache* _tmp72_; GSettings* _tmp73_ = NULL; GSettings* _tmp74_; GVariant* _tmp75_; _tmp72_ = self->priv->settingscache; _tmp73_ = settings_cache_tracesettings (_tmp72_, "cpu", "cpu2"); _tmp74_ = _tmp73_; _tmp75_ = value; g_settings_set_value (_tmp74_, "color", _tmp75_); _g_object_unref0 (_tmp74_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label14) ? _tmp18_label14 : (_tmp18_label14 = g_quark_from_static_string ("cpuload-color2")))) { switch (0) { default: { SettingsCache* _tmp76_; GSettings* _tmp77_ = NULL; GSettings* _tmp78_; GVariant* _tmp79_; _tmp76_ = self->priv->settingscache; _tmp77_ = settings_cache_tracesettings (_tmp76_, "cpu", "cpu3"); _tmp78_ = _tmp77_; _tmp79_ = value; g_settings_set_value (_tmp78_, "color", _tmp79_); _g_object_unref0 (_tmp78_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label15) ? _tmp18_label15 : (_tmp18_label15 = g_quark_from_static_string ("cpuload-color3")))) { switch (0) { default: { SettingsCache* _tmp80_; GSettings* _tmp81_ = NULL; GSettings* _tmp82_; GVariant* _tmp83_; _tmp80_ = self->priv->settingscache; _tmp81_ = settings_cache_tracesettings (_tmp80_, "cpu", "cpu4"); _tmp82_ = _tmp81_; _tmp83_ = value; g_settings_set_value (_tmp82_, "color", _tmp83_); _g_object_unref0 (_tmp82_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label16) ? _tmp18_label16 : (_tmp18_label16 = g_quark_from_static_string ("cpuload-color4")))) { switch (0) { default: { SettingsCache* _tmp84_; GSettings* _tmp85_ = NULL; GSettings* _tmp86_; GVariant* _tmp87_; _tmp84_ = self->priv->settingscache; _tmp85_ = settings_cache_graphsettings (_tmp84_, "cpu"); _tmp86_ = _tmp85_; _tmp87_ = value; g_settings_set_value (_tmp86_, "background-color", _tmp87_); _g_object_unref0 (_tmp86_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label17) ? _tmp18_label17 : (_tmp18_label17 = g_quark_from_static_string ("memload-color0")))) { switch (0) { default: { SettingsCache* _tmp88_; GSettings* _tmp89_ = NULL; GSettings* _tmp90_; GVariant* _tmp91_; _tmp88_ = self->priv->settingscache; _tmp89_ = settings_cache_tracesettings (_tmp88_, "mem", "mem1"); _tmp90_ = _tmp89_; _tmp91_ = value; g_settings_set_value (_tmp90_, "color", _tmp91_); _g_object_unref0 (_tmp90_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label18) ? _tmp18_label18 : (_tmp18_label18 = g_quark_from_static_string ("memload-color1")))) { switch (0) { default: { SettingsCache* _tmp92_; GSettings* _tmp93_ = NULL; GSettings* _tmp94_; GVariant* _tmp95_; _tmp92_ = self->priv->settingscache; _tmp93_ = settings_cache_tracesettings (_tmp92_, "mem", "mem2"); _tmp94_ = _tmp93_; _tmp95_ = value; g_settings_set_value (_tmp94_, "color", _tmp95_); _g_object_unref0 (_tmp94_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label19) ? _tmp18_label19 : (_tmp18_label19 = g_quark_from_static_string ("memload-color2")))) { switch (0) { default: { SettingsCache* _tmp96_; GSettings* _tmp97_ = NULL; GSettings* _tmp98_; GVariant* _tmp99_; _tmp96_ = self->priv->settingscache; _tmp97_ = settings_cache_tracesettings (_tmp96_, "mem", "mem3"); _tmp98_ = _tmp97_; _tmp99_ = value; g_settings_set_value (_tmp98_, "color", _tmp99_); _g_object_unref0 (_tmp98_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label20) ? _tmp18_label20 : (_tmp18_label20 = g_quark_from_static_string ("memload-color3")))) { switch (0) { default: { SettingsCache* _tmp100_; GSettings* _tmp101_ = NULL; GSettings* _tmp102_; GVariant* _tmp103_; _tmp100_ = self->priv->settingscache; _tmp101_ = settings_cache_tracesettings (_tmp100_, "mem", "mem4"); _tmp102_ = _tmp101_; _tmp103_ = value; g_settings_set_value (_tmp102_, "color", _tmp103_); _g_object_unref0 (_tmp102_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label21) ? _tmp18_label21 : (_tmp18_label21 = g_quark_from_static_string ("memload-color4")))) { switch (0) { default: { SettingsCache* _tmp104_; GSettings* _tmp105_ = NULL; GSettings* _tmp106_; GVariant* _tmp107_; _tmp104_ = self->priv->settingscache; _tmp105_ = settings_cache_graphsettings (_tmp104_, "mem"); _tmp106_ = _tmp105_; _tmp107_ = value; g_settings_set_value (_tmp106_, "background-color", _tmp107_); _g_object_unref0 (_tmp106_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label22) ? _tmp18_label22 : (_tmp18_label22 = g_quark_from_static_string ("netload-color0")))) { switch (0) { default: { SettingsCache* _tmp108_; GSettings* _tmp109_ = NULL; GSettings* _tmp110_; GVariant* _tmp111_; _tmp108_ = self->priv->settingscache; _tmp109_ = settings_cache_tracesettings (_tmp108_, "net", "net1"); _tmp110_ = _tmp109_; _tmp111_ = value; g_settings_set_value (_tmp110_, "color", _tmp111_); _g_object_unref0 (_tmp110_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label23) ? _tmp18_label23 : (_tmp18_label23 = g_quark_from_static_string ("netload-color1")))) { switch (0) { default: { SettingsCache* _tmp112_; GSettings* _tmp113_ = NULL; GSettings* _tmp114_; GVariant* _tmp115_; _tmp112_ = self->priv->settingscache; _tmp113_ = settings_cache_tracesettings (_tmp112_, "net", "net2"); _tmp114_ = _tmp113_; _tmp115_ = value; g_settings_set_value (_tmp114_, "color", _tmp115_); _g_object_unref0 (_tmp114_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label24) ? _tmp18_label24 : (_tmp18_label24 = g_quark_from_static_string ("netload-color2")))) { switch (0) { default: { SettingsCache* _tmp116_; GSettings* _tmp117_ = NULL; GSettings* _tmp118_; GVariant* _tmp119_; _tmp116_ = self->priv->settingscache; _tmp117_ = settings_cache_tracesettings (_tmp116_, "net", "net3"); _tmp118_ = _tmp117_; _tmp119_ = value; g_settings_set_value (_tmp118_, "color", _tmp119_); _g_object_unref0 (_tmp118_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label25) ? _tmp18_label25 : (_tmp18_label25 = g_quark_from_static_string ("netload-color3")))) { switch (0) { default: { SettingsCache* _tmp120_; GSettings* _tmp121_ = NULL; GSettings* _tmp122_; GVariant* _tmp123_; _tmp120_ = self->priv->settingscache; _tmp121_ = settings_cache_graphsettings (_tmp120_, "net"); _tmp122_ = _tmp121_; _tmp123_ = value; g_settings_set_value (_tmp122_, "background-color", _tmp123_); _g_object_unref0 (_tmp122_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label26) ? _tmp18_label26 : (_tmp18_label26 = g_quark_from_static_string ("swapload-color0")))) { switch (0) { default: { SettingsCache* _tmp124_; GSettings* _tmp125_ = NULL; GSettings* _tmp126_; GVariant* _tmp127_; _tmp124_ = self->priv->settingscache; _tmp125_ = settings_cache_tracesettings (_tmp124_, "swap", "swap1"); _tmp126_ = _tmp125_; _tmp127_ = value; g_settings_set_value (_tmp126_, "color", _tmp127_); _g_object_unref0 (_tmp126_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label27) ? _tmp18_label27 : (_tmp18_label27 = g_quark_from_static_string ("swapload-color1")))) { switch (0) { default: { SettingsCache* _tmp128_; GSettings* _tmp129_ = NULL; GSettings* _tmp130_; GVariant* _tmp131_; _tmp128_ = self->priv->settingscache; _tmp129_ = settings_cache_graphsettings (_tmp128_, "swap"); _tmp130_ = _tmp129_; _tmp131_ = value; g_settings_set_value (_tmp130_, "background-color", _tmp131_); _g_object_unref0 (_tmp130_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label28) ? _tmp18_label28 : (_tmp18_label28 = g_quark_from_static_string ("loadavg-color0")))) { switch (0) { default: { SettingsCache* _tmp132_; GSettings* _tmp133_ = NULL; GSettings* _tmp134_; GVariant* _tmp135_; _tmp132_ = self->priv->settingscache; _tmp133_ = settings_cache_tracesettings (_tmp132_, "load", "load1"); _tmp134_ = _tmp133_; _tmp135_ = value; g_settings_set_value (_tmp134_, "color", _tmp135_); _g_object_unref0 (_tmp134_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label29) ? _tmp18_label29 : (_tmp18_label29 = g_quark_from_static_string ("loadavg-color1")))) { switch (0) { default: { SettingsCache* _tmp136_; GSettings* _tmp137_ = NULL; GSettings* _tmp138_; GVariant* _tmp139_; _tmp136_ = self->priv->settingscache; _tmp137_ = settings_cache_graphsettings (_tmp136_, "load"); _tmp138_ = _tmp137_; _tmp139_ = value; g_settings_set_value (_tmp138_, "background-color", _tmp139_); _g_object_unref0 (_tmp138_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label30) ? _tmp18_label30 : (_tmp18_label30 = g_quark_from_static_string ("diskload-color0")))) { switch (0) { default: { SettingsCache* _tmp140_; GSettings* _tmp141_ = NULL; GSettings* _tmp142_; GVariant* _tmp143_; _tmp140_ = self->priv->settingscache; _tmp141_ = settings_cache_tracesettings (_tmp140_, "disk", "disk1"); _tmp142_ = _tmp141_; _tmp143_ = value; g_settings_set_value (_tmp142_, "color", _tmp143_); _g_object_unref0 (_tmp142_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label31) ? _tmp18_label31 : (_tmp18_label31 = g_quark_from_static_string ("diskload-color1")))) { switch (0) { default: { SettingsCache* _tmp144_; GSettings* _tmp145_ = NULL; GSettings* _tmp146_; GVariant* _tmp147_; _tmp144_ = self->priv->settingscache; _tmp145_ = settings_cache_tracesettings (_tmp144_, "disk", "disk2"); _tmp146_ = _tmp145_; _tmp147_ = value; g_settings_set_value (_tmp146_, "color", _tmp147_); _g_object_unref0 (_tmp146_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label32) ? _tmp18_label32 : (_tmp18_label32 = g_quark_from_static_string ("diskload-color2")))) { switch (0) { default: { SettingsCache* _tmp148_; GSettings* _tmp149_ = NULL; GSettings* _tmp150_; GVariant* _tmp151_; _tmp148_ = self->priv->settingscache; _tmp149_ = settings_cache_graphsettings (_tmp148_, "disk"); _tmp150_ = _tmp149_; _tmp151_ = value; g_settings_set_value (_tmp150_, "background-color", _tmp151_); _g_object_unref0 (_tmp150_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label33) ? _tmp18_label33 : (_tmp18_label33 = g_quark_from_static_string ("speed")))) { switch (0) { default: { SettingsCache* _tmp152_; GSettings* _tmp153_ = NULL; GSettings* _tmp154_; GVariant* _tmp155_; _tmp152_ = self->priv->settingscache; _tmp153_ = settings_cache_generalsettings (_tmp152_); _tmp154_ = _tmp153_; _tmp155_ = value; g_settings_set_value (_tmp154_, "speed", _tmp155_); _g_object_unref0 (_tmp154_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label34) ? _tmp18_label34 : (_tmp18_label34 = g_quark_from_static_string ("size")))) { switch (0) { default: { SettingsCache* _tmp156_; GSettings* _tmp157_ = NULL; GSettings* _tmp158_; GVariant* _tmp159_; _tmp156_ = self->priv->settingscache; _tmp157_ = settings_cache_generalsettings (_tmp156_); _tmp158_ = _tmp157_; _tmp159_ = value; g_settings_set_value (_tmp158_, "width", _tmp159_); _g_object_unref0 (_tmp158_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label35) ? _tmp18_label35 : (_tmp18_label35 = g_quark_from_static_string ("height")))) { switch (0) { default: { SettingsCache* _tmp160_; GSettings* _tmp161_ = NULL; GSettings* _tmp162_; GVariant* _tmp163_; _tmp160_ = self->priv->settingscache; _tmp161_ = settings_cache_generalsettings (_tmp160_); _tmp162_ = _tmp161_; _tmp163_ = value; g_settings_set_value (_tmp162_, "height", _tmp163_); _g_object_unref0 (_tmp162_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label36) ? _tmp18_label36 : (_tmp18_label36 = g_quark_from_static_string ("system-monitor")))) { switch (0) { default: { SettingsCache* _tmp164_; GSettings* _tmp165_ = NULL; GSettings* _tmp166_; GVariant* _tmp167_; _tmp164_ = self->priv->settingscache; _tmp165_ = settings_cache_generalsettings (_tmp164_); _tmp166_ = _tmp165_; _tmp167_ = value; g_settings_set_value (_tmp166_, "system-monitor", _tmp167_); _g_object_unref0 (_tmp166_); break; } } } else if (_tmp19_ == ((0 != _tmp18_label37) ? _tmp18_label37 : (_tmp18_label37 = g_quark_from_static_string ("autostart")))) { switch (0) { default: { SettingsCache* _tmp168_; GSettings* _tmp169_ = NULL; GSettings* _tmp170_; GVariant* _tmp171_; _tmp168_ = self->priv->settingscache; _tmp169_ = settings_cache_generalsettings (_tmp168_); _tmp170_ = _tmp169_; _tmp171_ = value; g_settings_set_value (_tmp170_, "autostart", _tmp171_); _g_object_unref0 (_tmp170_); break; } } } } _g_variant_unref0 (defaultvalue); _g_variant_unref0 (value); _g_free0 (key); } } key_collection = (_vala_array_free (key_collection, key_collection_length1, (GDestroyNotify) g_free), NULL); } _g_object_unref0 (oldsettings); } SettingsConversion* settings_conversion_construct (GType object_type) { SettingsConversion * self = NULL; self = (SettingsConversion*) g_object_new (object_type, NULL); return self; } SettingsConversion* settings_conversion_new (void) { return settings_conversion_construct (TYPE_SETTINGS_CONVERSION); } static void settings_conversion_class_init (SettingsConversionClass * klass) { settings_conversion_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (SettingsConversionPrivate)); G_OBJECT_CLASS (klass)->finalize = settings_conversion_finalize; } static void settings_conversion_instance_init (SettingsConversion * self) { SettingsCache* _tmp0_; self->priv = SETTINGS_CONVERSION_GET_PRIVATE (self); _tmp0_ = settings_cache_new (); self->priv->settingscache = _tmp0_; } static void settings_conversion_finalize (GObject* obj) { SettingsConversion * self; self = SETTINGS_CONVERSION (obj); _g_object_unref0 (self->priv->settingscache); G_OBJECT_CLASS (settings_conversion_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType settings_conversion_get_type (void) { static volatile gsize settings_conversion_type_id__volatile = 0; if (g_once_init_enter (&settings_conversion_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SettingsConversionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) settings_conversion_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SettingsConversion), 0, (GInstanceInitFunc) settings_conversion_instance_init, NULL }; GType settings_conversion_type_id; settings_conversion_type_id = g_type_register_static (G_TYPE_OBJECT, "SettingsConversion", &g_define_type_info, 0); g_once_init_leave (&settings_conversion_type_id__volatile, settings_conversion_type_id); } return settings_conversion_type_id__volatile; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; } indicator-multiload-0.3/src/main.c0000664000175000017500000021447012107670273014137 00000000000000/* main.c generated by valac 0.14.2, the Vala compiler * generated from main.vala, do not modify */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define TYPE_MAIN (main_get_type ()) #define MAIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MAIN, Main)) #define MAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MAIN, MainClass)) #define IS_MAIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MAIN)) #define IS_MAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MAIN)) #define MAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MAIN, MainClass)) typedef struct _Main Main; typedef struct _MainClass MainClass; typedef struct _MainPrivate MainPrivate; #define TYPE_MULTI_LOAD_INDICATOR (multi_load_indicator_get_type ()) #define MULTI_LOAD_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MULTI_LOAD_INDICATOR, MultiLoadIndicator)) #define MULTI_LOAD_INDICATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MULTI_LOAD_INDICATOR, MultiLoadIndicatorClass)) #define IS_MULTI_LOAD_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MULTI_LOAD_INDICATOR)) #define IS_MULTI_LOAD_INDICATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MULTI_LOAD_INDICATOR)) #define MULTI_LOAD_INDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MULTI_LOAD_INDICATOR, MultiLoadIndicatorClass)) typedef struct _MultiLoadIndicator MultiLoadIndicator; typedef struct _MultiLoadIndicatorClass MultiLoadIndicatorClass; #define TYPE_PREFERENCES (preferences_get_type ()) #define PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREFERENCES, Preferences)) #define PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREFERENCES, PreferencesClass)) #define IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREFERENCES)) #define IS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PREFERENCES)) #define PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PREFERENCES, PreferencesClass)) typedef struct _Preferences Preferences; typedef struct _PreferencesClass PreferencesClass; #define TYPE_SETTINGS_CACHE (settings_cache_get_type ()) #define SETTINGS_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS_CACHE, SettingsCache)) #define SETTINGS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS_CACHE, SettingsCacheClass)) #define IS_SETTINGS_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS_CACHE)) #define IS_SETTINGS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS_CACHE)) #define SETTINGS_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS_CACHE, SettingsCacheClass)) typedef struct _SettingsCache SettingsCache; typedef struct _SettingsCacheClass SettingsCacheClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) #define TYPE_PROVIDERS (providers_get_type ()) #define PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDERS, Providers)) #define PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDERS, ProvidersClass)) #define IS_PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDERS)) #define IS_PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDERS)) #define PROVIDERS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDERS, ProvidersClass)) typedef struct _Providers Providers; typedef struct _ProvidersClass ProvidersClass; #define TYPE_GRAPH_MODELS (graph_models_get_type ()) #define GRAPH_MODELS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GRAPH_MODELS, GraphModels)) #define GRAPH_MODELS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GRAPH_MODELS, GraphModelsClass)) #define IS_GRAPH_MODELS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GRAPH_MODELS)) #define IS_GRAPH_MODELS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GRAPH_MODELS)) #define GRAPH_MODELS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GRAPH_MODELS, GraphModelsClass)) typedef struct _GraphModels GraphModels; typedef struct _GraphModelsClass GraphModelsClass; #define TYPE_GRAPH_MODEL (graph_model_get_type ()) #define GRAPH_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GRAPH_MODEL, GraphModel)) #define GRAPH_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GRAPH_MODEL, GraphModelClass)) #define IS_GRAPH_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GRAPH_MODEL)) #define IS_GRAPH_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GRAPH_MODEL)) #define GRAPH_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GRAPH_MODEL, GraphModelClass)) typedef struct _GraphModel GraphModel; typedef struct _GraphModelClass GraphModelClass; #define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL))) #define TYPE_EXPRESSION_CACHE (expression_cache_get_type ()) #define EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EXPRESSION_CACHE, ExpressionCache)) #define EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) #define IS_EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EXPRESSION_CACHE)) #define IS_EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EXPRESSION_CACHE)) #define EXPRESSION_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) typedef struct _ExpressionCache ExpressionCache; typedef struct _ExpressionCacheClass ExpressionCacheClass; #define TYPE_TRACE_MODEL (trace_model_get_type ()) #define TRACE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TRACE_MODEL, TraceModel)) #define TRACE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TRACE_MODEL, TraceModelClass)) #define IS_TRACE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TRACE_MODEL)) #define IS_TRACE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TRACE_MODEL)) #define TRACE_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TRACE_MODEL, TraceModelClass)) typedef struct _TraceModel TraceModel; typedef struct _TraceModelClass TraceModelClass; #define TYPE_SETTINGS_CONVERSION (settings_conversion_get_type ()) #define SETTINGS_CONVERSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS_CONVERSION, SettingsConversion)) #define SETTINGS_CONVERSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS_CONVERSION, SettingsConversionClass)) #define IS_SETTINGS_CONVERSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS_CONVERSION)) #define IS_SETTINGS_CONVERSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS_CONVERSION)) #define SETTINGS_CONVERSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS_CONVERSION, SettingsConversionClass)) typedef struct _SettingsConversion SettingsConversion; typedef struct _SettingsConversionClass SettingsConversionClass; #define TYPE_MENU_MODEL (menu_model_get_type ()) #define MENU_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MENU_MODEL, MenuModel)) #define MENU_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MENU_MODEL, MenuModelClass)) #define IS_MENU_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MENU_MODEL)) #define IS_MENU_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MENU_MODEL)) #define MENU_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MENU_MODEL, MenuModelClass)) typedef struct _MenuModel MenuModel; typedef struct _MenuModelClass MenuModelClass; #define _g_option_context_free0(var) ((var == NULL) ? NULL : (var = (g_option_context_free (var), NULL))) #define _g_option_group_free0(var) ((var == NULL) ? NULL : (var = (g_option_group_free (var), NULL))) #define TYPE_PROVIDER (provider_get_type ()) #define PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDER, Provider)) #define PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDER, ProviderClass)) #define IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDER)) #define IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDER)) #define PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDER, ProviderClass)) typedef struct _Provider Provider; typedef struct _ProviderClass ProviderClass; #define TYPE_FUNCTION (function_get_type ()) #define FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FUNCTION, Function)) #define FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FUNCTION, FunctionClass)) #define IS_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FUNCTION)) #define IS_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FUNCTION)) #define FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FUNCTION, FunctionClass)) typedef struct _Function Function; typedef struct _FunctionClass FunctionClass; #define TYPE_REAPER (reaper_get_type ()) #define REAPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_REAPER, Reaper)) #define REAPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_REAPER, ReaperClass)) #define IS_REAPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_REAPER)) #define IS_REAPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_REAPER)) #define REAPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_REAPER, ReaperClass)) typedef struct _Reaper Reaper; typedef struct _ReaperClass ReaperClass; #define _g_key_file_free0(var) ((var == NULL) ? NULL : (var = (g_key_file_free (var), NULL))) struct _Main { GApplication parent_instance; MainPrivate * priv; }; struct _MainClass { GApplicationClass parent_class; }; struct _MainPrivate { MultiLoadIndicator* multi; GtkDialog* about; Preferences* preferences; SettingsCache* settingscache; gchar* autostartkey; gchar* desktopfilename; gchar* autostartfile; gchar* applicationfile; gchar* graphsetups; }; static gpointer main_parent_class = NULL; static gchar* main_datadirectory; static gchar* main_datadirectory = NULL; static gchar** main_expressionoptions; static gint main_expressionoptions_length1; static gchar** main_expressionoptions = NULL; static gint main_expressionoptions_length1 = 0; static gint _main_expressionoptions_size_ = 0; static gboolean main_identifiersoption; static gboolean main_identifiersoption = FALSE; extern gchar* utils_uifile; extern gboolean utils_enabledebugmessages; GType main_get_type (void) G_GNUC_CONST; GType multi_load_indicator_get_type (void) G_GNUC_CONST; GType preferences_get_type (void) G_GNUC_CONST; GType settings_cache_get_type (void) G_GNUC_CONST; #define MAIN_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MAIN, MainPrivate)) enum { MAIN_DUMMY_PROPERTY, MAIN_AUTOSTART }; void multi_load_indicator_destroy (MultiLoadIndicator* self); static gboolean main_debug (const gchar* optionname, const gchar* optionvalue, Main* self, GError** error); void main_on_sysmon_activate (GtkMenuItem* source, Main* self); GSettings* settings_cache_generalsettings (SettingsCache* self); void main_on_preferences_activate (GtkMenuItem* source, Main* self); void preferences_show (Preferences* self); void main_on_about_activate (GtkMenuItem* source, Main* self); GObject* utils_get_ui (const gchar* objectid, GObject* signalhandlers, gchar** additional, int additional_length1, GtkBuilder** builder); void main_on_quit_activate (GtkMenuItem* source, Main* self); void main_on_aboutdialog_destroy (GtkWidget* source, Main* self); Main* main_new (const gchar* app_id, GApplicationFlags flags); Main* main_construct (GType object_type, const gchar* app_id, GApplicationFlags flags); static void _vala_array_add11 (gchar*** array, int* length, int* size, gchar* value); static void main_creategraphs (Main* self, GSettings* settings, const gchar* key); GSettings* settings_cache_graphsettings (SettingsCache* self, const gchar* graphid); GType providers_get_type (void) G_GNUC_CONST; Providers* multi_load_indicator_get_providers (MultiLoadIndicator* self); GraphModels* graph_models_new (gchar** graphids, int graphids_length1, Providers* providers); GraphModels* graph_models_construct (GType object_type, gchar** graphids, int graphids_length1, Providers* providers); GType graph_models_get_type (void) G_GNUC_CONST; void multi_load_indicator_set_graphmodels (MultiLoadIndicator* self, GraphModels* value); GraphModels* multi_load_indicator_get_graphmodels (MultiLoadIndicator* self); GType graph_model_get_type (void) G_GNUC_CONST; GraphModel** graph_models_get_graphmodels (GraphModels* self, int* result_length1); static void main_addgraphbinds (Main* self, GraphModel* graphmodel); GList* settings_cache_cachedsettings (SettingsCache* self); static void _main_creategraphs_g_settings_changed (GSettings* _sender, const gchar* key, gpointer self); const gchar* graph_model_get_id (GraphModel* self); gboolean utils_get_settings_color (GValue* value, GVariant* variant, void* user_data); static gboolean _utils_get_settings_color_gsettings_bind_get_mapping (GValue* value, GVariant* variant, void* user_data); GVariant* utils_set_settings_color (GValue* value, const GVariantType* expected_type, void* user_data); static GVariant* _utils_set_settings_color_gsettings_bind_set_mapping (GValue* value, const GVariantType* expected_type, void* user_data); static void __lambda10_ (void); static void ___lambda10__gdestroy_notify (void* data); GType expression_cache_get_type (void) G_GNUC_CONST; ExpressionCache* graph_model_get_minimum (GraphModel* self); ExpressionCache* graph_model_get_maximum (GraphModel* self); gchar** graph_model_get_traces (GraphModel* self, int* result_length1); static gchar** _vala_array_dup11 (gchar** self, int length); GType trace_model_get_type (void) G_GNUC_CONST; TraceModel** graph_model_get_tracemodels (GraphModel* self, int* result_length1); static TraceModel** _vala_array_dup12 (TraceModel** self, int length); static void main_addtracebinds (Main* self, TraceModel* tracemodel, const gchar* graphid, const gchar* traceid); GSettings* settings_cache_tracesettings (SettingsCache* self, const gchar* graphid, const gchar* traceid); static void __lambda11_ (void); static void ___lambda11__gdestroy_notify (void* data); ExpressionCache* trace_model_get_expression (TraceModel* self); static void main_real_activate (GApplication* base); static void main_real_startup (GApplication* base); Providers* providers_new (void); Providers* providers_construct (GType object_type); MultiLoadIndicator* multi_load_indicator_new (const gchar* icondirectory, Providers* providers); MultiLoadIndicator* multi_load_indicator_construct (GType object_type, const gchar* icondirectory, Providers* providers); SettingsCache* settings_cache_new (void); SettingsCache* settings_cache_construct (GType object_type); SettingsConversion* settings_conversion_new (void); SettingsConversion* settings_conversion_construct (GType object_type); GType settings_conversion_get_type (void) G_GNUC_CONST; void settings_conversion_convert (SettingsConversion* self); void multi_load_indicator_set_menu (MultiLoadIndicator* self, GtkMenu* value); GType menu_model_get_type (void) G_GNUC_CONST; MenuModel* multi_load_indicator_get_menumodel (MultiLoadIndicator* self); MenuModel* multi_load_indicator_get_labelmodel (MultiLoadIndicator* self); MenuModel* multi_load_indicator_get_descriptionmodel (MultiLoadIndicator* self); void multi_load_indicator_updateall (MultiLoadIndicator* self); Preferences* preferences_new (void); Preferences* preferences_construct (GType object_type); static gint main_real_command_line (GApplication* base, GApplicationCommandLine* command_line); static gboolean main_real_local_command_line (GApplication* base, gchar*** arguments, gint* exit_status); void providers_update (Providers* self); GType provider_get_type (void) G_GNUC_CONST; Provider** providers_get_providers (Providers* self, int* result_length1); const gchar* provider_get_id (Provider* self); gchar** provider_get_keys (Provider* self, int* result_length1); static gchar** _vala_array_dup13 (gchar** self, int length); gdouble* provider_get_values (Provider* self, int* result_length1); static gdouble* _vala_array_dup14 (gdouble* self, int length); GType function_get_type (void) G_GNUC_CONST; Function** providers_get_functions (Providers* self, int* result_length1); const gchar* function_get_id (Function* self); gchar** function_get_parameterdescs (Function* self, int* result_length1); ExpressionCache* expression_cache_new (Providers* providers, const gchar* expression); ExpressionCache* expression_cache_construct (GType object_type, Providers* providers, const gchar* expression); gchar** expression_cache_tokens (ExpressionCache* self, int* result_length1); gchar* expression_cache_label (ExpressionCache* self); gchar* expression_cache_guide (ExpressionCache* self); gint main_main (gchar** args, int args_length1); void utils_initdebug (void); Reaper* reaper_new (gchar** args, int args_length1); Reaper* reaper_construct (GType object_type, gchar** args, int args_length1); GType reaper_get_type (void) G_GNUC_CONST; gboolean main_get_autostart (Main* self); void main_set_autostart (Main* self, gboolean value); static void main_finalize (GObject* obj); static void _vala_main_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_main_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); static const GOptionEntry MAIN_options[4] = {{"evaluate-expression", 'e', 0, G_OPTION_ARG_STRING_ARRAY, &main_expressionoptions, "Evaluate an expression", NULL}, {"list-identifiers", 'l', 0, G_OPTION_ARG_NONE, &main_identifiersoption, "List available expression identifiers", NULL}, {"verbose", 'v', (gint) G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (void*) main_debug, "Show debug messages", NULL}, {NULL}}; void main_on_sysmon_activate (GtkMenuItem* source, Main* self) { SettingsCache* _tmp0_; GSettings* _tmp1_ = NULL; GSettings* settings; GSettings* _tmp2_; gchar* _tmp3_ = NULL; gchar* sysmon; const gchar* _tmp4_; gint _tmp5_; gint _tmp6_; const gchar* _tmp13_; GDesktopAppInfo* _tmp14_; GDesktopAppInfo* info; GDesktopAppInfo* _tmp15_; GError * _inner_error_ = NULL; g_return_if_fail (IS_MAIN (self)); g_return_if_fail (GTK_IS_MENU_ITEM (source)); _tmp0_ = self->priv->settingscache; _tmp1_ = settings_cache_generalsettings (_tmp0_); settings = _tmp1_; _tmp2_ = settings; _tmp3_ = g_settings_get_string (_tmp2_, "system-monitor"); sysmon = _tmp3_; _tmp4_ = sysmon; _tmp5_ = strlen (_tmp4_); _tmp6_ = _tmp5_; if (_tmp6_ == 0) { gboolean _tmp7_ = FALSE; const gchar* _tmp8_ = NULL; gboolean _tmp10_; _tmp8_ = g_getenv ("XDG_CURRENT_DESKTOP"); if (g_strcmp0 (_tmp8_, "KDE") == 0) { _tmp7_ = TRUE; } else { const gchar* _tmp9_ = NULL; _tmp9_ = g_getenv ("DESKTOP_SESSION"); _tmp7_ = g_strcmp0 (_tmp9_, "kde-plasma") == 0; } _tmp10_ = _tmp7_; if (_tmp10_) { gchar* _tmp11_; _tmp11_ = g_strdup ("kde4-ksysguard.desktop"); _g_free0 (sysmon); sysmon = _tmp11_; } else { gchar* _tmp12_; _tmp12_ = g_strdup ("gnome-system-monitor.desktop"); _g_free0 (sysmon); sysmon = _tmp12_; } } _tmp13_ = sysmon; _tmp14_ = g_desktop_app_info_new (_tmp13_); info = _tmp14_; _tmp15_ = info; if (_tmp15_ != NULL) { { GDesktopAppInfo* _tmp16_; _tmp16_ = info; g_app_info_launch (G_APP_INFO (_tmp16_), NULL, NULL, &_inner_error_); if (_inner_error_ != NULL) { goto __catch4_g_error; } } goto __finally4; __catch4_g_error: { GError* e = NULL; FILE* _tmp17_; GError* _tmp18_; const gchar* _tmp19_; e = _inner_error_; _inner_error_ = NULL; _tmp17_ = stderr; _tmp18_ = e; _tmp19_ = _tmp18_->message; fprintf (_tmp17_, "Could not launch system monitor: %s\n", _tmp19_); _g_error_free0 (e); } __finally4: if (_inner_error_ != NULL) { _g_object_unref0 (info); _g_free0 (sysmon); _g_object_unref0 (settings); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } else { { g_spawn_command_line_async ("gnome-system-monitor", &_inner_error_); if (_inner_error_ != NULL) { goto __catch5_g_error; } } goto __finally5; __catch5_g_error: { GError* e = NULL; FILE* _tmp20_; GError* _tmp21_; const gchar* _tmp22_; e = _inner_error_; _inner_error_ = NULL; _tmp20_ = stderr; _tmp21_ = e; _tmp22_ = _tmp21_->message; fprintf (_tmp20_, "Could not launch system monitor: %s\n", _tmp22_); _g_error_free0 (e); } __finally5: if (_inner_error_ != NULL) { _g_object_unref0 (info); _g_free0 (sysmon); _g_object_unref0 (settings); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } _g_object_unref0 (info); _g_free0 (sysmon); _g_object_unref0 (settings); } void main_on_preferences_activate (GtkMenuItem* source, Main* self) { Preferences* _tmp0_; g_return_if_fail (IS_MAIN (self)); g_return_if_fail (GTK_IS_MENU_ITEM (source)); _tmp0_ = self->priv->preferences; preferences_show (_tmp0_); } void main_on_about_activate (GtkMenuItem* source, Main* self) { GtkDialog* _tmp0_; gchar** _tmp2_ = NULL; gchar** _tmp3_; gint _tmp3__length1; GObject* _tmp4_ = NULL; GtkDialog* _tmp5_; GtkDialog* _tmp6_; g_return_if_fail (IS_MAIN (self)); g_return_if_fail (GTK_IS_MENU_ITEM (source)); _tmp0_ = self->priv->about; if (_tmp0_ != NULL) { GtkDialog* _tmp1_; _tmp1_ = self->priv->about; gtk_window_present (GTK_WINDOW (_tmp1_)); return; } _tmp2_ = g_new0 (gchar*, 0 + 1); _tmp3_ = _tmp2_; _tmp3__length1 = 0; _tmp4_ = utils_get_ui ("aboutdialog", G_OBJECT (self), _tmp3_, 0, NULL); _g_object_unref0 (self->priv->about); self->priv->about = GTK_IS_DIALOG (_tmp4_) ? ((GtkDialog*) _tmp4_) : NULL; _tmp3_ = (_vala_array_free (_tmp3_, _tmp3__length1, (GDestroyNotify) g_free), NULL); _tmp5_ = self->priv->about; g_return_if_fail (_tmp5_ != NULL); _tmp6_ = self->priv->about; gtk_widget_show_all (GTK_WIDGET (_tmp6_)); } void main_on_quit_activate (GtkMenuItem* source, Main* self) { g_return_if_fail (IS_MAIN (self)); g_return_if_fail (GTK_IS_MENU_ITEM (source)); g_application_release (G_APPLICATION (self)); } void main_on_aboutdialog_destroy (GtkWidget* source, Main* self) { g_return_if_fail (IS_MAIN (self)); g_return_if_fail (GTK_IS_WIDGET (source)); _g_object_unref0 (self->priv->about); self->priv->about = NULL; } static void _vala_array_add11 (gchar*** array, int* length, int* size, gchar* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (gchar*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } Main* main_construct (GType object_type, const gchar* app_id, GApplicationFlags flags) { Main * self = NULL; const gchar* _tmp0_; GApplicationFlags _tmp1_; gchar* _tmp2_; gchar* _tmp3_; const gchar* _tmp4_ = NULL; const gchar* _tmp5_; gchar* _tmp6_ = NULL; const gchar* _tmp7_; gchar* _tmp8_ = NULL; gchar* _tmp9_; gchar** _tmp10_ = NULL; gchar** datadirs; gint datadirs_length1; gint _datadirs_size_; gchar** _tmp11_; gchar** _tmp12_ = NULL; gchar** _tmp17_; gint _tmp17__length1; g_return_val_if_fail (app_id != NULL, NULL); _tmp0_ = app_id; _tmp1_ = flags; self = (Main*) g_object_new (object_type, "application-id", _tmp0_, "flags", _tmp1_, NULL); _tmp2_ = g_strdup ("X-GNOME-Autostart-enabled"); _g_free0 (self->priv->autostartkey); self->priv->autostartkey = _tmp2_; _tmp3_ = g_strdup ("indicator-multiload.desktop"); _g_free0 (self->priv->desktopfilename); self->priv->desktopfilename = _tmp3_; _tmp4_ = g_get_user_config_dir (); _tmp5_ = self->priv->desktopfilename; _tmp6_ = g_build_filename (_tmp4_, "autostart", _tmp5_, NULL); _g_free0 (self->priv->autostartfile); self->priv->autostartfile = _tmp6_; _tmp7_ = self->priv->desktopfilename; _tmp8_ = g_build_filename ("applications", _tmp7_, NULL); _g_free0 (self->priv->applicationfile); self->priv->applicationfile = _tmp8_; _tmp9_ = g_strdup (PACKAGE_DATA_DIR); _tmp10_ = g_new0 (gchar*, 1 + 1); _tmp10_[0] = _tmp9_; datadirs = _tmp10_; datadirs_length1 = 1; _datadirs_size_ = datadirs_length1; _tmp12_ = _tmp11_ = g_get_system_data_dirs (); { gchar** datadir_collection = NULL; gint datadir_collection_length1 = 0; gint _datadir_collection_size_ = 0; gint datadir_it = 0; datadir_collection = _tmp12_; datadir_collection_length1 = _vala_array_length (_tmp11_); for (datadir_it = 0; datadir_it < _vala_array_length (_tmp11_); datadir_it = datadir_it + 1) { gchar* _tmp13_; gchar* datadir = NULL; _tmp13_ = g_strdup (datadir_collection[datadir_it]); datadir = _tmp13_; { gchar** _tmp14_; gint _tmp14__length1; const gchar* _tmp15_; gchar* _tmp16_ = NULL; _tmp14_ = datadirs; _tmp14__length1 = datadirs_length1; _tmp15_ = datadir; _tmp16_ = g_build_filename (_tmp15_, PACKAGE_NAME, NULL); _vala_array_add11 (&datadirs, &datadirs_length1, &_datadirs_size_, _tmp16_); _g_free0 (datadir); } } } _tmp17_ = datadirs; _tmp17__length1 = datadirs_length1; { gchar** datadir_collection = NULL; gint datadir_collection_length1 = 0; gint _datadir_collection_size_ = 0; gint datadir_it = 0; datadir_collection = _tmp17_; datadir_collection_length1 = _tmp17__length1; for (datadir_it = 0; datadir_it < _tmp17__length1; datadir_it = datadir_it + 1) { gchar* _tmp18_; gchar* datadir = NULL; _tmp18_ = g_strdup (datadir_collection[datadir_it]); datadir = _tmp18_; { const gchar* _tmp19_; gchar* _tmp20_ = NULL; gchar* uifile; const gchar* _tmp21_; gboolean _tmp22_ = FALSE; const gchar* _tmp23_; gchar* _tmp24_; _tmp19_ = datadir; _tmp20_ = g_build_filename (_tmp19_, "preferences.ui", NULL); uifile = _tmp20_; _tmp21_ = uifile; _tmp22_ = g_file_test (_tmp21_, G_FILE_TEST_IS_REGULAR); if (!_tmp22_) { _g_free0 (uifile); _g_free0 (datadir); continue; } _tmp23_ = uifile; _tmp24_ = g_strdup (_tmp23_); _g_free0 (utils_uifile); utils_uifile = _tmp24_; _g_free0 (uifile); _g_free0 (datadir); break; } } } datadirs = (_vala_array_free (datadirs, datadirs_length1, (GDestroyNotify) g_free), NULL); return self; } Main* main_new (const gchar* app_id, GApplicationFlags flags) { return main_construct (TYPE_MAIN, app_id, flags); } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void _main_creategraphs_g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) { main_creategraphs (self, _sender, key); } static void main_creategraphs (Main* self, GSettings* settings, const gchar* key) { gchar* _tmp0_; gchar* newgraphsetups; SettingsCache* _tmp1_; GSettings* _tmp2_ = NULL; GSettings* _tmp3_; gchar** _tmp4_; gchar** _tmp5_ = NULL; gchar** _tmp6_; gint _tmp6__length1; const gchar* _tmp22_; const gchar* _tmp23_; const gchar* _tmp24_; gchar* _tmp25_; SettingsCache* _tmp26_; GSettings* _tmp27_ = NULL; GSettings* datasettings; MultiLoadIndicator* _tmp28_; GSettings* _tmp29_; gchar** _tmp30_; gchar** _tmp31_ = NULL; gchar** _tmp32_; gint _tmp32__length1; MultiLoadIndicator* _tmp33_; Providers* _tmp34_; Providers* _tmp35_; GraphModels* _tmp36_; GraphModels* _tmp37_; MultiLoadIndicator* _tmp38_; GraphModels* _tmp39_; GraphModels* _tmp40_; GraphModel** _tmp41_; gint _tmp41__length1; GraphModel** _tmp42_; gint _tmp42__length1; SettingsCache* _tmp45_; GList* _tmp46_ = NULL; GSettings* _tmp48_; MultiLoadIndicator* _tmp49_; GraphModels* _tmp50_; GraphModels* _tmp51_; GraphModel** _tmp52_; gint _tmp52__length1; GraphModel** _tmp53_; gint _tmp53__length1; g_return_if_fail (IS_MAIN (self)); g_return_if_fail ((settings == NULL) || G_IS_SETTINGS (settings)); g_return_if_fail (key != NULL); _tmp0_ = g_strdup (""); newgraphsetups = _tmp0_; _tmp1_ = self->priv->settingscache; _tmp2_ = settings_cache_generalsettings (_tmp1_); _tmp3_ = _tmp2_; _tmp5_ = _tmp4_ = g_settings_get_strv (_tmp3_, "graphs"); _tmp6_ = _tmp5_; _tmp6__length1 = _vala_array_length (_tmp4_); _g_object_unref0 (_tmp3_); { gchar** graphid_collection = NULL; gint graphid_collection_length1 = 0; gint _graphid_collection_size_ = 0; gint graphid_it = 0; graphid_collection = _tmp6_; graphid_collection_length1 = _tmp6__length1; for (graphid_it = 0; graphid_it < _tmp6__length1; graphid_it = graphid_it + 1) { gchar* _tmp7_; gchar* graphid = NULL; _tmp7_ = g_strdup (graphid_collection[graphid_it]); graphid = _tmp7_; { const gchar* _tmp8_; const gchar* _tmp9_; SettingsCache* _tmp10_; const gchar* _tmp11_; GSettings* _tmp12_ = NULL; GSettings* _tmp13_; gchar** _tmp14_; gchar** _tmp15_ = NULL; gchar** _tmp16_; gint _tmp16__length1; gchar* _tmp17_ = NULL; gchar* _tmp18_; gchar* _tmp19_ = NULL; gchar* _tmp20_; gchar* _tmp21_; _tmp8_ = newgraphsetups; _tmp9_ = graphid; _tmp10_ = self->priv->settingscache; _tmp11_ = graphid; _tmp12_ = settings_cache_graphsettings (_tmp10_, _tmp11_); _tmp13_ = _tmp12_; _tmp15_ = _tmp14_ = g_settings_get_strv (_tmp13_, "traces"); _tmp16_ = _tmp15_; _tmp16__length1 = _vala_array_length (_tmp14_); _tmp17_ = g_strjoinv (",", _tmp16_); _tmp18_ = _tmp17_; _tmp19_ = g_strdup_printf ("%s=%s\n", _tmp9_, _tmp18_); _tmp20_ = _tmp19_; _tmp21_ = g_strconcat (_tmp8_, _tmp20_, NULL); _g_free0 (newgraphsetups); newgraphsetups = _tmp21_; _g_free0 (_tmp20_); _g_free0 (_tmp18_); _tmp16_ = (_vala_array_free (_tmp16_, _tmp16__length1, (GDestroyNotify) g_free), NULL); _g_object_unref0 (_tmp13_); _g_free0 (graphid); } } graphid_collection = (_vala_array_free (graphid_collection, graphid_collection_length1, (GDestroyNotify) g_free), NULL); } _tmp22_ = self->priv->graphsetups; _tmp23_ = newgraphsetups; if (g_strcmp0 (_tmp22_, _tmp23_) == 0) { _g_free0 (newgraphsetups); return; } _tmp24_ = newgraphsetups; _tmp25_ = g_strdup (_tmp24_); _g_free0 (self->priv->graphsetups); self->priv->graphsetups = _tmp25_; _tmp26_ = self->priv->settingscache; _tmp27_ = settings_cache_generalsettings (_tmp26_); datasettings = _tmp27_; _tmp28_ = self->priv->multi; _tmp29_ = datasettings; _tmp31_ = _tmp30_ = g_settings_get_strv (_tmp29_, "graphs"); _tmp32_ = _tmp31_; _tmp32__length1 = _vala_array_length (_tmp30_); _tmp33_ = self->priv->multi; _tmp34_ = multi_load_indicator_get_providers (_tmp33_); _tmp35_ = _tmp34_; _tmp36_ = graph_models_new (_tmp32_, _vala_array_length (_tmp30_), _tmp35_); _tmp37_ = _tmp36_; multi_load_indicator_set_graphmodels (_tmp28_, _tmp37_); _g_object_unref0 (_tmp37_); _tmp32_ = (_vala_array_free (_tmp32_, _tmp32__length1, (GDestroyNotify) g_free), NULL); _tmp38_ = self->priv->multi; _tmp39_ = multi_load_indicator_get_graphmodels (_tmp38_); _tmp40_ = _tmp39_; _tmp41_ = graph_models_get_graphmodels (_tmp40_, &_tmp41__length1); _tmp42_ = _tmp41_; _tmp42__length1 = _tmp41__length1; { GraphModel** graphmodel_collection = NULL; gint graphmodel_collection_length1 = 0; gint _graphmodel_collection_size_ = 0; gint graphmodel_it = 0; graphmodel_collection = _tmp42_; graphmodel_collection_length1 = _tmp42__length1; for (graphmodel_it = 0; graphmodel_it < _tmp42__length1; graphmodel_it = graphmodel_it + 1) { GraphModel* _tmp43_; GraphModel* graphmodel = NULL; _tmp43_ = _g_object_ref0 (graphmodel_collection[graphmodel_it]); graphmodel = _tmp43_; { GraphModel* _tmp44_; _tmp44_ = graphmodel; main_addgraphbinds (self, _tmp44_); _g_object_unref0 (graphmodel); } } } _tmp45_ = self->priv->settingscache; _tmp46_ = settings_cache_cachedsettings (_tmp45_); { GList* cachedsetting_collection = NULL; GList* cachedsetting_it = NULL; cachedsetting_collection = _tmp46_; for (cachedsetting_it = cachedsetting_collection; cachedsetting_it != NULL; cachedsetting_it = cachedsetting_it->next) { GSettings* cachedsetting = NULL; cachedsetting = (GSettings*) cachedsetting_it->data; { GSettings* _tmp47_; _tmp47_ = cachedsetting; g_signal_handlers_disconnect_by_func (_tmp47_, (void*) main_creategraphs, self); } } _g_list_free0 (cachedsetting_collection); } _tmp48_ = datasettings; g_signal_connect_object (_tmp48_, "changed::graphs", (GCallback) _main_creategraphs_g_settings_changed, self, 0); _tmp49_ = self->priv->multi; _tmp50_ = multi_load_indicator_get_graphmodels (_tmp49_); _tmp51_ = _tmp50_; _tmp52_ = graph_models_get_graphmodels (_tmp51_, &_tmp52__length1); _tmp53_ = _tmp52_; _tmp53__length1 = _tmp52__length1; { GraphModel** graphmodel_collection = NULL; gint graphmodel_collection_length1 = 0; gint _graphmodel_collection_size_ = 0; gint graphmodel_it = 0; graphmodel_collection = _tmp53_; graphmodel_collection_length1 = _tmp53__length1; for (graphmodel_it = 0; graphmodel_it < _tmp53__length1; graphmodel_it = graphmodel_it + 1) { GraphModel* _tmp54_; GraphModel* graphmodel = NULL; _tmp54_ = _g_object_ref0 (graphmodel_collection[graphmodel_it]); graphmodel = _tmp54_; { SettingsCache* _tmp55_; GraphModel* _tmp56_; const gchar* _tmp57_; const gchar* _tmp58_; GSettings* _tmp59_ = NULL; GSettings* graphsettings; GSettings* _tmp60_; _tmp55_ = self->priv->settingscache; _tmp56_ = graphmodel; _tmp57_ = graph_model_get_id (_tmp56_); _tmp58_ = _tmp57_; _tmp59_ = settings_cache_graphsettings (_tmp55_, _tmp58_); graphsettings = _tmp59_; _tmp60_ = graphsettings; g_signal_connect_object (_tmp60_, "changed::traces", (GCallback) _main_creategraphs_g_settings_changed, self, 0); _g_object_unref0 (graphsettings); _g_object_unref0 (graphmodel); } } } _g_object_unref0 (datasettings); _g_free0 (newgraphsetups); } static gboolean _utils_get_settings_color_gsettings_bind_get_mapping (GValue* value, GVariant* variant, void* user_data) { gboolean result; result = utils_get_settings_color (value, variant, user_data); return result; } static GVariant* _utils_set_settings_color_gsettings_bind_set_mapping (GValue* value, const GVariantType* expected_type, void* user_data) { GVariant* result; result = utils_set_settings_color (value, expected_type, user_data); return result; } static void __lambda10_ (void) { } static void ___lambda10__gdestroy_notify (void* data) { __lambda10_ (); } static gchar** _vala_array_dup11 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } static TraceModel** _vala_array_dup12 (TraceModel** self, int length) { TraceModel** result; int i; result = g_new0 (TraceModel*, length + 1); for (i = 0; i < length; i++) { TraceModel* _tmp0_; _tmp0_ = _g_object_ref0 (self[i]); result[i] = _tmp0_; } return result; } static void main_addgraphbinds (Main* self, GraphModel* graphmodel) { GraphModel* _tmp0_; const gchar* _tmp1_; const gchar* _tmp2_; gchar* _tmp3_; gchar* graphid; SettingsCache* _tmp4_; const gchar* _tmp5_; GSettings* _tmp6_ = NULL; GSettings* graphsettings; GSettings* _tmp7_; GraphModel* _tmp8_; GSettings* _tmp9_; GraphModel* _tmp10_; ExpressionCache* _tmp11_; ExpressionCache* _tmp12_; GSettings* _tmp13_; GraphModel* _tmp14_; ExpressionCache* _tmp15_; ExpressionCache* _tmp16_; gchar* _tmp17_; gchar* _tmp18_; gchar* _tmp19_; gchar* _tmp20_; gchar** _tmp21_ = NULL; gchar** graphproperties; gint graphproperties_length1; gint _graphproperties_size_; gchar** _tmp22_; gint _tmp22__length1; GraphModel* _tmp28_; gchar** _tmp29_; gint _tmp29__length1; gchar** _tmp30_; gint _tmp30__length1; gchar** _tmp31_; gint _tmp31__length1; gchar** traceids; gint traceids_length1; gint _traceids_size_; GraphModel* _tmp32_; TraceModel** _tmp33_; gint _tmp33__length1; TraceModel** _tmp34_; gint _tmp34__length1; TraceModel** _tmp35_; gint _tmp35__length1; TraceModel** tracemodels; gint tracemodels_length1; gint _tracemodels_size_; g_return_if_fail (IS_MAIN (self)); g_return_if_fail (IS_GRAPH_MODEL (graphmodel)); _tmp0_ = graphmodel; _tmp1_ = graph_model_get_id (_tmp0_); _tmp2_ = _tmp1_; _tmp3_ = g_strdup (_tmp2_); graphid = _tmp3_; _tmp4_ = self->priv->settingscache; _tmp5_ = graphid; _tmp6_ = settings_cache_graphsettings (_tmp4_, _tmp5_); graphsettings = _tmp6_; _tmp7_ = graphsettings; _tmp8_ = graphmodel; g_settings_bind_with_mapping (_tmp7_, "background-color", _tmp8_, "background_color", G_SETTINGS_BIND_DEFAULT, _utils_get_settings_color_gsettings_bind_get_mapping, _utils_set_settings_color_gsettings_bind_set_mapping, NULL, ___lambda10__gdestroy_notify); _tmp9_ = graphsettings; _tmp10_ = graphmodel; _tmp11_ = graph_model_get_minimum (_tmp10_); _tmp12_ = _tmp11_; g_settings_bind (_tmp9_, "minimum", _tmp12_, "expression", G_SETTINGS_BIND_DEFAULT); _tmp13_ = graphsettings; _tmp14_ = graphmodel; _tmp15_ = graph_model_get_maximum (_tmp14_); _tmp16_ = _tmp15_; g_settings_bind (_tmp13_, "maximum", _tmp16_, "expression", G_SETTINGS_BIND_DEFAULT); _tmp17_ = g_strdup ("enabled"); _tmp18_ = g_strdup ("smooth"); _tmp19_ = g_strdup ("alpha"); _tmp20_ = g_strdup ("traces"); _tmp21_ = g_new0 (gchar*, 4 + 1); _tmp21_[0] = _tmp17_; _tmp21_[1] = _tmp18_; _tmp21_[2] = _tmp19_; _tmp21_[3] = _tmp20_; graphproperties = _tmp21_; graphproperties_length1 = 4; _graphproperties_size_ = graphproperties_length1; _tmp22_ = graphproperties; _tmp22__length1 = graphproperties_length1; { gchar** property_collection = NULL; gint property_collection_length1 = 0; gint _property_collection_size_ = 0; gint property_it = 0; property_collection = _tmp22_; property_collection_length1 = _tmp22__length1; for (property_it = 0; property_it < _tmp22__length1; property_it = property_it + 1) { gchar* _tmp23_; gchar* property = NULL; _tmp23_ = g_strdup (property_collection[property_it]); property = _tmp23_; { GSettings* _tmp24_; const gchar* _tmp25_; GraphModel* _tmp26_; const gchar* _tmp27_; _tmp24_ = graphsettings; _tmp25_ = property; _tmp26_ = graphmodel; _tmp27_ = property; g_settings_bind (_tmp24_, _tmp25_, _tmp26_, _tmp27_, G_SETTINGS_BIND_DEFAULT); _g_free0 (property); } } } _tmp28_ = graphmodel; _tmp29_ = graph_model_get_traces (_tmp28_, &_tmp29__length1); _tmp30_ = _tmp29_; _tmp30__length1 = _tmp29__length1; _tmp31_ = (_tmp30_ != NULL) ? _vala_array_dup11 (_tmp30_, _tmp30__length1) : ((gpointer) _tmp30_); _tmp31__length1 = _tmp30__length1; traceids = _tmp31_; traceids_length1 = _tmp31__length1; _traceids_size_ = traceids_length1; _tmp32_ = graphmodel; _tmp33_ = graph_model_get_tracemodels (_tmp32_, &_tmp33__length1); _tmp34_ = _tmp33_; _tmp34__length1 = _tmp33__length1; _tmp35_ = (_tmp34_ != NULL) ? _vala_array_dup12 (_tmp34_, _tmp34__length1) : ((gpointer) _tmp34_); _tmp35__length1 = _tmp34__length1; tracemodels = _tmp35_; tracemodels_length1 = _tmp35__length1; _tracemodels_size_ = tracemodels_length1; { guint i; gchar** _tmp36_; gint _tmp36__length1; guint isize; i = (guint) 0; _tmp36_ = traceids; _tmp36__length1 = traceids_length1; isize = (guint) _tmp36__length1; { gboolean _tmp37_; _tmp37_ = TRUE; while (TRUE) { gboolean _tmp38_; guint _tmp40_; guint _tmp41_; TraceModel** _tmp42_; gint _tmp42__length1; guint _tmp43_; TraceModel* _tmp44_; const gchar* _tmp45_; gchar** _tmp46_; gint _tmp46__length1; guint _tmp47_; const gchar* _tmp48_; _tmp38_ = _tmp37_; if (!_tmp38_) { guint _tmp39_; _tmp39_ = i; i = _tmp39_ + 1; } _tmp37_ = FALSE; _tmp40_ = i; _tmp41_ = isize; if (!(_tmp40_ < _tmp41_)) { break; } _tmp42_ = tracemodels; _tmp42__length1 = tracemodels_length1; _tmp43_ = i; _tmp44_ = _tmp42_[_tmp43_]; _tmp45_ = graphid; _tmp46_ = traceids; _tmp46__length1 = traceids_length1; _tmp47_ = i; _tmp48_ = _tmp46_[_tmp47_]; main_addtracebinds (self, _tmp44_, _tmp45_, _tmp48_); } } } tracemodels = (_vala_array_free (tracemodels, tracemodels_length1, (GDestroyNotify) g_object_unref), NULL); traceids = (_vala_array_free (traceids, traceids_length1, (GDestroyNotify) g_free), NULL); graphproperties = (_vala_array_free (graphproperties, graphproperties_length1, (GDestroyNotify) g_free), NULL); _g_object_unref0 (graphsettings); _g_free0 (graphid); } static void __lambda11_ (void) { } static void ___lambda11__gdestroy_notify (void* data) { __lambda11_ (); } static void main_addtracebinds (Main* self, TraceModel* tracemodel, const gchar* graphid, const gchar* traceid) { SettingsCache* _tmp0_; const gchar* _tmp1_; const gchar* _tmp2_; GSettings* _tmp3_ = NULL; GSettings* tracesettings; TraceModel* _tmp4_; TraceModel* _tmp5_; TraceModel* _tmp6_; ExpressionCache* _tmp7_; ExpressionCache* _tmp8_; g_return_if_fail (IS_MAIN (self)); g_return_if_fail (IS_TRACE_MODEL (tracemodel)); g_return_if_fail (graphid != NULL); g_return_if_fail (traceid != NULL); _tmp0_ = self->priv->settingscache; _tmp1_ = graphid; _tmp2_ = traceid; _tmp3_ = settings_cache_tracesettings (_tmp0_, _tmp1_, _tmp2_); tracesettings = _tmp3_; _tmp4_ = tracemodel; g_settings_bind_with_mapping (tracesettings, "color", _tmp4_, "color", G_SETTINGS_BIND_DEFAULT, _utils_get_settings_color_gsettings_bind_get_mapping, _utils_set_settings_color_gsettings_bind_set_mapping, NULL, ___lambda11__gdestroy_notify); _tmp5_ = tracemodel; g_settings_bind (tracesettings, "enabled", _tmp5_, "enabled", G_SETTINGS_BIND_DEFAULT); _tmp6_ = tracemodel; _tmp7_ = trace_model_get_expression (_tmp6_); _tmp8_ = _tmp7_; g_settings_bind (tracesettings, "expression", _tmp8_, "expression", G_SETTINGS_BIND_DEFAULT); _g_object_unref0 (tracesettings); } static gboolean main_debug (const gchar* optionname, const gchar* optionvalue, Main* self, GError** error) { gboolean result = FALSE; g_return_val_if_fail (IS_MAIN (self), FALSE); g_return_val_if_fail (optionname != NULL, FALSE); utils_enabledebugmessages = TRUE; result = TRUE; return result; } static void main_real_activate (GApplication* base) { Main * self; self = MAIN (base); } static void main_real_startup (GApplication* base) { Main * self; const gchar* _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; Providers* _tmp3_; Providers* _tmp4_; MultiLoadIndicator* _tmp5_; SettingsCache* _tmp6_; SettingsConversion* _tmp7_; SettingsConversion* _tmp8_; gchar** _tmp9_ = NULL; gchar** _tmp10_; gint _tmp10__length1; GObject* _tmp11_ = NULL; GtkMenu* _tmp12_; GtkMenu* menu; MultiLoadIndicator* _tmp13_; SettingsCache* _tmp14_; GSettings* _tmp15_ = NULL; GSettings* datasettings; MultiLoadIndicator* _tmp16_; MenuModel* _tmp17_; MenuModel* _tmp18_; MultiLoadIndicator* _tmp19_; MenuModel* _tmp20_; MenuModel* _tmp21_; MultiLoadIndicator* _tmp22_; MenuModel* _tmp23_; MenuModel* _tmp24_; MultiLoadIndicator* _tmp25_; MultiLoadIndicator* _tmp26_; MultiLoadIndicator* _tmp27_; MultiLoadIndicator* _tmp28_; MultiLoadIndicator* _tmp29_; Preferences* _tmp30_; self = MAIN (base); _tmp0_ = main_datadirectory; _tmp1_ = g_build_filename (_tmp0_, "icons", NULL); _tmp2_ = _tmp1_; _tmp3_ = providers_new (); _tmp4_ = _tmp3_; _tmp5_ = multi_load_indicator_new (_tmp2_, _tmp4_); _g_object_unref0 (self->priv->multi); self->priv->multi = _tmp5_; _g_object_unref0 (_tmp4_); _g_free0 (_tmp2_); _tmp6_ = settings_cache_new (); _g_object_unref0 (self->priv->settingscache); self->priv->settingscache = _tmp6_; _tmp7_ = settings_conversion_new (); _tmp8_ = _tmp7_; settings_conversion_convert (_tmp8_); _g_object_unref0 (_tmp8_); main_creategraphs (self, NULL, ""); _tmp9_ = g_new0 (gchar*, 0 + 1); _tmp10_ = _tmp9_; _tmp10__length1 = 0; _tmp11_ = utils_get_ui ("menu", G_OBJECT (self), _tmp10_, 0, NULL); _tmp12_ = GTK_IS_MENU (_tmp11_) ? ((GtkMenu*) _tmp11_) : NULL; _tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_free), NULL); menu = _tmp12_; g_return_if_fail (menu != NULL); _tmp13_ = self->priv->multi; multi_load_indicator_set_menu (_tmp13_, menu); _tmp14_ = self->priv->settingscache; _tmp15_ = settings_cache_generalsettings (_tmp14_); datasettings = _tmp15_; _tmp16_ = self->priv->multi; _tmp17_ = multi_load_indicator_get_menumodel (_tmp16_); _tmp18_ = _tmp17_; g_settings_bind (datasettings, "menu-expressions", _tmp18_, "expressions", G_SETTINGS_BIND_DEFAULT); _tmp19_ = self->priv->multi; _tmp20_ = multi_load_indicator_get_labelmodel (_tmp19_); _tmp21_ = _tmp20_; g_settings_bind (datasettings, "indicator-expressions", _tmp21_, "expressions", G_SETTINGS_BIND_DEFAULT); _tmp22_ = self->priv->multi; _tmp23_ = multi_load_indicator_get_descriptionmodel (_tmp22_); _tmp24_ = _tmp23_; g_settings_bind (datasettings, "description-expressions", _tmp24_, "expressions", G_SETTINGS_BIND_DEFAULT); _tmp25_ = self->priv->multi; g_settings_bind (datasettings, "indicator-expression-index", _tmp25_, "indicator-index", G_SETTINGS_BIND_DEFAULT); _tmp26_ = self->priv->multi; g_settings_bind (datasettings, "width", _tmp26_, "width", G_SETTINGS_BIND_DEFAULT); _tmp27_ = self->priv->multi; g_settings_bind (datasettings, "height", _tmp27_, "height", G_SETTINGS_BIND_DEFAULT); g_settings_bind (datasettings, "autostart", self, "autostart", G_SETTINGS_BIND_DEFAULT); _tmp28_ = self->priv->multi; g_settings_bind (datasettings, "speed", _tmp28_, "speed", G_SETTINGS_BIND_DEFAULT); _tmp29_ = self->priv->multi; multi_load_indicator_updateall (_tmp29_); _tmp30_ = preferences_new (); _g_object_unref0 (self->priv->preferences); self->priv->preferences = _tmp30_; g_application_hold (G_APPLICATION (self)); gdk_notify_startup_complete (); G_APPLICATION_CLASS (main_parent_class)->startup (G_APPLICATION (self)); _g_object_unref0 (datasettings); _g_object_unref0 (menu); } static gint main_real_command_line (GApplication* base, GApplicationCommandLine* command_line) { Main * self; gint result = 0; self = MAIN (base); g_return_val_if_fail (G_IS_APPLICATION_COMMAND_LINE (command_line), 0); result = 0; return result; } static gchar** _vala_array_dup13 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } static gdouble* _vala_array_dup14 (gdouble* self, int length) { return g_memdup (self, length * sizeof (gdouble)); } static gboolean main_real_local_command_line (GApplication* base, gchar*** arguments, gint* exit_status) { Main * self; gint _vala_exit_status = 0; gboolean result = FALSE; gboolean _result_; gboolean _tmp18_; gchar** _tmp64_; gint _tmp64__length1; GError * _inner_error_ = NULL; self = MAIN (base); { GOptionGroup* _tmp0_; GOptionGroup* group; GOptionGroup* _tmp1_; const gchar* _tmp2_ = NULL; GOptionContext* _tmp3_; GOptionContext* context; GOptionContext* _tmp4_; GOptionContext* _tmp5_; GOptionGroup* _tmp6_; GOptionContext* _tmp7_; GOptionGroup* _tmp8_ = NULL; gchar** _tmp9_; gint _tmp9__length1; gchar** local_args; gint local_args_length1; gint _local_args_size_; GOptionContext* _tmp10_; _tmp0_ = g_option_group_new ("", "", "", self, NULL); group = _tmp0_; _tmp1_ = group; g_option_group_add_entries (_tmp1_, MAIN_options); _tmp2_ = _ ("- System load application indicator"); _tmp3_ = g_option_context_new (_tmp2_); context = _tmp3_; _tmp4_ = context; g_option_context_set_help_enabled (_tmp4_, TRUE); _tmp5_ = context; _tmp6_ = group; group = NULL; g_option_context_set_main_group (_tmp5_, _tmp6_); _tmp7_ = context; _tmp8_ = gtk_get_option_group (TRUE); g_option_context_add_group (_tmp7_, _tmp8_); _tmp9_ = *arguments; _tmp9__length1 = _vala_array_length (*arguments); local_args = _tmp9_; local_args_length1 = _tmp9__length1; _local_args_size_ = local_args_length1; _tmp10_ = context; g_option_context_parse (_tmp10_, &local_args_length1, &local_args, &_inner_error_); if (_inner_error_ != NULL) { _g_option_context_free0 (context); _g_option_group_free0 (group); if (_inner_error_->domain == G_OPTION_ERROR) { goto __catch6_g_option_error; } _g_option_context_free0 (context); _g_option_group_free0 (group); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } _g_option_context_free0 (context); _g_option_group_free0 (group); } goto __finally6; __catch6_g_option_error: { GError* e = NULL; FILE* _tmp11_; GError* _tmp12_; const gchar* _tmp13_; FILE* _tmp14_; const gchar* _tmp15_ = NULL; gchar** _tmp16_; gint _tmp16__length1; const gchar* _tmp17_; e = _inner_error_; _inner_error_ = NULL; _tmp11_ = stdout; _tmp12_ = e; _tmp13_ = _tmp12_->message; fprintf (_tmp11_, "%s\n", _tmp13_); _tmp14_ = stdout; _tmp15_ = _ ("Run '%s --help' to see a full list of available command line options.\n"); _tmp16_ = *arguments; _tmp16__length1 = _vala_array_length (*arguments); _tmp17_ = _tmp16_[0]; fprintf (_tmp14_, _tmp15_, _tmp17_); _vala_exit_status = 1; result = TRUE; _g_error_free0 (e); if (exit_status) { *exit_status = _vala_exit_status; } return result; } __finally6: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } _result_ = FALSE; _tmp18_ = main_identifiersoption; if (_tmp18_) { Providers* _tmp19_; Providers* providers; Providers* _tmp20_; Providers* _tmp21_; Provider** _tmp22_; gint _tmp22__length1; Provider** _tmp23_; gint _tmp23__length1; FILE* _tmp50_; Providers* _tmp51_; Function** _tmp52_; gint _tmp52__length1; Function** _tmp53_; gint _tmp53__length1; _tmp19_ = providers_new (); providers = _tmp19_; g_usleep ((gulong) 100000); _tmp20_ = providers; providers_update (_tmp20_); _tmp21_ = providers; _tmp22_ = providers_get_providers (_tmp21_, &_tmp22__length1); _tmp23_ = _tmp22_; _tmp23__length1 = _tmp22__length1; { Provider** provider_collection = NULL; gint provider_collection_length1 = 0; gint _provider_collection_size_ = 0; gint provider_it = 0; provider_collection = _tmp23_; provider_collection_length1 = _tmp23__length1; for (provider_it = 0; provider_it < _tmp23__length1; provider_it = provider_it + 1) { Provider* _tmp24_; Provider* provider = NULL; _tmp24_ = _g_object_ref0 (provider_collection[provider_it]); provider = _tmp24_; { FILE* _tmp25_; Provider* _tmp26_; const gchar* _tmp27_; const gchar* _tmp28_; Provider* _tmp29_; gchar** _tmp30_; gint _tmp30__length1; gchar** _tmp31_; gint _tmp31__length1; gchar** _tmp32_; gint _tmp32__length1; gchar** keys; gint keys_length1; gint _keys_size_; Provider* _tmp33_; gdouble* _tmp34_; gint _tmp34__length1; gdouble* _tmp35_; gint _tmp35__length1; gdouble* _tmp36_; gint _tmp36__length1; gdouble* values; gint values_length1; gint _values_size_; _tmp25_ = stdout; _tmp26_ = provider; _tmp27_ = provider_get_id (_tmp26_); _tmp28_ = _tmp27_; fprintf (_tmp25_, "%s:\n", _tmp28_); _tmp29_ = provider; _tmp30_ = provider_get_keys (_tmp29_, &_tmp30__length1); _tmp31_ = _tmp30_; _tmp31__length1 = _tmp30__length1; _tmp32_ = (_tmp31_ != NULL) ? _vala_array_dup13 (_tmp31_, _tmp31__length1) : ((gpointer) _tmp31_); _tmp32__length1 = _tmp31__length1; keys = _tmp32_; keys_length1 = _tmp32__length1; _keys_size_ = keys_length1; _tmp33_ = provider; _tmp34_ = provider_get_values (_tmp33_, &_tmp34__length1); _tmp35_ = _tmp34_; _tmp35__length1 = _tmp34__length1; _tmp36_ = (_tmp35_ != NULL) ? _vala_array_dup14 (_tmp35_, _tmp35__length1) : ((gpointer) _tmp35_); _tmp36__length1 = _tmp35__length1; values = _tmp36_; values_length1 = _tmp36__length1; _values_size_ = values_length1; { guint i; gchar** _tmp37_; gint _tmp37__length1; guint isize; i = (guint) 0; _tmp37_ = keys; _tmp37__length1 = keys_length1; isize = (guint) _tmp37__length1; { gboolean _tmp38_; _tmp38_ = TRUE; while (TRUE) { gboolean _tmp39_; guint _tmp41_; guint _tmp42_; FILE* _tmp43_; gchar** _tmp44_; gint _tmp44__length1; guint _tmp45_; const gchar* _tmp46_; gdouble* _tmp47_; gint _tmp47__length1; guint _tmp48_; gdouble _tmp49_; _tmp39_ = _tmp38_; if (!_tmp39_) { guint _tmp40_; _tmp40_ = i; i = _tmp40_ + 1; } _tmp38_ = FALSE; _tmp41_ = i; _tmp42_ = isize; if (!(_tmp41_ < _tmp42_)) { break; } _tmp43_ = stdout; _tmp44_ = keys; _tmp44__length1 = keys_length1; _tmp45_ = i; _tmp46_ = _tmp44_[_tmp45_]; _tmp47_ = values; _tmp47__length1 = values_length1; _tmp48_ = i; _tmp49_ = _tmp47_[_tmp48_]; fprintf (_tmp43_, " %s: %f\n", _tmp46_, _tmp49_); } } } values = (g_free (values), NULL); keys = (_vala_array_free (keys, keys_length1, (GDestroyNotify) g_free), NULL); _g_object_unref0 (provider); } } } _tmp50_ = stdout; fprintf (_tmp50_, "functions:\n"); _tmp51_ = providers; _tmp52_ = providers_get_functions (_tmp51_, &_tmp52__length1); _tmp53_ = _tmp52_; _tmp53__length1 = _tmp52__length1; { Function** function_collection = NULL; gint function_collection_length1 = 0; gint _function_collection_size_ = 0; gint function_it = 0; function_collection = _tmp53_; function_collection_length1 = _tmp53__length1; for (function_it = 0; function_it < _tmp53__length1; function_it = function_it + 1) { Function* _tmp54_; Function* function = NULL; _tmp54_ = _g_object_ref0 (function_collection[function_it]); function = _tmp54_; { FILE* _tmp55_; Function* _tmp56_; const gchar* _tmp57_; const gchar* _tmp58_; Function* _tmp59_; gchar** _tmp60_; gint _tmp60__length1; gchar** _tmp61_; gint _tmp61__length1; gchar* _tmp62_ = NULL; gchar* _tmp63_; _tmp55_ = stdout; _tmp56_ = function; _tmp57_ = function_get_id (_tmp56_); _tmp58_ = _tmp57_; _tmp59_ = function; _tmp60_ = function_get_parameterdescs (_tmp59_, &_tmp60__length1); _tmp61_ = _tmp60_; _tmp61__length1 = _tmp60__length1; _tmp62_ = g_strjoinv (", ", _tmp61_); _tmp63_ = _tmp62_; fprintf (_tmp55_, " %s(%s)\n", _tmp58_, _tmp63_); _g_free0 (_tmp63_); _g_object_unref0 (function); } } } _result_ = TRUE; _g_object_unref0 (providers); } _tmp64_ = main_expressionoptions; _tmp64__length1 = _vala_array_length (main_expressionoptions); { gchar** expressionoption_collection = NULL; gint expressionoption_collection_length1 = 0; gint _expressionoption_collection_size_ = 0; gint expressionoption_it = 0; expressionoption_collection = _tmp64_; expressionoption_collection_length1 = _tmp64__length1; for (expressionoption_it = 0; expressionoption_it < _tmp64__length1; expressionoption_it = expressionoption_it + 1) { gchar* _tmp65_; gchar* expressionoption = NULL; _tmp65_ = g_strdup (expressionoption_collection[expressionoption_it]); expressionoption = _tmp65_; { Providers* _tmp66_; Providers* _tmp67_; const gchar* _tmp68_; ExpressionCache* _tmp69_; ExpressionCache* _tmp70_; ExpressionCache* cache; FILE* _tmp71_; const gchar* _tmp72_; FILE* _tmp73_; ExpressionCache* _tmp74_; gint _tmp75_ = 0; gchar** _tmp76_ = NULL; gchar** _tmp77_; gint _tmp77__length1; gchar* _tmp78_ = NULL; gchar* _tmp79_; FILE* _tmp80_; ExpressionCache* _tmp81_; gchar* _tmp82_ = NULL; gchar* _tmp83_; FILE* _tmp84_; ExpressionCache* _tmp85_; gchar* _tmp86_ = NULL; gchar* _tmp87_; _tmp66_ = providers_new (); _tmp67_ = _tmp66_; _tmp68_ = expressionoption; _tmp69_ = expression_cache_new (_tmp67_, _tmp68_); _tmp70_ = _tmp69_; _g_object_unref0 (_tmp67_); cache = _tmp70_; _tmp71_ = stdout; _tmp72_ = expressionoption; fprintf (_tmp71_, "Original: %s\n", _tmp72_); _tmp73_ = stdout; _tmp74_ = cache; _tmp76_ = expression_cache_tokens (_tmp74_, &_tmp75_); _tmp77_ = _tmp76_; _tmp77__length1 = _tmp75_; _tmp78_ = g_strjoinv ("' '", _tmp77_); _tmp79_ = _tmp78_; fprintf (_tmp73_, "Tokens: '%s'\n", _tmp79_); _g_free0 (_tmp79_); _tmp77_ = (_vala_array_free (_tmp77_, _tmp77__length1, (GDestroyNotify) g_free), NULL); _tmp80_ = stdout; _tmp81_ = cache; _tmp82_ = expression_cache_label (_tmp81_); _tmp83_ = _tmp82_; fprintf (_tmp80_, "Result: %s\n", _tmp83_); _g_free0 (_tmp83_); _tmp84_ = stdout; _tmp85_ = cache; _tmp86_ = expression_cache_guide (_tmp85_); _tmp87_ = _tmp86_; fprintf (_tmp84_, "Guide: %s\n", _tmp87_); _g_free0 (_tmp87_); _result_ = TRUE; _g_object_unref0 (cache); _g_free0 (expressionoption); } } } result = _result_; if (exit_status) { *exit_status = _vala_exit_status; } return result; } gint main_main (gchar** args, int args_length1) { gint result = 0; const gchar* _tmp0_ = NULL; gchar* _tmp1_; gchar* directory; gboolean _tmp2_ = FALSE; const gchar* _tmp3_; gboolean _tmp7_; const gchar* _tmp9_; gchar* _tmp10_; gchar* _tmp11_; const gchar* _tmp12_ = NULL; gchar* _tmp13_; const gchar* _tmp14_ = NULL; gchar* _tmp15_; gchar* xdgdatadirs; const gchar* _tmp16_; gint _tmp17_; gint _tmp18_; const gchar* _tmp21_; const gchar* _tmp22_; gchar* _tmp23_; gchar* _tmp24_; gchar** _tmp25_; gint _tmp25__length1; Reaper* _tmp26_; Reaper* reaper; Main* _tmp27_; Main* _tmp28_; gchar** _tmp29_; gint _tmp29__length1; gint _tmp30_ = 0; gint _tmp31_; gint _result_; const gchar* _tmp32_; bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); _tmp0_ = g_getenv ("XDG_RUNTIME_DIR"); _tmp1_ = g_strdup (_tmp0_); directory = _tmp1_; _tmp3_ = directory; if (_tmp3_ == NULL) { _tmp2_ = TRUE; } else { const gchar* _tmp4_; gint _tmp5_; gint _tmp6_; _tmp4_ = directory; _tmp5_ = strlen (_tmp4_); _tmp6_ = _tmp5_; _tmp2_ = _tmp6_ == 0; } _tmp7_ = _tmp2_; if (_tmp7_) { gchar* _tmp8_; _tmp8_ = g_strdup ("/var/lock"); _g_free0 (directory); directory = _tmp8_; } _tmp9_ = directory; _tmp10_ = g_strconcat (_tmp9_, "/multiload-icons-XXXXXX", NULL); _tmp11_ = _tmp10_; _tmp12_ = mkdtemp (_tmp11_); _tmp13_ = g_strdup (_tmp12_); _g_free0 (main_datadirectory); main_datadirectory = _tmp13_; _g_free0 (_tmp11_); _tmp14_ = g_getenv ("XDG_DATA_DIRS"); _tmp15_ = g_strdup (_tmp14_); xdgdatadirs = _tmp15_; _tmp16_ = xdgdatadirs; _tmp17_ = strlen (_tmp16_); _tmp18_ = _tmp17_; if (_tmp18_ > 0) { const gchar* _tmp19_; gchar* _tmp20_; _tmp19_ = xdgdatadirs; _tmp20_ = g_strconcat (_tmp19_, ":", NULL); _g_free0 (xdgdatadirs); xdgdatadirs = _tmp20_; } _tmp21_ = xdgdatadirs; _tmp22_ = main_datadirectory; _tmp23_ = g_strconcat (_tmp21_, _tmp22_, NULL); _tmp24_ = _tmp23_; g_setenv ("XDG_DATA_DIRS", _tmp24_, TRUE); _g_free0 (_tmp24_); utils_initdebug (); gtk_init (&args_length1, &args); gtk_window_set_default_icon_name ("utilities-system-monitor"); _tmp25_ = args; _tmp25__length1 = args_length1; _tmp26_ = reaper_new (_tmp25_, _tmp25__length1); reaper = _tmp26_; _tmp27_ = main_new ("de.mh21.indicator.multiload", G_APPLICATION_FLAGS_NONE); _tmp28_ = _tmp27_; _tmp29_ = args; _tmp29__length1 = args_length1; _tmp30_ = g_application_run (G_APPLICATION (_tmp28_), _tmp29__length1, _tmp29_); _tmp31_ = _tmp30_; _g_object_unref0 (_tmp28_); _result_ = _tmp31_; _tmp32_ = main_datadirectory; g_rmdir (_tmp32_); result = _result_; _g_object_unref0 (reaper); _g_free0 (xdgdatadirs); _g_free0 (directory); return result; } int main (int argc, char ** argv) { g_type_init (); return main_main (argv, argc); } gboolean main_get_autostart (Main* self) { gboolean result; GKeyFile* _tmp0_; GKeyFile* file; GError * _inner_error_ = NULL; g_return_val_if_fail (IS_MAIN (self), FALSE); _tmp0_ = g_key_file_new (); file = _tmp0_; { GKeyFile* _tmp1_; const gchar* _tmp2_; _tmp1_ = file; _tmp2_ = self->priv->autostartfile; g_key_file_load_from_file (_tmp1_, _tmp2_, G_KEY_FILE_NONE, &_inner_error_); if (_inner_error_ != NULL) { goto __catch7_g_error; } } goto __finally7; __catch7_g_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; result = FALSE; _g_error_free0 (e); _g_key_file_free0 (file); return result; } __finally7: if (_inner_error_ != NULL) { _g_key_file_free0 (file); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } { GKeyFile* _tmp3_; const gchar* _tmp4_; gboolean _tmp5_ = FALSE; gboolean _tmp6_; _tmp3_ = file; _tmp4_ = self->priv->autostartkey; _tmp5_ = g_key_file_get_boolean (_tmp3_, G_KEY_FILE_DESKTOP_GROUP, _tmp4_, &_inner_error_); _tmp6_ = _tmp5_; if (_inner_error_ != NULL) { goto __catch8_g_error; } result = _tmp6_; _g_key_file_free0 (file); return result; } goto __finally8; __catch8_g_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; result = TRUE; _g_error_free0 (e); _g_key_file_free0 (file); return result; } __finally8: _g_key_file_free0 (file); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } void main_set_autostart (Main* self, gboolean value) { GKeyFile* _tmp0_; GKeyFile* file; const gchar* _tmp3_; gboolean _tmp4_; GError * _inner_error_ = NULL; g_return_if_fail (IS_MAIN (self)); _tmp0_ = g_key_file_new (); file = _tmp0_; { const gchar* _tmp1_; _tmp1_ = self->priv->autostartfile; g_key_file_load_from_file (file, _tmp1_, G_KEY_FILE_KEEP_COMMENTS | G_KEY_FILE_KEEP_TRANSLATIONS, &_inner_error_); if (_inner_error_ != NULL) { goto __catch9_g_error; } } goto __finally9; __catch9_g_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; { const gchar* _tmp2_; _tmp2_ = self->priv->applicationfile; g_key_file_load_from_data_dirs (file, _tmp2_, NULL, G_KEY_FILE_KEEP_COMMENTS | G_KEY_FILE_KEEP_TRANSLATIONS, &_inner_error_); if (_inner_error_ != NULL) { goto __catch10_g_error; } } goto __finally10; __catch10_g_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; g_key_file_set_string (file, G_KEY_FILE_DESKTOP_GROUP, G_KEY_FILE_DESKTOP_KEY_TYPE, "Application"); g_key_file_set_string (file, G_KEY_FILE_DESKTOP_GROUP, G_KEY_FILE_DESKTOP_KEY_NAME, "indicator-multiload"); g_key_file_set_string (file, G_KEY_FILE_DESKTOP_GROUP, G_KEY_FILE_DESKTOP_KEY_EXEC, "indicator-multiload"); _g_error_free0 (e); } __finally10: if (_inner_error_ != NULL) { _g_error_free0 (e); _g_error_free0 (e); _g_key_file_free0 (file); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _g_error_free0 (e); } __finally9: if (_inner_error_ != NULL) { _g_key_file_free0 (file); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _tmp3_ = self->priv->autostartkey; _tmp4_ = value; g_key_file_set_boolean (file, G_KEY_FILE_DESKTOP_GROUP, _tmp3_, _tmp4_); { const gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_; const gchar* _tmp8_; gchar* _tmp9_ = NULL; gchar* _tmp10_; _tmp5_ = g_get_user_config_dir (); _tmp6_ = g_build_filename (_tmp5_, "autostart", NULL); _tmp7_ = _tmp6_; g_mkdir (_tmp7_, 0777); _g_free0 (_tmp7_); _tmp8_ = self->priv->autostartfile; _tmp9_ = g_key_file_to_data (file, NULL, NULL); _tmp10_ = _tmp9_; g_file_set_contents (_tmp8_, _tmp10_, (gssize) (-1), &_inner_error_); _g_free0 (_tmp10_); if (_inner_error_ != NULL) { goto __catch11_g_error; } } goto __finally11; __catch11_g_error: { GError* e = NULL; FILE* _tmp11_; GError* _tmp12_; const gchar* _tmp13_; e = _inner_error_; _inner_error_ = NULL; _tmp11_ = stderr; _tmp12_ = e; _tmp13_ = _tmp12_->message; fprintf (_tmp11_, "Could not create autostart desktop file: %s\n", _tmp13_); _g_error_free0 (e); } __finally11: if (_inner_error_ != NULL) { _g_key_file_free0 (file); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _g_key_file_free0 (file); g_object_notify ((GObject *) self, "autostart"); } static void main_class_init (MainClass * klass) { main_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (MainPrivate)); G_APPLICATION_CLASS (klass)->activate = main_real_activate; G_APPLICATION_CLASS (klass)->startup = main_real_startup; G_APPLICATION_CLASS (klass)->command_line = main_real_command_line; G_APPLICATION_CLASS (klass)->local_command_line = main_real_local_command_line; G_OBJECT_CLASS (klass)->get_property = _vala_main_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_main_set_property; G_OBJECT_CLASS (klass)->finalize = main_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MAIN_AUTOSTART, g_param_spec_boolean ("autostart", "autostart", "autostart", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); } static void main_instance_init (Main * self) { self->priv = MAIN_GET_PRIVATE (self); } static void main_finalize (GObject* obj) { Main * self; MultiLoadIndicator* _tmp0_; self = MAIN (obj); _tmp0_ = self->priv->multi; if (_tmp0_ != NULL) { MultiLoadIndicator* _tmp1_; _tmp1_ = self->priv->multi; multi_load_indicator_destroy (_tmp1_); } _g_object_unref0 (self->priv->multi); _g_object_unref0 (self->priv->about); _g_object_unref0 (self->priv->preferences); _g_object_unref0 (self->priv->settingscache); _g_free0 (self->priv->autostartkey); _g_free0 (self->priv->desktopfilename); _g_free0 (self->priv->autostartfile); _g_free0 (self->priv->applicationfile); _g_free0 (self->priv->graphsetups); G_OBJECT_CLASS (main_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType main_get_type (void) { static volatile gsize main_type_id__volatile = 0; if (g_once_init_enter (&main_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (MainClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) main_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Main), 0, (GInstanceInitFunc) main_instance_init, NULL }; GType main_type_id; main_type_id = g_type_register_static (G_TYPE_APPLICATION, "Main", &g_define_type_info, 0); g_once_init_leave (&main_type_id__volatile, main_type_id); } return main_type_id__volatile; } static void _vala_main_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { Main * self; self = MAIN (object); switch (property_id) { case MAIN_AUTOSTART: g_value_set_boolean (value, main_get_autostart (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_main_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { Main * self; self = MAIN (object); switch (property_id) { case MAIN_AUTOSTART: main_set_autostart (self, g_value_get_boolean (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; } indicator-multiload-0.3/src/cpuprovider.vala0000664000175000017500000000431512107670161016245 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class CpuProvider : Provider { private uint64[] lastdata; public CpuProvider() { base("cpu", {"user", "sys", "nice", "idle", "io", "inuse"}); } public override void update() { GTop.Cpu cpu; GTop.get_cpu(out cpu); uint64[] newdata = new uint64[6]; newdata[0] = cpu.user; newdata[1] = cpu.sys; newdata[2] = cpu.nice; newdata[3] = cpu.idle; newdata[4] = cpu.iowait + cpu.irq + cpu.softirq; newdata[5] = cpu.user + cpu.nice + cpu.sys; double total = 0; if (this.lastdata.length != 0) { for (uint i = 0; i < 5; ++i) total += newdata[i] - this.lastdata[i]; for (uint i = 0, isize = newdata.length; i < isize; ++i) this.values[i] = (newdata[i] - this.lastdata[i]) / total; } this.lastdata = newdata; } } indicator-multiload-0.3/src/tracemodel.vala0000664000175000017500000000462612107670161016027 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class TraceModel : Object { public ExpressionCache expression { get; construct; } public Gdk.Color color { get; set; } public bool enabled { get; set; } public double[] values { get; private set; } public TraceModel(Providers providers) { Object(expression: new ExpressionCache(providers, "")); } public void set_values_length(uint length) { if (length > this._values.length) { var newvalues = new double[length]; var offset = length - this._values.length; for (uint i = 0, isize = this._values.length; i < isize; ++i) newvalues[offset + i] = this._values[i]; this._values = newvalues; } else if (length < this._values.length) { this._values = this._values[this._values.length - length:this._values.length]; } } public void add_value(double value) { for (uint i = 0, isize = this._values.length; i + 1 < isize; ++i) this._values[i] = this._values[i + 1]; this._values[this._values.length - 1] = value; } } indicator-multiload-0.3/src/swapprovider.vala0000664000175000017500000000321212107670161016423 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class SwapProvider : Provider { public SwapProvider() { base("swap", {"used", "total"}); } public override void update() { GTop.Swap swap; GTop.get_swap(out swap); this.values[0] = swap.used; this.values[1] = swap.total > 0 ? swap.total : 1; } } indicator-multiload-0.3/src/diskprovider.c0000664000175000017500000005011212107670272015706 00000000000000/* diskprovider.c generated by valac 0.14.2, the Vala compiler * generated from diskprovider.vala, do not modify */ #include #include #include #include #include #include #include #include #include #define TYPE_PROVIDER (provider_get_type ()) #define PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDER, Provider)) #define PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDER, ProviderClass)) #define IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDER)) #define IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDER)) #define PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDER, ProviderClass)) typedef struct _Provider Provider; typedef struct _ProviderClass ProviderClass; typedef struct _ProviderPrivate ProviderPrivate; #define TYPE_DISK_PROVIDER (disk_provider_get_type ()) #define DISK_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DISK_PROVIDER, DiskProvider)) #define DISK_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DISK_PROVIDER, DiskProviderClass)) #define IS_DISK_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DISK_PROVIDER)) #define IS_DISK_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DISK_PROVIDER)) #define DISK_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DISK_PROVIDER, DiskProviderClass)) typedef struct _DiskProvider DiskProvider; typedef struct _DiskProviderClass DiskProviderClass; typedef struct _DiskProviderPrivate DiskProviderPrivate; #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) #define _g_dir_close0(var) ((var == NULL) ? NULL : (var = (g_dir_close (var), NULL))) struct _Provider { GObject parent_instance; ProviderPrivate * priv; }; struct _ProviderClass { GObjectClass parent_class; void (*update) (Provider* self); }; struct _DiskProvider { Provider parent_instance; DiskProviderPrivate * priv; }; struct _DiskProviderClass { ProviderClass parent_class; }; struct _DiskProviderPrivate { guint64* lastdata; gint lastdata_length1; gint _lastdata_size_; guint64 lasttime; }; static gpointer disk_provider_parent_class = NULL; GType provider_get_type (void) G_GNUC_CONST; GType disk_provider_get_type (void) G_GNUC_CONST; #define DISK_PROVIDER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_DISK_PROVIDER, DiskProviderPrivate)) enum { DISK_PROVIDER_DUMMY_PROPERTY }; DiskProvider* disk_provider_new (void); DiskProvider* disk_provider_construct (GType object_type); Provider* provider_construct (GType object_type, const gchar* id, gchar** keys, int keys_length1); static gchar** disk_provider_split (DiskProvider* self, const gchar* val, int* result_length1); static void _vala_array_add1 (gchar*** array, int* length, int* size, gchar* value); static void _vala_array_add2 (gchar*** array, int* length, int* size, gchar* value); static void disk_provider_real_update (Provider* base); static gboolean _vala_string_array_contains (const gchar** stack, int stack_length, const gchar* needle); gdouble* provider_get_values (Provider* self, int* result_length1); static guint64* _vala_array_dup2 (guint64* self, int length); static void disk_provider_finalize (GObject* obj); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); static const gchar* DISK_PROVIDER_networkfs[4] = {"smbfs", "nfs", "cifs", "fuse.sshfs"}; DiskProvider* disk_provider_construct (GType object_type) { DiskProvider * self = NULL; gchar* _tmp0_; gchar* _tmp1_; gchar** _tmp2_ = NULL; gchar** _tmp3_; gint _tmp3__length1; _tmp0_ = g_strdup ("read"); _tmp1_ = g_strdup ("write"); _tmp2_ = g_new0 (gchar*, 2 + 1); _tmp2_[0] = _tmp0_; _tmp2_[1] = _tmp1_; _tmp3_ = _tmp2_; _tmp3__length1 = 2; self = (DiskProvider*) provider_construct (object_type, "disk", _tmp3_, 2); _tmp3_ = (_vala_array_free (_tmp3_, _tmp3__length1, (GDestroyNotify) g_free), NULL); return self; } DiskProvider* disk_provider_new (void) { return disk_provider_construct (TYPE_DISK_PROVIDER); } static void _vala_array_add1 (gchar*** array, int* length, int* size, gchar* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (gchar*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static void _vala_array_add2 (gchar*** array, int* length, int* size, gchar* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (gchar*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static gchar** disk_provider_split (DiskProvider* self, const gchar* val, int* result_length1) { gchar** result = NULL; gchar** _result_; gint _result__length1; gint __result__size_; gchar* last; const gchar* _tmp0_; gchar* current; gchar* _tmp17_; gchar** _tmp23_; gint _tmp23__length1; g_return_val_if_fail (IS_DISK_PROVIDER (self), NULL); g_return_val_if_fail (val != NULL, NULL); _result_ = NULL; _result__length1 = 0; __result__size_ = _result__length1; last = NULL; _tmp0_ = val; current = _tmp0_; { gboolean _tmp1_; _tmp1_ = TRUE; while (TRUE) { gboolean _tmp2_; gchar* _tmp4_; gboolean _tmp5_ = FALSE; gchar* _tmp6_; gboolean _tmp8_; _tmp2_ = _tmp1_; if (!_tmp2_) { gchar* _tmp3_; _tmp3_ = current; current = _tmp3_ + 1; } _tmp1_ = FALSE; _tmp4_ = current; if (!((*_tmp4_) != '\0')) { break; } _tmp6_ = current; if ((*_tmp6_) == ' ') { _tmp5_ = TRUE; } else { gchar* _tmp7_; _tmp7_ = current; _tmp5_ = (*_tmp7_) == '\n'; } _tmp8_ = _tmp5_; if (_tmp8_) { gchar* _tmp9_; _tmp9_ = last; if (_tmp9_ != NULL) { gchar** _tmp10_; gint _tmp10__length1; gchar* _tmp11_; gchar* _tmp12_; gchar* _tmp13_; gchar* _tmp14_ = NULL; _tmp10_ = _result_; _tmp10__length1 = _result__length1; _tmp11_ = last; _tmp12_ = current; _tmp13_ = last; _tmp14_ = g_strndup (_tmp11_, _tmp12_ - _tmp13_); _vala_array_add1 (&_result_, &_result__length1, &__result__size_, _tmp14_); last = NULL; } } else { gchar* _tmp15_; _tmp15_ = last; if (_tmp15_ == NULL) { gchar* _tmp16_; _tmp16_ = current; last = _tmp16_; } } } } _tmp17_ = last; if (_tmp17_ != NULL) { gchar** _tmp18_; gint _tmp18__length1; gchar* _tmp19_; gchar* _tmp20_; gchar* _tmp21_; gchar* _tmp22_ = NULL; _tmp18_ = _result_; _tmp18__length1 = _result__length1; _tmp19_ = last; _tmp20_ = current; _tmp21_ = last; _tmp22_ = g_strndup (_tmp19_, _tmp20_ - _tmp21_); _vala_array_add2 (&_result_, &_result__length1, &__result__size_, _tmp22_); } _tmp23_ = _result_; _tmp23__length1 = _result__length1; if (result_length1) { *result_length1 = _tmp23__length1; } result = _tmp23_; return result; } static const gchar* string_to_string (const gchar* self) { const gchar* result = NULL; g_return_val_if_fail (self != NULL, NULL); result = self; return result; } static guint64 uint64_parse (const gchar* str) { guint64 result = 0ULL; const gchar* _tmp0_; guint64 _tmp1_ = 0ULL; g_return_val_if_fail (str != NULL, 0ULL); _tmp0_ = str; _tmp1_ = g_ascii_strtoull (_tmp0_, NULL, (guint) 0); result = _tmp1_; return result; } static gboolean _vala_string_array_contains (const gchar** stack, int stack_length, const gchar* needle) { int i; for (i = 0; i < stack_length; i++) { if (g_strcmp0 (stack[i], needle) == 0) { return TRUE; } } return FALSE; } static guint64* _vala_array_dup2 (guint64* self, int length) { return g_memdup (self, length * sizeof (guint64)); } static void disk_provider_real_update (Provider* base) { DiskProvider * self; guint64* _tmp0_ = NULL; guint64* newdata; gint newdata_length1; gint _newdata_size_; guint64 _tmp1_ = 0ULL; guint64 newtime; guint64* _tmp62_; gint _tmp62__length1; guint64* _tmp81_; gint _tmp81__length1; guint64* _tmp82_; gint _tmp82__length1; guint64 _tmp83_; GError * _inner_error_ = NULL; self = DISK_PROVIDER (base); _tmp0_ = g_new0 (guint64, 3); newdata = _tmp0_; newdata_length1 = 3; _newdata_size_ = newdata_length1; _tmp1_ = g_get_monotonic_time (); newtime = _tmp1_; { GDir* _tmp2_ = NULL; GDir* directory; gchar* entry = NULL; _tmp2_ = g_dir_open ("/sys/block", (guint) 0, &_inner_error_); directory = _tmp2_; if (_inner_error_ != NULL) { goto __catch0_g_error; } while (TRUE) { GDir* _tmp3_; const gchar* _tmp4_ = NULL; gchar* _tmp5_; const gchar* _tmp6_; const gchar* _tmp7_; const gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; gchar* _tmp10_; gboolean _tmp11_ = FALSE; gboolean _tmp12_; gchar* stat = NULL; const gchar* _tmp18_; gint _tmp19_ = 0; gchar** _tmp20_ = NULL; gchar** stats; gint stats_length1; gint _stats_size_; gchar** _tmp21_; gint _tmp21__length1; guint64* _tmp22_; gint _tmp22__length1; gchar** _tmp23_; gint _tmp23__length1; const gchar* _tmp24_; guint64 _tmp25_ = 0ULL; guint64 _tmp26_; guint64* _tmp27_; gint _tmp27__length1; gchar** _tmp28_; gint _tmp28__length1; const gchar* _tmp29_; guint64 _tmp30_ = 0ULL; guint64 _tmp31_; _tmp3_ = directory; _tmp4_ = g_dir_read_name (_tmp3_); _tmp5_ = g_strdup (_tmp4_); _g_free0 (entry); entry = _tmp5_; _tmp6_ = entry; if (!(_tmp6_ != NULL)) { break; } _tmp7_ = entry; _tmp8_ = string_to_string (_tmp7_); _tmp9_ = g_strconcat ("/sys/block/", _tmp8_, "/device", NULL); _tmp10_ = _tmp9_; _tmp11_ = g_file_test (_tmp10_, G_FILE_TEST_EXISTS); _tmp12_ = !_tmp11_; _g_free0 (_tmp10_); if (_tmp12_) { continue; } { const gchar* _tmp13_; const gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; gchar* _tmp16_; gchar* _tmp17_ = NULL; _tmp13_ = entry; _tmp14_ = string_to_string (_tmp13_); _tmp15_ = g_strconcat ("/sys/block/", _tmp14_, "/stat", NULL); _tmp16_ = _tmp15_; g_file_get_contents (_tmp16_, &_tmp17_, NULL, &_inner_error_); _g_free0 (stat); stat = _tmp17_; _g_free0 (_tmp16_); if (_inner_error_ != NULL) { goto __catch1_g_error; } } goto __finally1; __catch1_g_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; _g_error_free0 (e); _g_free0 (stat); continue; } __finally1: if (_inner_error_ != NULL) { _g_free0 (stat); _g_free0 (entry); _g_dir_close0 (directory); goto __catch0_g_error; } _tmp18_ = stat; _tmp20_ = disk_provider_split (self, _tmp18_, &_tmp19_); stats = _tmp20_; stats_length1 = _tmp19_; _stats_size_ = stats_length1; _tmp21_ = stats; _tmp21__length1 = stats_length1; if (_tmp21__length1 < 8) { stats = (_vala_array_free (stats, stats_length1, (GDestroyNotify) g_free), NULL); _g_free0 (stat); continue; } _tmp22_ = newdata; _tmp22__length1 = newdata_length1; _tmp23_ = stats; _tmp23__length1 = stats_length1; _tmp24_ = _tmp23_[2]; _tmp25_ = uint64_parse (_tmp24_); _tmp22_[0] += 512 * _tmp25_; _tmp26_ = _tmp22_[0]; _tmp27_ = newdata; _tmp27__length1 = newdata_length1; _tmp28_ = stats; _tmp28__length1 = stats_length1; _tmp29_ = _tmp28_[6]; _tmp30_ = uint64_parse (_tmp29_); _tmp27_[1] += 512 * _tmp30_; _tmp31_ = _tmp27_[1]; stats = (_vala_array_free (stats, stats_length1, (GDestroyNotify) g_free), NULL); _g_free0 (stat); } _g_free0 (entry); _g_dir_close0 (directory); } goto __finally0; __catch0_g_error: { GError* e = NULL; glibtop_mountentry* mountentries = NULL; gint mountentries_length1 = 0; gint _mountentries_size_ = 0; glibtop_mountlist mountlist = {0}; glibtop_mountlist _tmp32_ = {0}; glibtop_mountentry* _tmp33_; glibtop_mountentry* _tmp34_ = NULL; e = _inner_error_; _inner_error_ = NULL; _tmp34_ = _tmp33_ = glibtop_get_mountlist (&_tmp32_, FALSE); mountlist = _tmp32_; mountentries = (g_free (mountentries), NULL); mountentries = _tmp34_; mountentries_length1 = _vala_array_length (_tmp33_); _mountentries_size_ = mountentries_length1; { guint i; i = (guint) 0; { gboolean _tmp35_; _tmp35_ = TRUE; while (TRUE) { gboolean _tmp36_; guint _tmp38_; glibtop_mountlist _tmp39_; guint64 _tmp40_; glibtop_mountentry* _tmp41_; gint _tmp41__length1; guint _tmp42_; glibtop_mountentry _tmp43_; const gchar* _tmp44_; glibtop_fsusage fsusage = {0}; glibtop_mountentry* _tmp45_; gint _tmp45__length1; guint _tmp46_; glibtop_mountentry _tmp47_; const gchar* _tmp48_; glibtop_fsusage _tmp49_ = {0}; guint64* _tmp50_; gint _tmp50__length1; glibtop_fsusage _tmp51_; guint32 _tmp52_; glibtop_fsusage _tmp53_; guint64 _tmp54_; guint64 _tmp55_; guint64* _tmp56_; gint _tmp56__length1; glibtop_fsusage _tmp57_; guint32 _tmp58_; glibtop_fsusage _tmp59_; guint64 _tmp60_; guint64 _tmp61_; _tmp36_ = _tmp35_; if (!_tmp36_) { guint _tmp37_; _tmp37_ = i; i = _tmp37_ + 1; } _tmp35_ = FALSE; _tmp38_ = i; _tmp39_ = mountlist; _tmp40_ = _tmp39_.number; if (!(((guint64) _tmp38_) < _tmp40_)) { break; } _tmp41_ = mountentries; _tmp41__length1 = mountentries_length1; _tmp42_ = i; _tmp43_ = _tmp41_[_tmp42_]; _tmp44_ = _tmp43_.type; if (_vala_string_array_contains (DISK_PROVIDER_networkfs, G_N_ELEMENTS (DISK_PROVIDER_networkfs), _tmp44_)) { continue; } _tmp45_ = mountentries; _tmp45__length1 = mountentries_length1; _tmp46_ = i; _tmp47_ = _tmp45_[_tmp46_]; _tmp48_ = _tmp47_.mountdir; glibtop_get_fsusage (&_tmp49_, _tmp48_); fsusage = _tmp49_; _tmp50_ = newdata; _tmp50__length1 = newdata_length1; _tmp51_ = fsusage; _tmp52_ = _tmp51_.block_size; _tmp53_ = fsusage; _tmp54_ = _tmp53_.read; _tmp50_[0] += _tmp52_ * _tmp54_; _tmp55_ = _tmp50_[0]; _tmp56_ = newdata; _tmp56__length1 = newdata_length1; _tmp57_ = fsusage; _tmp58_ = _tmp57_.block_size; _tmp59_ = fsusage; _tmp60_ = _tmp59_.write; _tmp56_[1] += _tmp58_ * _tmp60_; _tmp61_ = _tmp56_[1]; } } } mountentries = (g_free (mountentries), NULL); _g_error_free0 (e); } __finally0: if (_inner_error_ != NULL) { newdata = (g_free (newdata), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _tmp62_ = self->priv->lastdata; _tmp62__length1 = self->priv->lastdata_length1; if (_tmp62__length1 != 0) { guint64 _tmp63_; guint64 _tmp64_; gdouble delta; gdouble* _tmp65_; gint _tmp65__length1; gdouble* _tmp66_; gint _tmp66__length1; guint64* _tmp67_; gint _tmp67__length1; guint64 _tmp68_; guint64* _tmp69_; gint _tmp69__length1; guint64 _tmp70_; gdouble _tmp71_; gdouble _tmp72_; gdouble* _tmp73_; gint _tmp73__length1; gdouble* _tmp74_; gint _tmp74__length1; guint64* _tmp75_; gint _tmp75__length1; guint64 _tmp76_; guint64* _tmp77_; gint _tmp77__length1; guint64 _tmp78_; gdouble _tmp79_; gdouble _tmp80_; _tmp63_ = newtime; _tmp64_ = self->priv->lasttime; delta = (_tmp63_ - _tmp64_) / 1e6; _tmp65_ = provider_get_values (PROVIDER (self), &_tmp65__length1); _tmp66_ = _tmp65_; _tmp66__length1 = _tmp65__length1; _tmp67_ = newdata; _tmp67__length1 = newdata_length1; _tmp68_ = _tmp67_[0]; _tmp69_ = self->priv->lastdata; _tmp69__length1 = self->priv->lastdata_length1; _tmp70_ = _tmp69_[0]; _tmp71_ = delta; _tmp66_[0] = (_tmp68_ - _tmp70_) / _tmp71_; _tmp72_ = _tmp66_[0]; _tmp73_ = provider_get_values (PROVIDER (self), &_tmp73__length1); _tmp74_ = _tmp73_; _tmp74__length1 = _tmp73__length1; _tmp75_ = newdata; _tmp75__length1 = newdata_length1; _tmp76_ = _tmp75_[1]; _tmp77_ = self->priv->lastdata; _tmp77__length1 = self->priv->lastdata_length1; _tmp78_ = _tmp77_[1]; _tmp79_ = delta; _tmp74_[1] = (_tmp76_ - _tmp78_) / _tmp79_; _tmp80_ = _tmp74_[1]; } _tmp81_ = newdata; _tmp81__length1 = newdata_length1; _tmp82_ = (_tmp81_ != NULL) ? _vala_array_dup2 (_tmp81_, _tmp81__length1) : ((gpointer) _tmp81_); _tmp82__length1 = _tmp81__length1; self->priv->lastdata = (g_free (self->priv->lastdata), NULL); self->priv->lastdata = _tmp82_; self->priv->lastdata_length1 = _tmp82__length1; self->priv->_lastdata_size_ = self->priv->lastdata_length1; _tmp83_ = newtime; self->priv->lasttime = _tmp83_; newdata = (g_free (newdata), NULL); } static void disk_provider_class_init (DiskProviderClass * klass) { disk_provider_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (DiskProviderPrivate)); PROVIDER_CLASS (klass)->update = disk_provider_real_update; G_OBJECT_CLASS (klass)->finalize = disk_provider_finalize; } static void disk_provider_instance_init (DiskProvider * self) { self->priv = DISK_PROVIDER_GET_PRIVATE (self); } static void disk_provider_finalize (GObject* obj) { DiskProvider * self; self = DISK_PROVIDER (obj); self->priv->lastdata = (g_free (self->priv->lastdata), NULL); G_OBJECT_CLASS (disk_provider_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType disk_provider_get_type (void) { static volatile gsize disk_provider_type_id__volatile = 0; if (g_once_init_enter (&disk_provider_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (DiskProviderClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) disk_provider_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DiskProvider), 0, (GInstanceInitFunc) disk_provider_instance_init, NULL }; GType disk_provider_type_id; disk_provider_type_id = g_type_register_static (TYPE_PROVIDER, "DiskProvider", &g_define_type_info, 0); g_once_init_leave (&disk_provider_type_id__volatile, disk_provider_type_id); } return disk_provider_type_id__volatile; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; } indicator-multiload-0.3/src/multiloadindicator.c0000664000175000017500000020361612107670273017102 00000000000000/* multiloadindicator.c generated by valac 0.14.2, the Vala compiler * generated from multiloadindicator.vala, do not modify */ #include #include #include #include #include #include #include #include #include #include #include #define TYPE_MULTI_LOAD_INDICATOR (multi_load_indicator_get_type ()) #define MULTI_LOAD_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MULTI_LOAD_INDICATOR, MultiLoadIndicator)) #define MULTI_LOAD_INDICATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MULTI_LOAD_INDICATOR, MultiLoadIndicatorClass)) #define IS_MULTI_LOAD_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MULTI_LOAD_INDICATOR)) #define IS_MULTI_LOAD_INDICATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MULTI_LOAD_INDICATOR)) #define MULTI_LOAD_INDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MULTI_LOAD_INDICATOR, MultiLoadIndicatorClass)) typedef struct _MultiLoadIndicator MultiLoadIndicator; typedef struct _MultiLoadIndicatorClass MultiLoadIndicatorClass; typedef struct _MultiLoadIndicatorPrivate MultiLoadIndicatorPrivate; #define TYPE_PROVIDERS (providers_get_type ()) #define PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDERS, Providers)) #define PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDERS, ProvidersClass)) #define IS_PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDERS)) #define IS_PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDERS)) #define PROVIDERS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDERS, ProvidersClass)) typedef struct _Providers Providers; typedef struct _ProvidersClass ProvidersClass; #define TYPE_MENU_MODEL (menu_model_get_type ()) #define MENU_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MENU_MODEL, MenuModel)) #define MENU_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MENU_MODEL, MenuModelClass)) #define IS_MENU_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MENU_MODEL)) #define IS_MENU_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MENU_MODEL)) #define MENU_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MENU_MODEL, MenuModelClass)) typedef struct _MenuModel MenuModel; typedef struct _MenuModelClass MenuModelClass; #define TYPE_GRAPH_MODELS (graph_models_get_type ()) #define GRAPH_MODELS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GRAPH_MODELS, GraphModels)) #define GRAPH_MODELS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GRAPH_MODELS, GraphModelsClass)) #define IS_GRAPH_MODELS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GRAPH_MODELS)) #define IS_GRAPH_MODELS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GRAPH_MODELS)) #define GRAPH_MODELS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GRAPH_MODELS, GraphModelsClass)) typedef struct _GraphModels GraphModels; typedef struct _GraphModelsClass GraphModelsClass; #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_source_unref0(var) ((var == NULL) ? NULL : (var = (g_source_unref (var), NULL))) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define TYPE_EXPRESSION_CACHE (expression_cache_get_type ()) #define EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EXPRESSION_CACHE, ExpressionCache)) #define EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) #define IS_EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EXPRESSION_CACHE)) #define IS_EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EXPRESSION_CACHE)) #define EXPRESSION_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) typedef struct _ExpressionCache ExpressionCache; typedef struct _ExpressionCacheClass ExpressionCacheClass; #define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL))) typedef struct _Block1Data Block1Data; #define _cairo_surface_destroy0(var) ((var == NULL) ? NULL : (var = (cairo_surface_destroy (var), NULL))) #define TYPE_GRAPH_MODEL (graph_model_get_type ()) #define GRAPH_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GRAPH_MODEL, GraphModel)) #define GRAPH_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GRAPH_MODEL, GraphModelClass)) #define IS_GRAPH_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GRAPH_MODEL)) #define IS_GRAPH_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GRAPH_MODEL)) #define GRAPH_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GRAPH_MODEL, GraphModelClass)) typedef struct _GraphModel GraphModel; typedef struct _GraphModelClass GraphModelClass; #define TYPE_TRACE_MODEL (trace_model_get_type ()) #define TRACE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TRACE_MODEL, TraceModel)) #define TRACE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TRACE_MODEL, TraceModelClass)) #define IS_TRACE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TRACE_MODEL)) #define IS_TRACE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TRACE_MODEL)) #define TRACE_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TRACE_MODEL, TraceModelClass)) typedef struct _TraceModel TraceModel; typedef struct _TraceModelClass TraceModelClass; #define _cairo_destroy0(var) ((var == NULL) ? NULL : (var = (cairo_destroy (var), NULL))) struct _MultiLoadIndicator { GObject parent_instance; MultiLoadIndicatorPrivate * priv; }; struct _MultiLoadIndicatorClass { GObjectClass parent_class; }; struct _MultiLoadIndicatorPrivate { guint currenticonindex; guint lasticonwidth; GSource* timeout; AppIndicator* indicator; GtkMenuItem** menuitems; gint menuitems_length1; gint _menuitems_size_; gboolean menuset; gchar* _icondirectory; Providers* _providers; MenuModel* _menumodel; MenuModel* _labelmodel; MenuModel* _descriptionmodel; gint _indicator_index; guint _height; guint _width; guint _speed; GtkMenu* _menu; GraphModels* _graphmodels; }; struct _Block1Data { int _ref_count_; MultiLoadIndicator * self; gboolean found; }; static gpointer multi_load_indicator_parent_class = NULL; GType multi_load_indicator_get_type (void) G_GNUC_CONST; GType providers_get_type (void) G_GNUC_CONST; GType menu_model_get_type (void) G_GNUC_CONST; GType graph_models_get_type (void) G_GNUC_CONST; #define MULTI_LOAD_INDICATOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MULTI_LOAD_INDICATOR, MultiLoadIndicatorPrivate)) enum { MULTI_LOAD_INDICATOR_DUMMY_PROPERTY, MULTI_LOAD_INDICATOR_ICONDIRECTORY, MULTI_LOAD_INDICATOR_PROVIDERS, MULTI_LOAD_INDICATOR_MENUMODEL, MULTI_LOAD_INDICATOR_LABELMODEL, MULTI_LOAD_INDICATOR_DESCRIPTIONMODEL, MULTI_LOAD_INDICATOR_INDICATOR_INDEX, MULTI_LOAD_INDICATOR_HEIGHT, MULTI_LOAD_INDICATOR_WIDTH, MULTI_LOAD_INDICATOR_SPEED, MULTI_LOAD_INDICATOR_MENU, MULTI_LOAD_INDICATOR_GRAPHMODELS }; static gchar* multi_load_indicator_iconpath (MultiLoadIndicator* self, guint index); const gchar* multi_load_indicator_get_icondirectory (MultiLoadIndicator* self); MultiLoadIndicator* multi_load_indicator_new (const gchar* icondirectory, Providers* providers); MultiLoadIndicator* multi_load_indicator_construct (GType object_type, const gchar* icondirectory, Providers* providers); MenuModel* menu_model_new (Providers* providers); MenuModel* menu_model_construct (GType object_type, Providers* providers); void multi_load_indicator_destroy (MultiLoadIndicator* self); void multi_load_indicator_updateall (MultiLoadIndicator* self); static void multi_load_indicator_updateproviders (MultiLoadIndicator* self); static void multi_load_indicator_updatemodels (MultiLoadIndicator* self); static void multi_load_indicator_updateviews (MultiLoadIndicator* self); Providers* multi_load_indicator_get_providers (MultiLoadIndicator* self); void providers_update (Providers* self); MenuModel* multi_load_indicator_get_menumodel (MultiLoadIndicator* self); void menu_model_update (MenuModel* self); MenuModel* multi_load_indicator_get_labelmodel (MultiLoadIndicator* self); MenuModel* multi_load_indicator_get_descriptionmodel (MultiLoadIndicator* self); GraphModels* multi_load_indicator_get_graphmodels (MultiLoadIndicator* self); void graph_models_update (GraphModels* self, guint trace_length); guint multi_load_indicator_get_width (MultiLoadIndicator* self); static void multi_load_indicator_updatemenuview (MultiLoadIndicator* self); static void multi_load_indicator_updatelabelview (MultiLoadIndicator* self); static void multi_load_indicator_updategraphsview (MultiLoadIndicator* self); GtkMenu* multi_load_indicator_get_menu (MultiLoadIndicator* self); gchar** menu_model_get_expressions (MenuModel* self, int* result_length1); static void _vala_array_add12 (GtkMenuItem*** array, int* length, int* size, GtkMenuItem* value); GType expression_cache_get_type (void) G_GNUC_CONST; ExpressionCache* menu_model_expression (MenuModel* self, guint index); gchar* expression_cache_label (ExpressionCache* self); static GtkMenuItem** _vala_array_dup16 (GtkMenuItem** self, int length); gint multi_load_indicator_get_indicator_index (MultiLoadIndicator* self); gchar* expression_cache_guide (ExpressionCache* self); static Block1Data* block1_data_ref (Block1Data* _data1_); static void block1_data_unref (Block1Data* _data1_); static void multi_load_indicator_iconwrite (MultiLoadIndicator* self); static void ____lambda3_ (Block1Data* _data1_, GtkWidget* w); guint multi_load_indicator_get_height (MultiLoadIndicator* self); static void _____lambda3__gtk_callback (GtkWidget* widget, gpointer self); static gchar* multi_load_indicator_iconname (MultiLoadIndicator* self, guint index); static void multi_load_indicator_iconwritedummy (MultiLoadIndicator* self); GType graph_model_get_type (void) G_GNUC_CONST; GraphModel** graph_models_get_graphmodels (GraphModels* self, int* result_length1); gboolean graph_model_get_enabled (GraphModel* self); void graph_model_set_source_color (GraphModel* self, cairo_t* ctx); GType trace_model_get_type (void) G_GNUC_CONST; TraceModel** graph_model_get_tracemodels (GraphModel* self, int* result_length1); static TraceModel** _vala_array_dup17 (TraceModel** self, int length); gdouble graph_model_get_scale (GraphModel* self); gboolean trace_model_get_enabled (TraceModel* self); gdouble* trace_model_get_values (TraceModel* self, int* result_length1); void trace_model_get_color (TraceModel* self, GdkColor* result); static void multi_load_indicator_set_icondirectory (MultiLoadIndicator* self, const gchar* value); static void multi_load_indicator_set_providers (MultiLoadIndicator* self, Providers* value); static void multi_load_indicator_set_menumodel (MultiLoadIndicator* self, MenuModel* value); static void multi_load_indicator_set_labelmodel (MultiLoadIndicator* self, MenuModel* value); static void multi_load_indicator_set_descriptionmodel (MultiLoadIndicator* self, MenuModel* value); void multi_load_indicator_set_indicator_index (MultiLoadIndicator* self, gint value); void multi_load_indicator_set_height (MultiLoadIndicator* self, guint value); void multi_load_indicator_set_width (MultiLoadIndicator* self, guint value); guint multi_load_indicator_get_speed (MultiLoadIndicator* self); void multi_load_indicator_set_speed (MultiLoadIndicator* self, guint value); void multi_load_indicator_set_menu (MultiLoadIndicator* self, GtkMenu* value); void multi_load_indicator_set_graphmodels (MultiLoadIndicator* self, GraphModels* value); static GObject * multi_load_indicator_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void _multi_load_indicator___lambda4_ (MultiLoadIndicator* self, gint delta, guint direction); static void __multi_load_indicator___lambda4__app_indicator_scroll_event (AppIndicator* _sender, gint delta, guint direction, gpointer self); static void _multi_load_indicator___lambda5_ (MultiLoadIndicator* self); static void __multi_load_indicator___lambda5__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self); static void _multi_load_indicator___lambda6_ (MultiLoadIndicator* self); static gboolean __lambda7_ (MultiLoadIndicator* self); static gboolean ___lambda7__gsource_func (gpointer self); static void __multi_load_indicator___lambda6__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self); static void multi_load_indicator_finalize (GObject* obj); static void _vala_multi_load_indicator_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_multi_load_indicator_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); MultiLoadIndicator* multi_load_indicator_construct (GType object_type, const gchar* icondirectory, Providers* providers) { MultiLoadIndicator * self = NULL; const gchar* _tmp0_; Providers* _tmp1_; Providers* _tmp2_; MenuModel* _tmp3_; MenuModel* _tmp4_; Providers* _tmp5_; MenuModel* _tmp6_; MenuModel* _tmp7_; Providers* _tmp8_; MenuModel* _tmp9_; MenuModel* _tmp10_; g_return_val_if_fail (icondirectory != NULL, NULL); g_return_val_if_fail (IS_PROVIDERS (providers), NULL); _tmp0_ = icondirectory; _tmp1_ = providers; _tmp2_ = providers; _tmp3_ = menu_model_new (_tmp2_); _tmp4_ = _tmp3_; _tmp5_ = providers; _tmp6_ = menu_model_new (_tmp5_); _tmp7_ = _tmp6_; _tmp8_ = providers; _tmp9_ = menu_model_new (_tmp8_); _tmp10_ = _tmp9_; self = (MultiLoadIndicator*) g_object_new (object_type, "icondirectory", _tmp0_, "providers", _tmp1_, "menumodel", _tmp4_, "labelmodel", _tmp7_, "descriptionmodel", _tmp10_, NULL); _g_object_unref0 (_tmp10_); _g_object_unref0 (_tmp7_); _g_object_unref0 (_tmp4_); return self; } MultiLoadIndicator* multi_load_indicator_new (const gchar* icondirectory, Providers* providers) { return multi_load_indicator_construct (TYPE_MULTI_LOAD_INDICATOR, icondirectory, providers); } void multi_load_indicator_destroy (MultiLoadIndicator* self) { GSource* _tmp0_; GSource* _tmp1_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = self->priv->timeout; if (_tmp0_ == NULL) { return; } _tmp1_ = self->priv->timeout; g_source_destroy (_tmp1_); _g_source_unref0 (self->priv->timeout); self->priv->timeout = NULL; } void multi_load_indicator_updateall (MultiLoadIndicator* self) { g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); multi_load_indicator_updateproviders (self); multi_load_indicator_updatemodels (self); multi_load_indicator_updateviews (self); } static void multi_load_indicator_updateproviders (MultiLoadIndicator* self) { Providers* _tmp0_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = self->priv->_providers; providers_update (_tmp0_); } static void multi_load_indicator_updatemodels (MultiLoadIndicator* self) { MenuModel* _tmp0_; MenuModel* _tmp1_; MenuModel* _tmp2_; GraphModels* _tmp3_; guint _tmp4_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = self->priv->_menumodel; menu_model_update (_tmp0_); _tmp1_ = self->priv->_labelmodel; menu_model_update (_tmp1_); _tmp2_ = self->priv->_descriptionmodel; menu_model_update (_tmp2_); _tmp3_ = self->priv->_graphmodels; _tmp4_ = self->priv->_width; graph_models_update (_tmp3_, _tmp4_); } static void multi_load_indicator_updateviews (MultiLoadIndicator* self) { GtkMenu* _tmp0_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); multi_load_indicator_updatemenuview (self); multi_load_indicator_updatelabelview (self); multi_load_indicator_updategraphsview (self); _tmp0_ = self->priv->_menu; if (_tmp0_ != NULL) { gboolean _tmp1_ = FALSE; AppIndicator* _tmp2_; const gchar* _tmp3_ = NULL; gint _tmp4_; gint _tmp5_; gboolean _tmp19_; AppIndicator* _tmp21_; _tmp2_ = self->priv->indicator; _tmp3_ = app_indicator_get_icon (_tmp2_); _tmp4_ = strlen (_tmp3_); _tmp5_ = _tmp4_; if (_tmp5_ == 0) { gboolean _tmp6_ = FALSE; AppIndicator* _tmp7_; gchar* _tmp8_ = NULL; gchar* _tmp9_; gchar* _tmp10_; gboolean _tmp11_; gboolean _tmp18_; _tmp7_ = self->priv->indicator; g_object_get (_tmp7_, "label", &_tmp8_, NULL); _tmp9_ = _tmp8_; _tmp10_ = _tmp9_; _tmp11_ = _tmp10_ == NULL; _g_free0 (_tmp10_); if (_tmp11_) { _tmp6_ = TRUE; } else { AppIndicator* _tmp12_; gchar* _tmp13_ = NULL; gchar* _tmp14_; gchar* _tmp15_; gint _tmp16_; gint _tmp17_; _tmp12_ = self->priv->indicator; g_object_get (_tmp12_, "label", &_tmp13_, NULL); _tmp14_ = _tmp13_; _tmp15_ = _tmp14_; _tmp16_ = strlen (_tmp15_); _tmp17_ = _tmp16_; _tmp6_ = _tmp17_ == 0; _g_free0 (_tmp15_); } _tmp18_ = _tmp6_; _tmp1_ = _tmp18_; } else { _tmp1_ = FALSE; } _tmp19_ = _tmp1_; if (_tmp19_) { AppIndicator* _tmp20_; _tmp20_ = self->priv->indicator; app_indicator_set_label (_tmp20_, "indicator-multiload", "indicator-multiload"); } _tmp21_ = self->priv->indicator; app_indicator_set_status (_tmp21_, APP_INDICATOR_STATUS_ACTIVE); } else { AppIndicator* _tmp22_; _tmp22_ = self->priv->indicator; app_indicator_set_status (_tmp22_, APP_INDICATOR_STATUS_PASSIVE); } } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void _vala_array_add12 (GtkMenuItem*** array, int* length, int* size, GtkMenuItem* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (GtkMenuItem*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static GtkMenuItem** _vala_array_dup16 (GtkMenuItem** self, int length) { GtkMenuItem** result; int i; result = g_new0 (GtkMenuItem*, length + 1); for (i = 0; i < length; i++) { GtkMenuItem* _tmp0_; _tmp0_ = _g_object_ref0 (self[i]); result[i] = _tmp0_; } return result; } static void multi_load_indicator_updatemenuview (MultiLoadIndicator* self) { GtkMenu* _tmp0_; guint menu_position; MenuModel* _tmp1_; gchar** _tmp2_; gint _tmp2__length1; gchar** _tmp3_; gint _tmp3__length1; gint length; gint _tmp32_; GtkMenuItem** _tmp33_; gint _tmp33__length1; gboolean _tmp47_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = self->priv->_menu; if (_tmp0_ == NULL) { return; } menu_position = (guint) 2; _tmp1_ = self->priv->_menumodel; _tmp2_ = menu_model_get_expressions (_tmp1_, &_tmp2__length1); _tmp3_ = _tmp2_; _tmp3__length1 = _tmp2__length1; length = _tmp3__length1; { guint j; j = (guint) 0; { gboolean _tmp4_; _tmp4_ = TRUE; while (TRUE) { gboolean _tmp5_; guint _tmp7_; gint _tmp8_; GtkMenuItem* item = NULL; guint _tmp9_; GtkMenuItem** _tmp10_; gint _tmp10__length1; GtkMenuItem* _tmp24_; MenuModel* _tmp25_; guint _tmp26_; ExpressionCache* _tmp27_ = NULL; ExpressionCache* _tmp28_; gchar* _tmp29_ = NULL; gchar* _tmp30_; guint _tmp31_; _tmp5_ = _tmp4_; if (!_tmp5_) { guint _tmp6_; _tmp6_ = j; j = _tmp6_ + 1; } _tmp4_ = FALSE; _tmp7_ = j; _tmp8_ = length; if (!(_tmp7_ < ((guint) _tmp8_))) { break; } _tmp9_ = j; _tmp10_ = self->priv->menuitems; _tmp10__length1 = self->priv->menuitems_length1; if (_tmp9_ < ((guint) _tmp10__length1)) { GtkMenuItem** _tmp11_; gint _tmp11__length1; guint _tmp12_; GtkMenuItem* _tmp13_; GtkMenuItem* _tmp14_; _tmp11_ = self->priv->menuitems; _tmp11__length1 = self->priv->menuitems_length1; _tmp12_ = j; _tmp13_ = _tmp11_[_tmp12_]; _tmp14_ = _g_object_ref0 (_tmp13_); _g_object_unref0 (item); item = _tmp14_; } else { GtkMenuItem* _tmp15_; GtkMenuItem* _tmp16_; GtkMenuItem* _tmp17_; GtkMenu* _tmp18_; GtkMenuItem* _tmp19_; guint _tmp20_; GtkMenuItem** _tmp21_; gint _tmp21__length1; GtkMenuItem* _tmp22_; GtkMenuItem* _tmp23_; _tmp15_ = (GtkMenuItem*) gtk_menu_item_new (); _tmp16_ = g_object_ref_sink (_tmp15_); _g_object_unref0 (item); item = _tmp16_; _tmp17_ = item; gtk_widget_set_visible (GTK_WIDGET (_tmp17_), TRUE); _tmp18_ = self->priv->_menu; _tmp19_ = item; _tmp20_ = menu_position; gtk_menu_shell_insert (GTK_MENU_SHELL (_tmp18_), GTK_WIDGET (_tmp19_), (gint) _tmp20_); _tmp21_ = self->priv->menuitems; _tmp21__length1 = self->priv->menuitems_length1; _tmp22_ = item; _tmp23_ = _g_object_ref0 (_tmp22_); _vala_array_add12 (&self->priv->menuitems, &self->priv->menuitems_length1, &self->priv->_menuitems_size_, _tmp23_); } _tmp24_ = item; _tmp25_ = self->priv->_menumodel; _tmp26_ = j; _tmp27_ = menu_model_expression (_tmp25_, _tmp26_); _tmp28_ = _tmp27_; _tmp29_ = expression_cache_label (_tmp28_); _tmp30_ = _tmp29_; gtk_menu_item_set_label (_tmp24_, _tmp30_); _g_free0 (_tmp30_); _g_object_unref0 (_tmp28_); _tmp31_ = menu_position; menu_position = _tmp31_ + 1; _g_object_unref0 (item); } } } _tmp32_ = length; _tmp33_ = self->priv->menuitems; _tmp33__length1 = self->priv->menuitems_length1; if (_tmp32_ != _tmp33__length1) { GtkMenuItem** _tmp44_; gint _tmp44__length1; gint _tmp45_; GtkMenuItem** _tmp46_; gint _tmp46__length1; { gint _tmp34_; guint j; GtkMenuItem** _tmp35_; gint _tmp35__length1; guint jsize; _tmp34_ = length; j = (guint) _tmp34_; _tmp35_ = self->priv->menuitems; _tmp35__length1 = self->priv->menuitems_length1; jsize = (guint) _tmp35__length1; { gboolean _tmp36_; _tmp36_ = TRUE; while (TRUE) { gboolean _tmp37_; guint _tmp39_; guint _tmp40_; GtkMenuItem** _tmp41_; gint _tmp41__length1; guint _tmp42_; GtkMenuItem* _tmp43_; _tmp37_ = _tmp36_; if (!_tmp37_) { guint _tmp38_; _tmp38_ = j; j = _tmp38_ + 1; } _tmp36_ = FALSE; _tmp39_ = j; _tmp40_ = jsize; if (!(_tmp39_ < _tmp40_)) { break; } _tmp41_ = self->priv->menuitems; _tmp41__length1 = self->priv->menuitems_length1; _tmp42_ = j; _tmp43_ = _tmp41_[_tmp42_]; gtk_widget_destroy (GTK_WIDGET (_tmp43_)); } } } _tmp44_ = self->priv->menuitems; _tmp44__length1 = self->priv->menuitems_length1; _tmp45_ = length; _tmp46_ = ((_tmp44_ + 0) != NULL) ? _vala_array_dup16 (_tmp44_ + 0, _tmp45_ - 0) : ((gpointer) (_tmp44_ + 0)); _tmp46__length1 = _tmp45_ - 0; self->priv->menuitems = (_vala_array_free (self->priv->menuitems, self->priv->menuitems_length1, (GDestroyNotify) g_object_unref), NULL); self->priv->menuitems = _tmp46_; self->priv->menuitems_length1 = _tmp46__length1; self->priv->_menuitems_size_ = self->priv->menuitems_length1; } _tmp47_ = self->priv->menuset; if (!_tmp47_) { AppIndicator* _tmp48_; GtkMenu* _tmp49_; AppIndicator* _tmp50_; GtkMenu* _tmp51_; GList* _tmp52_ = NULL; GList* _tmp53_; gconstpointer _tmp54_; _tmp48_ = self->priv->indicator; _tmp49_ = self->priv->_menu; app_indicator_set_menu (_tmp48_, _tmp49_); _tmp50_ = self->priv->indicator; _tmp51_ = self->priv->_menu; _tmp52_ = gtk_container_get_children (GTK_CONTAINER (_tmp51_)); _tmp53_ = _tmp52_; _tmp54_ = _tmp53_->data; app_indicator_set_secondary_activate_target (_tmp50_, (GtkWidget*) _tmp54_); _g_list_free0 (_tmp53_); self->priv->menuset = TRUE; } } static void multi_load_indicator_updatelabelview (MultiLoadIndicator* self) { MenuModel* _tmp0_; gchar** _tmp1_; gint _tmp1__length1; gchar** _tmp2_; gint _tmp2__length1; gint indicatorcount; gchar* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; gint _tmp5_; gboolean _tmp8_; const gchar* _tmp15_; gchar* _tmp16_; gchar* indicatorlabel; gchar* _tmp17_ = NULL; gboolean _tmp18_ = FALSE; gint _tmp19_; gboolean _tmp22_; const gchar* _tmp29_; gchar* _tmp30_; gchar* indicatorguide; AppIndicator* _tmp31_; const gchar* _tmp32_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = self->priv->_labelmodel; _tmp1_ = menu_model_get_expressions (_tmp0_, &_tmp1__length1); _tmp2_ = _tmp1_; _tmp2__length1 = _tmp1__length1; indicatorcount = _tmp2__length1; _tmp5_ = self->priv->_indicator_index; if (0 <= _tmp5_) { gint _tmp6_; gint _tmp7_; _tmp6_ = self->priv->_indicator_index; _tmp7_ = indicatorcount; _tmp4_ = _tmp6_ < _tmp7_; } else { _tmp4_ = FALSE; } _tmp8_ = _tmp4_; if (_tmp8_) { MenuModel* _tmp9_; gint _tmp10_; ExpressionCache* _tmp11_ = NULL; ExpressionCache* _tmp12_; gchar* _tmp13_ = NULL; _tmp9_ = self->priv->_labelmodel; _tmp10_ = self->priv->_indicator_index; _tmp11_ = menu_model_expression (_tmp9_, (guint) _tmp10_); _tmp12_ = _tmp11_; _tmp13_ = expression_cache_label (_tmp12_); _g_free0 (_tmp3_); _tmp3_ = _tmp13_; _g_object_unref0 (_tmp12_); } else { gchar* _tmp14_; _tmp14_ = g_strdup (""); _g_free0 (_tmp3_); _tmp3_ = _tmp14_; } _tmp15_ = _tmp3_; _tmp16_ = g_strdup (_tmp15_); indicatorlabel = _tmp16_; _tmp19_ = self->priv->_indicator_index; if (0 <= _tmp19_) { gint _tmp20_; gint _tmp21_; _tmp20_ = self->priv->_indicator_index; _tmp21_ = indicatorcount; _tmp18_ = _tmp20_ < _tmp21_; } else { _tmp18_ = FALSE; } _tmp22_ = _tmp18_; if (_tmp22_) { MenuModel* _tmp23_; gint _tmp24_; ExpressionCache* _tmp25_ = NULL; ExpressionCache* _tmp26_; gchar* _tmp27_ = NULL; _tmp23_ = self->priv->_labelmodel; _tmp24_ = self->priv->_indicator_index; _tmp25_ = menu_model_expression (_tmp23_, (guint) _tmp24_); _tmp26_ = _tmp25_; _tmp27_ = expression_cache_guide (_tmp26_); _g_free0 (_tmp17_); _tmp17_ = _tmp27_; _g_object_unref0 (_tmp26_); } else { gchar* _tmp28_; _tmp28_ = g_strdup (""); _g_free0 (_tmp17_); _tmp17_ = _tmp28_; } _tmp29_ = _tmp17_; _tmp30_ = g_strdup (_tmp29_); indicatorguide = _tmp30_; _tmp31_ = self->priv->indicator; _tmp32_ = indicatorlabel; app_indicator_set_label (_tmp31_, _tmp32_, indicatorguide); _g_free0 (indicatorguide); _g_free0 (_tmp17_); _g_free0 (indicatorlabel); _g_free0 (_tmp3_); } static Block1Data* block1_data_ref (Block1Data* _data1_) { g_atomic_int_inc (&_data1_->_ref_count_); return _data1_; } static void block1_data_unref (Block1Data* _data1_) { if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) { _g_object_unref0 (_data1_->self); g_slice_free (Block1Data, _data1_); } } static void ____lambda3_ (Block1Data* _data1_, GtkWidget* w) { MultiLoadIndicator * self; GtkWidget* _tmp0_; GtkWidget* _tmp1_; guint _tmp2_; gchar* _tmp3_ = NULL; gchar* _tmp4_; GtkWidget* _tmp5_; guint _tmp6_; guint _tmp7_; guint _tmp8_ = 0U; self = _data1_->self; g_return_if_fail (GTK_IS_WIDGET (w)); _tmp0_ = w; if (!GTK_IS_IMAGE (_tmp0_)) { return; } _tmp1_ = w; _tmp2_ = self->priv->currenticonindex; _tmp3_ = multi_load_indicator_iconpath (self, _tmp2_); _tmp4_ = _tmp3_; gtk_image_set_from_file (GTK_IMAGE (_tmp1_), _tmp4_); _g_free0 (_tmp4_); _tmp5_ = w; _tmp6_ = self->priv->lasticonwidth; _tmp7_ = self->priv->_height; _tmp8_ = MAX (_tmp6_, _tmp7_); gtk_image_set_pixel_size (GTK_IMAGE (_tmp5_), (gint) _tmp8_); _data1_->found = TRUE; } static void _____lambda3__gtk_callback (GtkWidget* widget, gpointer self) { ____lambda3_ (self, widget); } static void multi_load_indicator_updategraphsview (MultiLoadIndicator* self) { Block1Data* _data1_; GList* _tmp0_ = NULL; gboolean _tmp8_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _data1_ = g_slice_new0 (Block1Data); _data1_->_ref_count_ = 1; _data1_->self = g_object_ref (self); multi_load_indicator_iconwrite (self); _data1_->found = FALSE; _tmp0_ = gtk_window_list_toplevels (); { GList* toplevel_collection = NULL; GList* toplevel_it = NULL; toplevel_collection = _tmp0_; for (toplevel_it = toplevel_collection; toplevel_it != NULL; toplevel_it = toplevel_it->next) { GtkWindow* toplevel = NULL; toplevel = (GtkWindow*) toplevel_it->data; { gboolean _tmp1_ = FALSE; GtkWindow* _tmp2_; GType _tmp3_ = 0UL; const gchar* _tmp4_ = NULL; gboolean _tmp6_; GtkWindow* _tmp7_; _tmp2_ = toplevel; _tmp3_ = G_TYPE_FROM_INSTANCE (G_OBJECT (_tmp2_)); _tmp4_ = g_type_name (_tmp3_); if (g_strcmp0 (_tmp4_, "GtkTrayIcon") != 0) { _tmp1_ = TRUE; } else { GtkWindow* _tmp5_; _tmp5_ = toplevel; _tmp1_ = !GTK_IS_CONTAINER (_tmp5_); } _tmp6_ = _tmp1_; if (_tmp6_) { continue; } _tmp7_ = toplevel; gtk_container_foreach (GTK_CONTAINER (_tmp7_), _____lambda3__gtk_callback, _data1_); } } _g_list_free0 (toplevel_collection); } _tmp8_ = _data1_->found; if (!_tmp8_) { AppIndicator* _tmp9_; guint _tmp10_; gchar* _tmp11_ = NULL; gchar* _tmp12_; MenuModel* _tmp13_; ExpressionCache* _tmp14_ = NULL; ExpressionCache* _tmp15_; gchar* _tmp16_ = NULL; gchar* _tmp17_; _tmp9_ = self->priv->indicator; _tmp10_ = self->priv->currenticonindex; _tmp11_ = multi_load_indicator_iconname (self, _tmp10_); _tmp12_ = _tmp11_; _tmp13_ = self->priv->_descriptionmodel; _tmp14_ = menu_model_expression (_tmp13_, (guint) 0); _tmp15_ = _tmp14_; _tmp16_ = expression_cache_label (_tmp15_); _tmp17_ = _tmp16_; app_indicator_set_icon_full (_tmp9_, _tmp12_, _tmp17_); _g_free0 (_tmp17_); _g_object_unref0 (_tmp15_); _g_free0 (_tmp12_); } block1_data_unref (_data1_); _data1_ = NULL; } static gchar* multi_load_indicator_iconname (MultiLoadIndicator* self, guint index) { gchar* result = NULL; guint _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; gchar* _tmp3_ = NULL; gchar* _tmp4_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), NULL); _tmp0_ = index; _tmp1_ = g_strdup_printf ("%u", _tmp0_); _tmp2_ = _tmp1_; _tmp3_ = g_strconcat ("indicator-multiload-graphs-", _tmp2_, NULL); _tmp4_ = _tmp3_; _g_free0 (_tmp2_); result = _tmp4_; return result; } static gchar* multi_load_indicator_iconpath (MultiLoadIndicator* self, guint index) { gchar* result = NULL; const gchar* _tmp0_; guint _tmp1_; gchar* _tmp2_ = NULL; gchar* _tmp3_; gchar* _tmp4_; gchar* _tmp5_; gchar* _tmp6_ = NULL; gchar* _tmp7_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), NULL); _tmp0_ = self->priv->_icondirectory; _tmp1_ = index; _tmp2_ = multi_load_indicator_iconname (self, _tmp1_); _tmp3_ = _tmp2_; _tmp4_ = g_strconcat (_tmp3_, ".png", NULL); _tmp5_ = _tmp4_; _tmp6_ = g_build_filename (_tmp0_, _tmp5_, NULL); _tmp7_ = _tmp6_; _g_free0 (_tmp5_); _g_free0 (_tmp3_); result = _tmp7_; return result; } static void multi_load_indicator_iconwritedummy (MultiLoadIndicator* self) { cairo_surface_t* _tmp0_; cairo_surface_t* surface; gchar* _tmp1_ = NULL; gchar* _tmp2_; gchar* _tmp3_ = NULL; gchar* _tmp4_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 1, 1); surface = _tmp0_; _tmp1_ = multi_load_indicator_iconpath (self, (guint) 0); _tmp2_ = _tmp1_; cairo_surface_write_to_png (surface, _tmp2_); _g_free0 (_tmp2_); _tmp3_ = multi_load_indicator_iconpath (self, (guint) 1); _tmp4_ = _tmp3_; cairo_surface_write_to_png (surface, _tmp4_); _g_free0 (_tmp4_); _cairo_surface_destroy0 (surface); } static TraceModel** _vala_array_dup17 (TraceModel** self, int length) { TraceModel** result; int i; result = g_new0 (TraceModel*, length + 1); for (i = 0; i < length; i++) { TraceModel* _tmp0_; _tmp0_ = _g_object_ref0 (self[i]); result[i] = _tmp0_; } return result; } static void multi_load_indicator_iconwrite (MultiLoadIndicator* self) { GraphModels* _tmp0_; guint count; GraphModels* _tmp1_; GraphModel** _tmp2_; gint _tmp2__length1; GraphModel** _tmp3_; gint _tmp3__length1; guint _tmp9_; guint _tmp10_; guint _tmp11_; guint _tmp12_; guint _tmp13_; cairo_surface_t* _tmp14_; cairo_surface_t* surface; cairo_surface_t* _tmp15_; cairo_t* _tmp16_; cairo_t* ctx; cairo_t* _tmp17_; cairo_t* _tmp18_; guint offset; GraphModels* _tmp19_; GraphModel** _tmp20_; gint _tmp20__length1; GraphModel** _tmp21_; gint _tmp21__length1; guint _tmp122_; cairo_surface_t* _tmp123_; guint _tmp124_; gchar* _tmp125_ = NULL; gchar* _tmp126_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); self->priv->lasticonwidth = (guint) 0; _tmp0_ = self->priv->_graphmodels; if (_tmp0_ == NULL) { return; } count = (guint) 0; _tmp1_ = self->priv->_graphmodels; _tmp2_ = graph_models_get_graphmodels (_tmp1_, &_tmp2__length1); _tmp3_ = _tmp2_; _tmp3__length1 = _tmp2__length1; { GraphModel** graphmodel_collection = NULL; gint graphmodel_collection_length1 = 0; gint _graphmodel_collection_size_ = 0; gint graphmodel_it = 0; graphmodel_collection = _tmp3_; graphmodel_collection_length1 = _tmp3__length1; for (graphmodel_it = 0; graphmodel_it < _tmp3__length1; graphmodel_it = graphmodel_it + 1) { GraphModel* _tmp4_; GraphModel* graphmodel = NULL; _tmp4_ = _g_object_ref0 (graphmodel_collection[graphmodel_it]); graphmodel = _tmp4_; { GraphModel* _tmp5_; gboolean _tmp6_; gboolean _tmp7_; _tmp5_ = graphmodel; _tmp6_ = graph_model_get_enabled (_tmp5_); _tmp7_ = _tmp6_; if (_tmp7_) { guint _tmp8_; _tmp8_ = count; count = _tmp8_ + 1; } _g_object_unref0 (graphmodel); } } } _tmp9_ = count; if (_tmp9_ == ((guint) 0)) { return; } _tmp10_ = count; _tmp11_ = self->priv->_width; self->priv->lasticonwidth = (guint) (((gint) (_tmp10_ * (_tmp11_ + 2))) - 2); _tmp12_ = self->priv->lasticonwidth; _tmp13_ = self->priv->_height; _tmp14_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, (gint) _tmp12_, (gint) _tmp13_); surface = _tmp14_; _tmp15_ = surface; _tmp16_ = cairo_create (_tmp15_); ctx = _tmp16_; _tmp17_ = ctx; cairo_set_antialias (_tmp17_, CAIRO_ANTIALIAS_NONE); _tmp18_ = ctx; cairo_set_line_width (_tmp18_, (gdouble) 1); offset = (guint) 0; _tmp19_ = self->priv->_graphmodels; _tmp20_ = graph_models_get_graphmodels (_tmp19_, &_tmp20__length1); _tmp21_ = _tmp20_; _tmp21__length1 = _tmp20__length1; { GraphModel** graphmodel_collection = NULL; gint graphmodel_collection_length1 = 0; gint _graphmodel_collection_size_ = 0; gint graphmodel_it = 0; graphmodel_collection = _tmp21_; graphmodel_collection_length1 = _tmp21__length1; for (graphmodel_it = 0; graphmodel_it < _tmp21__length1; graphmodel_it = graphmodel_it + 1) { GraphModel* _tmp22_; GraphModel* graphmodel = NULL; _tmp22_ = _g_object_ref0 (graphmodel_collection[graphmodel_it]); graphmodel = _tmp22_; { GraphModel* _tmp23_; gboolean _tmp24_; gboolean _tmp25_; GraphModel* _tmp26_; cairo_t* _tmp27_; cairo_t* _tmp28_; guint _tmp29_; guint _tmp30_; guint _tmp31_; cairo_t* _tmp32_; GraphModel* _tmp33_; TraceModel** _tmp34_; gint _tmp34__length1; TraceModel** _tmp35_; gint _tmp35__length1; TraceModel** _tmp36_; gint _tmp36__length1; TraceModel** tracemodels; gint tracemodels_length1; gint _tracemodels_size_; TraceModel** _tmp37_; gint _tmp37__length1; guint _tmp38_; gdouble* _tmp39_ = NULL; gdouble* values; gint values_length1; gint values_length2; GraphModel* _tmp40_; gdouble _tmp41_; gdouble _tmp42_; gdouble scale; guint _tmp120_; guint _tmp121_; _tmp23_ = graphmodel; _tmp24_ = graph_model_get_enabled (_tmp23_); _tmp25_ = _tmp24_; if (!_tmp25_) { _g_object_unref0 (graphmodel); continue; } _tmp26_ = graphmodel; _tmp27_ = ctx; graph_model_set_source_color (_tmp26_, _tmp27_); _tmp28_ = ctx; _tmp29_ = offset; _tmp30_ = self->priv->_width; _tmp31_ = self->priv->_height; cairo_rectangle (_tmp28_, (gdouble) _tmp29_, (gdouble) 0, (gdouble) _tmp30_, (gdouble) _tmp31_); _tmp32_ = ctx; cairo_fill (_tmp32_); _tmp33_ = graphmodel; _tmp34_ = graph_model_get_tracemodels (_tmp33_, &_tmp34__length1); _tmp35_ = _tmp34_; _tmp35__length1 = _tmp34__length1; _tmp36_ = (_tmp35_ != NULL) ? _vala_array_dup17 (_tmp35_, _tmp35__length1) : ((gpointer) _tmp35_); _tmp36__length1 = _tmp35__length1; tracemodels = _tmp36_; tracemodels_length1 = _tmp36__length1; _tracemodels_size_ = tracemodels_length1; _tmp37_ = tracemodels; _tmp37__length1 = tracemodels_length1; _tmp38_ = self->priv->_width; _tmp39_ = g_new0 (gdouble, _tmp37__length1 * _tmp38_); values = _tmp39_; values_length1 = _tmp37__length1; values_length2 = _tmp38_; _tmp40_ = graphmodel; _tmp41_ = graph_model_get_scale (_tmp40_); _tmp42_ = _tmp41_; scale = _tmp42_; { guint j; gdouble* _tmp43_; gint _tmp43__length1; gint _tmp43__length2; gint _tmp44_; guint jsize; j = (guint) 0; _tmp43_ = values; _tmp43__length1 = values_length1; _tmp43__length2 = values_length2; _tmp44_ = _tmp43__length1; jsize = (guint) _tmp44_; { gboolean _tmp45_; _tmp45_ = TRUE; while (TRUE) { gboolean _tmp46_; guint _tmp48_; guint _tmp49_; TraceModel** _tmp50_; gint _tmp50__length1; guint _tmp51_; TraceModel* _tmp52_; gboolean _tmp53_; gboolean _tmp54_; gboolean enabled; TraceModel** _tmp55_; gint _tmp55__length1; guint _tmp56_; TraceModel* _tmp57_; gdouble* _tmp58_; gint _tmp58__length1; gdouble* _tmp59_; gint _tmp59__length1; gdouble* tracedata; gint tracedata_length1; gint _tracedata_size_; _tmp46_ = _tmp45_; if (!_tmp46_) { guint _tmp47_; _tmp47_ = j; j = _tmp47_ + 1; } _tmp45_ = FALSE; _tmp48_ = j; _tmp49_ = jsize; if (!(_tmp48_ < _tmp49_)) { break; } _tmp50_ = tracemodels; _tmp50__length1 = tracemodels_length1; _tmp51_ = j; _tmp52_ = _tmp50_[_tmp51_]; _tmp53_ = trace_model_get_enabled (_tmp52_); _tmp54_ = _tmp53_; enabled = _tmp54_; _tmp55_ = tracemodels; _tmp55__length1 = tracemodels_length1; _tmp56_ = j; _tmp57_ = _tmp55_[_tmp56_]; _tmp58_ = trace_model_get_values (_tmp57_, &_tmp58__length1); _tmp59_ = _tmp58_; _tmp59__length1 = _tmp58__length1; tracedata = _tmp59_; tracedata_length1 = _tmp59__length1; _tracedata_size_ = tracedata_length1; { guint i; gdouble* _tmp60_; gint _tmp60__length1; gint _tmp60__length2; gint _tmp61_; guint isize; i = (guint) 0; _tmp60_ = values; _tmp60__length1 = values_length1; _tmp60__length2 = values_length2; _tmp61_ = _tmp60__length2; isize = (guint) _tmp61_; { gboolean _tmp62_; _tmp62_ = TRUE; while (TRUE) { gboolean _tmp63_; guint _tmp65_; guint _tmp66_; gdouble _tmp67_ = 0.0; guint _tmp68_; gdouble _tmp73_ = 0.0; gboolean _tmp74_; gdouble* _tmp78_; gint _tmp78__length1; gint _tmp78__length2; guint _tmp79_; guint _tmp80_; gdouble _tmp81_; gdouble _tmp82_; gdouble _tmp83_; gdouble _tmp84_; _tmp63_ = _tmp62_; if (!_tmp63_) { guint _tmp64_; _tmp64_ = i; i = _tmp64_ + 1; } _tmp62_ = FALSE; _tmp65_ = i; _tmp66_ = isize; if (!(_tmp65_ < _tmp66_)) { break; } _tmp68_ = j; if (_tmp68_ > ((guint) 0)) { gdouble* _tmp69_; gint _tmp69__length1; gint _tmp69__length2; guint _tmp70_; guint _tmp71_; gdouble _tmp72_; _tmp69_ = values; _tmp69__length1 = values_length1; _tmp69__length2 = values_length2; _tmp70_ = j; _tmp71_ = i; _tmp72_ = _tmp69_[((_tmp70_ - 1) * _tmp69__length2) + _tmp71_]; _tmp67_ = _tmp72_; } else { _tmp67_ = (gdouble) 0; } _tmp74_ = enabled; if (_tmp74_) { gdouble* _tmp75_; gint _tmp75__length1; guint _tmp76_; gdouble _tmp77_; _tmp75_ = tracedata; _tmp75__length1 = tracedata_length1; _tmp76_ = i; _tmp77_ = _tmp75_[_tmp76_]; _tmp73_ = _tmp77_; } else { _tmp73_ = (gdouble) 0; } _tmp78_ = values; _tmp78__length1 = values_length1; _tmp78__length2 = values_length2; _tmp79_ = j; _tmp80_ = i; _tmp81_ = _tmp67_; _tmp82_ = _tmp73_; _tmp83_ = scale; _tmp78_[(_tmp79_ * _tmp78__length2) + _tmp80_] = _tmp81_ + (_tmp82_ / _tmp83_); _tmp84_ = _tmp78_[(_tmp79_ * _tmp78__length2) + _tmp80_]; } } } } } } { gdouble* _tmp85_; gint _tmp85__length1; gint _tmp85__length2; gint _tmp86_; gint j; _tmp85_ = values; _tmp85__length1 = values_length1; _tmp85__length2 = values_length2; _tmp86_ = _tmp85__length1; j = _tmp86_ - 1; { gboolean _tmp87_; _tmp87_ = TRUE; while (TRUE) { gboolean _tmp88_; gint _tmp90_; cairo_t* _tmp91_; GraphModel* _tmp92_; TraceModel** _tmp93_; gint _tmp93__length1; TraceModel** _tmp94_; gint _tmp94__length1; gint _tmp95_; TraceModel* _tmp96_; GdkColor _tmp97_; GdkColor _tmp98_; cairo_t* _tmp119_; _tmp88_ = _tmp87_; if (!_tmp88_) { gint _tmp89_; _tmp89_ = j; j = _tmp89_ - 1; } _tmp87_ = FALSE; _tmp90_ = j; if (!(_tmp90_ >= 0)) { break; } _tmp91_ = ctx; _tmp92_ = graphmodel; _tmp93_ = graph_model_get_tracemodels (_tmp92_, &_tmp93__length1); _tmp94_ = _tmp93_; _tmp94__length1 = _tmp93__length1; _tmp95_ = j; _tmp96_ = _tmp94_[_tmp95_]; trace_model_get_color (_tmp96_, &_tmp97_); _tmp98_ = _tmp97_; gdk_cairo_set_source_color (_tmp91_, &_tmp98_); { guint i; gdouble* _tmp99_; gint _tmp99__length1; gint _tmp99__length2; gint _tmp100_; guint isize; i = (guint) 0; _tmp99_ = values; _tmp99__length1 = values_length1; _tmp99__length2 = values_length2; _tmp100_ = _tmp99__length2; isize = (guint) _tmp100_; { gboolean _tmp101_; _tmp101_ = TRUE; while (TRUE) { gboolean _tmp102_; guint _tmp104_; guint _tmp105_; cairo_t* _tmp106_; guint _tmp107_; guint _tmp108_; guint _tmp109_; cairo_t* _tmp110_; guint _tmp111_; guint _tmp112_; guint _tmp113_; guint _tmp114_; gdouble* _tmp115_; gint _tmp115__length1; gint _tmp115__length2; gint _tmp116_; guint _tmp117_; gdouble _tmp118_; _tmp102_ = _tmp101_; if (!_tmp102_) { guint _tmp103_; _tmp103_ = i; i = _tmp103_ + 1; } _tmp101_ = FALSE; _tmp104_ = i; _tmp105_ = isize; if (!(_tmp104_ < _tmp105_)) { break; } _tmp106_ = ctx; _tmp107_ = offset; _tmp108_ = i; _tmp109_ = self->priv->_height; cairo_move_to (_tmp106_, (0.5 + _tmp107_) + _tmp108_, _tmp109_ + 0.5); _tmp110_ = ctx; _tmp111_ = offset; _tmp112_ = i; _tmp113_ = self->priv->_height; _tmp114_ = self->priv->_height; _tmp115_ = values; _tmp115__length1 = values_length1; _tmp115__length2 = values_length2; _tmp116_ = j; _tmp117_ = i; _tmp118_ = _tmp115_[(_tmp116_ * _tmp115__length2) + _tmp117_]; cairo_line_to (_tmp110_, (0.5 + _tmp111_) + _tmp112_, (_tmp113_ + 0.5) - (_tmp114_ * _tmp118_)); } } } _tmp119_ = ctx; cairo_stroke (_tmp119_); } } } _tmp120_ = offset; _tmp121_ = self->priv->_width; offset = _tmp120_ + (_tmp121_ + 2); values = (g_free (values), NULL); tracemodels = (_vala_array_free (tracemodels, tracemodels_length1, (GDestroyNotify) g_object_unref), NULL); _g_object_unref0 (graphmodel); } } } _tmp122_ = self->priv->currenticonindex; self->priv->currenticonindex = 1 - _tmp122_; _tmp123_ = surface; _tmp124_ = self->priv->currenticonindex; _tmp125_ = multi_load_indicator_iconpath (self, _tmp124_); _tmp126_ = _tmp125_; cairo_surface_write_to_png (_tmp123_, _tmp126_); _g_free0 (_tmp126_); _cairo_destroy0 (ctx); _cairo_surface_destroy0 (surface); } const gchar* multi_load_indicator_get_icondirectory (MultiLoadIndicator* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), NULL); _tmp0_ = self->priv->_icondirectory; result = _tmp0_; return result; } static void multi_load_indicator_set_icondirectory (MultiLoadIndicator* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_icondirectory); self->priv->_icondirectory = _tmp1_; g_object_notify ((GObject *) self, "icondirectory"); } Providers* multi_load_indicator_get_providers (MultiLoadIndicator* self) { Providers* result; Providers* _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), NULL); _tmp0_ = self->priv->_providers; result = _tmp0_; return result; } static void multi_load_indicator_set_providers (MultiLoadIndicator* self, Providers* value) { Providers* _tmp0_; Providers* _tmp1_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_providers); self->priv->_providers = _tmp1_; g_object_notify ((GObject *) self, "providers"); } MenuModel* multi_load_indicator_get_menumodel (MultiLoadIndicator* self) { MenuModel* result; MenuModel* _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), NULL); _tmp0_ = self->priv->_menumodel; result = _tmp0_; return result; } static void multi_load_indicator_set_menumodel (MultiLoadIndicator* self, MenuModel* value) { MenuModel* _tmp0_; MenuModel* _tmp1_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_menumodel); self->priv->_menumodel = _tmp1_; g_object_notify ((GObject *) self, "menumodel"); } MenuModel* multi_load_indicator_get_labelmodel (MultiLoadIndicator* self) { MenuModel* result; MenuModel* _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), NULL); _tmp0_ = self->priv->_labelmodel; result = _tmp0_; return result; } static void multi_load_indicator_set_labelmodel (MultiLoadIndicator* self, MenuModel* value) { MenuModel* _tmp0_; MenuModel* _tmp1_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_labelmodel); self->priv->_labelmodel = _tmp1_; g_object_notify ((GObject *) self, "labelmodel"); } MenuModel* multi_load_indicator_get_descriptionmodel (MultiLoadIndicator* self) { MenuModel* result; MenuModel* _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), NULL); _tmp0_ = self->priv->_descriptionmodel; result = _tmp0_; return result; } static void multi_load_indicator_set_descriptionmodel (MultiLoadIndicator* self, MenuModel* value) { MenuModel* _tmp0_; MenuModel* _tmp1_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_descriptionmodel); self->priv->_descriptionmodel = _tmp1_; g_object_notify ((GObject *) self, "descriptionmodel"); } gint multi_load_indicator_get_indicator_index (MultiLoadIndicator* self) { gint result; gint _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), 0); _tmp0_ = self->priv->_indicator_index; result = _tmp0_; return result; } void multi_load_indicator_set_indicator_index (MultiLoadIndicator* self, gint value) { gint _tmp0_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; self->priv->_indicator_index = _tmp0_; g_object_notify ((GObject *) self, "indicator-index"); } guint multi_load_indicator_get_height (MultiLoadIndicator* self) { guint result; guint _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), 0U); _tmp0_ = self->priv->_height; result = _tmp0_; return result; } void multi_load_indicator_set_height (MultiLoadIndicator* self, guint value) { guint _tmp0_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; self->priv->_height = _tmp0_; g_object_notify ((GObject *) self, "height"); } guint multi_load_indicator_get_width (MultiLoadIndicator* self) { guint result; guint _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), 0U); _tmp0_ = self->priv->_width; result = _tmp0_; return result; } void multi_load_indicator_set_width (MultiLoadIndicator* self, guint value) { guint _tmp0_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; self->priv->_width = _tmp0_; g_object_notify ((GObject *) self, "width"); } guint multi_load_indicator_get_speed (MultiLoadIndicator* self) { guint result; guint _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), 0U); _tmp0_ = self->priv->_speed; result = _tmp0_; return result; } void multi_load_indicator_set_speed (MultiLoadIndicator* self, guint value) { guint _tmp0_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; self->priv->_speed = _tmp0_; g_object_notify ((GObject *) self, "speed"); } GtkMenu* multi_load_indicator_get_menu (MultiLoadIndicator* self) { GtkMenu* result; GtkMenu* _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), NULL); _tmp0_ = self->priv->_menu; result = _tmp0_; return result; } void multi_load_indicator_set_menu (MultiLoadIndicator* self, GtkMenu* value) { GtkMenu* _tmp0_; GtkMenu* _tmp1_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_menu); self->priv->_menu = _tmp1_; g_object_notify ((GObject *) self, "menu"); } GraphModels* multi_load_indicator_get_graphmodels (MultiLoadIndicator* self) { GraphModels* result; GraphModels* _tmp0_; g_return_val_if_fail (IS_MULTI_LOAD_INDICATOR (self), NULL); _tmp0_ = self->priv->_graphmodels; result = _tmp0_; return result; } void multi_load_indicator_set_graphmodels (MultiLoadIndicator* self, GraphModels* value) { GraphModels* _tmp0_; GraphModels* _tmp1_; g_return_if_fail (IS_MULTI_LOAD_INDICATOR (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_graphmodels); self->priv->_graphmodels = _tmp1_; g_object_notify ((GObject *) self, "graphmodels"); } static void _multi_load_indicator___lambda4_ (MultiLoadIndicator* self, gint delta, guint direction) { gint _tmp0_; gint index; guint _tmp1_; gint _tmp7_; MenuModel* _tmp8_; gchar** _tmp9_; gint _tmp9__length1; gchar** _tmp10_; gint _tmp10__length1; gint _tmp14_; gint _tmp15_; _tmp0_ = self->priv->_indicator_index; index = _tmp0_; _tmp1_ = direction; if (_tmp1_ == ((guint) GDK_SCROLL_DOWN)) { gint _tmp2_; gint _tmp3_; _tmp2_ = index; _tmp3_ = delta; index = _tmp2_ + _tmp3_; } else { guint _tmp4_; _tmp4_ = direction; if (_tmp4_ == ((guint) GDK_SCROLL_UP)) { gint _tmp5_; gint _tmp6_; _tmp5_ = index; _tmp6_ = delta; index = _tmp5_ - _tmp6_; } } _tmp7_ = index; _tmp8_ = self->priv->_labelmodel; _tmp9_ = menu_model_get_expressions (_tmp8_, &_tmp9__length1); _tmp10_ = _tmp9_; _tmp10__length1 = _tmp9__length1; if (_tmp7_ >= _tmp10__length1) { MenuModel* _tmp11_; gchar** _tmp12_; gint _tmp12__length1; gchar** _tmp13_; gint _tmp13__length1; _tmp11_ = self->priv->_labelmodel; _tmp12_ = menu_model_get_expressions (_tmp11_, &_tmp12__length1); _tmp13_ = _tmp12_; _tmp13__length1 = _tmp12__length1; index = _tmp13__length1 - 1; } _tmp14_ = index; if (_tmp14_ < 0) { index = 0; } _tmp15_ = index; multi_load_indicator_set_indicator_index (self, _tmp15_); } static void __multi_load_indicator___lambda4__app_indicator_scroll_event (AppIndicator* _sender, gint delta, guint direction, gpointer self) { _multi_load_indicator___lambda4_ (self, delta, direction); } static void _multi_load_indicator___lambda5_ (MultiLoadIndicator* self) { AppIndicator* _tmp0_; AppIndicatorStatus _tmp1_ = 0; _tmp0_ = self->priv->indicator; _tmp1_ = app_indicator_get_status (_tmp0_); if (_tmp1_ == APP_INDICATOR_STATUS_ACTIVE) { multi_load_indicator_updateviews (self); } } static void __multi_load_indicator___lambda5__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) { _multi_load_indicator___lambda5_ (self); } static gboolean __lambda7_ (MultiLoadIndicator* self) { gboolean result = FALSE; multi_load_indicator_updateall (self); result = TRUE; return result; } static gboolean ___lambda7__gsource_func (gpointer self) { gboolean result; result = __lambda7_ (self); return result; } static void _multi_load_indicator___lambda6_ (MultiLoadIndicator* self) { GSource* _tmp0_; guint _tmp2_; guint _tmp3_; GSource* _tmp8_; GSource* _tmp9_; _tmp0_ = self->priv->timeout; if (_tmp0_ != NULL) { GSource* _tmp1_; _tmp1_ = self->priv->timeout; g_source_destroy (_tmp1_); } _tmp2_ = self->priv->_speed; if (_tmp2_ == ((guint) 0)) { _g_source_unref0 (self->priv->timeout); self->priv->timeout = NULL; return; } _tmp3_ = self->priv->_speed; if ((_tmp3_ % 1000) == ((guint) 0)) { guint _tmp4_; GSource* _tmp5_; _tmp4_ = self->priv->_speed; _tmp5_ = g_timeout_source_new_seconds (_tmp4_ / 1000); _g_source_unref0 (self->priv->timeout); self->priv->timeout = _tmp5_; } else { guint _tmp6_; GSource* _tmp7_; _tmp6_ = self->priv->_speed; _tmp7_ = g_timeout_source_new (_tmp6_); _g_source_unref0 (self->priv->timeout); self->priv->timeout = _tmp7_; } _tmp8_ = self->priv->timeout; g_source_attach (_tmp8_, NULL); _tmp9_ = self->priv->timeout; g_source_set_callback (_tmp9_, ___lambda7__gsource_func, g_object_ref (self), g_object_unref); } static void __multi_load_indicator___lambda6__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) { _multi_load_indicator___lambda6_ (self); } static GObject * multi_load_indicator_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; MultiLoadIndicator * self; const gchar* _tmp0_; const gchar* _tmp1_; AppIndicator* _tmp2_; AppIndicator* _tmp3_; parent_class = G_OBJECT_CLASS (multi_load_indicator_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MULTI_LOAD_INDICATOR (obj); _tmp0_ = self->priv->_icondirectory; g_mkdir (_tmp0_, 0777); multi_load_indicator_iconwritedummy (self); _tmp1_ = self->priv->_icondirectory; _tmp2_ = app_indicator_new_with_path ("multiload", "", APP_INDICATOR_CATEGORY_SYSTEM_SERVICES, _tmp1_); _g_object_unref0 (self->priv->indicator); self->priv->indicator = _tmp2_; _tmp3_ = self->priv->indicator; g_signal_connect_object (_tmp3_, "scroll-event", (GCallback) __multi_load_indicator___lambda4__app_indicator_scroll_event, self, 0); g_signal_connect_object (G_OBJECT (self), "notify::indicator-index", (GCallback) __multi_load_indicator___lambda5__g_object_notify, self, 0); g_signal_connect_object (G_OBJECT (self), "notify::speed", (GCallback) __multi_load_indicator___lambda6__g_object_notify, self, 0); return obj; } static void multi_load_indicator_class_init (MultiLoadIndicatorClass * klass) { multi_load_indicator_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (MultiLoadIndicatorPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_multi_load_indicator_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_multi_load_indicator_set_property; G_OBJECT_CLASS (klass)->constructor = multi_load_indicator_constructor; G_OBJECT_CLASS (klass)->finalize = multi_load_indicator_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_ICONDIRECTORY, g_param_spec_string ("icondirectory", "icondirectory", "icondirectory", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_PROVIDERS, g_param_spec_object ("providers", "providers", "providers", TYPE_PROVIDERS, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_MENUMODEL, g_param_spec_object ("menumodel", "menumodel", "menumodel", TYPE_MENU_MODEL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_LABELMODEL, g_param_spec_object ("labelmodel", "labelmodel", "labelmodel", TYPE_MENU_MODEL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_DESCRIPTIONMODEL, g_param_spec_object ("descriptionmodel", "descriptionmodel", "descriptionmodel", TYPE_MENU_MODEL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_INDICATOR_INDEX, g_param_spec_int ("indicator-index", "indicator-index", "indicator-index", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_HEIGHT, g_param_spec_uint ("height", "height", "height", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_WIDTH, g_param_spec_uint ("width", "width", "width", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_SPEED, g_param_spec_uint ("speed", "speed", "speed", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_MENU, g_param_spec_object ("menu", "menu", "menu", GTK_TYPE_MENU, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), MULTI_LOAD_INDICATOR_GRAPHMODELS, g_param_spec_object ("graphmodels", "graphmodels", "graphmodels", TYPE_GRAPH_MODELS, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); } static void multi_load_indicator_instance_init (MultiLoadIndicator * self) { self->priv = MULTI_LOAD_INDICATOR_GET_PRIVATE (self); } static void multi_load_indicator_finalize (GObject* obj) { MultiLoadIndicator * self; gchar* _tmp0_ = NULL; gchar* _tmp1_; gchar* _tmp2_ = NULL; gchar* _tmp3_; const gchar* _tmp4_; self = MULTI_LOAD_INDICATOR (obj); _tmp0_ = multi_load_indicator_iconpath (self, (guint) 0); _tmp1_ = _tmp0_; g_remove (_tmp1_); _g_free0 (_tmp1_); _tmp2_ = multi_load_indicator_iconpath (self, (guint) 1); _tmp3_ = _tmp2_; g_remove (_tmp3_); _g_free0 (_tmp3_); _tmp4_ = self->priv->_icondirectory; g_rmdir (_tmp4_); _g_source_unref0 (self->priv->timeout); _g_object_unref0 (self->priv->indicator); self->priv->menuitems = (_vala_array_free (self->priv->menuitems, self->priv->menuitems_length1, (GDestroyNotify) g_object_unref), NULL); _g_free0 (self->priv->_icondirectory); _g_object_unref0 (self->priv->_providers); _g_object_unref0 (self->priv->_menumodel); _g_object_unref0 (self->priv->_labelmodel); _g_object_unref0 (self->priv->_descriptionmodel); _g_object_unref0 (self->priv->_menu); _g_object_unref0 (self->priv->_graphmodels); G_OBJECT_CLASS (multi_load_indicator_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType multi_load_indicator_get_type (void) { static volatile gsize multi_load_indicator_type_id__volatile = 0; if (g_once_init_enter (&multi_load_indicator_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (MultiLoadIndicatorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) multi_load_indicator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MultiLoadIndicator), 0, (GInstanceInitFunc) multi_load_indicator_instance_init, NULL }; GType multi_load_indicator_type_id; multi_load_indicator_type_id = g_type_register_static (G_TYPE_OBJECT, "MultiLoadIndicator", &g_define_type_info, 0); g_once_init_leave (&multi_load_indicator_type_id__volatile, multi_load_indicator_type_id); } return multi_load_indicator_type_id__volatile; } static void _vala_multi_load_indicator_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { MultiLoadIndicator * self; self = MULTI_LOAD_INDICATOR (object); switch (property_id) { case MULTI_LOAD_INDICATOR_ICONDIRECTORY: g_value_set_string (value, multi_load_indicator_get_icondirectory (self)); break; case MULTI_LOAD_INDICATOR_PROVIDERS: g_value_set_object (value, multi_load_indicator_get_providers (self)); break; case MULTI_LOAD_INDICATOR_MENUMODEL: g_value_set_object (value, multi_load_indicator_get_menumodel (self)); break; case MULTI_LOAD_INDICATOR_LABELMODEL: g_value_set_object (value, multi_load_indicator_get_labelmodel (self)); break; case MULTI_LOAD_INDICATOR_DESCRIPTIONMODEL: g_value_set_object (value, multi_load_indicator_get_descriptionmodel (self)); break; case MULTI_LOAD_INDICATOR_INDICATOR_INDEX: g_value_set_int (value, multi_load_indicator_get_indicator_index (self)); break; case MULTI_LOAD_INDICATOR_HEIGHT: g_value_set_uint (value, multi_load_indicator_get_height (self)); break; case MULTI_LOAD_INDICATOR_WIDTH: g_value_set_uint (value, multi_load_indicator_get_width (self)); break; case MULTI_LOAD_INDICATOR_SPEED: g_value_set_uint (value, multi_load_indicator_get_speed (self)); break; case MULTI_LOAD_INDICATOR_MENU: g_value_set_object (value, multi_load_indicator_get_menu (self)); break; case MULTI_LOAD_INDICATOR_GRAPHMODELS: g_value_set_object (value, multi_load_indicator_get_graphmodels (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_multi_load_indicator_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { MultiLoadIndicator * self; self = MULTI_LOAD_INDICATOR (object); switch (property_id) { case MULTI_LOAD_INDICATOR_ICONDIRECTORY: multi_load_indicator_set_icondirectory (self, g_value_get_string (value)); break; case MULTI_LOAD_INDICATOR_PROVIDERS: multi_load_indicator_set_providers (self, g_value_get_object (value)); break; case MULTI_LOAD_INDICATOR_MENUMODEL: multi_load_indicator_set_menumodel (self, g_value_get_object (value)); break; case MULTI_LOAD_INDICATOR_LABELMODEL: multi_load_indicator_set_labelmodel (self, g_value_get_object (value)); break; case MULTI_LOAD_INDICATOR_DESCRIPTIONMODEL: multi_load_indicator_set_descriptionmodel (self, g_value_get_object (value)); break; case MULTI_LOAD_INDICATOR_INDICATOR_INDEX: multi_load_indicator_set_indicator_index (self, g_value_get_int (value)); break; case MULTI_LOAD_INDICATOR_HEIGHT: multi_load_indicator_set_height (self, g_value_get_uint (value)); break; case MULTI_LOAD_INDICATOR_WIDTH: multi_load_indicator_set_width (self, g_value_get_uint (value)); break; case MULTI_LOAD_INDICATOR_SPEED: multi_load_indicator_set_speed (self, g_value_get_uint (value)); break; case MULTI_LOAD_INDICATOR_MENU: multi_load_indicator_set_menu (self, g_value_get_object (value)); break; case MULTI_LOAD_INDICATOR_GRAPHMODELS: multi_load_indicator_set_graphmodels (self, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/diskprovider.vala0000664000175000017500000001034112107670161016404 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class DiskProvider : Provider { private uint64[] lastdata; private uint64 lasttime; private const string[] networkfs = { "smbfs", "nfs", "cifs", "fuse.sshfs" }; public DiskProvider() { base("disk", {"read", "write"}); } private string[] split(string val) { string[] result = null; char *last = null; char *current = val; for (; *current != '\0'; current = current + 1) { if (*current == ' ' || *current == '\n') { if (last != null) { result += strndup(last, current - last); last = null; } } else { if (last == null) last = current; } } if (last != null) result += strndup(last, current - last); return result; } public override void update() { uint64[] newdata = new uint64[3]; uint64 newtime = get_monotonic_time(); try { // Accounts for io for everything that has an associated device // TODO: will jump on unmount Dir directory = Dir.open("/sys/block"); string entry; while ((entry = directory.read_name()) != null) { if (!FileUtils.test(@"/sys/block/$entry/device", FileTest.EXISTS)) continue; string stat; try { FileUtils.get_contents(@"/sys/block/$entry/stat", out stat); } catch (Error e) { continue; } string[] stats = this.split(stat); if (stats.length < 8) continue; newdata[0] += 512 * uint64.parse(stats[2]); newdata[1] += 512 * uint64.parse(stats[6]); } } catch (Error e) { // Fall back to libgtop if we have no /sys GTop.MountEntry[] mountentries; GTop.MountList mountlist; mountentries = GTop.get_mountlist (out mountlist, false); for (uint i = 0; i < mountlist.number; ++i) { // Skip network mounts to prevent hangs if not available and to // allow suspend (gnome bug #579888) if (mountentries[i].type in this.networkfs) continue; GTop.FSUsage fsusage; GTop.get_fsusage(out fsusage, mountentries[i].mountdir); newdata[0] += fsusage.block_size * fsusage.read; newdata[1] += fsusage.block_size * fsusage.write; } } if (this.lastdata.length != 0) { double delta = (newtime - this.lasttime) / 1e6; this.values[0] = (newdata[0] - this.lastdata[0]) / delta; this.values[1] = (newdata[1] - this.lastdata[1]) / delta; } this.lastdata = newdata; this.lasttime = newtime; } } indicator-multiload-0.3/src/tracemodel.c0000664000175000017500000004313412107670273015327 00000000000000/* tracemodel.c generated by valac 0.14.2, the Vala compiler * generated from tracemodel.vala, do not modify */ #include #include #include #include #include #include #include #define TYPE_TRACE_MODEL (trace_model_get_type ()) #define TRACE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TRACE_MODEL, TraceModel)) #define TRACE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TRACE_MODEL, TraceModelClass)) #define IS_TRACE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TRACE_MODEL)) #define IS_TRACE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TRACE_MODEL)) #define TRACE_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TRACE_MODEL, TraceModelClass)) typedef struct _TraceModel TraceModel; typedef struct _TraceModelClass TraceModelClass; typedef struct _TraceModelPrivate TraceModelPrivate; #define TYPE_EXPRESSION_CACHE (expression_cache_get_type ()) #define EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EXPRESSION_CACHE, ExpressionCache)) #define EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) #define IS_EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EXPRESSION_CACHE)) #define IS_EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EXPRESSION_CACHE)) #define EXPRESSION_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) typedef struct _ExpressionCache ExpressionCache; typedef struct _ExpressionCacheClass ExpressionCacheClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define TYPE_PROVIDERS (providers_get_type ()) #define PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDERS, Providers)) #define PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDERS, ProvidersClass)) #define IS_PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDERS)) #define IS_PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDERS)) #define PROVIDERS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDERS, ProvidersClass)) typedef struct _Providers Providers; typedef struct _ProvidersClass ProvidersClass; struct _TraceModel { GObject parent_instance; TraceModelPrivate * priv; }; struct _TraceModelClass { GObjectClass parent_class; }; struct _TraceModelPrivate { ExpressionCache* _expression; GdkColor _color; gboolean _enabled; gdouble* _values; gint _values_length1; gint __values_size_; }; static gpointer trace_model_parent_class = NULL; GType trace_model_get_type (void) G_GNUC_CONST; GType expression_cache_get_type (void) G_GNUC_CONST; #define TRACE_MODEL_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_TRACE_MODEL, TraceModelPrivate)) enum { TRACE_MODEL_DUMMY_PROPERTY, TRACE_MODEL_EXPRESSION, TRACE_MODEL_COLOR, TRACE_MODEL_ENABLED }; GType providers_get_type (void) G_GNUC_CONST; TraceModel* trace_model_new (Providers* providers); TraceModel* trace_model_construct (GType object_type, Providers* providers); ExpressionCache* expression_cache_new (Providers* providers, const gchar* expression); ExpressionCache* expression_cache_construct (GType object_type, Providers* providers, const gchar* expression); void trace_model_set_values_length (TraceModel* self, guint length); static gdouble* _vala_array_dup24 (gdouble* self, int length); static gdouble* _vala_array_dup25 (gdouble* self, int length); void trace_model_add_value (TraceModel* self, gdouble value); ExpressionCache* trace_model_get_expression (TraceModel* self); static void trace_model_set_expression (TraceModel* self, ExpressionCache* value); void trace_model_get_color (TraceModel* self, GdkColor* result); void trace_model_set_color (TraceModel* self, GdkColor* value); gboolean trace_model_get_enabled (TraceModel* self); void trace_model_set_enabled (TraceModel* self, gboolean value); gdouble* trace_model_get_values (TraceModel* self, int* result_length1); static void trace_model_set_values (TraceModel* self, gdouble* value, int value_length1); static gdouble* _vala_array_dup26 (gdouble* self, int length); static void trace_model_finalize (GObject* obj); static void _vala_trace_model_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_trace_model_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); TraceModel* trace_model_construct (GType object_type, Providers* providers) { TraceModel * self = NULL; Providers* _tmp0_; ExpressionCache* _tmp1_; ExpressionCache* _tmp2_; g_return_val_if_fail (IS_PROVIDERS (providers), NULL); _tmp0_ = providers; _tmp1_ = expression_cache_new (_tmp0_, ""); _tmp2_ = _tmp1_; self = (TraceModel*) g_object_new (object_type, "expression", _tmp2_, NULL); _g_object_unref0 (_tmp2_); return self; } TraceModel* trace_model_new (Providers* providers) { return trace_model_construct (TYPE_TRACE_MODEL, providers); } static gdouble* _vala_array_dup24 (gdouble* self, int length) { return g_memdup (self, length * sizeof (gdouble)); } static gdouble* _vala_array_dup25 (gdouble* self, int length) { return g_memdup (self, length * sizeof (gdouble)); } void trace_model_set_values_length (TraceModel* self, guint length) { guint _tmp0_; gdouble* _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_TRACE_MODEL (self)); _tmp0_ = length; _tmp1_ = self->priv->_values; _tmp1__length1 = self->priv->_values_length1; if (_tmp0_ > ((guint) _tmp1__length1)) { guint _tmp2_; gdouble* _tmp3_ = NULL; gdouble* newvalues; gint newvalues_length1; gint _newvalues_size_; guint _tmp4_; gdouble* _tmp5_; gint _tmp5__length1; guint offset; gdouble* _tmp19_; gint _tmp19__length1; gdouble* _tmp20_; gint _tmp20__length1; _tmp2_ = length; _tmp3_ = g_new0 (gdouble, _tmp2_); newvalues = _tmp3_; newvalues_length1 = _tmp2_; _newvalues_size_ = newvalues_length1; _tmp4_ = length; _tmp5_ = self->priv->_values; _tmp5__length1 = self->priv->_values_length1; offset = _tmp4_ - _tmp5__length1; { guint i; gdouble* _tmp6_; gint _tmp6__length1; guint isize; i = (guint) 0; _tmp6_ = self->priv->_values; _tmp6__length1 = self->priv->_values_length1; isize = (guint) _tmp6__length1; { gboolean _tmp7_; _tmp7_ = TRUE; while (TRUE) { gboolean _tmp8_; guint _tmp10_; guint _tmp11_; gdouble* _tmp12_; gint _tmp12__length1; guint _tmp13_; guint _tmp14_; gdouble* _tmp15_; gint _tmp15__length1; guint _tmp16_; gdouble _tmp17_; gdouble _tmp18_; _tmp8_ = _tmp7_; if (!_tmp8_) { guint _tmp9_; _tmp9_ = i; i = _tmp9_ + 1; } _tmp7_ = FALSE; _tmp10_ = i; _tmp11_ = isize; if (!(_tmp10_ < _tmp11_)) { break; } _tmp12_ = newvalues; _tmp12__length1 = newvalues_length1; _tmp13_ = offset; _tmp14_ = i; _tmp15_ = self->priv->_values; _tmp15__length1 = self->priv->_values_length1; _tmp16_ = i; _tmp17_ = _tmp15_[_tmp16_]; _tmp12_[_tmp13_ + _tmp14_] = _tmp17_; _tmp18_ = _tmp12_[_tmp13_ + _tmp14_]; } } } _tmp19_ = newvalues; _tmp19__length1 = newvalues_length1; _tmp20_ = (_tmp19_ != NULL) ? _vala_array_dup24 (_tmp19_, _tmp19__length1) : ((gpointer) _tmp19_); _tmp20__length1 = _tmp19__length1; self->priv->_values = (g_free (self->priv->_values), NULL); self->priv->_values = _tmp20_; self->priv->_values_length1 = _tmp20__length1; self->priv->__values_size_ = self->priv->_values_length1; newvalues = (g_free (newvalues), NULL); } else { guint _tmp21_; gdouble* _tmp22_; gint _tmp22__length1; _tmp21_ = length; _tmp22_ = self->priv->_values; _tmp22__length1 = self->priv->_values_length1; if (_tmp21_ < ((guint) _tmp22__length1)) { gdouble* _tmp23_; gint _tmp23__length1; gdouble* _tmp24_; gint _tmp24__length1; guint _tmp25_; gdouble* _tmp26_; gint _tmp26__length1; gdouble* _tmp27_; gint _tmp27__length1; _tmp23_ = self->priv->_values; _tmp23__length1 = self->priv->_values_length1; _tmp24_ = self->priv->_values; _tmp24__length1 = self->priv->_values_length1; _tmp25_ = length; _tmp26_ = self->priv->_values; _tmp26__length1 = self->priv->_values_length1; _tmp27_ = ((_tmp23_ + (_tmp24__length1 - _tmp25_)) != NULL) ? _vala_array_dup25 (_tmp23_ + (_tmp24__length1 - _tmp25_), _tmp26__length1 - (_tmp24__length1 - _tmp25_)) : ((gpointer) (_tmp23_ + (_tmp24__length1 - _tmp25_))); _tmp27__length1 = _tmp26__length1 - (_tmp24__length1 - _tmp25_); self->priv->_values = (g_free (self->priv->_values), NULL); self->priv->_values = _tmp27_; self->priv->_values_length1 = _tmp27__length1; self->priv->__values_size_ = self->priv->_values_length1; } } } void trace_model_add_value (TraceModel* self, gdouble value) { gdouble* _tmp12_; gint _tmp12__length1; gdouble* _tmp13_; gint _tmp13__length1; gdouble _tmp14_; gdouble _tmp15_; g_return_if_fail (IS_TRACE_MODEL (self)); { guint i; gdouble* _tmp0_; gint _tmp0__length1; guint isize; i = (guint) 0; _tmp0_ = self->priv->_values; _tmp0__length1 = self->priv->_values_length1; isize = (guint) _tmp0__length1; { gboolean _tmp1_; _tmp1_ = TRUE; while (TRUE) { gboolean _tmp2_; guint _tmp4_; guint _tmp5_; gdouble* _tmp6_; gint _tmp6__length1; guint _tmp7_; gdouble* _tmp8_; gint _tmp8__length1; guint _tmp9_; gdouble _tmp10_; gdouble _tmp11_; _tmp2_ = _tmp1_; if (!_tmp2_) { guint _tmp3_; _tmp3_ = i; i = _tmp3_ + 1; } _tmp1_ = FALSE; _tmp4_ = i; _tmp5_ = isize; if (!((_tmp4_ + 1) < _tmp5_)) { break; } _tmp6_ = self->priv->_values; _tmp6__length1 = self->priv->_values_length1; _tmp7_ = i; _tmp8_ = self->priv->_values; _tmp8__length1 = self->priv->_values_length1; _tmp9_ = i; _tmp10_ = _tmp8_[_tmp9_ + 1]; _tmp6_[_tmp7_] = _tmp10_; _tmp11_ = _tmp6_[_tmp7_]; } } } _tmp12_ = self->priv->_values; _tmp12__length1 = self->priv->_values_length1; _tmp13_ = self->priv->_values; _tmp13__length1 = self->priv->_values_length1; _tmp14_ = value; _tmp12_[_tmp13__length1 - 1] = _tmp14_; _tmp15_ = _tmp12_[_tmp13__length1 - 1]; } ExpressionCache* trace_model_get_expression (TraceModel* self) { ExpressionCache* result; ExpressionCache* _tmp0_; g_return_val_if_fail (IS_TRACE_MODEL (self), NULL); _tmp0_ = self->priv->_expression; result = _tmp0_; return result; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void trace_model_set_expression (TraceModel* self, ExpressionCache* value) { ExpressionCache* _tmp0_; ExpressionCache* _tmp1_; g_return_if_fail (IS_TRACE_MODEL (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_expression); self->priv->_expression = _tmp1_; g_object_notify ((GObject *) self, "expression"); } void trace_model_get_color (TraceModel* self, GdkColor* result) { GdkColor _tmp0_; g_return_if_fail (IS_TRACE_MODEL (self)); _tmp0_ = self->priv->_color; *result = _tmp0_; return; } void trace_model_set_color (TraceModel* self, GdkColor* value) { GdkColor _tmp0_; g_return_if_fail (IS_TRACE_MODEL (self)); _tmp0_ = *value; self->priv->_color = _tmp0_; g_object_notify ((GObject *) self, "color"); } gboolean trace_model_get_enabled (TraceModel* self) { gboolean result; gboolean _tmp0_; g_return_val_if_fail (IS_TRACE_MODEL (self), FALSE); _tmp0_ = self->priv->_enabled; result = _tmp0_; return result; } void trace_model_set_enabled (TraceModel* self, gboolean value) { gboolean _tmp0_; g_return_if_fail (IS_TRACE_MODEL (self)); _tmp0_ = value; self->priv->_enabled = _tmp0_; g_object_notify ((GObject *) self, "enabled"); } gdouble* trace_model_get_values (TraceModel* self, int* result_length1) { gdouble* result; gdouble* _tmp0_; gint _tmp0__length1; gdouble* _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_TRACE_MODEL (self), NULL); _tmp0_ = self->priv->_values; _tmp0__length1 = self->priv->_values_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static gdouble* _vala_array_dup26 (gdouble* self, int length) { return g_memdup (self, length * sizeof (gdouble)); } static void trace_model_set_values (TraceModel* self, gdouble* value, int value_length1) { gdouble* _tmp0_; gint _tmp0__length1; gdouble* _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_TRACE_MODEL (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup26 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_values = (g_free (self->priv->_values), NULL); self->priv->_values = _tmp1_; self->priv->_values_length1 = _tmp1__length1; self->priv->__values_size_ = self->priv->_values_length1; } static void trace_model_class_init (TraceModelClass * klass) { trace_model_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (TraceModelPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_trace_model_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_trace_model_set_property; G_OBJECT_CLASS (klass)->finalize = trace_model_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), TRACE_MODEL_EXPRESSION, g_param_spec_object ("expression", "expression", "expression", TYPE_EXPRESSION_CACHE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), TRACE_MODEL_COLOR, g_param_spec_boxed ("color", "color", "color", GDK_TYPE_COLOR, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), TRACE_MODEL_ENABLED, g_param_spec_boolean ("enabled", "enabled", "enabled", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); } static void trace_model_instance_init (TraceModel * self) { self->priv = TRACE_MODEL_GET_PRIVATE (self); } static void trace_model_finalize (GObject* obj) { TraceModel * self; self = TRACE_MODEL (obj); _g_object_unref0 (self->priv->_expression); self->priv->_values = (g_free (self->priv->_values), NULL); G_OBJECT_CLASS (trace_model_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType trace_model_get_type (void) { static volatile gsize trace_model_type_id__volatile = 0; if (g_once_init_enter (&trace_model_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (TraceModelClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) trace_model_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TraceModel), 0, (GInstanceInitFunc) trace_model_instance_init, NULL }; GType trace_model_type_id; trace_model_type_id = g_type_register_static (G_TYPE_OBJECT, "TraceModel", &g_define_type_info, 0); g_once_init_leave (&trace_model_type_id__volatile, trace_model_type_id); } return trace_model_type_id__volatile; } static void _vala_trace_model_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { TraceModel * self; self = TRACE_MODEL (object); switch (property_id) { case TRACE_MODEL_EXPRESSION: g_value_set_object (value, trace_model_get_expression (self)); break; case TRACE_MODEL_COLOR: { GdkColor boxed; trace_model_get_color (self, &boxed); g_value_set_boxed (value, &boxed); } break; case TRACE_MODEL_ENABLED: g_value_set_boolean (value, trace_model_get_enabled (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_trace_model_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { TraceModel * self; self = TRACE_MODEL (object); switch (property_id) { case TRACE_MODEL_EXPRESSION: trace_model_set_expression (self, g_value_get_object (value)); break; case TRACE_MODEL_COLOR: trace_model_set_color (self, g_value_get_boxed (value)); break; case TRACE_MODEL_ENABLED: trace_model_set_enabled (self, g_value_get_boolean (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } indicator-multiload-0.3/src/graphmodel.c0000664000175000017500000011622412107670273015333 00000000000000/* graphmodel.c generated by valac 0.14.2, the Vala compiler * generated from graphmodel.vala, do not modify */ #include #include #include #include #include #include #include #include #define TYPE_GRAPH_MODEL (graph_model_get_type ()) #define GRAPH_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GRAPH_MODEL, GraphModel)) #define GRAPH_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GRAPH_MODEL, GraphModelClass)) #define IS_GRAPH_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GRAPH_MODEL)) #define IS_GRAPH_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GRAPH_MODEL)) #define GRAPH_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GRAPH_MODEL, GraphModelClass)) typedef struct _GraphModel GraphModel; typedef struct _GraphModelClass GraphModelClass; typedef struct _GraphModelPrivate GraphModelPrivate; #define TYPE_PROVIDERS (providers_get_type ()) #define PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDERS, Providers)) #define PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDERS, ProvidersClass)) #define IS_PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDERS)) #define IS_PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDERS)) #define PROVIDERS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDERS, ProvidersClass)) typedef struct _Providers Providers; typedef struct _ProvidersClass ProvidersClass; #define TYPE_EXPRESSION_CACHE (expression_cache_get_type ()) #define EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EXPRESSION_CACHE, ExpressionCache)) #define EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) #define IS_EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EXPRESSION_CACHE)) #define IS_EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EXPRESSION_CACHE)) #define EXPRESSION_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) typedef struct _ExpressionCache ExpressionCache; typedef struct _ExpressionCacheClass ExpressionCacheClass; #define TYPE_TRACE_MODEL (trace_model_get_type ()) #define TRACE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TRACE_MODEL, TraceModel)) #define TRACE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TRACE_MODEL, TraceModelClass)) #define IS_TRACE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TRACE_MODEL)) #define IS_TRACE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TRACE_MODEL)) #define TRACE_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TRACE_MODEL, TraceModelClass)) typedef struct _TraceModel TraceModel; typedef struct _TraceModelClass TraceModelClass; #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) struct _GraphModel { GObject parent_instance; GraphModelPrivate * priv; }; struct _GraphModelClass { GObjectClass parent_class; }; struct _GraphModelPrivate { guint smoothvalue; gdouble* scalerhistory; gint scalerhistory_length1; gint _scalerhistory_size_; gchar* _id; Providers* _providers; ExpressionCache* _minimum; ExpressionCache* _maximum; gchar* _smooth; GdkColor _background_color; guint _alpha; gboolean _enabled; gchar** _traces; gint _traces_length1; gint __traces_size_; gdouble _scale; TraceModel** _tracemodels; gint _tracemodels_length1; gint __tracemodels_size_; }; static gpointer graph_model_parent_class = NULL; GType graph_model_get_type (void) G_GNUC_CONST; GType providers_get_type (void) G_GNUC_CONST; GType expression_cache_get_type (void) G_GNUC_CONST; GType trace_model_get_type (void) G_GNUC_CONST; #define GRAPH_MODEL_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_GRAPH_MODEL, GraphModelPrivate)) enum { GRAPH_MODEL_DUMMY_PROPERTY, GRAPH_MODEL_ID, GRAPH_MODEL_PROVIDERS, GRAPH_MODEL_MINIMUM, GRAPH_MODEL_MAXIMUM, GRAPH_MODEL_SMOOTH, GRAPH_MODEL_BACKGROUND_COLOR, GRAPH_MODEL_ALPHA, GRAPH_MODEL_ENABLED, GRAPH_MODEL_TRACES, GRAPH_MODEL_SCALE }; GraphModel* graph_model_new (const gchar* id, Providers* providers); GraphModel* graph_model_construct (GType object_type, const gchar* id, Providers* providers); ExpressionCache* expression_cache_new (Providers* providers, const gchar* expression); ExpressionCache* expression_cache_construct (GType object_type, Providers* providers, const gchar* expression); void graph_model_update (GraphModel* self, guint trace_length); TraceModel** graph_model_get_tracemodels (GraphModel* self, int* result_length1); void trace_model_set_values_length (TraceModel* self, guint length); ExpressionCache* trace_model_get_expression (TraceModel* self); void expression_cache_update (ExpressionCache* self); void trace_model_add_value (TraceModel* self, gdouble value); gchar* expression_cache_label (ExpressionCache* self); ExpressionCache* graph_model_get_minimum (GraphModel* self); ExpressionCache* graph_model_get_maximum (GraphModel* self); static void graph_model_update_scale (GraphModel* self, gdouble scalerminimum, gdouble scalermaximum, guint trace_length); gboolean trace_model_get_enabled (TraceModel* self); gdouble* trace_model_get_values (TraceModel* self, int* result_length1); gdouble utils_max (gdouble* data, int data_length1); gdouble utils_mean (gdouble* data, int data_length1); static void graph_model_set_scale (GraphModel* self, gdouble value); void graph_model_set_source_color (GraphModel* self, cairo_t* ctx); void graph_model_get_background_color (GraphModel* self, GdkColor* result); guint graph_model_get_alpha (GraphModel* self); const gchar* graph_model_get_id (GraphModel* self); static void graph_model_set_id (GraphModel* self, const gchar* value); Providers* graph_model_get_providers (GraphModel* self); static void graph_model_set_providers (GraphModel* self, Providers* value); static void graph_model_set_minimum (GraphModel* self, ExpressionCache* value); static void graph_model_set_maximum (GraphModel* self, ExpressionCache* value); const gchar* graph_model_get_smooth (GraphModel* self); void graph_model_set_smooth (GraphModel* self, const gchar* value); void graph_model_set_background_color (GraphModel* self, GdkColor* value); void graph_model_set_alpha (GraphModel* self, guint value); gboolean graph_model_get_enabled (GraphModel* self); void graph_model_set_enabled (GraphModel* self, gboolean value); gchar** graph_model_get_traces (GraphModel* self, int* result_length1); void graph_model_set_traces (GraphModel* self, gchar** value, int value_length1); static gchar** _vala_array_dup8 (gchar** self, int length); gdouble graph_model_get_scale (GraphModel* self); static void graph_model_set_tracemodels (GraphModel* self, TraceModel** value, int value_length1); static TraceModel** _vala_array_dup9 (TraceModel** self, int length); static GObject * graph_model_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void _graph_model___lambda0_ (GraphModel* self); static void __graph_model___lambda0__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self); static void _graph_model___lambda1_ (GraphModel* self); TraceModel* trace_model_new (Providers* providers); TraceModel* trace_model_construct (GType object_type, Providers* providers); static void _vala_array_add10 (TraceModel*** array, int* length, int* size, TraceModel* value); static TraceModel** _vala_array_dup10 (TraceModel** self, int length); static void __graph_model___lambda1__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self); static void graph_model_finalize (GObject* obj); static void _vala_graph_model_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_graph_model_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); GraphModel* graph_model_construct (GType object_type, const gchar* id, Providers* providers) { GraphModel * self = NULL; const gchar* _tmp0_; Providers* _tmp1_; Providers* _tmp2_; ExpressionCache* _tmp3_; ExpressionCache* _tmp4_; Providers* _tmp5_; ExpressionCache* _tmp6_; ExpressionCache* _tmp7_; g_return_val_if_fail (id != NULL, NULL); g_return_val_if_fail (IS_PROVIDERS (providers), NULL); _tmp0_ = id; _tmp1_ = providers; _tmp2_ = providers; _tmp3_ = expression_cache_new (_tmp2_, ""); _tmp4_ = _tmp3_; _tmp5_ = providers; _tmp6_ = expression_cache_new (_tmp5_, ""); _tmp7_ = _tmp6_; self = (GraphModel*) g_object_new (object_type, "id", _tmp0_, "providers", _tmp1_, "minimum", _tmp4_, "maximum", _tmp7_, NULL); _g_object_unref0 (_tmp7_); _g_object_unref0 (_tmp4_); return self; } GraphModel* graph_model_new (const gchar* id, Providers* providers) { return graph_model_construct (TYPE_GRAPH_MODEL, id, providers); } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static gdouble double_parse (const gchar* str) { gdouble result = 0.0; const gchar* _tmp0_; gdouble _tmp1_ = 0.0; g_return_val_if_fail (str != NULL, 0.0); _tmp0_ = str; _tmp1_ = g_ascii_strtod (_tmp0_, NULL); result = _tmp1_; return result; } void graph_model_update (GraphModel* self, guint trace_length) { TraceModel** _tmp0_; gint _tmp0__length1; TraceModel** _tmp1_; gint _tmp1__length1; ExpressionCache* _tmp15_; gchar* _tmp16_ = NULL; gchar* _tmp17_; gdouble _tmp18_ = 0.0; gdouble _tmp19_; gdouble scalerminimum; ExpressionCache* _tmp20_; gchar* _tmp21_ = NULL; gchar* _tmp22_; gdouble _tmp23_ = 0.0; gdouble _tmp24_; gdouble scalermaximum; guint _tmp25_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = graph_model_get_tracemodels (self, &_tmp0__length1); _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; { TraceModel** tracemodel_collection = NULL; gint tracemodel_collection_length1 = 0; gint _tracemodel_collection_size_ = 0; gint tracemodel_it = 0; tracemodel_collection = _tmp1_; tracemodel_collection_length1 = _tmp1__length1; for (tracemodel_it = 0; tracemodel_it < _tmp1__length1; tracemodel_it = tracemodel_it + 1) { TraceModel* _tmp2_; TraceModel* tracemodel = NULL; _tmp2_ = _g_object_ref0 (tracemodel_collection[tracemodel_it]); tracemodel = _tmp2_; { TraceModel* _tmp3_; guint _tmp4_; TraceModel* _tmp5_; ExpressionCache* _tmp6_; ExpressionCache* _tmp7_; TraceModel* _tmp8_; TraceModel* _tmp9_; ExpressionCache* _tmp10_; ExpressionCache* _tmp11_; gchar* _tmp12_ = NULL; gchar* _tmp13_; gdouble _tmp14_ = 0.0; _tmp3_ = tracemodel; _tmp4_ = trace_length; trace_model_set_values_length (_tmp3_, _tmp4_); _tmp5_ = tracemodel; _tmp6_ = trace_model_get_expression (_tmp5_); _tmp7_ = _tmp6_; expression_cache_update (_tmp7_); _tmp8_ = tracemodel; _tmp9_ = tracemodel; _tmp10_ = trace_model_get_expression (_tmp9_); _tmp11_ = _tmp10_; _tmp12_ = expression_cache_label (_tmp11_); _tmp13_ = _tmp12_; _tmp14_ = double_parse (_tmp13_); trace_model_add_value (_tmp8_, _tmp14_); _g_free0 (_tmp13_); _g_object_unref0 (tracemodel); } } } _tmp15_ = self->priv->_minimum; _tmp16_ = expression_cache_label (_tmp15_); _tmp17_ = _tmp16_; _tmp18_ = double_parse (_tmp17_); _tmp19_ = _tmp18_; _g_free0 (_tmp17_); scalerminimum = _tmp19_; _tmp20_ = self->priv->_maximum; _tmp21_ = expression_cache_label (_tmp20_); _tmp22_ = _tmp21_; _tmp23_ = double_parse (_tmp22_); _tmp24_ = _tmp23_; _g_free0 (_tmp22_); scalermaximum = _tmp24_; _tmp25_ = trace_length; graph_model_update_scale (self, scalerminimum, scalermaximum, _tmp25_); } static void graph_model_update_scale (GraphModel* self, gdouble scalerminimum, gdouble scalermaximum, guint trace_length) { gdouble _tmp0_; gdouble currentpeak; gdouble _tmp22_; gdouble* _tmp26_; gint _tmp26__length1; gdouble* _tmp38_; gint _tmp38__length1; gdouble _tmp39_ = 0.0; gdouble historymaximum; gdouble _tmp40_; gdouble _tmp41_; gdouble* _tmp64_; gint _tmp64__length1; gdouble* _tmp65_; gint _tmp65__length1; gdouble _tmp66_; gdouble _tmp67_; gdouble* _tmp68_; gint _tmp68__length1; gdouble _tmp69_ = 0.0; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = scalerminimum; currentpeak = _tmp0_; { guint i; guint _tmp1_; guint isize; i = (guint) 0; _tmp1_ = trace_length; isize = _tmp1_; { gboolean _tmp2_; _tmp2_ = TRUE; while (TRUE) { gboolean _tmp3_; guint _tmp5_; guint _tmp6_; gdouble currentvalue; TraceModel** _tmp7_; gint _tmp7__length1; TraceModel** _tmp8_; gint _tmp8__length1; gdouble _tmp19_; gdouble _tmp20_; gdouble _tmp21_ = 0.0; _tmp3_ = _tmp2_; if (!_tmp3_) { guint _tmp4_; _tmp4_ = i; i = _tmp4_ + 1; } _tmp2_ = FALSE; _tmp5_ = i; _tmp6_ = isize; if (!(_tmp5_ < _tmp6_)) { break; } currentvalue = (gdouble) 0; _tmp7_ = graph_model_get_tracemodels (self, &_tmp7__length1); _tmp8_ = _tmp7_; _tmp8__length1 = _tmp7__length1; { TraceModel** tracemodel_collection = NULL; gint tracemodel_collection_length1 = 0; gint _tracemodel_collection_size_ = 0; gint tracemodel_it = 0; tracemodel_collection = _tmp8_; tracemodel_collection_length1 = _tmp8__length1; for (tracemodel_it = 0; tracemodel_it < _tmp8__length1; tracemodel_it = tracemodel_it + 1) { TraceModel* _tmp9_; TraceModel* tracemodel = NULL; _tmp9_ = _g_object_ref0 (tracemodel_collection[tracemodel_it]); tracemodel = _tmp9_; { TraceModel* _tmp10_; gboolean _tmp11_; gboolean _tmp12_; _tmp10_ = tracemodel; _tmp11_ = trace_model_get_enabled (_tmp10_); _tmp12_ = _tmp11_; if (_tmp12_) { gdouble _tmp13_; TraceModel* _tmp14_; gdouble* _tmp15_; gint _tmp15__length1; gdouble* _tmp16_; gint _tmp16__length1; guint _tmp17_; gdouble _tmp18_; _tmp13_ = currentvalue; _tmp14_ = tracemodel; _tmp15_ = trace_model_get_values (_tmp14_, &_tmp15__length1); _tmp16_ = _tmp15_; _tmp16__length1 = _tmp15__length1; _tmp17_ = i; _tmp18_ = _tmp16_[_tmp17_]; currentvalue = _tmp13_ + _tmp18_; } _g_object_unref0 (tracemodel); } } } _tmp19_ = currentpeak; _tmp20_ = currentvalue; _tmp21_ = MAX (_tmp19_, _tmp20_); currentpeak = _tmp21_; } } } _tmp22_ = scalermaximum; if (_tmp22_ != ((gdouble) 0)) { gdouble _tmp23_; gdouble _tmp24_; gdouble _tmp25_ = 0.0; _tmp23_ = currentpeak; _tmp24_ = scalermaximum; _tmp25_ = MIN (_tmp23_, _tmp24_); currentpeak = _tmp25_; } _tmp26_ = self->priv->scalerhistory; _tmp26__length1 = self->priv->scalerhistory_length1; if (_tmp26__length1 == 0) { guint _tmp27_; gdouble* _tmp28_ = NULL; _tmp27_ = self->priv->smoothvalue; _tmp28_ = g_new0 (gdouble, _tmp27_); self->priv->scalerhistory = (g_free (self->priv->scalerhistory), NULL); self->priv->scalerhistory = _tmp28_; self->priv->scalerhistory_length1 = _tmp27_; self->priv->_scalerhistory_size_ = self->priv->scalerhistory_length1; { guint i; i = (guint) 0; { gboolean _tmp29_; _tmp29_ = TRUE; while (TRUE) { gboolean _tmp30_; guint _tmp32_; guint _tmp33_; gdouble* _tmp34_; gint _tmp34__length1; guint _tmp35_; gdouble _tmp36_; gdouble _tmp37_; _tmp30_ = _tmp29_; if (!_tmp30_) { guint _tmp31_; _tmp31_ = i; i = _tmp31_ + 1; } _tmp29_ = FALSE; _tmp32_ = i; _tmp33_ = self->priv->smoothvalue; if (!(_tmp32_ < _tmp33_)) { break; } _tmp34_ = self->priv->scalerhistory; _tmp34__length1 = self->priv->scalerhistory_length1; _tmp35_ = i; _tmp36_ = scalerminimum; _tmp34_[_tmp35_] = _tmp36_; _tmp37_ = _tmp34_[_tmp35_]; } } } } _tmp38_ = self->priv->scalerhistory; _tmp38__length1 = self->priv->scalerhistory_length1; _tmp39_ = utils_max (_tmp38_, _tmp38__length1); historymaximum = _tmp39_; _tmp40_ = currentpeak; _tmp41_ = historymaximum; if (_tmp40_ < _tmp41_) { { guint i; gdouble* _tmp42_; gint _tmp42__length1; guint isize; i = (guint) 0; _tmp42_ = self->priv->scalerhistory; _tmp42__length1 = self->priv->scalerhistory_length1; isize = (guint) _tmp42__length1; { gboolean _tmp43_; _tmp43_ = TRUE; while (TRUE) { gboolean _tmp44_; guint _tmp46_; guint _tmp47_; gdouble* _tmp48_; gint _tmp48__length1; guint _tmp49_; gdouble* _tmp50_; gint _tmp50__length1; guint _tmp51_; gdouble _tmp52_; gdouble _tmp53_; _tmp44_ = _tmp43_; if (!_tmp44_) { guint _tmp45_; _tmp45_ = i; i = _tmp45_ + 1; } _tmp43_ = FALSE; _tmp46_ = i; _tmp47_ = isize; if (!((_tmp46_ + 1) < _tmp47_)) { break; } _tmp48_ = self->priv->scalerhistory; _tmp48__length1 = self->priv->scalerhistory_length1; _tmp49_ = i; _tmp50_ = self->priv->scalerhistory; _tmp50__length1 = self->priv->scalerhistory_length1; _tmp51_ = i; _tmp52_ = _tmp50_[_tmp51_ + 1]; _tmp48_[_tmp49_] = _tmp52_; _tmp53_ = _tmp48_[_tmp49_]; } } } } else { { guint i; gdouble* _tmp54_; gint _tmp54__length1; guint isize; i = (guint) 0; _tmp54_ = self->priv->scalerhistory; _tmp54__length1 = self->priv->scalerhistory_length1; isize = (guint) _tmp54__length1; { gboolean _tmp55_; _tmp55_ = TRUE; while (TRUE) { gboolean _tmp56_; guint _tmp58_; guint _tmp59_; gdouble* _tmp60_; gint _tmp60__length1; guint _tmp61_; gdouble _tmp62_; gdouble _tmp63_; _tmp56_ = _tmp55_; if (!_tmp56_) { guint _tmp57_; _tmp57_ = i; i = _tmp57_ + 1; } _tmp55_ = FALSE; _tmp58_ = i; _tmp59_ = isize; if (!((_tmp58_ + 1) < _tmp59_)) { break; } _tmp60_ = self->priv->scalerhistory; _tmp60__length1 = self->priv->scalerhistory_length1; _tmp61_ = i; _tmp62_ = currentpeak; _tmp60_[_tmp61_] = _tmp62_; _tmp63_ = _tmp60_[_tmp61_]; } } } } _tmp64_ = self->priv->scalerhistory; _tmp64__length1 = self->priv->scalerhistory_length1; _tmp65_ = self->priv->scalerhistory; _tmp65__length1 = self->priv->scalerhistory_length1; _tmp66_ = currentpeak; _tmp64_[_tmp65__length1 - 1] = _tmp66_; _tmp67_ = _tmp64_[_tmp65__length1 - 1]; _tmp68_ = self->priv->scalerhistory; _tmp68__length1 = self->priv->scalerhistory_length1; _tmp69_ = utils_mean (_tmp68_, _tmp68__length1); graph_model_set_scale (self, _tmp69_); } void graph_model_set_source_color (GraphModel* self, cairo_t* ctx) { cairo_t* _tmp0_; GdkColor _tmp1_; guint16 _tmp2_; GdkColor _tmp3_; guint16 _tmp4_; GdkColor _tmp5_; guint16 _tmp6_; guint _tmp7_; g_return_if_fail (IS_GRAPH_MODEL (self)); g_return_if_fail (ctx != NULL); _tmp0_ = ctx; _tmp1_ = self->priv->_background_color; _tmp2_ = _tmp1_.red; _tmp3_ = self->priv->_background_color; _tmp4_ = _tmp3_.green; _tmp5_ = self->priv->_background_color; _tmp6_ = _tmp5_.blue; _tmp7_ = self->priv->_alpha; cairo_set_source_rgba (_tmp0_, _tmp2_ / 65535.0, _tmp4_ / 65565.0, _tmp6_ / 65565.0, _tmp7_ / 65565.0); } const gchar* graph_model_get_id (GraphModel* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (IS_GRAPH_MODEL (self), NULL); _tmp0_ = self->priv->_id; result = _tmp0_; return result; } static void graph_model_set_id (GraphModel* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_id); self->priv->_id = _tmp1_; g_object_notify ((GObject *) self, "id"); } Providers* graph_model_get_providers (GraphModel* self) { Providers* result; Providers* _tmp0_; g_return_val_if_fail (IS_GRAPH_MODEL (self), NULL); _tmp0_ = self->priv->_providers; result = _tmp0_; return result; } static void graph_model_set_providers (GraphModel* self, Providers* value) { Providers* _tmp0_; Providers* _tmp1_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_providers); self->priv->_providers = _tmp1_; g_object_notify ((GObject *) self, "providers"); } ExpressionCache* graph_model_get_minimum (GraphModel* self) { ExpressionCache* result; ExpressionCache* _tmp0_; g_return_val_if_fail (IS_GRAPH_MODEL (self), NULL); _tmp0_ = self->priv->_minimum; result = _tmp0_; return result; } static void graph_model_set_minimum (GraphModel* self, ExpressionCache* value) { ExpressionCache* _tmp0_; ExpressionCache* _tmp1_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_minimum); self->priv->_minimum = _tmp1_; g_object_notify ((GObject *) self, "minimum"); } ExpressionCache* graph_model_get_maximum (GraphModel* self) { ExpressionCache* result; ExpressionCache* _tmp0_; g_return_val_if_fail (IS_GRAPH_MODEL (self), NULL); _tmp0_ = self->priv->_maximum; result = _tmp0_; return result; } static void graph_model_set_maximum (GraphModel* self, ExpressionCache* value) { ExpressionCache* _tmp0_; ExpressionCache* _tmp1_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_maximum); self->priv->_maximum = _tmp1_; g_object_notify ((GObject *) self, "maximum"); } const gchar* graph_model_get_smooth (GraphModel* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (IS_GRAPH_MODEL (self), NULL); _tmp0_ = self->priv->_smooth; result = _tmp0_; return result; } void graph_model_set_smooth (GraphModel* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_smooth); self->priv->_smooth = _tmp1_; g_object_notify ((GObject *) self, "smooth"); } void graph_model_get_background_color (GraphModel* self, GdkColor* result) { GdkColor _tmp0_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = self->priv->_background_color; *result = _tmp0_; return; } void graph_model_set_background_color (GraphModel* self, GdkColor* value) { GdkColor _tmp0_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = *value; self->priv->_background_color = _tmp0_; g_object_notify ((GObject *) self, "background-color"); } guint graph_model_get_alpha (GraphModel* self) { guint result; guint _tmp0_; g_return_val_if_fail (IS_GRAPH_MODEL (self), 0U); _tmp0_ = self->priv->_alpha; result = _tmp0_; return result; } void graph_model_set_alpha (GraphModel* self, guint value) { guint _tmp0_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = value; self->priv->_alpha = _tmp0_; g_object_notify ((GObject *) self, "alpha"); } gboolean graph_model_get_enabled (GraphModel* self) { gboolean result; gboolean _tmp0_; g_return_val_if_fail (IS_GRAPH_MODEL (self), FALSE); _tmp0_ = self->priv->_enabled; result = _tmp0_; return result; } void graph_model_set_enabled (GraphModel* self, gboolean value) { gboolean _tmp0_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = value; self->priv->_enabled = _tmp0_; g_object_notify ((GObject *) self, "enabled"); } gchar** graph_model_get_traces (GraphModel* self, int* result_length1) { gchar** result; gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_GRAPH_MODEL (self), NULL); _tmp0_ = self->priv->_traces; _tmp0__length1 = self->priv->_traces_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static gchar** _vala_array_dup8 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } void graph_model_set_traces (GraphModel* self, gchar** value, int value_length1) { gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup8 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_traces = (_vala_array_free (self->priv->_traces, self->priv->_traces_length1, (GDestroyNotify) g_free), NULL); self->priv->_traces = _tmp1_; self->priv->_traces_length1 = _tmp1__length1; self->priv->__traces_size_ = self->priv->_traces_length1; g_object_notify ((GObject *) self, "traces"); } gdouble graph_model_get_scale (GraphModel* self) { gdouble result; gdouble _tmp0_; g_return_val_if_fail (IS_GRAPH_MODEL (self), 0.0); _tmp0_ = self->priv->_scale; result = _tmp0_; return result; } static void graph_model_set_scale (GraphModel* self, gdouble value) { gdouble _tmp0_; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = value; self->priv->_scale = _tmp0_; g_object_notify ((GObject *) self, "scale"); } TraceModel** graph_model_get_tracemodels (GraphModel* self, int* result_length1) { TraceModel** result; TraceModel** _tmp0_; gint _tmp0__length1; TraceModel** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_GRAPH_MODEL (self), NULL); _tmp0_ = self->priv->_tracemodels; _tmp0__length1 = self->priv->_tracemodels_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static TraceModel** _vala_array_dup9 (TraceModel** self, int length) { TraceModel** result; int i; result = g_new0 (TraceModel*, length + 1); for (i = 0; i < length; i++) { TraceModel* _tmp0_; _tmp0_ = _g_object_ref0 (self[i]); result[i] = _tmp0_; } return result; } static void graph_model_set_tracemodels (GraphModel* self, TraceModel** value, int value_length1) { TraceModel** _tmp0_; gint _tmp0__length1; TraceModel** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_GRAPH_MODEL (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup9 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_tracemodels = (_vala_array_free (self->priv->_tracemodels, self->priv->_tracemodels_length1, (GDestroyNotify) g_object_unref), NULL); self->priv->_tracemodels = _tmp1_; self->priv->_tracemodels_length1 = _tmp1__length1; self->priv->__tracemodels_size_ = self->priv->_tracemodels_length1; } static guint64 uint64_parse (const gchar* str) { guint64 result = 0ULL; const gchar* _tmp0_; guint64 _tmp1_ = 0ULL; g_return_val_if_fail (str != NULL, 0ULL); _tmp0_ = str; _tmp1_ = g_ascii_strtoull (_tmp0_, NULL, (guint) 0); result = _tmp1_; return result; } static void _graph_model___lambda0_ (GraphModel* self) { const gchar* _tmp0_; guint64 _tmp1_ = 0ULL; _tmp0_ = self->priv->_smooth; _tmp1_ = uint64_parse (_tmp0_); self->priv->smoothvalue = (guint) _tmp1_; self->priv->scalerhistory = (g_free (self->priv->scalerhistory), NULL); self->priv->scalerhistory = NULL; self->priv->scalerhistory_length1 = 0; self->priv->_scalerhistory_size_ = self->priv->scalerhistory_length1; } static void __graph_model___lambda0__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) { _graph_model___lambda0_ (self); } static void _vala_array_add10 (TraceModel*** array, int* length, int* size, TraceModel* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (TraceModel*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static TraceModel** _vala_array_dup10 (TraceModel** self, int length) { TraceModel** result; int i; result = g_new0 (TraceModel*, length + 1); for (i = 0; i < length; i++) { TraceModel* _tmp0_; _tmp0_ = _g_object_ref0 (self[i]); result[i] = _tmp0_; } return result; } static void _graph_model___lambda1_ (GraphModel* self) { TraceModel** _tmp5_; gint _tmp5__length1; gchar** _tmp6_; gint _tmp6__length1; TraceModel** _tmp7_; gint _tmp7__length1; while (TRUE) { TraceModel** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; TraceModel** _tmp2_; gint _tmp2__length1; Providers* _tmp3_; TraceModel* _tmp4_; _tmp0_ = self->priv->_tracemodels; _tmp0__length1 = self->priv->_tracemodels_length1; _tmp1_ = self->priv->_traces; _tmp1__length1 = self->priv->_traces_length1; if (!(_tmp0__length1 < _tmp1__length1)) { break; } _tmp2_ = self->priv->_tracemodels; _tmp2__length1 = self->priv->_tracemodels_length1; _tmp3_ = self->priv->_providers; _tmp4_ = trace_model_new (_tmp3_); _vala_array_add10 (&self->priv->_tracemodels, &self->priv->_tracemodels_length1, &self->priv->__tracemodels_size_, _tmp4_); } _tmp5_ = self->priv->_tracemodels; _tmp5__length1 = self->priv->_tracemodels_length1; _tmp6_ = self->priv->_traces; _tmp6__length1 = self->priv->_traces_length1; _tmp7_ = ((_tmp5_ + 0) != NULL) ? _vala_array_dup10 (_tmp5_ + 0, _tmp6__length1 - 0) : ((gpointer) (_tmp5_ + 0)); _tmp7__length1 = _tmp6__length1 - 0; self->priv->_tracemodels = (_vala_array_free (self->priv->_tracemodels, self->priv->_tracemodels_length1, (GDestroyNotify) g_object_unref), NULL); self->priv->_tracemodels = _tmp7_; self->priv->_tracemodels_length1 = _tmp7__length1; self->priv->__tracemodels_size_ = self->priv->_tracemodels_length1; } static void __graph_model___lambda1__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) { _graph_model___lambda1_ (self); } static GObject * graph_model_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; GraphModel * self; parent_class = G_OBJECT_CLASS (graph_model_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = GRAPH_MODEL (obj); g_signal_connect_object (G_OBJECT (self), "notify::smooth", (GCallback) __graph_model___lambda0__g_object_notify, self, 0); g_signal_connect_object (G_OBJECT (self), "notify::traces", (GCallback) __graph_model___lambda1__g_object_notify, self, 0); return obj; } static void graph_model_class_init (GraphModelClass * klass) { graph_model_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (GraphModelPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_graph_model_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_graph_model_set_property; G_OBJECT_CLASS (klass)->constructor = graph_model_constructor; G_OBJECT_CLASS (klass)->finalize = graph_model_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODEL_ID, g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODEL_PROVIDERS, g_param_spec_object ("providers", "providers", "providers", TYPE_PROVIDERS, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODEL_MINIMUM, g_param_spec_object ("minimum", "minimum", "minimum", TYPE_EXPRESSION_CACHE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODEL_MAXIMUM, g_param_spec_object ("maximum", "maximum", "maximum", TYPE_EXPRESSION_CACHE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODEL_SMOOTH, g_param_spec_string ("smooth", "smooth", "smooth", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODEL_BACKGROUND_COLOR, g_param_spec_boxed ("background-color", "background-color", "background-color", GDK_TYPE_COLOR, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODEL_ALPHA, g_param_spec_uint ("alpha", "alpha", "alpha", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODEL_ENABLED, g_param_spec_boolean ("enabled", "enabled", "enabled", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODEL_TRACES, g_param_spec_boxed ("traces", "traces", "traces", G_TYPE_STRV, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODEL_SCALE, g_param_spec_double ("scale", "scale", "scale", -G_MAXDOUBLE, G_MAXDOUBLE, (gdouble) 1, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); } static void graph_model_instance_init (GraphModel * self) { self->priv = GRAPH_MODEL_GET_PRIVATE (self); self->priv->_scale = (gdouble) 1; } static void graph_model_finalize (GObject* obj) { GraphModel * self; self = GRAPH_MODEL (obj); self->priv->scalerhistory = (g_free (self->priv->scalerhistory), NULL); _g_free0 (self->priv->_id); _g_object_unref0 (self->priv->_providers); _g_object_unref0 (self->priv->_minimum); _g_object_unref0 (self->priv->_maximum); _g_free0 (self->priv->_smooth); self->priv->_traces = (_vala_array_free (self->priv->_traces, self->priv->_traces_length1, (GDestroyNotify) g_free), NULL); self->priv->_tracemodels = (_vala_array_free (self->priv->_tracemodels, self->priv->_tracemodels_length1, (GDestroyNotify) g_object_unref), NULL); G_OBJECT_CLASS (graph_model_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType graph_model_get_type (void) { static volatile gsize graph_model_type_id__volatile = 0; if (g_once_init_enter (&graph_model_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (GraphModelClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) graph_model_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GraphModel), 0, (GInstanceInitFunc) graph_model_instance_init, NULL }; GType graph_model_type_id; graph_model_type_id = g_type_register_static (G_TYPE_OBJECT, "GraphModel", &g_define_type_info, 0); g_once_init_leave (&graph_model_type_id__volatile, graph_model_type_id); } return graph_model_type_id__volatile; } static void _vala_graph_model_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { GraphModel * self; self = GRAPH_MODEL (object); switch (property_id) { case GRAPH_MODEL_ID: g_value_set_string (value, graph_model_get_id (self)); break; case GRAPH_MODEL_PROVIDERS: g_value_set_object (value, graph_model_get_providers (self)); break; case GRAPH_MODEL_MINIMUM: g_value_set_object (value, graph_model_get_minimum (self)); break; case GRAPH_MODEL_MAXIMUM: g_value_set_object (value, graph_model_get_maximum (self)); break; case GRAPH_MODEL_SMOOTH: g_value_set_string (value, graph_model_get_smooth (self)); break; case GRAPH_MODEL_BACKGROUND_COLOR: { GdkColor boxed; graph_model_get_background_color (self, &boxed); g_value_set_boxed (value, &boxed); } break; case GRAPH_MODEL_ALPHA: g_value_set_uint (value, graph_model_get_alpha (self)); break; case GRAPH_MODEL_ENABLED: g_value_set_boolean (value, graph_model_get_enabled (self)); break; case GRAPH_MODEL_TRACES: { int length; g_value_set_boxed (value, graph_model_get_traces (self, &length)); } break; case GRAPH_MODEL_SCALE: g_value_set_double (value, graph_model_get_scale (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_graph_model_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { GraphModel * self; self = GRAPH_MODEL (object); switch (property_id) { case GRAPH_MODEL_ID: graph_model_set_id (self, g_value_get_string (value)); break; case GRAPH_MODEL_PROVIDERS: graph_model_set_providers (self, g_value_get_object (value)); break; case GRAPH_MODEL_MINIMUM: graph_model_set_minimum (self, g_value_get_object (value)); break; case GRAPH_MODEL_MAXIMUM: graph_model_set_maximum (self, g_value_get_object (value)); break; case GRAPH_MODEL_SMOOTH: graph_model_set_smooth (self, g_value_get_string (value)); break; case GRAPH_MODEL_BACKGROUND_COLOR: graph_model_set_background_color (self, g_value_get_boxed (value)); break; case GRAPH_MODEL_ALPHA: graph_model_set_alpha (self, g_value_get_uint (value)); break; case GRAPH_MODEL_ENABLED: graph_model_set_enabled (self, g_value_get_boolean (value)); break; case GRAPH_MODEL_TRACES: { gpointer boxed; boxed = g_value_get_boxed (value); graph_model_set_traces (self, boxed, g_strv_length (boxed)); } break; case GRAPH_MODEL_SCALE: graph_model_set_scale (self, g_value_get_double (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/reaper.c0000664000175000017500000003161212107670273014464 00000000000000/* reaper.c generated by valac 0.14.2, the Vala compiler * generated from reaper.vala, do not modify */ #include #include #include #include #include #include #include #define TYPE_REAPER (reaper_get_type ()) #define REAPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_REAPER, Reaper)) #define REAPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_REAPER, ReaperClass)) #define IS_REAPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_REAPER)) #define IS_REAPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_REAPER)) #define REAPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_REAPER, ReaperClass)) typedef struct _Reaper Reaper; typedef struct _ReaperClass ReaperClass; typedef struct _ReaperPrivate ReaperPrivate; #define _g_source_unref0(var) ((var == NULL) ? NULL : (var = (g_source_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) struct _Reaper { GObject parent_instance; ReaperPrivate * priv; }; struct _ReaperClass { GObjectClass parent_class; }; struct _ReaperPrivate { gchar** _args; gint _args_length1; gint __args_size_; GSource* _timeout; }; static gpointer reaper_parent_class = NULL; GType reaper_get_type (void) G_GNUC_CONST; #define REAPER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_REAPER, ReaperPrivate)) enum { REAPER_DUMMY_PROPERTY, REAPER_ARGS, REAPER_TIMEOUT }; Reaper* reaper_new (gchar** args, int args_length1); Reaper* reaper_construct (GType object_type, gchar** args, int args_length1); gchar** reaper_get_args (Reaper* self, int* result_length1); static void reaper_set_args (Reaper* self, gchar** value, int value_length1); static gchar** _vala_array_dup23 (gchar** self, int length); GSource* reaper_get_timeout (Reaper* self); static void reaper_set_timeout (Reaper* self, GSource* value); static GObject * reaper_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static gboolean _reaper___lambda12_ (Reaper* self); static gboolean __reaper___lambda12__gsource_func (gpointer self); static void reaper_finalize (GObject* obj); static void _vala_reaper_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_reaper_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); Reaper* reaper_construct (GType object_type, gchar** args, int args_length1) { Reaper * self = NULL; gchar** _tmp0_; gint _tmp0__length1; GSource* _tmp1_; GSource* _tmp2_; _tmp0_ = args; _tmp0__length1 = args_length1; _tmp1_ = g_timeout_source_new ((guint) (60 * 1000)); _tmp2_ = _tmp1_; self = (Reaper*) g_object_new (object_type, "args", _tmp0_, "timeout", _tmp2_, NULL); _g_source_unref0 (_tmp2_); return self; } Reaper* reaper_new (gchar** args, int args_length1) { return reaper_construct (TYPE_REAPER, args, args_length1); } gchar** reaper_get_args (Reaper* self, int* result_length1) { gchar** result; gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_REAPER (self), NULL); _tmp0_ = self->priv->_args; _tmp0__length1 = self->priv->_args_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static gchar** _vala_array_dup23 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } static void reaper_set_args (Reaper* self, gchar** value, int value_length1) { gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_REAPER (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup23 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_args = (_vala_array_free (self->priv->_args, self->priv->_args_length1, (GDestroyNotify) g_free), NULL); self->priv->_args = _tmp1_; self->priv->_args_length1 = _tmp1__length1; self->priv->__args_size_ = self->priv->_args_length1; g_object_notify ((GObject *) self, "args"); } GSource* reaper_get_timeout (Reaper* self) { GSource* result; GSource* _tmp0_; g_return_val_if_fail (IS_REAPER (self), NULL); _tmp0_ = self->priv->_timeout; result = _tmp0_; return result; } static gpointer _g_source_ref0 (gpointer self) { return self ? g_source_ref (self) : NULL; } static void reaper_set_timeout (Reaper* self, GSource* value) { GSource* _tmp0_; GSource* _tmp1_; g_return_if_fail (IS_REAPER (self)); _tmp0_ = value; _tmp1_ = _g_source_ref0 (_tmp0_); _g_source_unref0 (self->priv->_timeout); self->priv->_timeout = _tmp1_; g_object_notify ((GObject *) self, "timeout"); } static gboolean _reaper___lambda12_ (Reaper* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gchar* status = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_; gchar** _tmp2_; gchar** _tmp3_ = NULL; gchar** _tmp4_; gint _tmp4__length1; const gchar* _tmp5_; glong _tmp6_ = 0L; glong _tmp7_; glong pages; glong _tmp8_ = 0L; glong pagesize; glong _tmp9_; glong _tmp10_; g_file_get_contents ("/proc/self/statm", &_tmp0_, NULL, &_inner_error_); _g_free0 (status); status = _tmp0_; if (_inner_error_ != NULL) { _g_free0 (status); goto __catch12_g_error; } _tmp1_ = status; _tmp3_ = _tmp2_ = g_strsplit (_tmp1_, " ", 0); _tmp4_ = _tmp3_; _tmp4__length1 = _vala_array_length (_tmp2_); _tmp5_ = _tmp4_[1]; _tmp6_ = atol (_tmp5_); _tmp7_ = _tmp6_; _tmp4_ = (_vala_array_free (_tmp4_, _tmp4__length1, (GDestroyNotify) g_free), NULL); pages = _tmp7_; _tmp8_ = sysconf (_SC_PAGESIZE); pagesize = _tmp8_; _tmp9_ = pagesize; _tmp10_ = pages; if ((_tmp9_ * _tmp10_) > ((glong) ((50 * 1000) * 1000))) { gchar** _tmp11_; gint _tmp11__length1; gchar** _tmp12_; gint _tmp12__length1; const gchar* _tmp13_; gchar** _tmp14_; gint _tmp14__length1; gchar** _tmp15_; gint _tmp15__length1; _tmp11_ = reaper_get_args (self, &_tmp11__length1); _tmp12_ = _tmp11_; _tmp12__length1 = _tmp11__length1; _tmp13_ = _tmp12_[0]; _tmp14_ = reaper_get_args (self, &_tmp14__length1); _tmp15_ = _tmp14_; _tmp15__length1 = _tmp14__length1; execvp (_tmp13_, _tmp15_); } _g_free0 (status); } goto __finally12; __catch12_g_error: { GError* e = NULL; FILE* _tmp16_; GError* _tmp17_; const gchar* _tmp18_; e = _inner_error_; _inner_error_ = NULL; _tmp16_ = stderr; _tmp17_ = e; _tmp18_ = _tmp17_->message; fprintf (_tmp16_, "Could not determine memory use: %s\n", _tmp18_); _g_error_free0 (e); } __finally12: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } result = TRUE; return result; } static gboolean __reaper___lambda12__gsource_func (gpointer self) { gboolean result; result = _reaper___lambda12_ (self); return result; } static GObject * reaper_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; Reaper * self; GSource* _tmp0_; GSource* _tmp1_; parent_class = G_OBJECT_CLASS (reaper_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = REAPER (obj); _tmp0_ = self->priv->_timeout; g_source_attach (_tmp0_, NULL); _tmp1_ = self->priv->_timeout; g_source_set_callback (_tmp1_, __reaper___lambda12__gsource_func, g_object_ref (self), g_object_unref); return obj; } static void reaper_class_init (ReaperClass * klass) { reaper_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (ReaperPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_reaper_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_reaper_set_property; G_OBJECT_CLASS (klass)->constructor = reaper_constructor; G_OBJECT_CLASS (klass)->finalize = reaper_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), REAPER_ARGS, g_param_spec_boxed ("args", "args", "args", G_TYPE_STRV, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), REAPER_TIMEOUT, g_param_spec_pointer ("timeout", "timeout", "timeout", G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); } static void reaper_instance_init (Reaper * self) { self->priv = REAPER_GET_PRIVATE (self); } static void reaper_finalize (GObject* obj) { Reaper * self; self = REAPER (obj); self->priv->_args = (_vala_array_free (self->priv->_args, self->priv->_args_length1, (GDestroyNotify) g_free), NULL); _g_source_unref0 (self->priv->_timeout); G_OBJECT_CLASS (reaper_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2013 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType reaper_get_type (void) { static volatile gsize reaper_type_id__volatile = 0; if (g_once_init_enter (&reaper_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (ReaperClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) reaper_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Reaper), 0, (GInstanceInitFunc) reaper_instance_init, NULL }; GType reaper_type_id; reaper_type_id = g_type_register_static (G_TYPE_OBJECT, "Reaper", &g_define_type_info, 0); g_once_init_leave (&reaper_type_id__volatile, reaper_type_id); } return reaper_type_id__volatile; } static void _vala_reaper_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { Reaper * self; self = REAPER (object); switch (property_id) { case REAPER_ARGS: { int length; g_value_set_boxed (value, reaper_get_args (self, &length)); } break; case REAPER_TIMEOUT: g_value_set_pointer (value, reaper_get_timeout (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_reaper_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { Reaper * self; self = REAPER (object); switch (property_id) { case REAPER_ARGS: { gpointer boxed; boxed = g_value_get_boxed (value); reaper_set_args (self, boxed, g_strv_length (boxed)); } break; case REAPER_TIMEOUT: reaper_set_timeout (self, g_value_get_pointer (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; } indicator-multiload-0.3/src/various.vapi0000664000175000017500000000057712107670161015415 00000000000000[CCode (cname="g_get_monotonic_time", cheader_filename = "glib.h")] uint64 get_monotonic_time(); [CCode (cname = "g_strndup", cheader_filename = "glib.h")] static string strndup(char* str, size_t n); // this is in vala git, but not in vala <= 0.16 [CCode (cheader_filename = "unistd.h")] int execvp (string path, [CCode (array_length = false, null_terminated = true)] string[] arg); indicator-multiload-0.3/src/Makefile.in0000664000175000017500000006426612107670261015117 00000000000000# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = indicator-multiload$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ cpuprovider.c diskprovider.c expressionparser.c function.c \ graphmodel.c graphmodels.c indicator_multiload_vala.stamp \ itempreferences.c loadprovider.c main.c memprovider.c \ menumodel.c multiloadindicator.c netprovider.c preferences.c \ provider.c providers.c reaper.c settingscache.c \ settingsconversion.c swapprovider.c tracemodel.c utils.c 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 = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am__objects_1 = cpuprovider.$(OBJEXT) diskprovider.$(OBJEXT) \ expressionparser.$(OBJEXT) function.$(OBJEXT) \ graphmodels.$(OBJEXT) graphmodel.$(OBJEXT) \ itempreferences.$(OBJEXT) loadprovider.$(OBJEXT) \ main.$(OBJEXT) memprovider.$(OBJEXT) menumodel.$(OBJEXT) \ multiloadindicator.$(OBJEXT) netprovider.$(OBJEXT) \ preferences.$(OBJEXT) providers.$(OBJEXT) provider.$(OBJEXT) \ reaper.$(OBJEXT) settingscache.$(OBJEXT) \ settingsconversion.$(OBJEXT) swapprovider.$(OBJEXT) \ tracemodel.$(OBJEXT) utils.$(OBJEXT) am_indicator_multiload_OBJECTS = $(am__objects_1) indicator_multiload_OBJECTS = $(am_indicator_multiload_OBJECTS) am__DEPENDENCIES_1 = indicator_multiload_DEPENDENCIES = $(am__DEPENDENCIES_1) indicator_multiload_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(indicator_multiload_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; VALACOMPILE = $(VALAC) $(AM_VALAFLAGS) $(VALAFLAGS) AM_V_VALAC = $(am__v_VALAC_@AM_V@) am__v_VALAC_ = $(am__v_VALAC_@AM_DEFAULT_V@) am__v_VALAC_0 = @echo " VALAC " $@; AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; SOURCES = $(indicator_multiload_SOURCES) DIST_SOURCES = $(indicator_multiload_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ MULTILOADDEPS_CFLAGS = @MULTILOADDEPS_CFLAGS@ MULTILOADDEPS_LIBS = @MULTILOADDEPS_LIBS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALAC = @VALAC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gsettingsschemadir = @gsettingsschemadir@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CPPFLAGS = \ -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \ -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \ $(MULTILOADDEPS_CFLAGS) \ -include $(CONFIG_HEADER) AM_CFLAGS = -Wall -g VALAFLAGS = \ --pkg=posix \ --pkg=gtk+-3.0 \ --pkg=cairo \ --pkg=appindicator3-0.1 \ --pkg=glib-2.0 \ --pkg=gio-unix-2.0 \ --pkg=gmodule-2.0 \ --enable-checking indicator_multiload_VALASOURCES = \ cpuprovider.vala \ diskprovider.vala \ expressionparser.vala \ function.vala \ graphmodels.vala \ graphmodel.vala \ itempreferences.vala \ loadprovider.vala \ main.vala \ memprovider.vala \ menumodel.vala \ multiloadindicator.vala \ netprovider.vala \ preferences.vala \ providers.vala \ provider.vala \ reaper.vala \ settingscache.vala \ settingsconversion.vala \ swapprovider.vala \ tracemodel.vala \ utils.vala indicator_multiload_SOURCES = \ $(indicator_multiload_VALASOURCES) \ config.vapi \ gsettings-fixed.vapi \ gtop.vapi \ various.vapi indicator_multiload_LDFLAGS = \ -Wl,--export-dynamic -Wl,--as-needed indicator_multiload_LDADD = $(MULTILOADDEPS_LIBS) -lm DISTCLEANFILES = \ $(indicator_multiload_VALASOURCES:.vala=.c) indicator_multiload_vala.stamp all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign 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: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p; \ then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) indicator-multiload$(EXEEXT): $(indicator_multiload_OBJECTS) $(indicator_multiload_DEPENDENCIES) $(EXTRA_indicator_multiload_DEPENDENCIES) @rm -f indicator-multiload$(EXEEXT) $(AM_V_CCLD)$(indicator_multiload_LINK) $(indicator_multiload_OBJECTS) $(indicator_multiload_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpuprovider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/diskprovider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expressionparser.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/function.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/graphmodel.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/graphmodels.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/itempreferences.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/loadprovider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memprovider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menumodel.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multiloadindicator.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/netprovider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preferences.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/providers.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reaper.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/settingscache.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/settingsconversion.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/swapprovider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tracemodel.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utils.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` $(srcdir)/cpuprovider.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/diskprovider.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/expressionparser.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/function.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/graphmodels.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/graphmodel.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/itempreferences.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/loadprovider.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/main.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/memprovider.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/menumodel.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/multiloadindicator.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/netprovider.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/preferences.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/providers.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/provider.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/reaper.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/settingscache.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/settingsconversion.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/swapprovider.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/tracemodel.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/utils.c: $(srcdir)/indicator_multiload_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/indicator_multiload_vala.stamp; fi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/indicator_multiload_vala.stamp; \ fi $(srcdir)/indicator_multiload_vala.stamp: $(indicator_multiload_SOURCES) $(AM_V_at)rm -f $@ && echo stamp > $@-t $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(AM_VALAFLAGS) $(VALAFLAGS) -C $(indicator_multiload_SOURCES) $(AM_V_at)mv -f $@-t $@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: 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: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -rm -f cpuprovider.c -rm -f diskprovider.c -rm -f expressionparser.c -rm -f function.c -rm -f graphmodel.c -rm -f graphmodels.c -rm -f indicator_multiload_vala.stamp -rm -f itempreferences.c -rm -f loadprovider.c -rm -f main.c -rm -f memprovider.c -rm -f menumodel.c -rm -f multiloadindicator.c -rm -f netprovider.c -rm -f preferences.c -rm -f provider.c -rm -f providers.c -rm -f reaper.c -rm -f settingscache.c -rm -f settingsconversion.c -rm -f swapprovider.c -rm -f tracemodel.c -rm -f utils.c 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 html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .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-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS # 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: indicator-multiload-0.3/src/cpuprovider.c0000664000175000017500000003006112107670272015544 00000000000000/* cpuprovider.c generated by valac 0.14.2, the Vala compiler * generated from cpuprovider.vala, do not modify */ #include #include #include #include #include #include #include #define TYPE_PROVIDER (provider_get_type ()) #define PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDER, Provider)) #define PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDER, ProviderClass)) #define IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDER)) #define IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDER)) #define PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDER, ProviderClass)) typedef struct _Provider Provider; typedef struct _ProviderClass ProviderClass; typedef struct _ProviderPrivate ProviderPrivate; #define TYPE_CPU_PROVIDER (cpu_provider_get_type ()) #define CPU_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CPU_PROVIDER, CpuProvider)) #define CPU_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CPU_PROVIDER, CpuProviderClass)) #define IS_CPU_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CPU_PROVIDER)) #define IS_CPU_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CPU_PROVIDER)) #define CPU_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CPU_PROVIDER, CpuProviderClass)) typedef struct _CpuProvider CpuProvider; typedef struct _CpuProviderClass CpuProviderClass; typedef struct _CpuProviderPrivate CpuProviderPrivate; struct _Provider { GObject parent_instance; ProviderPrivate * priv; }; struct _ProviderClass { GObjectClass parent_class; void (*update) (Provider* self); }; struct _CpuProvider { Provider parent_instance; CpuProviderPrivate * priv; }; struct _CpuProviderClass { ProviderClass parent_class; }; struct _CpuProviderPrivate { guint64* lastdata; gint lastdata_length1; gint _lastdata_size_; }; static gpointer cpu_provider_parent_class = NULL; GType provider_get_type (void) G_GNUC_CONST; GType cpu_provider_get_type (void) G_GNUC_CONST; #define CPU_PROVIDER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_CPU_PROVIDER, CpuProviderPrivate)) enum { CPU_PROVIDER_DUMMY_PROPERTY }; CpuProvider* cpu_provider_new (void); CpuProvider* cpu_provider_construct (GType object_type); Provider* provider_construct (GType object_type, const gchar* id, gchar** keys, int keys_length1); static void cpu_provider_real_update (Provider* base); gdouble* provider_get_values (Provider* self, int* result_length1); static guint64* _vala_array_dup1 (guint64* self, int length); static void cpu_provider_finalize (GObject* obj); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); CpuProvider* cpu_provider_construct (GType object_type) { CpuProvider * self = NULL; gchar* _tmp0_; gchar* _tmp1_; gchar* _tmp2_; gchar* _tmp3_; gchar* _tmp4_; gchar* _tmp5_; gchar** _tmp6_ = NULL; gchar** _tmp7_; gint _tmp7__length1; _tmp0_ = g_strdup ("user"); _tmp1_ = g_strdup ("sys"); _tmp2_ = g_strdup ("nice"); _tmp3_ = g_strdup ("idle"); _tmp4_ = g_strdup ("io"); _tmp5_ = g_strdup ("inuse"); _tmp6_ = g_new0 (gchar*, 6 + 1); _tmp6_[0] = _tmp0_; _tmp6_[1] = _tmp1_; _tmp6_[2] = _tmp2_; _tmp6_[3] = _tmp3_; _tmp6_[4] = _tmp4_; _tmp6_[5] = _tmp5_; _tmp7_ = _tmp6_; _tmp7__length1 = 6; self = (CpuProvider*) provider_construct (object_type, "cpu", _tmp7_, 6); _tmp7_ = (_vala_array_free (_tmp7_, _tmp7__length1, (GDestroyNotify) g_free), NULL); return self; } CpuProvider* cpu_provider_new (void) { return cpu_provider_construct (TYPE_CPU_PROVIDER); } static guint64* _vala_array_dup1 (guint64* self, int length) { return g_memdup (self, length * sizeof (guint64)); } static void cpu_provider_real_update (Provider* base) { CpuProvider * self; glibtop_cpu cpu = {0}; glibtop_cpu _tmp0_ = {0}; guint64* _tmp1_ = NULL; guint64* newdata; gint newdata_length1; gint _newdata_size_; guint64* _tmp2_; gint _tmp2__length1; glibtop_cpu _tmp3_; guint64 _tmp4_; guint64 _tmp5_; guint64* _tmp6_; gint _tmp6__length1; glibtop_cpu _tmp7_; guint64 _tmp8_; guint64 _tmp9_; guint64* _tmp10_; gint _tmp10__length1; glibtop_cpu _tmp11_; guint64 _tmp12_; guint64 _tmp13_; guint64* _tmp14_; gint _tmp14__length1; glibtop_cpu _tmp15_; guint64 _tmp16_; guint64 _tmp17_; guint64* _tmp18_; gint _tmp18__length1; glibtop_cpu _tmp19_; guint64 _tmp20_; glibtop_cpu _tmp21_; guint64 _tmp22_; glibtop_cpu _tmp23_; guint64 _tmp24_; guint64 _tmp25_; guint64* _tmp26_; gint _tmp26__length1; glibtop_cpu _tmp27_; guint64 _tmp28_; glibtop_cpu _tmp29_; guint64 _tmp30_; glibtop_cpu _tmp31_; guint64 _tmp32_; guint64 _tmp33_; gdouble total; guint64* _tmp34_; gint _tmp34__length1; guint64* _tmp63_; gint _tmp63__length1; guint64* _tmp64_; gint _tmp64__length1; self = CPU_PROVIDER (base); glibtop_get_cpu (&_tmp0_); cpu = _tmp0_; _tmp1_ = g_new0 (guint64, 6); newdata = _tmp1_; newdata_length1 = 6; _newdata_size_ = newdata_length1; _tmp2_ = newdata; _tmp2__length1 = newdata_length1; _tmp3_ = cpu; _tmp4_ = _tmp3_.user; _tmp2_[0] = _tmp4_; _tmp5_ = _tmp2_[0]; _tmp6_ = newdata; _tmp6__length1 = newdata_length1; _tmp7_ = cpu; _tmp8_ = _tmp7_.sys; _tmp6_[1] = _tmp8_; _tmp9_ = _tmp6_[1]; _tmp10_ = newdata; _tmp10__length1 = newdata_length1; _tmp11_ = cpu; _tmp12_ = _tmp11_.nice; _tmp10_[2] = _tmp12_; _tmp13_ = _tmp10_[2]; _tmp14_ = newdata; _tmp14__length1 = newdata_length1; _tmp15_ = cpu; _tmp16_ = _tmp15_.idle; _tmp14_[3] = _tmp16_; _tmp17_ = _tmp14_[3]; _tmp18_ = newdata; _tmp18__length1 = newdata_length1; _tmp19_ = cpu; _tmp20_ = _tmp19_.iowait; _tmp21_ = cpu; _tmp22_ = _tmp21_.irq; _tmp23_ = cpu; _tmp24_ = _tmp23_.softirq; _tmp18_[4] = (_tmp20_ + _tmp22_) + _tmp24_; _tmp25_ = _tmp18_[4]; _tmp26_ = newdata; _tmp26__length1 = newdata_length1; _tmp27_ = cpu; _tmp28_ = _tmp27_.user; _tmp29_ = cpu; _tmp30_ = _tmp29_.nice; _tmp31_ = cpu; _tmp32_ = _tmp31_.sys; _tmp26_[5] = (_tmp28_ + _tmp30_) + _tmp32_; _tmp33_ = _tmp26_[5]; total = (gdouble) 0; _tmp34_ = self->priv->lastdata; _tmp34__length1 = self->priv->lastdata_length1; if (_tmp34__length1 != 0) { { guint i; i = (guint) 0; { gboolean _tmp35_; _tmp35_ = TRUE; while (TRUE) { gboolean _tmp36_; guint _tmp38_; gdouble _tmp39_; guint64* _tmp40_; gint _tmp40__length1; guint _tmp41_; guint64 _tmp42_; guint64* _tmp43_; gint _tmp43__length1; guint _tmp44_; guint64 _tmp45_; _tmp36_ = _tmp35_; if (!_tmp36_) { guint _tmp37_; _tmp37_ = i; i = _tmp37_ + 1; } _tmp35_ = FALSE; _tmp38_ = i; if (!(_tmp38_ < ((guint) 5))) { break; } _tmp39_ = total; _tmp40_ = newdata; _tmp40__length1 = newdata_length1; _tmp41_ = i; _tmp42_ = _tmp40_[_tmp41_]; _tmp43_ = self->priv->lastdata; _tmp43__length1 = self->priv->lastdata_length1; _tmp44_ = i; _tmp45_ = _tmp43_[_tmp44_]; total = _tmp39_ + (_tmp42_ - _tmp45_); } } } { guint i; guint64* _tmp46_; gint _tmp46__length1; guint isize; i = (guint) 0; _tmp46_ = newdata; _tmp46__length1 = newdata_length1; isize = (guint) _tmp46__length1; { gboolean _tmp47_; _tmp47_ = TRUE; while (TRUE) { gboolean _tmp48_; guint _tmp50_; guint _tmp51_; gdouble* _tmp52_; gint _tmp52__length1; gdouble* _tmp53_; gint _tmp53__length1; guint _tmp54_; guint64* _tmp55_; gint _tmp55__length1; guint _tmp56_; guint64 _tmp57_; guint64* _tmp58_; gint _tmp58__length1; guint _tmp59_; guint64 _tmp60_; gdouble _tmp61_; gdouble _tmp62_; _tmp48_ = _tmp47_; if (!_tmp48_) { guint _tmp49_; _tmp49_ = i; i = _tmp49_ + 1; } _tmp47_ = FALSE; _tmp50_ = i; _tmp51_ = isize; if (!(_tmp50_ < _tmp51_)) { break; } _tmp52_ = provider_get_values (PROVIDER (self), &_tmp52__length1); _tmp53_ = _tmp52_; _tmp53__length1 = _tmp52__length1; _tmp54_ = i; _tmp55_ = newdata; _tmp55__length1 = newdata_length1; _tmp56_ = i; _tmp57_ = _tmp55_[_tmp56_]; _tmp58_ = self->priv->lastdata; _tmp58__length1 = self->priv->lastdata_length1; _tmp59_ = i; _tmp60_ = _tmp58_[_tmp59_]; _tmp61_ = total; _tmp53_[_tmp54_] = (_tmp57_ - _tmp60_) / _tmp61_; _tmp62_ = _tmp53_[_tmp54_]; } } } } _tmp63_ = newdata; _tmp63__length1 = newdata_length1; _tmp64_ = (_tmp63_ != NULL) ? _vala_array_dup1 (_tmp63_, _tmp63__length1) : ((gpointer) _tmp63_); _tmp64__length1 = _tmp63__length1; self->priv->lastdata = (g_free (self->priv->lastdata), NULL); self->priv->lastdata = _tmp64_; self->priv->lastdata_length1 = _tmp64__length1; self->priv->_lastdata_size_ = self->priv->lastdata_length1; newdata = (g_free (newdata), NULL); } static void cpu_provider_class_init (CpuProviderClass * klass) { cpu_provider_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (CpuProviderPrivate)); PROVIDER_CLASS (klass)->update = cpu_provider_real_update; G_OBJECT_CLASS (klass)->finalize = cpu_provider_finalize; } static void cpu_provider_instance_init (CpuProvider * self) { self->priv = CPU_PROVIDER_GET_PRIVATE (self); } static void cpu_provider_finalize (GObject* obj) { CpuProvider * self; self = CPU_PROVIDER (obj); self->priv->lastdata = (g_free (self->priv->lastdata), NULL); G_OBJECT_CLASS (cpu_provider_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType cpu_provider_get_type (void) { static volatile gsize cpu_provider_type_id__volatile = 0; if (g_once_init_enter (&cpu_provider_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (CpuProviderClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) cpu_provider_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (CpuProvider), 0, (GInstanceInitFunc) cpu_provider_instance_init, NULL }; GType cpu_provider_type_id; cpu_provider_type_id = g_type_register_static (TYPE_PROVIDER, "CpuProvider", &g_define_type_info, 0); g_once_init_leave (&cpu_provider_type_id__volatile, cpu_provider_type_id); } return cpu_provider_type_id__volatile; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/config.vapi0000664000175000017500000000055312107670161015164 00000000000000[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")] namespace Config { public const string GETTEXT_PACKAGE; public const string PACKAGE_DATA_DIR; public const string PACKAGE_LOCALE_DIR; public const string PACKAGE_NAME; public const string PACKAGE_VERSION; public const string VERSION; } indicator-multiload-0.3/src/preferences.vala0000664000175000017500000001100012107670161016171 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class Preferences : Object { private Gtk.Dialog preferences; private ItemPreferences menupreferences; private ItemPreferences indicatorpreferences; construct { this.menupreferences = new ItemPreferences("menu-expressions"); this.indicatorpreferences = new ItemPreferences("indicator-expressions"); } public void show() { if (this.preferences != null) { this.preferences.present(); return; } Gtk.Builder builder; this.preferences = Utils.get_ui("preferencesdialog", this, {"widthadjustment", "speedadjustment"}, out builder) as Gtk.Dialog; return_if_fail(this.preferences != null); var settingscache = new SettingsCache(); var prefsettings = settingscache.generalsettings(); var graphids = prefsettings.get_strv("graphs"); foreach (var graphid in graphids) { if (!(graphid in SettingsCache.presetgraphids)) continue; var graphsettings = settingscache.graphsettings(graphid); var traceids = graphsettings.get_strv("traces"); for (uint j = 0, jsize = traceids.length; j < jsize; ++j) { var traceid = traceids[j]; var tracesettings = settingscache.tracesettings(graphid, traceid); tracesettings.bind_with_mapping("color", builder.get_object(@"$(traceid)_color"), "color", SettingsBindFlags.DEFAULT, Utils.get_settings_color, Utils.set_settings_color, null, () => {}); } graphsettings.bind("enabled", builder.get_object(@"$(graphid)_enabled"), "active", SettingsBindFlags.DEFAULT); graphsettings.bind_with_mapping("background-color", builder.get_object(@"$(graphid)_background_color"), "color", SettingsBindFlags.DEFAULT, Utils.get_settings_color, Utils.set_settings_color, null, () => {}); graphsettings.bind("alpha", builder.get_object(@"$(graphid)_background_color"), "alpha", SettingsBindFlags.DEFAULT); } prefsettings.bind("width", builder.get_object("width"), "value", SettingsBindFlags.DEFAULT); prefsettings.bind("speed", builder.get_object("speed"), "value", SettingsBindFlags.DEFAULT); prefsettings.bind("autostart", builder.get_object("autostart"), "active", SettingsBindFlags.DEFAULT); this.preferences.show_all(); } [CCode (instance_pos = -1)] public void on_preferencesdialog_response(Gtk.Dialog source, int response) { switch (response) { case 1: this.menupreferences.show(); return; case 2: this.indicatorpreferences.show(); return; default: source.destroy(); return; } } [CCode (instance_pos = -1)] public void on_preferencesdialog_destroy(Gtk.Widget source) { this.preferences = null; } } indicator-multiload-0.3/src/settingsconversion.vala0000664000175000017500000002103712107670161017651 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class SettingsConversion : Object { SettingsCache settingscache = new SettingsCache(); public uint oldversion() { var settings = this.settingscache.generalsettings(); return settings.get_value("settings-version").get_uint32(); } public bool is_current() { return this.oldversion() == 2; } public void convert() { var settings = this.settingscache.generalsettings(); while (!this.is_current()) { switch (this.oldversion()) { case 1: this.convert_version1(); break; } settings.set_value("settings-version", this.oldversion() + 1); } } private void convert_version1() { var oldsettings = new FixedGSettings.Settings.with_path ("de.mh21.indicator.multiload.version1", "/apps/indicators/multiload/"); foreach (var key in oldsettings.list_keys()) { var value = oldsettings.get_value(key); oldsettings.reset(key); var defaultvalue = oldsettings.get_value(key); if (!value.equal(defaultvalue)) { // TODO: this is not converting between 1 and 2, but between 1 and current // no problem yet as we are only at settings version 2 switch (key) { case "cpuload-alpha4": this.settingscache.graphsettings("cpu").set_value("alpha", value); break; case "memload-alpha4": this.settingscache.graphsettings("mem").set_value("alpha", value); break; case "netload-alpha3": this.settingscache.graphsettings("net").set_value("alpha", value); break; case "swapload-alpha1": this.settingscache.graphsettings("swap").set_value("alpha", value); break; case "loadavg-alpha1": this.settingscache.graphsettings("load").set_value("alpha", value); break; case "diskload-alpha2": this.settingscache.graphsettings("disk").set_value("alpha", value); break; case "view-cpuload": this.settingscache.graphsettings("cpu").set_value("enabled", value); break; case "view-memload": this.settingscache.graphsettings("mem").set_value("enabled", value); break; case "view-netload": this.settingscache.graphsettings("net").set_value("enabled", value); break; case "view-swapload": this.settingscache.graphsettings("swap").set_value("enabled", value); break; case "view-loadavg": this.settingscache.graphsettings("load").set_value("enabled", value); break; case "view-diskload": this.settingscache.graphsettings("disk").set_value("enabled", value); break; case "cpuload-color0": this.settingscache.tracesettings("cpu", "cpu1").set_value("color", value); break; case "cpuload-color1": this.settingscache.tracesettings("cpu", "cpu2").set_value("color", value); break; case "cpuload-color2": this.settingscache.tracesettings("cpu", "cpu3").set_value("color", value); break; case "cpuload-color3": this.settingscache.tracesettings("cpu", "cpu4").set_value("color", value); break; case "cpuload-color4": this.settingscache.graphsettings("cpu").set_value("background-color", value); break; case "memload-color0": this.settingscache.tracesettings("mem", "mem1").set_value("color", value); break; case "memload-color1": this.settingscache.tracesettings("mem", "mem2").set_value("color", value); break; case "memload-color2": this.settingscache.tracesettings("mem", "mem3").set_value("color", value); break; case "memload-color3": this.settingscache.tracesettings("mem", "mem4").set_value("color", value); break; case "memload-color4": this.settingscache.graphsettings("mem").set_value("background-color", value); break; case "netload-color0": this.settingscache.tracesettings("net", "net1").set_value("color", value); break; case "netload-color1": this.settingscache.tracesettings("net", "net2").set_value("color", value); break; case "netload-color2": this.settingscache.tracesettings("net", "net3").set_value("color", value); break; case "netload-color3": this.settingscache.graphsettings("net").set_value("background-color", value); break; case "swapload-color0": this.settingscache.tracesettings("swap", "swap1").set_value("color", value); break; case "swapload-color1": this.settingscache.graphsettings("swap").set_value("background-color", value); break; case "loadavg-color0": this.settingscache.tracesettings("load", "load1").set_value("color", value); break; case "loadavg-color1": this.settingscache.graphsettings("load").set_value("background-color", value); break; case "diskload-color0": this.settingscache.tracesettings("disk", "disk1").set_value("color", value); break; case "diskload-color1": this.settingscache.tracesettings("disk", "disk2").set_value("color", value); break; case "diskload-color2": this.settingscache.graphsettings("disk").set_value("background-color", value); break; case "speed": this.settingscache.generalsettings().set_value("speed", value); break; case "size": this.settingscache.generalsettings().set_value("width", value); break; case "height": this.settingscache.generalsettings().set_value("height", value); break; case "system-monitor": this.settingscache.generalsettings().set_value("system-monitor", value); break; case "autostart": this.settingscache.generalsettings().set_value("autostart", value); break; } } } } } indicator-multiload-0.3/src/reaper.vala0000664000175000017500000000442612107670161015164 00000000000000/****************************************************************************** * Copyright (C) 2013 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class Reaper : Object { public string[] args { get; construct; } public TimeoutSource timeout { get; construct; } public Reaper(string[] args) { Object(args: args, timeout: new TimeoutSource(60 * 1000)); } construct { this.timeout.attach(null); this.timeout.set_callback(() => { try { string status; FileUtils.get_contents("/proc/self/statm", out status); var pages = long.parse(status.split(" ")[1]); var pagesize = Posix.sysconf(Posix._SC_PAGESIZE); // restart on RSS > 50 MB to contain memory leaks if (pagesize * pages > 50 * 1000 * 1000) { execvp(args[0], args); } } catch (Error e) { stderr.printf("Could not determine memory use: %s\n", e.message); } return true; }); } } indicator-multiload-0.3/src/indicator_multiload_vala.stamp0000664000175000017500000000000612107670271021130 00000000000000stamp indicator-multiload-0.3/src/menumodel.vala0000664000175000017500000000421712107670161015671 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class MenuModel : Object { private Providers providers; private ExpressionCache[] caches; public string[] expressions { get; set; } construct { this.notify["expressions"].connect(() => { this.caches = new ExpressionCache[this._expressions.length]; for (uint i = 0, isize = this.caches.length; i < isize; ++i) this.caches[i] = new ExpressionCache(this.providers, this._expressions[i]); }); } public MenuModel(Providers providers) { this.providers = providers; } public void update() { foreach (var cache in this.caches) cache.update(); } public ExpressionCache expression(uint index) requires(index < this.caches.length) { return this.caches[index]; } } indicator-multiload-0.3/src/graphmodels.c0000664000175000017500000003300312107670272015506 00000000000000/* graphmodels.c generated by valac 0.14.2, the Vala compiler * generated from graphmodels.vala, do not modify */ #include #include #include #include #define TYPE_GRAPH_MODELS (graph_models_get_type ()) #define GRAPH_MODELS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GRAPH_MODELS, GraphModels)) #define GRAPH_MODELS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GRAPH_MODELS, GraphModelsClass)) #define IS_GRAPH_MODELS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GRAPH_MODELS)) #define IS_GRAPH_MODELS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GRAPH_MODELS)) #define GRAPH_MODELS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GRAPH_MODELS, GraphModelsClass)) typedef struct _GraphModels GraphModels; typedef struct _GraphModelsClass GraphModelsClass; typedef struct _GraphModelsPrivate GraphModelsPrivate; #define TYPE_PROVIDERS (providers_get_type ()) #define PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDERS, Providers)) #define PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDERS, ProvidersClass)) #define IS_PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDERS)) #define IS_PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDERS)) #define PROVIDERS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDERS, ProvidersClass)) typedef struct _Providers Providers; typedef struct _ProvidersClass ProvidersClass; #define TYPE_GRAPH_MODEL (graph_model_get_type ()) #define GRAPH_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GRAPH_MODEL, GraphModel)) #define GRAPH_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GRAPH_MODEL, GraphModelClass)) #define IS_GRAPH_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GRAPH_MODEL)) #define IS_GRAPH_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GRAPH_MODEL)) #define GRAPH_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GRAPH_MODEL, GraphModelClass)) typedef struct _GraphModel GraphModel; typedef struct _GraphModelClass GraphModelClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) struct _GraphModels { GObject parent_instance; GraphModelsPrivate * priv; }; struct _GraphModelsClass { GObjectClass parent_class; }; struct _GraphModelsPrivate { Providers* _providers; GraphModel** _graphmodels; gint _graphmodels_length1; gint __graphmodels_size_; }; static gpointer graph_models_parent_class = NULL; GType graph_models_get_type (void) G_GNUC_CONST; GType providers_get_type (void) G_GNUC_CONST; GType graph_model_get_type (void) G_GNUC_CONST; #define GRAPH_MODELS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_GRAPH_MODELS, GraphModelsPrivate)) enum { GRAPH_MODELS_DUMMY_PROPERTY, GRAPH_MODELS_PROVIDERS }; GraphModels* graph_models_new (gchar** graphids, int graphids_length1, Providers* providers); GraphModels* graph_models_construct (GType object_type, gchar** graphids, int graphids_length1, Providers* providers); Providers* graph_models_get_providers (GraphModels* self); GraphModel* graph_model_new (const gchar* id, Providers* providers); GraphModel* graph_model_construct (GType object_type, const gchar* id, Providers* providers); static void _vala_array_add9 (GraphModel*** array, int* length, int* size, GraphModel* value); void graph_models_update (GraphModels* self, guint trace_length); GraphModel** graph_models_get_graphmodels (GraphModels* self, int* result_length1); void graph_model_update (GraphModel* self, guint trace_length); static void graph_models_set_providers (GraphModels* self, Providers* value); static void graph_models_set_graphmodels (GraphModels* self, GraphModel** value, int value_length1); static GraphModel** _vala_array_dup7 (GraphModel** self, int length); static void graph_models_finalize (GObject* obj); static void _vala_graph_models_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_graph_models_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_add9 (GraphModel*** array, int* length, int* size, GraphModel* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (GraphModel*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } GraphModels* graph_models_construct (GType object_type, gchar** graphids, int graphids_length1, Providers* providers) { GraphModels * self = NULL; Providers* _tmp0_; gchar** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_PROVIDERS (providers), NULL); _tmp0_ = providers; self = (GraphModels*) g_object_new (object_type, "providers", _tmp0_, NULL); _tmp1_ = graphids; _tmp1__length1 = graphids_length1; { gchar** graphid_collection = NULL; gint graphid_collection_length1 = 0; gint _graphid_collection_size_ = 0; gint graphid_it = 0; graphid_collection = _tmp1_; graphid_collection_length1 = _tmp1__length1; for (graphid_it = 0; graphid_it < _tmp1__length1; graphid_it = graphid_it + 1) { gchar* _tmp2_; gchar* graphid = NULL; _tmp2_ = g_strdup (graphid_collection[graphid_it]); graphid = _tmp2_; { GraphModel** _tmp3_; gint _tmp3__length1; const gchar* _tmp4_; Providers* _tmp5_; GraphModel* _tmp6_; _tmp3_ = self->priv->_graphmodels; _tmp3__length1 = self->priv->_graphmodels_length1; _tmp4_ = graphid; _tmp5_ = self->priv->_providers; _tmp6_ = graph_model_new (_tmp4_, _tmp5_); _vala_array_add9 (&self->priv->_graphmodels, &self->priv->_graphmodels_length1, &self->priv->__graphmodels_size_, _tmp6_); _g_free0 (graphid); } } } return self; } GraphModels* graph_models_new (gchar** graphids, int graphids_length1, Providers* providers) { return graph_models_construct (TYPE_GRAPH_MODELS, graphids, graphids_length1, providers); } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } void graph_models_update (GraphModels* self, guint trace_length) { GraphModel** _tmp0_; gint _tmp0__length1; GraphModel** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_GRAPH_MODELS (self)); _tmp0_ = graph_models_get_graphmodels (self, &_tmp0__length1); _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; { GraphModel** graphmodel_collection = NULL; gint graphmodel_collection_length1 = 0; gint _graphmodel_collection_size_ = 0; gint graphmodel_it = 0; graphmodel_collection = _tmp1_; graphmodel_collection_length1 = _tmp1__length1; for (graphmodel_it = 0; graphmodel_it < _tmp1__length1; graphmodel_it = graphmodel_it + 1) { GraphModel* _tmp2_; GraphModel* graphmodel = NULL; _tmp2_ = _g_object_ref0 (graphmodel_collection[graphmodel_it]); graphmodel = _tmp2_; { GraphModel* _tmp3_; guint _tmp4_; _tmp3_ = graphmodel; _tmp4_ = trace_length; graph_model_update (_tmp3_, _tmp4_); _g_object_unref0 (graphmodel); } } } } Providers* graph_models_get_providers (GraphModels* self) { Providers* result; Providers* _tmp0_; g_return_val_if_fail (IS_GRAPH_MODELS (self), NULL); _tmp0_ = self->priv->_providers; result = _tmp0_; return result; } static void graph_models_set_providers (GraphModels* self, Providers* value) { Providers* _tmp0_; Providers* _tmp1_; g_return_if_fail (IS_GRAPH_MODELS (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_providers); self->priv->_providers = _tmp1_; g_object_notify ((GObject *) self, "providers"); } GraphModel** graph_models_get_graphmodels (GraphModels* self, int* result_length1) { GraphModel** result; GraphModel** _tmp0_; gint _tmp0__length1; GraphModel** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_GRAPH_MODELS (self), NULL); _tmp0_ = self->priv->_graphmodels; _tmp0__length1 = self->priv->_graphmodels_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static GraphModel** _vala_array_dup7 (GraphModel** self, int length) { GraphModel** result; int i; result = g_new0 (GraphModel*, length + 1); for (i = 0; i < length; i++) { GraphModel* _tmp0_; _tmp0_ = _g_object_ref0 (self[i]); result[i] = _tmp0_; } return result; } static void graph_models_set_graphmodels (GraphModels* self, GraphModel** value, int value_length1) { GraphModel** _tmp0_; gint _tmp0__length1; GraphModel** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_GRAPH_MODELS (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup7 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_graphmodels = (_vala_array_free (self->priv->_graphmodels, self->priv->_graphmodels_length1, (GDestroyNotify) g_object_unref), NULL); self->priv->_graphmodels = _tmp1_; self->priv->_graphmodels_length1 = _tmp1__length1; self->priv->__graphmodels_size_ = self->priv->_graphmodels_length1; } static void graph_models_class_init (GraphModelsClass * klass) { graph_models_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (GraphModelsPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_graph_models_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_graph_models_set_property; G_OBJECT_CLASS (klass)->finalize = graph_models_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), GRAPH_MODELS_PROVIDERS, g_param_spec_object ("providers", "providers", "providers", TYPE_PROVIDERS, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); } static void graph_models_instance_init (GraphModels * self) { self->priv = GRAPH_MODELS_GET_PRIVATE (self); } static void graph_models_finalize (GObject* obj) { GraphModels * self; self = GRAPH_MODELS (obj); _g_object_unref0 (self->priv->_providers); self->priv->_graphmodels = (_vala_array_free (self->priv->_graphmodels, self->priv->_graphmodels_length1, (GDestroyNotify) g_object_unref), NULL); G_OBJECT_CLASS (graph_models_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType graph_models_get_type (void) { static volatile gsize graph_models_type_id__volatile = 0; if (g_once_init_enter (&graph_models_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (GraphModelsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) graph_models_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GraphModels), 0, (GInstanceInitFunc) graph_models_instance_init, NULL }; GType graph_models_type_id; graph_models_type_id = g_type_register_static (G_TYPE_OBJECT, "GraphModels", &g_define_type_info, 0); g_once_init_leave (&graph_models_type_id__volatile, graph_models_type_id); } return graph_models_type_id__volatile; } static void _vala_graph_models_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { GraphModels * self; self = GRAPH_MODELS (object); switch (property_id) { case GRAPH_MODELS_PROVIDERS: g_value_set_object (value, graph_models_get_providers (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_graph_models_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { GraphModels * self; self = GRAPH_MODELS (object); switch (property_id) { case GRAPH_MODELS_PROVIDERS: graph_models_set_providers (self, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/swapprovider.c0000664000175000017500000001604712107670273015740 00000000000000/* swapprovider.c generated by valac 0.14.2, the Vala compiler * generated from swapprovider.vala, do not modify */ #include #include #include #include #include #include #include #define TYPE_PROVIDER (provider_get_type ()) #define PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDER, Provider)) #define PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDER, ProviderClass)) #define IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDER)) #define IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDER)) #define PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDER, ProviderClass)) typedef struct _Provider Provider; typedef struct _ProviderClass ProviderClass; typedef struct _ProviderPrivate ProviderPrivate; #define TYPE_SWAP_PROVIDER (swap_provider_get_type ()) #define SWAP_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SWAP_PROVIDER, SwapProvider)) #define SWAP_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SWAP_PROVIDER, SwapProviderClass)) #define IS_SWAP_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SWAP_PROVIDER)) #define IS_SWAP_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SWAP_PROVIDER)) #define SWAP_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SWAP_PROVIDER, SwapProviderClass)) typedef struct _SwapProvider SwapProvider; typedef struct _SwapProviderClass SwapProviderClass; typedef struct _SwapProviderPrivate SwapProviderPrivate; struct _Provider { GObject parent_instance; ProviderPrivate * priv; }; struct _ProviderClass { GObjectClass parent_class; void (*update) (Provider* self); }; struct _SwapProvider { Provider parent_instance; SwapProviderPrivate * priv; }; struct _SwapProviderClass { ProviderClass parent_class; }; static gpointer swap_provider_parent_class = NULL; GType provider_get_type (void) G_GNUC_CONST; GType swap_provider_get_type (void) G_GNUC_CONST; enum { SWAP_PROVIDER_DUMMY_PROPERTY }; SwapProvider* swap_provider_new (void); SwapProvider* swap_provider_construct (GType object_type); Provider* provider_construct (GType object_type, const gchar* id, gchar** keys, int keys_length1); static void swap_provider_real_update (Provider* base); gdouble* provider_get_values (Provider* self, int* result_length1); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); SwapProvider* swap_provider_construct (GType object_type) { SwapProvider * self = NULL; gchar* _tmp0_; gchar* _tmp1_; gchar** _tmp2_ = NULL; gchar** _tmp3_; gint _tmp3__length1; _tmp0_ = g_strdup ("used"); _tmp1_ = g_strdup ("total"); _tmp2_ = g_new0 (gchar*, 2 + 1); _tmp2_[0] = _tmp0_; _tmp2_[1] = _tmp1_; _tmp3_ = _tmp2_; _tmp3__length1 = 2; self = (SwapProvider*) provider_construct (object_type, "swap", _tmp3_, 2); _tmp3_ = (_vala_array_free (_tmp3_, _tmp3__length1, (GDestroyNotify) g_free), NULL); return self; } SwapProvider* swap_provider_new (void) { return swap_provider_construct (TYPE_SWAP_PROVIDER); } static void swap_provider_real_update (Provider* base) { SwapProvider * self; glibtop_swap swap = {0}; glibtop_swap _tmp0_ = {0}; gdouble* _tmp1_; gint _tmp1__length1; gdouble* _tmp2_; gint _tmp2__length1; glibtop_swap _tmp3_; guint64 _tmp4_; gdouble _tmp5_; guint64 _tmp6_ = 0ULL; glibtop_swap _tmp7_; guint64 _tmp8_; gdouble* _tmp11_; gint _tmp11__length1; gdouble* _tmp12_; gint _tmp12__length1; guint64 _tmp13_; gdouble _tmp14_; self = SWAP_PROVIDER (base); glibtop_get_swap (&_tmp0_); swap = _tmp0_; _tmp1_ = provider_get_values (PROVIDER (self), &_tmp1__length1); _tmp2_ = _tmp1_; _tmp2__length1 = _tmp1__length1; _tmp3_ = swap; _tmp4_ = _tmp3_.used; _tmp2_[0] = (gdouble) _tmp4_; _tmp5_ = _tmp2_[0]; _tmp7_ = swap; _tmp8_ = _tmp7_.total; if (_tmp8_ > ((guint64) 0)) { glibtop_swap _tmp9_; guint64 _tmp10_; _tmp9_ = swap; _tmp10_ = _tmp9_.total; _tmp6_ = _tmp10_; } else { _tmp6_ = (guint64) 1; } _tmp11_ = provider_get_values (PROVIDER (self), &_tmp11__length1); _tmp12_ = _tmp11_; _tmp12__length1 = _tmp11__length1; _tmp13_ = _tmp6_; _tmp12_[1] = (gdouble) _tmp13_; _tmp14_ = _tmp12_[1]; } static void swap_provider_class_init (SwapProviderClass * klass) { swap_provider_parent_class = g_type_class_peek_parent (klass); PROVIDER_CLASS (klass)->update = swap_provider_real_update; } static void swap_provider_instance_init (SwapProvider * self) { } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType swap_provider_get_type (void) { static volatile gsize swap_provider_type_id__volatile = 0; if (g_once_init_enter (&swap_provider_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SwapProviderClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) swap_provider_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SwapProvider), 0, (GInstanceInitFunc) swap_provider_instance_init, NULL }; GType swap_provider_type_id; swap_provider_type_id = g_type_register_static (TYPE_PROVIDER, "SwapProvider", &g_define_type_info, 0); g_once_init_leave (&swap_provider_type_id__volatile, swap_provider_type_id); } return swap_provider_type_id__volatile; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/preferences.c0000664000175000017500000004704712107670273015520 00000000000000/* preferences.c generated by valac 0.14.2, the Vala compiler * generated from preferences.vala, do not modify */ #include #include #include #include #include #include #define TYPE_PREFERENCES (preferences_get_type ()) #define PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREFERENCES, Preferences)) #define PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREFERENCES, PreferencesClass)) #define IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREFERENCES)) #define IS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PREFERENCES)) #define PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PREFERENCES, PreferencesClass)) typedef struct _Preferences Preferences; typedef struct _PreferencesClass PreferencesClass; typedef struct _PreferencesPrivate PreferencesPrivate; #define TYPE_ITEM_PREFERENCES (item_preferences_get_type ()) #define ITEM_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ITEM_PREFERENCES, ItemPreferences)) #define ITEM_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ITEM_PREFERENCES, ItemPreferencesClass)) #define IS_ITEM_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ITEM_PREFERENCES)) #define IS_ITEM_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ITEM_PREFERENCES)) #define ITEM_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ITEM_PREFERENCES, ItemPreferencesClass)) typedef struct _ItemPreferences ItemPreferences; typedef struct _ItemPreferencesClass ItemPreferencesClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define TYPE_SETTINGS_CACHE (settings_cache_get_type ()) #define SETTINGS_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS_CACHE, SettingsCache)) #define SETTINGS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS_CACHE, SettingsCacheClass)) #define IS_SETTINGS_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS_CACHE)) #define IS_SETTINGS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS_CACHE)) #define SETTINGS_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS_CACHE, SettingsCacheClass)) typedef struct _SettingsCache SettingsCache; typedef struct _SettingsCacheClass SettingsCacheClass; #define _g_free0(var) (var = (g_free (var), NULL)) struct _Preferences { GObject parent_instance; PreferencesPrivate * priv; }; struct _PreferencesClass { GObjectClass parent_class; }; struct _PreferencesPrivate { GtkDialog* preferences; ItemPreferences* menupreferences; ItemPreferences* indicatorpreferences; }; static gpointer preferences_parent_class = NULL; GType preferences_get_type (void) G_GNUC_CONST; GType item_preferences_get_type (void) G_GNUC_CONST; #define PREFERENCES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PREFERENCES, PreferencesPrivate)) enum { PREFERENCES_DUMMY_PROPERTY }; void preferences_show (Preferences* self); GObject* utils_get_ui (const gchar* objectid, GObject* signalhandlers, gchar** additional, int additional_length1, GtkBuilder** builder); SettingsCache* settings_cache_new (void); SettingsCache* settings_cache_construct (GType object_type); GType settings_cache_get_type (void) G_GNUC_CONST; GSettings* settings_cache_generalsettings (SettingsCache* self); static gboolean _vala_string_array_contains (const gchar** stack, int stack_length, const gchar* needle); GSettings* settings_cache_graphsettings (SettingsCache* self, const gchar* graphid); GSettings* settings_cache_tracesettings (SettingsCache* self, const gchar* graphid, const gchar* traceid); gboolean utils_get_settings_color (GValue* value, GVariant* variant, void* user_data); static gboolean _utils_get_settings_color_gsettings_bind_get_mapping (GValue* value, GVariant* variant, void* user_data); GVariant* utils_set_settings_color (GValue* value, const GVariantType* expected_type, void* user_data); static GVariant* _utils_set_settings_color_gsettings_bind_set_mapping (GValue* value, const GVariantType* expected_type, void* user_data); static void _______lambda8_ (void); static void ________lambda8__gdestroy_notify (void* data); static void ____lambda9_ (void); static void _____lambda9__gdestroy_notify (void* data); void preferences_on_preferencesdialog_response (GtkDialog* source, gint response, Preferences* self); void item_preferences_show (ItemPreferences* self); void preferences_on_preferencesdialog_destroy (GtkWidget* source, Preferences* self); Preferences* preferences_new (void); Preferences* preferences_construct (GType object_type); static GObject * preferences_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); ItemPreferences* item_preferences_new (const gchar* settingskey); ItemPreferences* item_preferences_construct (GType object_type, const gchar* settingskey); static void preferences_finalize (GObject* obj); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); extern const gchar* SETTINGS_CACHE_presetgraphids[6]; static gboolean _vala_string_array_contains (const gchar** stack, int stack_length, const gchar* needle) { int i; for (i = 0; i < stack_length; i++) { if (g_strcmp0 (stack[i], needle) == 0) { return TRUE; } } return FALSE; } static const gchar* string_to_string (const gchar* self) { const gchar* result = NULL; g_return_val_if_fail (self != NULL, NULL); result = self; return result; } static gboolean _utils_get_settings_color_gsettings_bind_get_mapping (GValue* value, GVariant* variant, void* user_data) { gboolean result; result = utils_get_settings_color (value, variant, user_data); return result; } static GVariant* _utils_set_settings_color_gsettings_bind_set_mapping (GValue* value, const GVariantType* expected_type, void* user_data) { GVariant* result; result = utils_set_settings_color (value, expected_type, user_data); return result; } static void _______lambda8_ (void) { } static void ________lambda8__gdestroy_notify (void* data) { _______lambda8_ (); } static void ____lambda9_ (void) { } static void _____lambda9__gdestroy_notify (void* data) { ____lambda9_ (); } void preferences_show (Preferences* self) { GtkDialog* _tmp0_; GtkBuilder* builder = NULL; gchar* _tmp2_; gchar* _tmp3_; gchar** _tmp4_ = NULL; gchar** _tmp5_; gint _tmp5__length1; GtkBuilder* _tmp6_ = NULL; GObject* _tmp7_ = NULL; GtkDialog* _tmp8_; SettingsCache* _tmp9_; SettingsCache* settingscache; SettingsCache* _tmp10_; GSettings* _tmp11_ = NULL; GSettings* prefsettings; GSettings* _tmp12_; gchar** _tmp13_; gchar** _tmp14_ = NULL; gchar** graphids; gint graphids_length1; gint _graphids_size_; gchar** _tmp15_; gint _tmp15__length1; GSettings* _tmp66_; GtkBuilder* _tmp67_; GObject* _tmp68_ = NULL; GSettings* _tmp69_; GtkBuilder* _tmp70_; GObject* _tmp71_ = NULL; GSettings* _tmp72_; GtkBuilder* _tmp73_; GObject* _tmp74_ = NULL; GtkDialog* _tmp75_; g_return_if_fail (IS_PREFERENCES (self)); _tmp0_ = self->priv->preferences; if (_tmp0_ != NULL) { GtkDialog* _tmp1_; _tmp1_ = self->priv->preferences; gtk_window_present (GTK_WINDOW (_tmp1_)); return; } _tmp2_ = g_strdup ("widthadjustment"); _tmp3_ = g_strdup ("speedadjustment"); _tmp4_ = g_new0 (gchar*, 2 + 1); _tmp4_[0] = _tmp2_; _tmp4_[1] = _tmp3_; _tmp5_ = _tmp4_; _tmp5__length1 = 2; _tmp7_ = utils_get_ui ("preferencesdialog", G_OBJECT (self), _tmp5_, 2, &_tmp6_); _g_object_unref0 (builder); builder = _tmp6_; _g_object_unref0 (self->priv->preferences); self->priv->preferences = GTK_IS_DIALOG (_tmp7_) ? ((GtkDialog*) _tmp7_) : NULL; _tmp5_ = (_vala_array_free (_tmp5_, _tmp5__length1, (GDestroyNotify) g_free), NULL); _tmp8_ = self->priv->preferences; g_return_if_fail (_tmp8_ != NULL); _tmp9_ = settings_cache_new (); settingscache = _tmp9_; _tmp10_ = settingscache; _tmp11_ = settings_cache_generalsettings (_tmp10_); prefsettings = _tmp11_; _tmp12_ = prefsettings; _tmp14_ = _tmp13_ = g_settings_get_strv (_tmp12_, "graphs"); graphids = _tmp14_; graphids_length1 = _vala_array_length (_tmp13_); _graphids_size_ = graphids_length1; _tmp15_ = graphids; _tmp15__length1 = graphids_length1; { gchar** graphid_collection = NULL; gint graphid_collection_length1 = 0; gint _graphid_collection_size_ = 0; gint graphid_it = 0; graphid_collection = _tmp15_; graphid_collection_length1 = _tmp15__length1; for (graphid_it = 0; graphid_it < _tmp15__length1; graphid_it = graphid_it + 1) { gchar* _tmp16_; gchar* graphid = NULL; _tmp16_ = g_strdup (graphid_collection[graphid_it]); graphid = _tmp16_; { const gchar* _tmp17_; SettingsCache* _tmp18_; const gchar* _tmp19_; GSettings* _tmp20_ = NULL; GSettings* graphsettings; GSettings* _tmp21_; gchar** _tmp22_; gchar** _tmp23_ = NULL; gchar** traceids; gint traceids_length1; gint _traceids_size_; GSettings* _tmp45_; GtkBuilder* _tmp46_; const gchar* _tmp47_; const gchar* _tmp48_ = NULL; gchar* _tmp49_ = NULL; gchar* _tmp50_; GObject* _tmp51_ = NULL; GSettings* _tmp52_; GtkBuilder* _tmp53_; const gchar* _tmp54_; const gchar* _tmp55_ = NULL; gchar* _tmp56_ = NULL; gchar* _tmp57_; GObject* _tmp58_ = NULL; GSettings* _tmp59_; GtkBuilder* _tmp60_; const gchar* _tmp61_; const gchar* _tmp62_ = NULL; gchar* _tmp63_ = NULL; gchar* _tmp64_; GObject* _tmp65_ = NULL; _tmp17_ = graphid; if (!_vala_string_array_contains (SETTINGS_CACHE_presetgraphids, G_N_ELEMENTS (SETTINGS_CACHE_presetgraphids), _tmp17_)) { _g_free0 (graphid); continue; } _tmp18_ = settingscache; _tmp19_ = graphid; _tmp20_ = settings_cache_graphsettings (_tmp18_, _tmp19_); graphsettings = _tmp20_; _tmp21_ = graphsettings; _tmp23_ = _tmp22_ = g_settings_get_strv (_tmp21_, "traces"); traceids = _tmp23_; traceids_length1 = _vala_array_length (_tmp22_); _traceids_size_ = traceids_length1; { guint j; gchar** _tmp24_; gint _tmp24__length1; guint jsize; j = (guint) 0; _tmp24_ = traceids; _tmp24__length1 = traceids_length1; jsize = (guint) _tmp24__length1; { gboolean _tmp25_; _tmp25_ = TRUE; while (TRUE) { gboolean _tmp26_; guint _tmp28_; guint _tmp29_; gchar** _tmp30_; gint _tmp30__length1; guint _tmp31_; const gchar* _tmp32_; gchar* _tmp33_; gchar* traceid; SettingsCache* _tmp34_; const gchar* _tmp35_; const gchar* _tmp36_; GSettings* _tmp37_ = NULL; GSettings* tracesettings; GSettings* _tmp38_; GtkBuilder* _tmp39_; const gchar* _tmp40_; const gchar* _tmp41_ = NULL; gchar* _tmp42_ = NULL; gchar* _tmp43_; GObject* _tmp44_ = NULL; _tmp26_ = _tmp25_; if (!_tmp26_) { guint _tmp27_; _tmp27_ = j; j = _tmp27_ + 1; } _tmp25_ = FALSE; _tmp28_ = j; _tmp29_ = jsize; if (!(_tmp28_ < _tmp29_)) { break; } _tmp30_ = traceids; _tmp30__length1 = traceids_length1; _tmp31_ = j; _tmp32_ = _tmp30_[_tmp31_]; _tmp33_ = g_strdup (_tmp32_); traceid = _tmp33_; _tmp34_ = settingscache; _tmp35_ = graphid; _tmp36_ = traceid; _tmp37_ = settings_cache_tracesettings (_tmp34_, _tmp35_, _tmp36_); tracesettings = _tmp37_; _tmp38_ = tracesettings; _tmp39_ = builder; _tmp40_ = traceid; _tmp41_ = string_to_string (_tmp40_); _tmp42_ = g_strconcat (_tmp41_, "_color", NULL); _tmp43_ = _tmp42_; _tmp44_ = gtk_builder_get_object (_tmp39_, _tmp43_); g_settings_bind_with_mapping (_tmp38_, "color", _tmp44_, "color", G_SETTINGS_BIND_DEFAULT, _utils_get_settings_color_gsettings_bind_get_mapping, _utils_set_settings_color_gsettings_bind_set_mapping, NULL, ________lambda8__gdestroy_notify); _g_free0 (_tmp43_); _g_object_unref0 (tracesettings); _g_free0 (traceid); } } } _tmp45_ = graphsettings; _tmp46_ = builder; _tmp47_ = graphid; _tmp48_ = string_to_string (_tmp47_); _tmp49_ = g_strconcat (_tmp48_, "_enabled", NULL); _tmp50_ = _tmp49_; _tmp51_ = gtk_builder_get_object (_tmp46_, _tmp50_); g_settings_bind (_tmp45_, "enabled", _tmp51_, "active", G_SETTINGS_BIND_DEFAULT); _g_free0 (_tmp50_); _tmp52_ = graphsettings; _tmp53_ = builder; _tmp54_ = graphid; _tmp55_ = string_to_string (_tmp54_); _tmp56_ = g_strconcat (_tmp55_, "_background_color", NULL); _tmp57_ = _tmp56_; _tmp58_ = gtk_builder_get_object (_tmp53_, _tmp57_); g_settings_bind_with_mapping (_tmp52_, "background-color", _tmp58_, "color", G_SETTINGS_BIND_DEFAULT, _utils_get_settings_color_gsettings_bind_get_mapping, _utils_set_settings_color_gsettings_bind_set_mapping, NULL, _____lambda9__gdestroy_notify); _g_free0 (_tmp57_); _tmp59_ = graphsettings; _tmp60_ = builder; _tmp61_ = graphid; _tmp62_ = string_to_string (_tmp61_); _tmp63_ = g_strconcat (_tmp62_, "_background_color", NULL); _tmp64_ = _tmp63_; _tmp65_ = gtk_builder_get_object (_tmp60_, _tmp64_); g_settings_bind (_tmp59_, "alpha", _tmp65_, "alpha", G_SETTINGS_BIND_DEFAULT); _g_free0 (_tmp64_); traceids = (_vala_array_free (traceids, traceids_length1, (GDestroyNotify) g_free), NULL); _g_object_unref0 (graphsettings); _g_free0 (graphid); } } } _tmp66_ = prefsettings; _tmp67_ = builder; _tmp68_ = gtk_builder_get_object (_tmp67_, "width"); g_settings_bind (_tmp66_, "width", _tmp68_, "value", G_SETTINGS_BIND_DEFAULT); _tmp69_ = prefsettings; _tmp70_ = builder; _tmp71_ = gtk_builder_get_object (_tmp70_, "speed"); g_settings_bind (_tmp69_, "speed", _tmp71_, "value", G_SETTINGS_BIND_DEFAULT); _tmp72_ = prefsettings; _tmp73_ = builder; _tmp74_ = gtk_builder_get_object (_tmp73_, "autostart"); g_settings_bind (_tmp72_, "autostart", _tmp74_, "active", G_SETTINGS_BIND_DEFAULT); _tmp75_ = self->priv->preferences; gtk_widget_show_all (GTK_WIDGET (_tmp75_)); graphids = (_vala_array_free (graphids, graphids_length1, (GDestroyNotify) g_free), NULL); _g_object_unref0 (prefsettings); _g_object_unref0 (settingscache); _g_object_unref0 (builder); } void preferences_on_preferencesdialog_response (GtkDialog* source, gint response, Preferences* self) { gint _tmp0_; g_return_if_fail (IS_PREFERENCES (self)); g_return_if_fail (GTK_IS_DIALOG (source)); _tmp0_ = response; switch (_tmp0_) { case 1: { ItemPreferences* _tmp1_; _tmp1_ = self->priv->menupreferences; item_preferences_show (_tmp1_); return; } case 2: { ItemPreferences* _tmp2_; _tmp2_ = self->priv->indicatorpreferences; item_preferences_show (_tmp2_); return; } default: { GtkDialog* _tmp3_; _tmp3_ = source; gtk_widget_destroy (GTK_WIDGET (_tmp3_)); return; } } } void preferences_on_preferencesdialog_destroy (GtkWidget* source, Preferences* self) { g_return_if_fail (IS_PREFERENCES (self)); g_return_if_fail (GTK_IS_WIDGET (source)); _g_object_unref0 (self->priv->preferences); self->priv->preferences = NULL; } Preferences* preferences_construct (GType object_type) { Preferences * self = NULL; self = (Preferences*) g_object_new (object_type, NULL); return self; } Preferences* preferences_new (void) { return preferences_construct (TYPE_PREFERENCES); } static GObject * preferences_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; Preferences * self; ItemPreferences* _tmp0_; ItemPreferences* _tmp1_; parent_class = G_OBJECT_CLASS (preferences_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = PREFERENCES (obj); _tmp0_ = item_preferences_new ("menu-expressions"); _g_object_unref0 (self->priv->menupreferences); self->priv->menupreferences = _tmp0_; _tmp1_ = item_preferences_new ("indicator-expressions"); _g_object_unref0 (self->priv->indicatorpreferences); self->priv->indicatorpreferences = _tmp1_; return obj; } static void preferences_class_init (PreferencesClass * klass) { preferences_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (PreferencesPrivate)); G_OBJECT_CLASS (klass)->constructor = preferences_constructor; G_OBJECT_CLASS (klass)->finalize = preferences_finalize; } static void preferences_instance_init (Preferences * self) { self->priv = PREFERENCES_GET_PRIVATE (self); } static void preferences_finalize (GObject* obj) { Preferences * self; self = PREFERENCES (obj); _g_object_unref0 (self->priv->preferences); _g_object_unref0 (self->priv->menupreferences); _g_object_unref0 (self->priv->indicatorpreferences); G_OBJECT_CLASS (preferences_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType preferences_get_type (void) { static volatile gsize preferences_type_id__volatile = 0; if (g_once_init_enter (&preferences_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (PreferencesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) preferences_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Preferences), 0, (GInstanceInitFunc) preferences_instance_init, NULL }; GType preferences_type_id; preferences_type_id = g_type_register_static (G_TYPE_OBJECT, "Preferences", &g_define_type_info, 0); g_once_init_leave (&preferences_type_id__volatile, preferences_type_id); } return preferences_type_id__volatile; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; } indicator-multiload-0.3/src/provider.vala0000664000175000017500000000332012107670161015530 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public abstract class Provider : GLib.Object { public string id { get; construct; } public string[] keys { get; construct; } public double[] values { get; private set; } public Provider(string id, string[] keys) { Object(id: id, keys: keys); } construct { this.values = new double[keys.length]; } public abstract void update(); } indicator-multiload-0.3/src/function.c0000664000175000017500000006630512107670272015041 00000000000000/* function.c generated by valac 0.14.2, the Vala compiler * generated from function.vala, do not modify */ #include #include #include #include #include #include #include #define TYPE_FUNCTION (function_get_type ()) #define FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FUNCTION, Function)) #define FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FUNCTION, FunctionClass)) #define IS_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FUNCTION)) #define IS_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FUNCTION)) #define FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FUNCTION, FunctionClass)) typedef struct _Function Function; typedef struct _FunctionClass FunctionClass; typedef struct _FunctionPrivate FunctionPrivate; #define _g_free0(var) (var = (g_free (var), NULL)) #define TYPE_DECIMALS_FUNCTION (decimals_function_get_type ()) #define DECIMALS_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DECIMALS_FUNCTION, DecimalsFunction)) #define DECIMALS_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DECIMALS_FUNCTION, DecimalsFunctionClass)) #define IS_DECIMALS_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DECIMALS_FUNCTION)) #define IS_DECIMALS_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DECIMALS_FUNCTION)) #define DECIMALS_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DECIMALS_FUNCTION, DecimalsFunctionClass)) typedef struct _DecimalsFunction DecimalsFunction; typedef struct _DecimalsFunctionClass DecimalsFunctionClass; typedef struct _DecimalsFunctionPrivate DecimalsFunctionPrivate; #define TYPE_SIZE_FUNCTION (size_function_get_type ()) #define SIZE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SIZE_FUNCTION, SizeFunction)) #define SIZE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SIZE_FUNCTION, SizeFunctionClass)) #define IS_SIZE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SIZE_FUNCTION)) #define IS_SIZE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SIZE_FUNCTION)) #define SIZE_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SIZE_FUNCTION, SizeFunctionClass)) typedef struct _SizeFunction SizeFunction; typedef struct _SizeFunctionClass SizeFunctionClass; typedef struct _SizeFunctionPrivate SizeFunctionPrivate; #define TYPE_SPEED_FUNCTION (speed_function_get_type ()) #define SPEED_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SPEED_FUNCTION, SpeedFunction)) #define SPEED_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SPEED_FUNCTION, SpeedFunctionClass)) #define IS_SPEED_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SPEED_FUNCTION)) #define IS_SPEED_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SPEED_FUNCTION)) #define SPEED_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SPEED_FUNCTION, SpeedFunctionClass)) typedef struct _SpeedFunction SpeedFunction; typedef struct _SpeedFunctionClass SpeedFunctionClass; typedef struct _SpeedFunctionPrivate SpeedFunctionPrivate; #define TYPE_PERCENT_FUNCTION (percent_function_get_type ()) #define PERCENT_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PERCENT_FUNCTION, PercentFunction)) #define PERCENT_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PERCENT_FUNCTION, PercentFunctionClass)) #define IS_PERCENT_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PERCENT_FUNCTION)) #define IS_PERCENT_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PERCENT_FUNCTION)) #define PERCENT_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PERCENT_FUNCTION, PercentFunctionClass)) typedef struct _PercentFunction PercentFunction; typedef struct _PercentFunctionClass PercentFunctionClass; typedef struct _PercentFunctionPrivate PercentFunctionPrivate; struct _Function { GObject parent_instance; FunctionPrivate * priv; }; struct _FunctionClass { GObjectClass parent_class; gchar* (*call) (Function* self, gchar** parameters, int parameters_length1, gboolean widest, GError** error); }; struct _FunctionPrivate { gchar* _id; gchar** _parameterdescs; gint _parameterdescs_length1; gint __parameterdescs_size_; }; struct _DecimalsFunction { Function parent_instance; DecimalsFunctionPrivate * priv; }; struct _DecimalsFunctionClass { FunctionClass parent_class; }; struct _SizeFunction { Function parent_instance; SizeFunctionPrivate * priv; }; struct _SizeFunctionClass { FunctionClass parent_class; }; struct _SpeedFunction { Function parent_instance; SpeedFunctionPrivate * priv; }; struct _SpeedFunctionClass { FunctionClass parent_class; }; struct _PercentFunction { Function parent_instance; PercentFunctionPrivate * priv; }; struct _PercentFunctionClass { FunctionClass parent_class; }; static gpointer function_parent_class = NULL; static gpointer decimals_function_parent_class = NULL; static gpointer size_function_parent_class = NULL; static gpointer speed_function_parent_class = NULL; static gpointer percent_function_parent_class = NULL; GType function_get_type (void) G_GNUC_CONST; #define FUNCTION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_FUNCTION, FunctionPrivate)) enum { FUNCTION_DUMMY_PROPERTY, FUNCTION_ID, FUNCTION_PARAMETERDESCS }; Function* function_construct (GType object_type, const gchar* id, gchar** parameterdescs, int parameterdescs_length1); GError* function_error (const gchar* message); gchar* function_call (Function* self, gchar** parameters, int parameters_length1, gboolean widest, GError** error); static gchar* function_real_call (Function* self, gchar** parameters, int parameters_length1, gboolean widest, GError** error); const gchar* function_get_id (Function* self); static void function_set_id (Function* self, const gchar* value); gchar** function_get_parameterdescs (Function* self, int* result_length1); static void function_set_parameterdescs (Function* self, gchar** value, int value_length1); static gchar** _vala_array_dup6 (gchar** self, int length); static void function_finalize (GObject* obj); static void _vala_function_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_function_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); GType decimals_function_get_type (void) G_GNUC_CONST; enum { DECIMALS_FUNCTION_DUMMY_PROPERTY }; DecimalsFunction* decimals_function_new (void); DecimalsFunction* decimals_function_construct (GType object_type); static gchar* decimals_function_real_call (Function* base, gchar** parameters, int parameters_length1, gboolean widest, GError** error); GType size_function_get_type (void) G_GNUC_CONST; enum { SIZE_FUNCTION_DUMMY_PROPERTY }; SizeFunction* size_function_new (void); SizeFunction* size_function_construct (GType object_type); static gchar* size_function_real_call (Function* base, gchar** parameters, int parameters_length1, gboolean widest, GError** error); gchar* utils_format_size (gdouble val); GType speed_function_get_type (void) G_GNUC_CONST; enum { SPEED_FUNCTION_DUMMY_PROPERTY }; SpeedFunction* speed_function_new (void); SpeedFunction* speed_function_construct (GType object_type); static gchar* speed_function_real_call (Function* base, gchar** parameters, int parameters_length1, gboolean widest, GError** error); gchar* utils_format_speed (gdouble val); GType percent_function_get_type (void) G_GNUC_CONST; enum { PERCENT_FUNCTION_DUMMY_PROPERTY }; PercentFunction* percent_function_new (void); PercentFunction* percent_function_construct (GType object_type); static gchar* percent_function_real_call (Function* base, gchar** parameters, int parameters_length1, gboolean widest, GError** error); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); Function* function_construct (GType object_type, const gchar* id, gchar** parameterdescs, int parameterdescs_length1) { Function * self = NULL; const gchar* _tmp0_; gchar** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (id != NULL, NULL); _tmp0_ = id; _tmp1_ = parameterdescs; _tmp1__length1 = parameterdescs_length1; self = (Function*) g_object_new (object_type, "id", _tmp0_, "parameterdescs", _tmp1_, NULL); return self; } GError* function_error (const gchar* message) { GError* result = NULL; GQuark _tmp0_ = 0U; const gchar* _tmp1_; GError* _tmp2_; g_return_val_if_fail (message != NULL, NULL); _tmp0_ = g_quark_from_string ("function-error-quark"); _tmp1_ = message; _tmp2_ = g_error_new (_tmp0_, 0, "%s", _tmp1_); result = _tmp2_; return result; } static gchar* function_real_call (Function* self, gchar** parameters, int parameters_length1, gboolean widest, GError** error) { g_critical ("Type `%s' does not implement abstract method `function_call'", g_type_name (G_TYPE_FROM_INSTANCE (self))); return NULL; } gchar* function_call (Function* self, gchar** parameters, int parameters_length1, gboolean widest, GError** error) { g_return_val_if_fail (IS_FUNCTION (self), NULL); return FUNCTION_GET_CLASS (self)->call (self, parameters, parameters_length1, widest, error); } const gchar* function_get_id (Function* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (IS_FUNCTION (self), NULL); _tmp0_ = self->priv->_id; result = _tmp0_; return result; } static void function_set_id (Function* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (IS_FUNCTION (self)); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_id); self->priv->_id = _tmp1_; g_object_notify ((GObject *) self, "id"); } gchar** function_get_parameterdescs (Function* self, int* result_length1) { gchar** result; gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_FUNCTION (self), NULL); _tmp0_ = self->priv->_parameterdescs; _tmp0__length1 = self->priv->_parameterdescs_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static gchar** _vala_array_dup6 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } static void function_set_parameterdescs (Function* self, gchar** value, int value_length1) { gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_FUNCTION (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup6 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_parameterdescs = (_vala_array_free (self->priv->_parameterdescs, self->priv->_parameterdescs_length1, (GDestroyNotify) g_free), NULL); self->priv->_parameterdescs = _tmp1_; self->priv->_parameterdescs_length1 = _tmp1__length1; self->priv->__parameterdescs_size_ = self->priv->_parameterdescs_length1; g_object_notify ((GObject *) self, "parameterdescs"); } static void function_class_init (FunctionClass * klass) { function_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (FunctionPrivate)); FUNCTION_CLASS (klass)->call = function_real_call; G_OBJECT_CLASS (klass)->get_property = _vala_function_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_function_set_property; G_OBJECT_CLASS (klass)->finalize = function_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), FUNCTION_ID, g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), FUNCTION_PARAMETERDESCS, g_param_spec_boxed ("parameterdescs", "parameterdescs", "parameterdescs", G_TYPE_STRV, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); } static void function_instance_init (Function * self) { self->priv = FUNCTION_GET_PRIVATE (self); } static void function_finalize (GObject* obj) { Function * self; self = FUNCTION (obj); _g_free0 (self->priv->_id); self->priv->_parameterdescs = (_vala_array_free (self->priv->_parameterdescs, self->priv->_parameterdescs_length1, (GDestroyNotify) g_free), NULL); G_OBJECT_CLASS (function_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType function_get_type (void) { static volatile gsize function_type_id__volatile = 0; if (g_once_init_enter (&function_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (FunctionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) function_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Function), 0, (GInstanceInitFunc) function_instance_init, NULL }; GType function_type_id; function_type_id = g_type_register_static (G_TYPE_OBJECT, "Function", &g_define_type_info, G_TYPE_FLAG_ABSTRACT); g_once_init_leave (&function_type_id__volatile, function_type_id); } return function_type_id__volatile; } static void _vala_function_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { Function * self; self = FUNCTION (object); switch (property_id) { case FUNCTION_ID: g_value_set_string (value, function_get_id (self)); break; case FUNCTION_PARAMETERDESCS: { int length; g_value_set_boxed (value, function_get_parameterdescs (self, &length)); } break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_function_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { Function * self; self = FUNCTION (object); switch (property_id) { case FUNCTION_ID: function_set_id (self, g_value_get_string (value)); break; case FUNCTION_PARAMETERDESCS: { gpointer boxed; boxed = g_value_get_boxed (value); function_set_parameterdescs (self, boxed, g_strv_length (boxed)); } break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } DecimalsFunction* decimals_function_construct (GType object_type) { DecimalsFunction * self = NULL; gchar* _tmp0_; gchar* _tmp1_; gchar** _tmp2_ = NULL; gchar** _tmp3_; gint _tmp3__length1; _tmp0_ = g_strdup ("value"); _tmp1_ = g_strdup ("decimals"); _tmp2_ = g_new0 (gchar*, 2 + 1); _tmp2_[0] = _tmp0_; _tmp2_[1] = _tmp1_; _tmp3_ = _tmp2_; _tmp3__length1 = 2; self = (DecimalsFunction*) function_construct (object_type, "decimals", _tmp3_, 2); _tmp3_ = (_vala_array_free (_tmp3_, _tmp3__length1, (GDestroyNotify) g_free), NULL); return self; } DecimalsFunction* decimals_function_new (void) { return decimals_function_construct (TYPE_DECIMALS_FUNCTION); } static gdouble double_parse (const gchar* str) { gdouble result = 0.0; const gchar* _tmp0_; gdouble _tmp1_ = 0.0; g_return_val_if_fail (str != NULL, 0.0); _tmp0_ = str; _tmp1_ = g_ascii_strtod (_tmp0_, NULL); result = _tmp1_; return result; } static gchar* decimals_function_real_call (Function* base, gchar** parameters, int parameters_length1, gboolean widest, GError** error) { DecimalsFunction * self; gchar* result = NULL; gchar** _tmp0_; gint _tmp0__length1; gboolean _tmp2_; gchar** _tmp6_; gint _tmp6__length1; const gchar* _tmp7_; gint _tmp8_ = 0; gchar** _tmp9_; gint _tmp9__length1; const gchar* _tmp10_; gdouble _tmp11_ = 0.0; gchar* _tmp12_ = NULL; GError * _inner_error_ = NULL; self = DECIMALS_FUNCTION (base); _tmp0_ = parameters; _tmp0__length1 = parameters_length1; if (_tmp0__length1 != 2) { GError* _tmp1_ = NULL; _tmp1_ = function_error ("two parameters expected"); _inner_error_ = _tmp1_; g_propagate_error (error, _inner_error_); return NULL; } _tmp2_ = widest; if (_tmp2_) { gchar** _tmp3_; gint _tmp3__length1; gchar* _tmp4_; gchar* _tmp5_; _tmp3_ = parameters; _tmp3__length1 = parameters_length1; _tmp4_ = g_strdup ("8"); _g_free0 (_tmp3_[0]); _tmp3_[0] = _tmp4_; _tmp5_ = _tmp3_[0]; } _tmp6_ = parameters; _tmp6__length1 = parameters_length1; _tmp7_ = _tmp6_[1]; _tmp8_ = atoi (_tmp7_); _tmp9_ = parameters; _tmp9__length1 = parameters_length1; _tmp10_ = _tmp9_[0]; _tmp11_ = double_parse (_tmp10_); _tmp12_ = g_strdup_printf ("%.*f", _tmp8_, _tmp11_); result = _tmp12_; return result; } static void decimals_function_class_init (DecimalsFunctionClass * klass) { decimals_function_parent_class = g_type_class_peek_parent (klass); FUNCTION_CLASS (klass)->call = decimals_function_real_call; } static void decimals_function_instance_init (DecimalsFunction * self) { } GType decimals_function_get_type (void) { static volatile gsize decimals_function_type_id__volatile = 0; if (g_once_init_enter (&decimals_function_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (DecimalsFunctionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) decimals_function_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DecimalsFunction), 0, (GInstanceInitFunc) decimals_function_instance_init, NULL }; GType decimals_function_type_id; decimals_function_type_id = g_type_register_static (TYPE_FUNCTION, "DecimalsFunction", &g_define_type_info, 0); g_once_init_leave (&decimals_function_type_id__volatile, decimals_function_type_id); } return decimals_function_type_id__volatile; } SizeFunction* size_function_construct (GType object_type) { SizeFunction * self = NULL; gchar* _tmp0_; gchar** _tmp1_ = NULL; gchar** _tmp2_; gint _tmp2__length1; _tmp0_ = g_strdup ("value"); _tmp1_ = g_new0 (gchar*, 1 + 1); _tmp1_[0] = _tmp0_; _tmp2_ = _tmp1_; _tmp2__length1 = 1; self = (SizeFunction*) function_construct (object_type, "size", _tmp2_, 1); _tmp2_ = (_vala_array_free (_tmp2_, _tmp2__length1, (GDestroyNotify) g_free), NULL); return self; } SizeFunction* size_function_new (void) { return size_function_construct (TYPE_SIZE_FUNCTION); } static gchar* size_function_real_call (Function* base, gchar** parameters, int parameters_length1, gboolean widest, GError** error) { SizeFunction * self; gchar* result = NULL; gchar** _tmp0_; gint _tmp0__length1; gboolean _tmp2_; gchar** _tmp6_; gint _tmp6__length1; const gchar* _tmp7_; gdouble _tmp8_ = 0.0; gchar* _tmp9_ = NULL; GError * _inner_error_ = NULL; self = SIZE_FUNCTION (base); _tmp0_ = parameters; _tmp0__length1 = parameters_length1; if (_tmp0__length1 != 1) { GError* _tmp1_ = NULL; _tmp1_ = function_error ("one parameter expected"); _inner_error_ = _tmp1_; g_propagate_error (error, _inner_error_); return NULL; } _tmp2_ = widest; if (_tmp2_) { gchar** _tmp3_; gint _tmp3__length1; gchar* _tmp4_; gchar* _tmp5_; _tmp3_ = parameters; _tmp3__length1 = parameters_length1; _tmp4_ = g_strdup ("999000000"); _g_free0 (_tmp3_[0]); _tmp3_[0] = _tmp4_; _tmp5_ = _tmp3_[0]; } _tmp6_ = parameters; _tmp6__length1 = parameters_length1; _tmp7_ = _tmp6_[0]; _tmp8_ = double_parse (_tmp7_); _tmp9_ = utils_format_size (_tmp8_); result = _tmp9_; return result; } static void size_function_class_init (SizeFunctionClass * klass) { size_function_parent_class = g_type_class_peek_parent (klass); FUNCTION_CLASS (klass)->call = size_function_real_call; } static void size_function_instance_init (SizeFunction * self) { } GType size_function_get_type (void) { static volatile gsize size_function_type_id__volatile = 0; if (g_once_init_enter (&size_function_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SizeFunctionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) size_function_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SizeFunction), 0, (GInstanceInitFunc) size_function_instance_init, NULL }; GType size_function_type_id; size_function_type_id = g_type_register_static (TYPE_FUNCTION, "SizeFunction", &g_define_type_info, 0); g_once_init_leave (&size_function_type_id__volatile, size_function_type_id); } return size_function_type_id__volatile; } SpeedFunction* speed_function_construct (GType object_type) { SpeedFunction * self = NULL; gchar* _tmp0_; gchar** _tmp1_ = NULL; gchar** _tmp2_; gint _tmp2__length1; _tmp0_ = g_strdup ("value"); _tmp1_ = g_new0 (gchar*, 1 + 1); _tmp1_[0] = _tmp0_; _tmp2_ = _tmp1_; _tmp2__length1 = 1; self = (SpeedFunction*) function_construct (object_type, "speed", _tmp2_, 1); _tmp2_ = (_vala_array_free (_tmp2_, _tmp2__length1, (GDestroyNotify) g_free), NULL); return self; } SpeedFunction* speed_function_new (void) { return speed_function_construct (TYPE_SPEED_FUNCTION); } static gchar* speed_function_real_call (Function* base, gchar** parameters, int parameters_length1, gboolean widest, GError** error) { SpeedFunction * self; gchar* result = NULL; gchar** _tmp0_; gint _tmp0__length1; gboolean _tmp2_; gchar** _tmp6_; gint _tmp6__length1; const gchar* _tmp7_; gdouble _tmp8_ = 0.0; gchar* _tmp9_ = NULL; GError * _inner_error_ = NULL; self = SPEED_FUNCTION (base); _tmp0_ = parameters; _tmp0__length1 = parameters_length1; if (_tmp0__length1 != 1) { GError* _tmp1_ = NULL; _tmp1_ = function_error ("one parameter expected"); _inner_error_ = _tmp1_; g_propagate_error (error, _inner_error_); return NULL; } _tmp2_ = widest; if (_tmp2_) { gchar** _tmp3_; gint _tmp3__length1; gchar* _tmp4_; gchar* _tmp5_; _tmp3_ = parameters; _tmp3__length1 = parameters_length1; _tmp4_ = g_strdup ("999000000"); _g_free0 (_tmp3_[0]); _tmp3_[0] = _tmp4_; _tmp5_ = _tmp3_[0]; } _tmp6_ = parameters; _tmp6__length1 = parameters_length1; _tmp7_ = _tmp6_[0]; _tmp8_ = double_parse (_tmp7_); _tmp9_ = utils_format_speed (_tmp8_); result = _tmp9_; return result; } static void speed_function_class_init (SpeedFunctionClass * klass) { speed_function_parent_class = g_type_class_peek_parent (klass); FUNCTION_CLASS (klass)->call = speed_function_real_call; } static void speed_function_instance_init (SpeedFunction * self) { } GType speed_function_get_type (void) { static volatile gsize speed_function_type_id__volatile = 0; if (g_once_init_enter (&speed_function_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SpeedFunctionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) speed_function_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpeedFunction), 0, (GInstanceInitFunc) speed_function_instance_init, NULL }; GType speed_function_type_id; speed_function_type_id = g_type_register_static (TYPE_FUNCTION, "SpeedFunction", &g_define_type_info, 0); g_once_init_leave (&speed_function_type_id__volatile, speed_function_type_id); } return speed_function_type_id__volatile; } PercentFunction* percent_function_construct (GType object_type) { PercentFunction * self = NULL; gchar* _tmp0_; gchar** _tmp1_ = NULL; gchar** _tmp2_; gint _tmp2__length1; _tmp0_ = g_strdup ("value"); _tmp1_ = g_new0 (gchar*, 1 + 1); _tmp1_[0] = _tmp0_; _tmp2_ = _tmp1_; _tmp2__length1 = 1; self = (PercentFunction*) function_construct (object_type, "percent", _tmp2_, 1); _tmp2_ = (_vala_array_free (_tmp2_, _tmp2__length1, (GDestroyNotify) g_free), NULL); return self; } PercentFunction* percent_function_new (void) { return percent_function_construct (TYPE_PERCENT_FUNCTION); } static gchar* percent_function_real_call (Function* base, gchar** parameters, int parameters_length1, gboolean widest, GError** error) { PercentFunction * self; gchar* result = NULL; gchar** _tmp0_; gint _tmp0__length1; gboolean _tmp2_; const gchar* _tmp6_ = NULL; gchar** _tmp7_; gint _tmp7__length1; const gchar* _tmp8_; gdouble _tmp9_ = 0.0; gdouble _tmp10_ = 0.0; gchar* _tmp11_ = NULL; GError * _inner_error_ = NULL; self = PERCENT_FUNCTION (base); _tmp0_ = parameters; _tmp0__length1 = parameters_length1; if (_tmp0__length1 != 1) { GError* _tmp1_ = NULL; _tmp1_ = function_error ("one parameter expected"); _inner_error_ = _tmp1_; g_propagate_error (error, _inner_error_); return NULL; } _tmp2_ = widest; if (_tmp2_) { gchar** _tmp3_; gint _tmp3__length1; gchar* _tmp4_; gchar* _tmp5_; _tmp3_ = parameters; _tmp3__length1 = parameters_length1; _tmp4_ = g_strdup ("1"); _g_free0 (_tmp3_[0]); _tmp3_[0] = _tmp4_; _tmp5_ = _tmp3_[0]; } _tmp6_ = _ ("%u%%"); _tmp7_ = parameters; _tmp7__length1 = parameters_length1; _tmp8_ = _tmp7_[0]; _tmp9_ = double_parse (_tmp8_); _tmp10_ = round (100 * _tmp9_); _tmp11_ = g_strdup_printf (_tmp6_, (guint) _tmp10_); result = _tmp11_; return result; } static void percent_function_class_init (PercentFunctionClass * klass) { percent_function_parent_class = g_type_class_peek_parent (klass); FUNCTION_CLASS (klass)->call = percent_function_real_call; } static void percent_function_instance_init (PercentFunction * self) { } GType percent_function_get_type (void) { static volatile gsize percent_function_type_id__volatile = 0; if (g_once_init_enter (&percent_function_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (PercentFunctionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) percent_function_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PercentFunction), 0, (GInstanceInitFunc) percent_function_instance_init, NULL }; GType percent_function_type_id; percent_function_type_id = g_type_register_static (TYPE_FUNCTION, "PercentFunction", &g_define_type_info, 0); g_once_init_leave (&percent_function_type_id__volatile, percent_function_type_id); } return percent_function_type_id__volatile; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/expressionparser.c0000664000175000017500000024412412107670272016625 00000000000000/* expressionparser.c generated by valac 0.14.2, the Vala compiler * generated from expressionparser.vala, do not modify */ #include #include #include #include #include #include #include #include #define TYPE_EXPRESSION_TOKENIZER (expression_tokenizer_get_type ()) #define EXPRESSION_TOKENIZER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EXPRESSION_TOKENIZER, ExpressionTokenizer)) #define EXPRESSION_TOKENIZER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EXPRESSION_TOKENIZER, ExpressionTokenizerClass)) #define IS_EXPRESSION_TOKENIZER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EXPRESSION_TOKENIZER)) #define IS_EXPRESSION_TOKENIZER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EXPRESSION_TOKENIZER)) #define EXPRESSION_TOKENIZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EXPRESSION_TOKENIZER, ExpressionTokenizerClass)) typedef struct _ExpressionTokenizer ExpressionTokenizer; typedef struct _ExpressionTokenizerClass ExpressionTokenizerClass; typedef struct _ExpressionTokenizerPrivate ExpressionTokenizerPrivate; #define _g_free0(var) (var = (g_free (var), NULL)) typedef struct _ParamSpecExpressionTokenizer ParamSpecExpressionTokenizer; #define TYPE_EXPRESSION_EVALUATOR (expression_evaluator_get_type ()) #define EXPRESSION_EVALUATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EXPRESSION_EVALUATOR, ExpressionEvaluator)) #define EXPRESSION_EVALUATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EXPRESSION_EVALUATOR, ExpressionEvaluatorClass)) #define IS_EXPRESSION_EVALUATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EXPRESSION_EVALUATOR)) #define IS_EXPRESSION_EVALUATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EXPRESSION_EVALUATOR)) #define EXPRESSION_EVALUATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EXPRESSION_EVALUATOR, ExpressionEvaluatorClass)) typedef struct _ExpressionEvaluator ExpressionEvaluator; typedef struct _ExpressionEvaluatorClass ExpressionEvaluatorClass; typedef struct _ExpressionEvaluatorPrivate ExpressionEvaluatorPrivate; #define TYPE_PROVIDERS (providers_get_type ()) #define PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDERS, Providers)) #define PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDERS, ProvidersClass)) #define IS_PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDERS)) #define IS_PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDERS)) #define PROVIDERS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDERS, ProvidersClass)) typedef struct _Providers Providers; typedef struct _ProvidersClass ProvidersClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) typedef struct _ParamSpecExpressionEvaluator ParamSpecExpressionEvaluator; #define TYPE_EXPRESSION_CACHE (expression_cache_get_type ()) #define EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EXPRESSION_CACHE, ExpressionCache)) #define EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) #define IS_EXPRESSION_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_EXPRESSION_CACHE)) #define IS_EXPRESSION_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_EXPRESSION_CACHE)) #define EXPRESSION_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_EXPRESSION_CACHE, ExpressionCacheClass)) typedef struct _ExpressionCache ExpressionCache; typedef struct _ExpressionCacheClass ExpressionCacheClass; typedef struct _ExpressionCachePrivate ExpressionCachePrivate; #define _expression_tokenizer_unref0(var) ((var == NULL) ? NULL : (var = (expression_tokenizer_unref (var), NULL))) #define _expression_evaluator_unref0(var) ((var == NULL) ? NULL : (var = (expression_evaluator_unref (var), NULL))) struct _ExpressionTokenizer { GTypeInstance parent_instance; volatile int ref_count; ExpressionTokenizerPrivate * priv; }; struct _ExpressionTokenizerClass { GTypeClass parent_class; void (*finalize) (ExpressionTokenizer *self); }; struct _ExpressionTokenizerPrivate { gchar* last; gchar* current; gchar** result; gint result_length1; gint _result_size_; }; struct _ParamSpecExpressionTokenizer { GParamSpec parent_instance; }; struct _ExpressionEvaluator { GTypeInstance parent_instance; volatile int ref_count; ExpressionEvaluatorPrivate * priv; }; struct _ExpressionEvaluatorClass { GTypeClass parent_class; void (*finalize) (ExpressionEvaluator *self); }; struct _ExpressionEvaluatorPrivate { Providers* providers; guint index; gchar** tokens; gint tokens_length1; gint _tokens_size_; gboolean guide; }; struct _ParamSpecExpressionEvaluator { GParamSpec parent_instance; }; struct _ExpressionCache { GObject parent_instance; ExpressionCachePrivate * priv; }; struct _ExpressionCacheClass { GObjectClass parent_class; }; struct _ExpressionCachePrivate { Providers* _providers; gchar** _tokens; gint _tokens_length1; gint __tokens_size_; gchar* _label; gchar* _guide; gchar* _expression; }; static gpointer expression_tokenizer_parent_class = NULL; static gpointer expression_evaluator_parent_class = NULL; static gpointer expression_cache_parent_class = NULL; gpointer expression_tokenizer_ref (gpointer instance); void expression_tokenizer_unref (gpointer instance); GParamSpec* param_spec_expression_tokenizer (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); void value_set_expression_tokenizer (GValue* value, gpointer v_object); void value_take_expression_tokenizer (GValue* value, gpointer v_object); gpointer value_get_expression_tokenizer (const GValue* value); GType expression_tokenizer_get_type (void) G_GNUC_CONST; #define EXPRESSION_TOKENIZER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_EXPRESSION_TOKENIZER, ExpressionTokenizerPrivate)) enum { EXPRESSION_TOKENIZER_DUMMY_PROPERTY }; gchar** expression_tokenizer_tokenize (ExpressionTokenizer* self, const gchar* expression, int* result_length1); static void expression_tokenizer_save (ExpressionTokenizer* self); static void expression_tokenizer_addcurrent (ExpressionTokenizer* self); static void expression_tokenizer_expand (ExpressionTokenizer* self); static gboolean expression_tokenizer_isvariable (ExpressionTokenizer* self); static void expression_tokenizer_add (ExpressionTokenizer* self, gchar what); static void expression_tokenizer_savewithcurrent (ExpressionTokenizer* self); static gboolean expression_tokenizer_isspace (ExpressionTokenizer* self); static void expression_tokenizer_savewith (ExpressionTokenizer* self, gchar what); static gchar** _vala_array_dup3 (gchar** self, int length); static void _vala_array_add3 (gchar*** array, int* length, int* size, gchar* value); static void _vala_array_add4 (gchar*** array, int* length, int* size, gchar* value); static void _vala_array_add5 (gchar*** array, int* length, int* size, gchar* value); ExpressionTokenizer* expression_tokenizer_new (void); ExpressionTokenizer* expression_tokenizer_construct (GType object_type); static void expression_tokenizer_finalize (ExpressionTokenizer* obj); gpointer expression_evaluator_ref (gpointer instance); void expression_evaluator_unref (gpointer instance); GParamSpec* param_spec_expression_evaluator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); void value_set_expression_evaluator (GValue* value, gpointer v_object); void value_take_expression_evaluator (GValue* value, gpointer v_object); gpointer value_get_expression_evaluator (const GValue* value); GType expression_evaluator_get_type (void) G_GNUC_CONST; GType providers_get_type (void) G_GNUC_CONST; #define EXPRESSION_EVALUATOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_EXPRESSION_EVALUATOR, ExpressionEvaluatorPrivate)) enum { EXPRESSION_EVALUATOR_DUMMY_PROPERTY }; ExpressionEvaluator* expression_evaluator_new (Providers* providers); ExpressionEvaluator* expression_evaluator_construct (GType object_type, Providers* providers); static GError* expression_evaluator_error (guint index, const gchar* message); static gchar* expression_evaluator_parens_or_identifier (ExpressionEvaluator* self, GError** error); static gchar* expression_evaluator_parens (ExpressionEvaluator* self, GError** error); static gchar* expression_evaluator_identifier (ExpressionEvaluator* self, GError** error); static gchar* expression_evaluator_times (ExpressionEvaluator* self, GError** error); static gchar* expression_evaluator_plus (ExpressionEvaluator* self, GError** error); static gchar** expression_evaluator_params (ExpressionEvaluator* self, int* result_length1, GError** error); static void _vala_array_add6 (gchar*** array, int* length, int* size, gchar* value); gchar* providers_call (Providers* self, const gchar* name, gchar** parameters, int parameters_length1, gboolean widest, gboolean* found, GError** error); gdouble providers_value (Providers* self, const gchar* name, gboolean* found); static gchar* expression_evaluator_text (ExpressionEvaluator* self, GError** error); static void _vala_array_add7 (gchar*** array, int* length, int* size, gchar* value); static void _vala_array_add8 (gchar*** array, int* length, int* size, gchar* value); gchar* expression_evaluator_evaluate (ExpressionEvaluator* self, gchar** tokens, int tokens_length1, gboolean guide); static gchar** _vala_array_dup4 (gchar** self, int length); static void expression_evaluator_finalize (ExpressionEvaluator* obj); GType expression_cache_get_type (void) G_GNUC_CONST; #define EXPRESSION_CACHE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_EXPRESSION_CACHE, ExpressionCachePrivate)) enum { EXPRESSION_CACHE_DUMMY_PROPERTY, EXPRESSION_CACHE_PROVIDERS, EXPRESSION_CACHE_EXPRESSION }; ExpressionCache* expression_cache_new (Providers* providers, const gchar* expression); ExpressionCache* expression_cache_construct (GType object_type, Providers* providers, const gchar* expression); void expression_cache_update (ExpressionCache* self); gchar** expression_cache_tokens (ExpressionCache* self, int* result_length1); static gchar** _vala_array_dup5 (gchar** self, int length); gchar* expression_cache_label (ExpressionCache* self); Providers* expression_cache_get_providers (ExpressionCache* self); gchar* expression_cache_guide (ExpressionCache* self); static void expression_cache_set_providers (ExpressionCache* self, Providers* value); const gchar* expression_cache_get_expression (ExpressionCache* self); void expression_cache_set_expression (ExpressionCache* self, const gchar* value); static void expression_cache_finalize (GObject* obj); static void _vala_expression_cache_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_expression_cache_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); static gchar** _vala_array_dup3 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } gchar** expression_tokenizer_tokenize (ExpressionTokenizer* self, const gchar* expression, int* result_length1) { gchar** result = NULL; gint level; gboolean inexpression; gboolean instringsingle; gboolean instringdouble; gboolean _tmp27_; gchar** _tmp31_; gint _tmp31__length1; gchar** _tmp32_; gint _tmp32__length1; gchar** _tmp33_; gint _tmp33__length1; g_return_val_if_fail (IS_EXPRESSION_TOKENIZER (self), NULL); g_return_val_if_fail (expression != NULL, NULL); self->priv->result = (_vala_array_free (self->priv->result, self->priv->result_length1, (GDestroyNotify) g_free), NULL); self->priv->result = NULL; self->priv->result_length1 = 0; self->priv->_result_size_ = self->priv->result_length1; self->priv->last = NULL; level = 0; inexpression = FALSE; instringsingle = FALSE; instringdouble = FALSE; { const gchar* _tmp0_; gboolean _tmp1_; _tmp0_ = expression; self->priv->current = _tmp0_; _tmp1_ = TRUE; while (TRUE) { gboolean _tmp2_; gchar* _tmp4_; gboolean _tmp5_; gint _tmp7_; gboolean _tmp14_; gboolean _tmp16_; gchar* _tmp18_; _tmp2_ = _tmp1_; if (!_tmp2_) { gchar* _tmp3_; _tmp3_ = self->priv->current; self->priv->current = _tmp3_ + 1; } _tmp1_ = FALSE; _tmp4_ = self->priv->current; if (!((*_tmp4_) != '\0')) { break; } _tmp5_ = inexpression; if (!_tmp5_) { gchar* _tmp6_; _tmp6_ = self->priv->current; if ((*_tmp6_) == '$') { expression_tokenizer_save (self); expression_tokenizer_addcurrent (self); inexpression = TRUE; } else { expression_tokenizer_expand (self); } continue; } _tmp7_ = level; if (_tmp7_ == 0) { gboolean _tmp8_ = FALSE; _tmp8_ = expression_tokenizer_isvariable (self); if (_tmp8_) { expression_tokenizer_expand (self); } else { gboolean _tmp9_ = FALSE; gchar* _tmp10_; gboolean _tmp12_; _tmp10_ = self->priv->last; if (_tmp10_ == NULL) { gchar* _tmp11_; _tmp11_ = self->priv->current; _tmp9_ = (*_tmp11_) == '('; } else { _tmp9_ = FALSE; } _tmp12_ = _tmp9_; if (_tmp12_) { gint _tmp13_; expression_tokenizer_addcurrent (self); _tmp13_ = level; level = _tmp13_ + 1; } else { expression_tokenizer_add (self, '('); expression_tokenizer_save (self); expression_tokenizer_add (self, ')'); expression_tokenizer_expand (self); inexpression = FALSE; } } continue; } _tmp14_ = instringsingle; if (_tmp14_) { gchar* _tmp15_; expression_tokenizer_expand (self); _tmp15_ = self->priv->current; if ((*_tmp15_) == '\'') { expression_tokenizer_savewithcurrent (self); instringsingle = FALSE; } continue; } _tmp16_ = instringdouble; if (_tmp16_) { gchar* _tmp17_; expression_tokenizer_expand (self); _tmp17_ = self->priv->current; if ((*_tmp17_) == '"') { expression_tokenizer_savewithcurrent (self); instringdouble = FALSE; } continue; } _tmp18_ = self->priv->current; if ((*_tmp18_) == '\'') { expression_tokenizer_save (self); expression_tokenizer_expand (self); instringsingle = TRUE; } else { gchar* _tmp19_; _tmp19_ = self->priv->current; if ((*_tmp19_) == '"') { expression_tokenizer_save (self); expression_tokenizer_expand (self); instringdouble = TRUE; } else { gchar* _tmp20_; _tmp20_ = self->priv->current; if ((*_tmp20_) == '(') { gint _tmp21_; expression_tokenizer_save (self); expression_tokenizer_addcurrent (self); _tmp21_ = level; level = _tmp21_ + 1; } else { gchar* _tmp22_; _tmp22_ = self->priv->current; if ((*_tmp22_) == ')') { gint _tmp23_; gint _tmp24_; expression_tokenizer_save (self); expression_tokenizer_addcurrent (self); _tmp23_ = level; level = _tmp23_ - 1; _tmp24_ = level; if (_tmp24_ == 0) { inexpression = FALSE; } } else { gboolean _tmp25_ = FALSE; _tmp25_ = expression_tokenizer_isspace (self); if (_tmp25_) { expression_tokenizer_save (self); } else { gboolean _tmp26_ = FALSE; _tmp26_ = expression_tokenizer_isvariable (self); if (!_tmp26_) { expression_tokenizer_save (self); expression_tokenizer_addcurrent (self); } else { expression_tokenizer_expand (self); } } } } } } } } _tmp27_ = instringdouble; if (_tmp27_) { expression_tokenizer_savewith (self, '"'); } else { gboolean _tmp28_; _tmp28_ = instringsingle; if (_tmp28_) { expression_tokenizer_savewith (self, '\''); } else { expression_tokenizer_save (self); } } while (TRUE) { gint _tmp29_; gint _tmp30_; _tmp29_ = level; if (!(_tmp29_ > 0)) { break; } expression_tokenizer_add (self, ')'); _tmp30_ = level; level = _tmp30_ - 1; } _tmp31_ = self->priv->result; _tmp31__length1 = self->priv->result_length1; _tmp32_ = (_tmp31_ != NULL) ? _vala_array_dup3 (_tmp31_, _tmp31__length1) : ((gpointer) _tmp31_); _tmp32__length1 = _tmp31__length1; _tmp33_ = _tmp32_; _tmp33__length1 = _tmp32__length1; if (result_length1) { *result_length1 = _tmp33__length1; } result = _tmp33_; return result; } static void expression_tokenizer_expand (ExpressionTokenizer* self) { gchar* _tmp0_; g_return_if_fail (IS_EXPRESSION_TOKENIZER (self)); _tmp0_ = self->priv->last; if (_tmp0_ == NULL) { gchar* _tmp1_; _tmp1_ = self->priv->current; self->priv->last = _tmp1_; } } static void expression_tokenizer_addcurrent (ExpressionTokenizer* self) { gchar* _tmp0_; g_return_if_fail (IS_EXPRESSION_TOKENIZER (self)); _tmp0_ = self->priv->current; expression_tokenizer_add (self, *_tmp0_); } static void _vala_array_add3 (gchar*** array, int* length, int* size, gchar* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (gchar*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static void expression_tokenizer_add (ExpressionTokenizer* self, gchar what) { gchar _tmp0_; gchar* _tmp1_ = NULL; gchar* token; gchar** _tmp2_; gint _tmp2__length1; gchar* _tmp3_; g_return_if_fail (IS_EXPRESSION_TOKENIZER (self)); _tmp0_ = what; _tmp1_ = g_strdup_printf ("%c", _tmp0_); token = _tmp1_; _tmp2_ = self->priv->result; _tmp2__length1 = self->priv->result_length1; _tmp3_ = g_strdup (token); _vala_array_add3 (&self->priv->result, &self->priv->result_length1, &self->priv->_result_size_, _tmp3_); _g_free0 (token); } static void _vala_array_add4 (gchar*** array, int* length, int* size, gchar* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (gchar*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static void expression_tokenizer_save (ExpressionTokenizer* self) { gchar* _tmp0_; g_return_if_fail (IS_EXPRESSION_TOKENIZER (self)); _tmp0_ = self->priv->last; if (_tmp0_ != NULL) { gchar* _tmp1_; gchar* _tmp2_; gchar* _tmp3_; gchar* _tmp4_ = NULL; gchar* token; gchar** _tmp5_; gint _tmp5__length1; const gchar* _tmp6_; gchar* _tmp7_; _tmp1_ = self->priv->last; _tmp2_ = self->priv->current; _tmp3_ = self->priv->last; _tmp4_ = g_strndup (_tmp1_, _tmp2_ - _tmp3_); token = _tmp4_; _tmp5_ = self->priv->result; _tmp5__length1 = self->priv->result_length1; _tmp6_ = token; _tmp7_ = g_strdup (_tmp6_); _vala_array_add4 (&self->priv->result, &self->priv->result_length1, &self->priv->_result_size_, _tmp7_); self->priv->last = NULL; _g_free0 (token); } else { } } static void expression_tokenizer_savewithcurrent (ExpressionTokenizer* self) { gchar* _tmp0_; g_return_if_fail (IS_EXPRESSION_TOKENIZER (self)); _tmp0_ = self->priv->current; expression_tokenizer_savewith (self, *_tmp0_); } static void _vala_array_add5 (gchar*** array, int* length, int* size, gchar* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (gchar*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static void expression_tokenizer_savewith (ExpressionTokenizer* self, gchar what) { gchar* _tmp0_ = NULL; gchar* _tmp1_; const gchar* _tmp7_; gchar _tmp8_; gchar* _tmp9_ = NULL; gchar* _tmp10_; gchar* _tmp11_; gchar* _tmp12_; gchar* token; gchar** _tmp13_; gint _tmp13__length1; gchar* _tmp14_; g_return_if_fail (IS_EXPRESSION_TOKENIZER (self)); _tmp1_ = self->priv->last; if (_tmp1_ != NULL) { gchar* _tmp2_; gchar* _tmp3_; gchar* _tmp4_; gchar* _tmp5_ = NULL; _tmp2_ = self->priv->last; _tmp3_ = self->priv->current; _tmp4_ = self->priv->last; _tmp5_ = g_strndup (_tmp2_, _tmp3_ - _tmp4_); _g_free0 (_tmp0_); _tmp0_ = _tmp5_; } else { gchar* _tmp6_; _tmp6_ = g_strdup (""); _g_free0 (_tmp0_); _tmp0_ = _tmp6_; } _tmp7_ = _tmp0_; _tmp8_ = what; _tmp9_ = g_strdup_printf ("%c", _tmp8_); _tmp10_ = _tmp9_; _tmp11_ = g_strconcat (_tmp7_, _tmp10_, NULL); _tmp12_ = _tmp11_; _g_free0 (_tmp10_); token = _tmp12_; _tmp13_ = self->priv->result; _tmp13__length1 = self->priv->result_length1; _tmp14_ = g_strdup (token); _vala_array_add5 (&self->priv->result, &self->priv->result_length1, &self->priv->_result_size_, _tmp14_); self->priv->last = NULL; _g_free0 (token); _g_free0 (_tmp0_); } static gboolean expression_tokenizer_isspace (ExpressionTokenizer* self) { gboolean result = FALSE; gchar* _tmp0_; g_return_val_if_fail (IS_EXPRESSION_TOKENIZER (self), FALSE); _tmp0_ = self->priv->current; result = (*_tmp0_) == ' '; return result; } static gboolean expression_tokenizer_isvariable (ExpressionTokenizer* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; gchar* _tmp3_; gboolean _tmp5_; gboolean _tmp10_; gboolean _tmp12_; g_return_val_if_fail (IS_EXPRESSION_TOKENIZER (self), FALSE); _tmp3_ = self->priv->current; if ((*_tmp3_) >= 'a') { gchar* _tmp4_; _tmp4_ = self->priv->current; _tmp2_ = (*_tmp4_) <= 'z'; } else { _tmp2_ = FALSE; } _tmp5_ = _tmp2_; if (_tmp5_) { _tmp1_ = TRUE; } else { gboolean _tmp6_ = FALSE; gchar* _tmp7_; gboolean _tmp9_; _tmp7_ = self->priv->current; if ((*_tmp7_) >= '0') { gchar* _tmp8_; _tmp8_ = self->priv->current; _tmp6_ = (*_tmp8_) <= '9'; } else { _tmp6_ = FALSE; } _tmp9_ = _tmp6_; _tmp1_ = _tmp9_; } _tmp10_ = _tmp1_; if (_tmp10_) { _tmp0_ = TRUE; } else { gchar* _tmp11_; _tmp11_ = self->priv->current; _tmp0_ = (*_tmp11_) == '.'; } _tmp12_ = _tmp0_; result = _tmp12_; return result; } ExpressionTokenizer* expression_tokenizer_construct (GType object_type) { ExpressionTokenizer* self = NULL; self = (ExpressionTokenizer*) g_type_create_instance (object_type); return self; } ExpressionTokenizer* expression_tokenizer_new (void) { return expression_tokenizer_construct (TYPE_EXPRESSION_TOKENIZER); } static void value_expression_tokenizer_init (GValue* value) { value->data[0].v_pointer = NULL; } static void value_expression_tokenizer_free_value (GValue* value) { if (value->data[0].v_pointer) { expression_tokenizer_unref (value->data[0].v_pointer); } } static void value_expression_tokenizer_copy_value (const GValue* src_value, GValue* dest_value) { if (src_value->data[0].v_pointer) { dest_value->data[0].v_pointer = expression_tokenizer_ref (src_value->data[0].v_pointer); } else { dest_value->data[0].v_pointer = NULL; } } static gpointer value_expression_tokenizer_peek_pointer (const GValue* value) { return value->data[0].v_pointer; } static gchar* value_expression_tokenizer_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { if (collect_values[0].v_pointer) { ExpressionTokenizer* object; object = collect_values[0].v_pointer; if (object->parent_instance.g_class == NULL) { return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); } value->data[0].v_pointer = expression_tokenizer_ref (object); } else { value->data[0].v_pointer = NULL; } return NULL; } static gchar* value_expression_tokenizer_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { ExpressionTokenizer** object_p; object_p = collect_values[0].v_pointer; if (!object_p) { return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); } if (!value->data[0].v_pointer) { *object_p = NULL; } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { *object_p = value->data[0].v_pointer; } else { *object_p = expression_tokenizer_ref (value->data[0].v_pointer); } return NULL; } GParamSpec* param_spec_expression_tokenizer (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecExpressionTokenizer* spec; g_return_val_if_fail (g_type_is_a (object_type, TYPE_EXPRESSION_TOKENIZER), NULL); spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); G_PARAM_SPEC (spec)->value_type = object_type; return G_PARAM_SPEC (spec); } gpointer value_get_expression_tokenizer (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_EXPRESSION_TOKENIZER), NULL); return value->data[0].v_pointer; } void value_set_expression_tokenizer (GValue* value, gpointer v_object) { ExpressionTokenizer* old; g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_EXPRESSION_TOKENIZER)); old = value->data[0].v_pointer; if (v_object) { g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_EXPRESSION_TOKENIZER)); g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); value->data[0].v_pointer = v_object; expression_tokenizer_ref (value->data[0].v_pointer); } else { value->data[0].v_pointer = NULL; } if (old) { expression_tokenizer_unref (old); } } void value_take_expression_tokenizer (GValue* value, gpointer v_object) { ExpressionTokenizer* old; g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_EXPRESSION_TOKENIZER)); old = value->data[0].v_pointer; if (v_object) { g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_EXPRESSION_TOKENIZER)); g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); value->data[0].v_pointer = v_object; } else { value->data[0].v_pointer = NULL; } if (old) { expression_tokenizer_unref (old); } } static void expression_tokenizer_class_init (ExpressionTokenizerClass * klass) { expression_tokenizer_parent_class = g_type_class_peek_parent (klass); EXPRESSION_TOKENIZER_CLASS (klass)->finalize = expression_tokenizer_finalize; g_type_class_add_private (klass, sizeof (ExpressionTokenizerPrivate)); } static void expression_tokenizer_instance_init (ExpressionTokenizer * self) { self->priv = EXPRESSION_TOKENIZER_GET_PRIVATE (self); self->ref_count = 1; } static void expression_tokenizer_finalize (ExpressionTokenizer* obj) { ExpressionTokenizer * self; self = EXPRESSION_TOKENIZER (obj); self->priv->result = (_vala_array_free (self->priv->result, self->priv->result_length1, (GDestroyNotify) g_free), NULL); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType expression_tokenizer_get_type (void) { static volatile gsize expression_tokenizer_type_id__volatile = 0; if (g_once_init_enter (&expression_tokenizer_type_id__volatile)) { static const GTypeValueTable g_define_type_value_table = { value_expression_tokenizer_init, value_expression_tokenizer_free_value, value_expression_tokenizer_copy_value, value_expression_tokenizer_peek_pointer, "p", value_expression_tokenizer_collect_value, "p", value_expression_tokenizer_lcopy_value }; static const GTypeInfo g_define_type_info = { sizeof (ExpressionTokenizerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) expression_tokenizer_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ExpressionTokenizer), 0, (GInstanceInitFunc) expression_tokenizer_instance_init, &g_define_type_value_table }; static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) }; GType expression_tokenizer_type_id; expression_tokenizer_type_id = g_type_register_fundamental (g_type_fundamental_next (), "ExpressionTokenizer", &g_define_type_info, &g_define_type_fundamental_info, 0); g_once_init_leave (&expression_tokenizer_type_id__volatile, expression_tokenizer_type_id); } return expression_tokenizer_type_id__volatile; } gpointer expression_tokenizer_ref (gpointer instance) { ExpressionTokenizer* self; self = instance; g_atomic_int_inc (&self->ref_count); return instance; } void expression_tokenizer_unref (gpointer instance) { ExpressionTokenizer* self; self = instance; if (g_atomic_int_dec_and_test (&self->ref_count)) { EXPRESSION_TOKENIZER_GET_CLASS (self)->finalize (self); g_type_free_instance ((GTypeInstance *) self); } } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } ExpressionEvaluator* expression_evaluator_construct (GType object_type, Providers* providers) { ExpressionEvaluator* self = NULL; Providers* _tmp0_; Providers* _tmp1_; g_return_val_if_fail (IS_PROVIDERS (providers), NULL); self = (ExpressionEvaluator*) g_type_create_instance (object_type); _tmp0_ = providers; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->providers); self->priv->providers = _tmp1_; return self; } ExpressionEvaluator* expression_evaluator_new (Providers* providers) { return expression_evaluator_construct (TYPE_EXPRESSION_EVALUATOR, providers); } static GError* expression_evaluator_error (guint index, const gchar* message) { GError* result = NULL; GQuark _tmp0_ = 0U; guint _tmp1_; const gchar* _tmp2_; GError* _tmp3_; g_return_val_if_fail (message != NULL, NULL); _tmp0_ = g_quark_from_string ("expression-error-quark"); _tmp1_ = index; _tmp2_ = message; _tmp3_ = g_error_new (_tmp0_, (gint) _tmp1_, "%s", _tmp2_); result = _tmp3_; return result; } static gchar* expression_evaluator_parens_or_identifier (ExpressionEvaluator* self, GError** error) { gchar* result = NULL; guint _tmp0_; gchar** _tmp1_; gint _tmp1__length1; gchar** _tmp4_; gint _tmp4__length1; guint _tmp5_; const gchar* _tmp6_; gchar* _tmp9_ = NULL; gchar* _tmp10_; GError * _inner_error_ = NULL; g_return_val_if_fail (IS_EXPRESSION_EVALUATOR (self), NULL); _tmp0_ = self->priv->index; _tmp1_ = self->priv->tokens; _tmp1__length1 = self->priv->tokens_length1; if (_tmp0_ >= ((guint) _tmp1__length1)) { guint _tmp2_; GError* _tmp3_ = NULL; _tmp2_ = self->priv->index; _tmp3_ = expression_evaluator_error (_tmp2_, "empty expression"); _inner_error_ = _tmp3_; g_propagate_error (error, _inner_error_); return NULL; } _tmp4_ = self->priv->tokens; _tmp4__length1 = self->priv->tokens_length1; _tmp5_ = self->priv->index; _tmp6_ = _tmp4_[_tmp5_]; if (g_strcmp0 (_tmp6_, "(") == 0) { gchar* _tmp7_ = NULL; gchar* _tmp8_; _tmp7_ = expression_evaluator_parens (self, &_inner_error_); _tmp8_ = _tmp7_; if (_inner_error_ != NULL) { g_propagate_error (error, _inner_error_); return NULL; } result = _tmp8_; return result; } _tmp9_ = expression_evaluator_identifier (self, &_inner_error_); _tmp10_ = _tmp9_; if (_inner_error_ != NULL) { g_propagate_error (error, _inner_error_); return NULL; } result = _tmp10_; return result; } static gdouble double_parse (const gchar* str) { gdouble result = 0.0; const gchar* _tmp0_; gdouble _tmp1_ = 0.0; g_return_val_if_fail (str != NULL, 0.0); _tmp0_ = str; _tmp1_ = g_ascii_strtod (_tmp0_, NULL); result = _tmp1_; return result; } static gchar* double_to_string (gdouble self) { gchar* result = NULL; gchar* _tmp0_ = NULL; gchar* _tmp1_; gint _tmp1__length1; const gchar* _tmp2_ = NULL; gchar* _tmp3_; gchar* _tmp4_; _tmp0_ = g_new0 (gchar, G_ASCII_DTOSTR_BUF_SIZE); _tmp1_ = _tmp0_; _tmp1__length1 = G_ASCII_DTOSTR_BUF_SIZE; _tmp2_ = g_ascii_dtostr (_tmp1_, G_ASCII_DTOSTR_BUF_SIZE, self); _tmp3_ = g_strdup (_tmp2_); _tmp4_ = _tmp3_; _tmp1_ = (g_free (_tmp1_), NULL); result = _tmp4_; return result; } static gchar* expression_evaluator_times (ExpressionEvaluator* self, GError** error) { gchar* result = NULL; gchar* _result_; gboolean div; GError * _inner_error_ = NULL; g_return_val_if_fail (IS_EXPRESSION_EVALUATOR (self), NULL); _result_ = NULL; div = FALSE; { gboolean _tmp0_; _tmp0_ = TRUE; while (TRUE) { gboolean _tmp1_; guint _tmp2_; gchar** _tmp3_; gint _tmp3__length1; gchar* _tmp6_ = NULL; gchar* value; const gchar* _tmp7_; guint _tmp21_; gchar** _tmp22_; gint _tmp22__length1; gchar** _tmp23_; gint _tmp23__length1; guint _tmp24_; const gchar* _tmp25_; const gchar* _tmp26_; GQuark _tmp28_ = 0U; static GQuark _tmp27_label0 = 0; static GQuark _tmp27_label1 = 0; _tmp1_ = _tmp0_; if (!_tmp1_) { } _tmp0_ = FALSE; _tmp2_ = self->priv->index; _tmp3_ = self->priv->tokens; _tmp3__length1 = self->priv->tokens_length1; if (_tmp2_ >= ((guint) _tmp3__length1)) { guint _tmp4_; GError* _tmp5_ = NULL; _tmp4_ = self->priv->index; _tmp5_ = expression_evaluator_error (_tmp4_, "expression expected"); _inner_error_ = _tmp5_; g_propagate_error (error, _inner_error_); _g_free0 (_result_); return NULL; } _tmp6_ = expression_evaluator_parens_or_identifier (self, &_inner_error_); value = _tmp6_; if (_inner_error_ != NULL) { g_propagate_error (error, _inner_error_); _g_free0 (_result_); return NULL; } _tmp7_ = _result_; if (_tmp7_ == NULL) { const gchar* _tmp8_; gchar* _tmp9_; _tmp8_ = value; _tmp9_ = g_strdup (_tmp8_); _g_free0 (_result_); _result_ = _tmp9_; } else { gboolean _tmp10_; _tmp10_ = div; if (!_tmp10_) { const gchar* _tmp11_; gdouble _tmp12_ = 0.0; const gchar* _tmp13_; gdouble _tmp14_ = 0.0; gchar* _tmp15_ = NULL; _tmp11_ = _result_; _tmp12_ = double_parse (_tmp11_); _tmp13_ = value; _tmp14_ = double_parse (_tmp13_); _tmp15_ = double_to_string (_tmp12_ * _tmp14_); _g_free0 (_result_); _result_ = _tmp15_; } else { const gchar* _tmp16_; gdouble _tmp17_ = 0.0; const gchar* _tmp18_; gdouble _tmp19_ = 0.0; gchar* _tmp20_ = NULL; _tmp16_ = _result_; _tmp17_ = double_parse (_tmp16_); _tmp18_ = value; _tmp19_ = double_parse (_tmp18_); _tmp20_ = double_to_string (_tmp17_ / _tmp19_); _g_free0 (_result_); _result_ = _tmp20_; } } _tmp21_ = self->priv->index; _tmp22_ = self->priv->tokens; _tmp22__length1 = self->priv->tokens_length1; if (_tmp21_ >= ((guint) _tmp22__length1)) { result = _result_; _g_free0 (value); return result; } _tmp23_ = self->priv->tokens; _tmp23__length1 = self->priv->tokens_length1; _tmp24_ = self->priv->index; _tmp25_ = _tmp23_[_tmp24_]; _tmp26_ = _tmp25_; _tmp28_ = (NULL == _tmp26_) ? 0 : g_quark_from_string (_tmp26_); if (_tmp28_ == ((0 != _tmp27_label0) ? _tmp27_label0 : (_tmp27_label0 = g_quark_from_static_string ("*")))) { switch (0) { default: { guint _tmp29_; div = FALSE; _tmp29_ = self->priv->index; self->priv->index = _tmp29_ + 1; continue; } } } else if (_tmp28_ == ((0 != _tmp27_label1) ? _tmp27_label1 : (_tmp27_label1 = g_quark_from_static_string ("/")))) { switch (0) { default: { guint _tmp30_; div = TRUE; _tmp30_ = self->priv->index; self->priv->index = _tmp30_ + 1; continue; } } } else { switch (0) { default: { result = _result_; _g_free0 (value); return result; } } } _g_free0 (value); } } _g_free0 (_result_); } static gchar* expression_evaluator_plus (ExpressionEvaluator* self, GError** error) { gchar* result = NULL; gchar* _result_; gboolean minus; GError * _inner_error_ = NULL; g_return_val_if_fail (IS_EXPRESSION_EVALUATOR (self), NULL); _result_ = NULL; minus = FALSE; { gboolean _tmp0_; _tmp0_ = TRUE; while (TRUE) { gboolean _tmp1_; guint _tmp2_; gchar** _tmp3_; gint _tmp3__length1; gchar* _tmp6_ = NULL; gchar* value; const gchar* _tmp7_; guint _tmp21_; gchar** _tmp22_; gint _tmp22__length1; gchar** _tmp23_; gint _tmp23__length1; guint _tmp24_; const gchar* _tmp25_; const gchar* _tmp26_; GQuark _tmp28_ = 0U; static GQuark _tmp27_label0 = 0; static GQuark _tmp27_label1 = 0; _tmp1_ = _tmp0_; if (!_tmp1_) { } _tmp0_ = FALSE; _tmp2_ = self->priv->index; _tmp3_ = self->priv->tokens; _tmp3__length1 = self->priv->tokens_length1; if (_tmp2_ >= ((guint) _tmp3__length1)) { guint _tmp4_; GError* _tmp5_ = NULL; _tmp4_ = self->priv->index; _tmp5_ = expression_evaluator_error (_tmp4_, "expression expected"); _inner_error_ = _tmp5_; g_propagate_error (error, _inner_error_); _g_free0 (_result_); return NULL; } _tmp6_ = expression_evaluator_times (self, &_inner_error_); value = _tmp6_; if (_inner_error_ != NULL) { g_propagate_error (error, _inner_error_); _g_free0 (_result_); return NULL; } _tmp7_ = _result_; if (_tmp7_ == NULL) { const gchar* _tmp8_; gchar* _tmp9_; _tmp8_ = value; _tmp9_ = g_strdup (_tmp8_); _g_free0 (_result_); _result_ = _tmp9_; } else { gboolean _tmp10_; _tmp10_ = minus; if (!_tmp10_) { const gchar* _tmp11_; gdouble _tmp12_ = 0.0; const gchar* _tmp13_; gdouble _tmp14_ = 0.0; gchar* _tmp15_ = NULL; _tmp11_ = _result_; _tmp12_ = double_parse (_tmp11_); _tmp13_ = value; _tmp14_ = double_parse (_tmp13_); _tmp15_ = double_to_string (_tmp12_ + _tmp14_); _g_free0 (_result_); _result_ = _tmp15_; } else { const gchar* _tmp16_; gdouble _tmp17_ = 0.0; const gchar* _tmp18_; gdouble _tmp19_ = 0.0; gchar* _tmp20_ = NULL; _tmp16_ = _result_; _tmp17_ = double_parse (_tmp16_); _tmp18_ = value; _tmp19_ = double_parse (_tmp18_); _tmp20_ = double_to_string (_tmp17_ - _tmp19_); _g_free0 (_result_); _result_ = _tmp20_; } } _tmp21_ = self->priv->index; _tmp22_ = self->priv->tokens; _tmp22__length1 = self->priv->tokens_length1; if (_tmp21_ >= ((guint) _tmp22__length1)) { result = _result_; _g_free0 (value); return result; } _tmp23_ = self->priv->tokens; _tmp23__length1 = self->priv->tokens_length1; _tmp24_ = self->priv->index; _tmp25_ = _tmp23_[_tmp24_]; _tmp26_ = _tmp25_; _tmp28_ = (NULL == _tmp26_) ? 0 : g_quark_from_string (_tmp26_); if (_tmp28_ == ((0 != _tmp27_label0) ? _tmp27_label0 : (_tmp27_label0 = g_quark_from_static_string ("+")))) { switch (0) { default: { guint _tmp29_; minus = FALSE; _tmp29_ = self->priv->index; self->priv->index = _tmp29_ + 1; continue; } } } else if (_tmp28_ == ((0 != _tmp27_label1) ? _tmp27_label1 : (_tmp27_label1 = g_quark_from_static_string ("-")))) { switch (0) { default: { guint _tmp30_; minus = TRUE; _tmp30_ = self->priv->index; self->priv->index = _tmp30_ + 1; continue; } } } else { switch (0) { default: { result = _result_; _g_free0 (value); return result; } } } _g_free0 (value); } } _g_free0 (_result_); } static gchar* expression_evaluator_parens (ExpressionEvaluator* self, GError** error) { gchar* result = NULL; gboolean _tmp0_ = FALSE; guint _tmp1_; gchar** _tmp2_; gint _tmp2__length1; gboolean _tmp6_; guint _tmp9_; gchar* _tmp10_ = NULL; gchar* _result_; gboolean _tmp11_ = FALSE; guint _tmp12_; gchar** _tmp13_; gint _tmp13__length1; gboolean _tmp17_; guint _tmp20_; GError * _inner_error_ = NULL; g_return_val_if_fail (IS_EXPRESSION_EVALUATOR (self), NULL); _tmp1_ = self->priv->index; _tmp2_ = self->priv->tokens; _tmp2__length1 = self->priv->tokens_length1; if (_tmp1_ >= ((guint) _tmp2__length1)) { _tmp0_ = TRUE; } else { gchar** _tmp3_; gint _tmp3__length1; guint _tmp4_; const gchar* _tmp5_; _tmp3_ = self->priv->tokens; _tmp3__length1 = self->priv->tokens_length1; _tmp4_ = self->priv->index; _tmp5_ = _tmp3_[_tmp4_]; _tmp0_ = g_strcmp0 (_tmp5_, "(") != 0; } _tmp6_ = _tmp0_; if (_tmp6_) { guint _tmp7_; GError* _tmp8_ = NULL; _tmp7_ = self->priv->index; _tmp8_ = expression_evaluator_error (_tmp7_, "'(' expected"); _inner_error_ = _tmp8_; g_propagate_error (error, _inner_error_); return NULL; } _tmp9_ = self->priv->index; self->priv->index = _tmp9_ + 1; _tmp10_ = expression_evaluator_plus (self, &_inner_error_); _result_ = _tmp10_; if (_inner_error_ != NULL) { g_propagate_error (error, _inner_error_); return NULL; } _tmp12_ = self->priv->index; _tmp13_ = self->priv->tokens; _tmp13__length1 = self->priv->tokens_length1; if (_tmp12_ >= ((guint) _tmp13__length1)) { _tmp11_ = TRUE; } else { gchar** _tmp14_; gint _tmp14__length1; guint _tmp15_; const gchar* _tmp16_; _tmp14_ = self->priv->tokens; _tmp14__length1 = self->priv->tokens_length1; _tmp15_ = self->priv->index; _tmp16_ = _tmp14_[_tmp15_]; _tmp11_ = g_strcmp0 (_tmp16_, ")") != 0; } _tmp17_ = _tmp11_; if (_tmp17_) { guint _tmp18_; GError* _tmp19_ = NULL; _tmp18_ = self->priv->index; _tmp19_ = expression_evaluator_error (_tmp18_, "')' expected"); _inner_error_ = _tmp19_; g_propagate_error (error, _inner_error_); _g_free0 (_result_); return NULL; } _tmp20_ = self->priv->index; self->priv->index = _tmp20_ + 1; result = _result_; return result; } static void _vala_array_add6 (gchar*** array, int* length, int* size, gchar* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (gchar*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static gchar** expression_evaluator_params (ExpressionEvaluator* self, int* result_length1, GError** error) { gchar** result = NULL; gchar** _result_; gint _result__length1; gint __result__size_; gboolean _tmp0_ = FALSE; guint _tmp1_; gchar** _tmp2_; gint _tmp2__length1; gboolean _tmp6_; guint _tmp9_; guint _tmp10_; gchar** _tmp11_; gint _tmp11__length1; gchar** _tmp14_; gint _tmp14__length1; guint _tmp15_; const gchar* _tmp16_; gboolean _tmp30_ = FALSE; guint _tmp31_; gchar** _tmp32_; gint _tmp32__length1; gboolean _tmp36_; guint _tmp39_; gchar** _tmp40_; gint _tmp40__length1; GError * _inner_error_ = NULL; g_return_val_if_fail (IS_EXPRESSION_EVALUATOR (self), NULL); _result_ = NULL; _result__length1 = 0; __result__size_ = _result__length1; _tmp1_ = self->priv->index; _tmp2_ = self->priv->tokens; _tmp2__length1 = self->priv->tokens_length1; if (_tmp1_ >= ((guint) _tmp2__length1)) { _tmp0_ = TRUE; } else { gchar** _tmp3_; gint _tmp3__length1; guint _tmp4_; const gchar* _tmp5_; _tmp3_ = self->priv->tokens; _tmp3__length1 = self->priv->tokens_length1; _tmp4_ = self->priv->index; _tmp5_ = _tmp3_[_tmp4_]; _tmp0_ = g_strcmp0 (_tmp5_, "(") != 0; } _tmp6_ = _tmp0_; if (_tmp6_) { guint _tmp7_; GError* _tmp8_ = NULL; _tmp7_ = self->priv->index; _tmp8_ = expression_evaluator_error (_tmp7_, "'(' expected"); _inner_error_ = _tmp8_; g_propagate_error (error, _inner_error_); _result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_free), NULL); return NULL; } _tmp9_ = self->priv->index; self->priv->index = _tmp9_ + 1; _tmp10_ = self->priv->index; _tmp11_ = self->priv->tokens; _tmp11__length1 = self->priv->tokens_length1; if (_tmp10_ >= ((guint) _tmp11__length1)) { guint _tmp12_; GError* _tmp13_ = NULL; _tmp12_ = self->priv->index; _tmp13_ = expression_evaluator_error (_tmp12_, "parameters expected"); _inner_error_ = _tmp13_; g_propagate_error (error, _inner_error_); _result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_free), NULL); return NULL; } _tmp14_ = self->priv->tokens; _tmp14__length1 = self->priv->tokens_length1; _tmp15_ = self->priv->index; _tmp16_ = _tmp14_[_tmp15_]; if (g_strcmp0 (_tmp16_, ")") != 0) { { gboolean _tmp17_; _tmp17_ = TRUE; while (TRUE) { gboolean _tmp18_; gchar* _tmp19_ = NULL; gchar* _tmp20_; gchar** _tmp21_; gint _tmp21__length1; guint _tmp22_; gchar** _tmp23_; gint _tmp23__length1; gchar** _tmp26_; gint _tmp26__length1; guint _tmp27_; const gchar* _tmp28_; guint _tmp29_; _tmp18_ = _tmp17_; if (!_tmp18_) { } _tmp17_ = FALSE; _tmp19_ = expression_evaluator_plus (self, &_inner_error_); _tmp20_ = _tmp19_; if (_inner_error_ != NULL) { g_propagate_error (error, _inner_error_); _result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_free), NULL); return NULL; } _tmp21_ = _result_; _tmp21__length1 = _result__length1; _vala_array_add6 (&_result_, &_result__length1, &__result__size_, _tmp20_); _tmp22_ = self->priv->index; _tmp23_ = self->priv->tokens; _tmp23__length1 = self->priv->tokens_length1; if (_tmp22_ >= ((guint) _tmp23__length1)) { guint _tmp24_; GError* _tmp25_ = NULL; _tmp24_ = self->priv->index; _tmp25_ = expression_evaluator_error (_tmp24_, "')' expected"); _inner_error_ = _tmp25_; g_propagate_error (error, _inner_error_); _result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_free), NULL); return NULL; } _tmp26_ = self->priv->tokens; _tmp26__length1 = self->priv->tokens_length1; _tmp27_ = self->priv->index; _tmp28_ = _tmp26_[_tmp27_]; if (g_strcmp0 (_tmp28_, ",") != 0) { break; } _tmp29_ = self->priv->index; self->priv->index = _tmp29_ + 1; } } } _tmp31_ = self->priv->index; _tmp32_ = self->priv->tokens; _tmp32__length1 = self->priv->tokens_length1; if (_tmp31_ >= ((guint) _tmp32__length1)) { _tmp30_ = TRUE; } else { gchar** _tmp33_; gint _tmp33__length1; guint _tmp34_; const gchar* _tmp35_; _tmp33_ = self->priv->tokens; _tmp33__length1 = self->priv->tokens_length1; _tmp34_ = self->priv->index; _tmp35_ = _tmp33_[_tmp34_]; _tmp30_ = g_strcmp0 (_tmp35_, ")") != 0; } _tmp36_ = _tmp30_; if (_tmp36_) { guint _tmp37_; GError* _tmp38_ = NULL; _tmp37_ = self->priv->index; _tmp38_ = expression_evaluator_error (_tmp37_, "')' expected"); _inner_error_ = _tmp38_; g_propagate_error (error, _inner_error_); _result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_free), NULL); return NULL; } _tmp39_ = self->priv->index; self->priv->index = _tmp39_ + 1; _tmp40_ = _result_; _tmp40__length1 = _result__length1; if (result_length1) { *result_length1 = _tmp40__length1; } result = _tmp40_; return result; } static gchar string_get (const gchar* self, glong index) { gchar result = '\0'; glong _tmp0_; gchar _tmp1_; g_return_val_if_fail (self != NULL, '\0'); _tmp0_ = index; _tmp1_ = ((gchar*) self)[_tmp0_]; result = _tmp1_; return result; } static gchar* string_slice (const gchar* self, glong start, glong end) { gchar* result = NULL; gint _tmp0_; gint _tmp1_; glong string_length; glong _tmp2_; glong _tmp5_; gboolean _tmp8_ = FALSE; glong _tmp9_; gboolean _tmp12_; gboolean _tmp13_ = FALSE; glong _tmp14_; gboolean _tmp17_; glong _tmp18_; glong _tmp19_; glong _tmp20_; glong _tmp21_; glong _tmp22_; gchar* _tmp23_ = NULL; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = strlen (self); _tmp1_ = _tmp0_; string_length = (glong) _tmp1_; _tmp2_ = start; if (_tmp2_ < ((glong) 0)) { glong _tmp3_; glong _tmp4_; _tmp3_ = string_length; _tmp4_ = start; start = _tmp3_ + _tmp4_; } _tmp5_ = end; if (_tmp5_ < ((glong) 0)) { glong _tmp6_; glong _tmp7_; _tmp6_ = string_length; _tmp7_ = end; end = _tmp6_ + _tmp7_; } _tmp9_ = start; if (_tmp9_ >= ((glong) 0)) { glong _tmp10_; glong _tmp11_; _tmp10_ = start; _tmp11_ = string_length; _tmp8_ = _tmp10_ <= _tmp11_; } else { _tmp8_ = FALSE; } _tmp12_ = _tmp8_; g_return_val_if_fail (_tmp12_, NULL); _tmp14_ = end; if (_tmp14_ >= ((glong) 0)) { glong _tmp15_; glong _tmp16_; _tmp15_ = end; _tmp16_ = string_length; _tmp13_ = _tmp15_ <= _tmp16_; } else { _tmp13_ = FALSE; } _tmp17_ = _tmp13_; g_return_val_if_fail (_tmp17_, NULL); _tmp18_ = start; _tmp19_ = end; g_return_val_if_fail (_tmp18_ <= _tmp19_, NULL); _tmp20_ = start; _tmp21_ = end; _tmp22_ = start; _tmp23_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) (_tmp21_ - _tmp22_)); result = _tmp23_; return result; } static gchar* expression_evaluator_identifier (ExpressionEvaluator* self, GError** error) { gchar* result = NULL; guint _tmp0_; gchar** _tmp1_; gint _tmp1__length1; gdouble sign; gchar** _tmp4_; gint _tmp4__length1; guint _tmp5_; const gchar* _tmp6_; gchar** _tmp20_; gint _tmp20__length1; guint _tmp21_; const gchar* _tmp22_; gchar* _tmp23_; gchar* token; gboolean _tmp24_ = FALSE; const gchar* _tmp25_; gint _tmp26_; gint _tmp27_; gboolean _tmp34_; gboolean _tmp47_ = FALSE; const gchar* _tmp48_; gint _tmp49_; gint _tmp50_; gboolean _tmp61_; const gchar* _tmp66_; gchar** _tmp67_; gchar** _tmp68_ = NULL; gchar** varparts; gint varparts_length1; gint _varparts_size_; guint _tmp69_; guint nameindex; guint _tmp70_; gchar** _tmp71_; gint _tmp71__length1; GError * _inner_error_ = NULL; g_return_val_if_fail (IS_EXPRESSION_EVALUATOR (self), NULL); _tmp0_ = self->priv->index; _tmp1_ = self->priv->tokens; _tmp1__length1 = self->priv->tokens_length1; if (_tmp0_ >= ((guint) _tmp1__length1)) { guint _tmp2_; GError* _tmp3_ = NULL; _tmp2_ = self->priv->index; _tmp3_ = expression_evaluator_error (_tmp2_, "identifier expected"); _inner_error_ = _tmp3_; g_propagate_error (error, _inner_error_); return NULL; } sign = (gdouble) 1; _tmp4_ = self->priv->tokens; _tmp4__length1 = self->priv->tokens_length1; _tmp5_ = self->priv->index; _tmp6_ = _tmp4_[_tmp5_]; if (g_strcmp0 (_tmp6_, "+") == 0) { guint _tmp7_; guint _tmp8_; gchar** _tmp9_; gint _tmp9__length1; _tmp7_ = self->priv->index; self->priv->index = _tmp7_ + 1; _tmp8_ = self->priv->index; _tmp9_ = self->priv->tokens; _tmp9__length1 = self->priv->tokens_length1; if (_tmp8_ >= ((guint) _tmp9__length1)) { guint _tmp10_; GError* _tmp11_ = NULL; _tmp10_ = self->priv->index; _tmp11_ = expression_evaluator_error (_tmp10_, "identifier expected"); _inner_error_ = _tmp11_; g_propagate_error (error, _inner_error_); return NULL; } } else { gchar** _tmp12_; gint _tmp12__length1; guint _tmp13_; const gchar* _tmp14_; _tmp12_ = self->priv->tokens; _tmp12__length1 = self->priv->tokens_length1; _tmp13_ = self->priv->index; _tmp14_ = _tmp12_[_tmp13_]; if (g_strcmp0 (_tmp14_, "-") == 0) { guint _tmp15_; guint _tmp16_; gchar** _tmp17_; gint _tmp17__length1; sign = -1.0; _tmp15_ = self->priv->index; self->priv->index = _tmp15_ + 1; _tmp16_ = self->priv->index; _tmp17_ = self->priv->tokens; _tmp17__length1 = self->priv->tokens_length1; if (_tmp16_ >= ((guint) _tmp17__length1)) { guint _tmp18_; GError* _tmp19_ = NULL; _tmp18_ = self->priv->index; _tmp19_ = expression_evaluator_error (_tmp18_, "identifier expected"); _inner_error_ = _tmp19_; g_propagate_error (error, _inner_error_); return NULL; } } } _tmp20_ = self->priv->tokens; _tmp20__length1 = self->priv->tokens_length1; _tmp21_ = self->priv->index; _tmp22_ = _tmp20_[_tmp21_]; _tmp23_ = g_strdup (_tmp22_); token = _tmp23_; _tmp25_ = token; _tmp26_ = strlen (_tmp25_); _tmp27_ = _tmp26_; if (_tmp27_ > 0) { gboolean _tmp28_ = FALSE; const gchar* _tmp29_; gchar _tmp30_ = '\0'; gboolean _tmp33_; _tmp29_ = token; _tmp30_ = string_get (_tmp29_, (glong) 0); if (_tmp30_ == '\'') { _tmp28_ = TRUE; } else { const gchar* _tmp31_; gchar _tmp32_ = '\0'; _tmp31_ = token; _tmp32_ = string_get (_tmp31_, (glong) 0); _tmp28_ = _tmp32_ == '"'; } _tmp33_ = _tmp28_; _tmp24_ = _tmp33_; } else { _tmp24_ = FALSE; } _tmp34_ = _tmp24_; if (_tmp34_) { guint _tmp35_; const gchar* _tmp36_ = NULL; gdouble _tmp37_; const gchar* _tmp38_; const gchar* _tmp39_; const gchar* _tmp40_; gint _tmp41_; gint _tmp42_; gchar* _tmp43_ = NULL; gchar* _tmp44_; gchar* _tmp45_; gchar* _tmp46_; _tmp35_ = self->priv->index; self->priv->index = _tmp35_ + 1; _tmp37_ = sign; if (_tmp37_ == ((gdouble) (-1))) { _tmp36_ = "-"; } else { _tmp36_ = ""; } _tmp38_ = _tmp36_; _tmp39_ = token; _tmp40_ = token; _tmp41_ = strlen (_tmp40_); _tmp42_ = _tmp41_; _tmp43_ = string_slice (_tmp39_, (glong) 1, (glong) (_tmp42_ - 1)); _tmp44_ = _tmp43_; _tmp45_ = g_strconcat (_tmp38_, _tmp44_, NULL); _tmp46_ = _tmp45_; _g_free0 (_tmp44_); result = _tmp46_; _g_free0 (token); return result; } _tmp48_ = token; _tmp49_ = strlen (_tmp48_); _tmp50_ = _tmp49_; if (_tmp50_ > 0) { gboolean _tmp51_ = FALSE; gboolean _tmp52_ = FALSE; const gchar* _tmp53_; gchar _tmp54_ = '\0'; gboolean _tmp57_; gboolean _tmp60_; _tmp53_ = token; _tmp54_ = string_get (_tmp53_, (glong) 0); if (_tmp54_ >= '0') { const gchar* _tmp55_; gchar _tmp56_ = '\0'; _tmp55_ = token; _tmp56_ = string_get (_tmp55_, (glong) 0); _tmp52_ = _tmp56_ <= '9'; } else { _tmp52_ = FALSE; } _tmp57_ = _tmp52_; if (_tmp57_) { _tmp51_ = TRUE; } else { const gchar* _tmp58_; gchar _tmp59_ = '\0'; _tmp58_ = token; _tmp59_ = string_get (_tmp58_, (glong) 0); _tmp51_ = _tmp59_ == '.'; } _tmp60_ = _tmp51_; _tmp47_ = _tmp60_; } else { _tmp47_ = FALSE; } _tmp61_ = _tmp47_; if (_tmp61_) { guint _tmp62_; gdouble _tmp63_; _tmp62_ = self->priv->index; self->priv->index = _tmp62_ + 1; _tmp63_ = sign; if (_tmp63_ == ((gdouble) (-1))) { const gchar* _tmp64_; gchar* _tmp65_; _tmp64_ = token; _tmp65_ = g_strconcat ("-", _tmp64_, NULL); result = _tmp65_; _g_free0 (token); return result; } result = token; return result; } _tmp66_ = token; _tmp68_ = _tmp67_ = g_strsplit (_tmp66_, ".", 0); varparts = _tmp68_; varparts_length1 = _vala_array_length (_tmp67_); _varparts_size_ = varparts_length1; _tmp69_ = self->priv->index; nameindex = _tmp69_; _tmp70_ = self->priv->index; self->priv->index = _tmp70_ + 1; _tmp71_ = varparts; _tmp71__length1 = varparts_length1; switch (_tmp71__length1) { case 1: { gboolean found; found = FALSE; { gint _tmp72_ = 0; gchar** _tmp73_ = NULL; gchar** _tmp74_; gint _tmp74__length1; gint __tmp74__size_; Providers* _tmp75_; const gchar* _tmp76_; gchar** _tmp77_; gint _tmp77__length1; gboolean _tmp78_; gboolean _tmp79_ = FALSE; gchar* _tmp80_ = NULL; gchar* _tmp81_; gchar* _result_; gboolean _tmp82_; const gchar* _tmp85_ = NULL; gdouble _tmp86_; const gchar* _tmp87_; const gchar* _tmp88_; gchar* _tmp89_; _tmp73_ = expression_evaluator_params (self, &_tmp72_, &_inner_error_); _tmp74_ = _tmp73_; _tmp74__length1 = _tmp72_; __tmp74__size_ = _tmp74__length1; if (_inner_error_ != NULL) { goto __catch2_g_error; } _tmp75_ = self->priv->providers; _tmp76_ = token; _tmp77_ = _tmp74_; _tmp77__length1 = _tmp74__length1; _tmp78_ = self->priv->guide; _tmp80_ = providers_call (_tmp75_, _tmp76_, _tmp77_, _tmp74__length1, _tmp78_, &_tmp79_, &_inner_error_); found = _tmp79_; _tmp81_ = _tmp80_; _tmp77_ = (_vala_array_free (_tmp77_, _tmp77__length1, (GDestroyNotify) g_free), NULL); _result_ = _tmp81_; if (_inner_error_ != NULL) { goto __catch2_g_error; } _tmp82_ = found; if (!_tmp82_) { guint _tmp83_; GError* _tmp84_ = NULL; _tmp83_ = nameindex; _tmp84_ = expression_evaluator_error (_tmp83_, "unknown function"); _inner_error_ = _tmp84_; _g_free0 (_result_); goto __catch2_g_error; } _tmp86_ = sign; if (_tmp86_ == ((gdouble) (-1))) { _tmp85_ = "-"; } else { _tmp85_ = ""; } _tmp87_ = _tmp85_; _tmp88_ = _result_; _tmp89_ = g_strconcat (_tmp87_, _tmp88_, NULL); result = _tmp89_; _g_free0 (_result_); varparts = (_vala_array_free (varparts, varparts_length1, (GDestroyNotify) g_free), NULL); _g_free0 (token); return result; } goto __finally2; __catch2_g_error: { GError* e = NULL; guint _tmp90_; GError* _tmp91_; const gchar* _tmp92_; GError* _tmp93_ = NULL; e = _inner_error_; _inner_error_ = NULL; _tmp90_ = nameindex; _tmp91_ = e; _tmp92_ = _tmp91_->message; _tmp93_ = expression_evaluator_error (_tmp90_, _tmp92_); _inner_error_ = _tmp93_; _g_error_free0 (e); goto __finally2; } __finally2: g_propagate_error (error, _inner_error_); varparts = (_vala_array_free (varparts, varparts_length1, (GDestroyNotify) g_free), NULL); _g_free0 (token); return NULL; } case 2: { gboolean found; gdouble _tmp94_; Providers* _tmp95_; const gchar* _tmp96_; gboolean _tmp97_ = FALSE; gdouble _tmp98_ = 0.0; gchar* _tmp99_ = NULL; gchar* _result_; gboolean _tmp100_; found = FALSE; _tmp94_ = sign; _tmp95_ = self->priv->providers; _tmp96_ = token; _tmp98_ = providers_value (_tmp95_, _tmp96_, &_tmp97_); found = _tmp97_; _tmp99_ = double_to_string (_tmp94_ * _tmp98_); _result_ = _tmp99_; _tmp100_ = found; if (!_tmp100_) { guint _tmp101_; GError* _tmp102_ = NULL; _tmp101_ = nameindex; _tmp102_ = expression_evaluator_error (_tmp101_, "unknown variable"); _inner_error_ = _tmp102_; g_propagate_error (error, _inner_error_); _g_free0 (_result_); varparts = (_vala_array_free (varparts, varparts_length1, (GDestroyNotify) g_free), NULL); _g_free0 (token); return NULL; } result = _result_; varparts = (_vala_array_free (varparts, varparts_length1, (GDestroyNotify) g_free), NULL); _g_free0 (token); return result; } default: { guint _tmp103_; GError* _tmp104_ = NULL; _tmp103_ = nameindex; _tmp104_ = expression_evaluator_error (_tmp103_, "too many identifier parts"); _inner_error_ = _tmp104_; g_propagate_error (error, _inner_error_); varparts = (_vala_array_free (varparts, varparts_length1, (GDestroyNotify) g_free), NULL); _g_free0 (token); return NULL; } } varparts = (_vala_array_free (varparts, varparts_length1, (GDestroyNotify) g_free), NULL); _g_free0 (token); } static void _vala_array_add7 (gchar*** array, int* length, int* size, gchar* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (gchar*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static void _vala_array_add8 (gchar*** array, int* length, int* size, gchar* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (gchar*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static gchar* expression_evaluator_text (ExpressionEvaluator* self, GError** error) { gchar* result = NULL; gchar** _tmp0_ = NULL; gchar** _result_; gint _result__length1; gint __result__size_; gchar** _tmp16_; gint _tmp16__length1; gchar* _tmp17_ = NULL; GError * _inner_error_ = NULL; g_return_val_if_fail (IS_EXPRESSION_EVALUATOR (self), NULL); _tmp0_ = g_new0 (gchar*, 0 + 1); _result_ = _tmp0_; _result__length1 = 0; __result__size_ = _result__length1; while (TRUE) { guint _tmp1_; gchar** _tmp2_; gint _tmp2__length1; gchar** _tmp3_; gint _tmp3__length1; guint _tmp4_; const gchar* _tmp5_; gchar* _tmp6_; gchar* current; const gchar* _tmp7_; _tmp1_ = self->priv->index; _tmp2_ = self->priv->tokens; _tmp2__length1 = self->priv->tokens_length1; if (!(_tmp1_ < ((guint) _tmp2__length1))) { break; } _tmp3_ = self->priv->tokens; _tmp3__length1 = self->priv->tokens_length1; _tmp4_ = self->priv->index; _tmp5_ = _tmp3_[_tmp4_]; _tmp6_ = g_strdup (_tmp5_); current = _tmp6_; _tmp7_ = current; if (g_strcmp0 (_tmp7_, "$") == 0) { guint _tmp8_; gchar* _tmp9_ = NULL; gchar* _tmp10_; gchar** _tmp11_; gint _tmp11__length1; _tmp8_ = self->priv->index; self->priv->index = _tmp8_ + 1; _tmp9_ = expression_evaluator_parens_or_identifier (self, &_inner_error_); _tmp10_ = _tmp9_; if (_inner_error_ != NULL) { g_propagate_error (error, _inner_error_); _g_free0 (current); _result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_free), NULL); return NULL; } _tmp11_ = _result_; _tmp11__length1 = _result__length1; _vala_array_add7 (&_result_, &_result__length1, &__result__size_, _tmp10_); } else { gchar** _tmp12_; gint _tmp12__length1; const gchar* _tmp13_; gchar* _tmp14_; guint _tmp15_; _tmp12_ = _result_; _tmp12__length1 = _result__length1; _tmp13_ = current; _tmp14_ = g_strdup (_tmp13_); _vala_array_add8 (&_result_, &_result__length1, &__result__size_, _tmp14_); _tmp15_ = self->priv->index; self->priv->index = _tmp15_ + 1; } _g_free0 (current); } _tmp16_ = _result_; _tmp16__length1 = _result__length1; _tmp17_ = g_strjoinv ("", _tmp16_); result = _tmp17_; _result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_free), NULL); return result; } static gchar** _vala_array_dup4 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } gchar* expression_evaluator_evaluate (ExpressionEvaluator* self, gchar** tokens, int tokens_length1, gboolean guide) { gchar* result = NULL; gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; gboolean _tmp2_; GError * _inner_error_ = NULL; g_return_val_if_fail (IS_EXPRESSION_EVALUATOR (self), NULL); self->priv->index = (guint) 0; _tmp0_ = tokens; _tmp0__length1 = tokens_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup4 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->tokens = (_vala_array_free (self->priv->tokens, self->priv->tokens_length1, (GDestroyNotify) g_free), NULL); self->priv->tokens = _tmp1_; self->priv->tokens_length1 = _tmp1__length1; self->priv->_tokens_size_ = self->priv->tokens_length1; _tmp2_ = guide; self->priv->guide = _tmp2_; { gchar* _tmp3_ = NULL; gchar* _tmp4_; _tmp3_ = expression_evaluator_text (self, &_inner_error_); _tmp4_ = _tmp3_; if (_inner_error_ != NULL) { goto __catch3_g_error; } result = _tmp4_; return result; } goto __finally3; __catch3_g_error: { GError* e = NULL; FILE* _tmp5_; GError* _tmp6_; const gchar* _tmp7_; gchar* _tmp8_; gchar* errormessage; gint errorpos; gint _tmp28_; FILE* _tmp32_; const gchar* _tmp33_; gint _tmp34_; gchar* _tmp35_ = NULL; gchar* _tmp36_; gchar* _tmp37_; e = _inner_error_; _inner_error_ = NULL; _tmp5_ = stderr; _tmp6_ = e; _tmp7_ = _tmp6_->message; fprintf (_tmp5_, "Expression error: %s\n", _tmp7_); _tmp8_ = g_strdup (""); errormessage = _tmp8_; errorpos = -1; { guint i; gchar** _tmp9_; gint _tmp9__length1; guint isize; i = (guint) 0; _tmp9_ = self->priv->tokens; _tmp9__length1 = self->priv->tokens_length1; isize = (guint) _tmp9__length1; { gboolean _tmp10_; _tmp10_ = TRUE; while (TRUE) { gboolean _tmp11_; guint _tmp13_; guint _tmp14_; GError* _tmp15_; gint _tmp16_; guint _tmp17_; const gchar* _tmp21_; gchar** _tmp22_; gint _tmp22__length1; guint _tmp23_; const gchar* _tmp24_; gchar* _tmp25_; gchar* _tmp26_; gchar* _tmp27_; _tmp11_ = _tmp10_; if (!_tmp11_) { guint _tmp12_; _tmp12_ = i; i = _tmp12_ + 1; } _tmp10_ = FALSE; _tmp13_ = i; _tmp14_ = isize; if (!(_tmp13_ < _tmp14_)) { break; } _tmp15_ = e; _tmp16_ = _tmp15_->code; _tmp17_ = i; if (((guint) _tmp16_) == _tmp17_) { const gchar* _tmp18_; gint _tmp19_; gint _tmp20_; _tmp18_ = errormessage; _tmp19_ = strlen (_tmp18_); _tmp20_ = _tmp19_; errorpos = _tmp20_; } _tmp21_ = errormessage; _tmp22_ = self->priv->tokens; _tmp22__length1 = self->priv->tokens_length1; _tmp23_ = i; _tmp24_ = _tmp22_[_tmp23_]; _tmp25_ = g_strconcat (" ", _tmp24_, NULL); _tmp26_ = _tmp25_; _tmp27_ = g_strconcat (_tmp21_, _tmp26_, NULL); _g_free0 (errormessage); errormessage = _tmp27_; _g_free0 (_tmp26_); } } } _tmp28_ = errorpos; if (_tmp28_ < 0) { const gchar* _tmp29_; gint _tmp30_; gint _tmp31_; _tmp29_ = errormessage; _tmp30_ = strlen (_tmp29_); _tmp31_ = _tmp30_; errorpos = _tmp31_; } _tmp32_ = stderr; _tmp33_ = errormessage; _tmp34_ = errorpos; _tmp35_ = g_strnfill ((gsize) _tmp34_, '-'); _tmp36_ = _tmp35_; fprintf (_tmp32_, "%s\n%s^\n", _tmp33_, _tmp36_); _g_free0 (_tmp36_); _tmp37_ = g_strdup (""); result = _tmp37_; _g_free0 (errormessage); _g_error_free0 (e); return result; } __finally3: g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } static void value_expression_evaluator_init (GValue* value) { value->data[0].v_pointer = NULL; } static void value_expression_evaluator_free_value (GValue* value) { if (value->data[0].v_pointer) { expression_evaluator_unref (value->data[0].v_pointer); } } static void value_expression_evaluator_copy_value (const GValue* src_value, GValue* dest_value) { if (src_value->data[0].v_pointer) { dest_value->data[0].v_pointer = expression_evaluator_ref (src_value->data[0].v_pointer); } else { dest_value->data[0].v_pointer = NULL; } } static gpointer value_expression_evaluator_peek_pointer (const GValue* value) { return value->data[0].v_pointer; } static gchar* value_expression_evaluator_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { if (collect_values[0].v_pointer) { ExpressionEvaluator* object; object = collect_values[0].v_pointer; if (object->parent_instance.g_class == NULL) { return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); } value->data[0].v_pointer = expression_evaluator_ref (object); } else { value->data[0].v_pointer = NULL; } return NULL; } static gchar* value_expression_evaluator_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { ExpressionEvaluator** object_p; object_p = collect_values[0].v_pointer; if (!object_p) { return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); } if (!value->data[0].v_pointer) { *object_p = NULL; } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { *object_p = value->data[0].v_pointer; } else { *object_p = expression_evaluator_ref (value->data[0].v_pointer); } return NULL; } GParamSpec* param_spec_expression_evaluator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecExpressionEvaluator* spec; g_return_val_if_fail (g_type_is_a (object_type, TYPE_EXPRESSION_EVALUATOR), NULL); spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); G_PARAM_SPEC (spec)->value_type = object_type; return G_PARAM_SPEC (spec); } gpointer value_get_expression_evaluator (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_EXPRESSION_EVALUATOR), NULL); return value->data[0].v_pointer; } void value_set_expression_evaluator (GValue* value, gpointer v_object) { ExpressionEvaluator* old; g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_EXPRESSION_EVALUATOR)); old = value->data[0].v_pointer; if (v_object) { g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_EXPRESSION_EVALUATOR)); g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); value->data[0].v_pointer = v_object; expression_evaluator_ref (value->data[0].v_pointer); } else { value->data[0].v_pointer = NULL; } if (old) { expression_evaluator_unref (old); } } void value_take_expression_evaluator (GValue* value, gpointer v_object) { ExpressionEvaluator* old; g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_EXPRESSION_EVALUATOR)); old = value->data[0].v_pointer; if (v_object) { g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_EXPRESSION_EVALUATOR)); g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); value->data[0].v_pointer = v_object; } else { value->data[0].v_pointer = NULL; } if (old) { expression_evaluator_unref (old); } } static void expression_evaluator_class_init (ExpressionEvaluatorClass * klass) { expression_evaluator_parent_class = g_type_class_peek_parent (klass); EXPRESSION_EVALUATOR_CLASS (klass)->finalize = expression_evaluator_finalize; g_type_class_add_private (klass, sizeof (ExpressionEvaluatorPrivate)); } static void expression_evaluator_instance_init (ExpressionEvaluator * self) { self->priv = EXPRESSION_EVALUATOR_GET_PRIVATE (self); self->ref_count = 1; } static void expression_evaluator_finalize (ExpressionEvaluator* obj) { ExpressionEvaluator * self; self = EXPRESSION_EVALUATOR (obj); _g_object_unref0 (self->priv->providers); self->priv->tokens = (_vala_array_free (self->priv->tokens, self->priv->tokens_length1, (GDestroyNotify) g_free), NULL); } GType expression_evaluator_get_type (void) { static volatile gsize expression_evaluator_type_id__volatile = 0; if (g_once_init_enter (&expression_evaluator_type_id__volatile)) { static const GTypeValueTable g_define_type_value_table = { value_expression_evaluator_init, value_expression_evaluator_free_value, value_expression_evaluator_copy_value, value_expression_evaluator_peek_pointer, "p", value_expression_evaluator_collect_value, "p", value_expression_evaluator_lcopy_value }; static const GTypeInfo g_define_type_info = { sizeof (ExpressionEvaluatorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) expression_evaluator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ExpressionEvaluator), 0, (GInstanceInitFunc) expression_evaluator_instance_init, &g_define_type_value_table }; static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) }; GType expression_evaluator_type_id; expression_evaluator_type_id = g_type_register_fundamental (g_type_fundamental_next (), "ExpressionEvaluator", &g_define_type_info, &g_define_type_fundamental_info, 0); g_once_init_leave (&expression_evaluator_type_id__volatile, expression_evaluator_type_id); } return expression_evaluator_type_id__volatile; } gpointer expression_evaluator_ref (gpointer instance) { ExpressionEvaluator* self; self = instance; g_atomic_int_inc (&self->ref_count); return instance; } void expression_evaluator_unref (gpointer instance) { ExpressionEvaluator* self; self = instance; if (g_atomic_int_dec_and_test (&self->ref_count)) { EXPRESSION_EVALUATOR_GET_CLASS (self)->finalize (self); g_type_free_instance ((GTypeInstance *) self); } } ExpressionCache* expression_cache_construct (GType object_type, Providers* providers, const gchar* expression) { ExpressionCache * self = NULL; Providers* _tmp0_; const gchar* _tmp1_; g_return_val_if_fail (IS_PROVIDERS (providers), NULL); g_return_val_if_fail (expression != NULL, NULL); _tmp0_ = providers; _tmp1_ = expression; self = (ExpressionCache*) g_object_new (object_type, "providers", _tmp0_, "expression", _tmp1_, NULL); return self; } ExpressionCache* expression_cache_new (Providers* providers, const gchar* expression) { return expression_cache_construct (TYPE_EXPRESSION_CACHE, providers, expression); } void expression_cache_update (ExpressionCache* self) { g_return_if_fail (IS_EXPRESSION_CACHE (self)); _g_free0 (self->priv->_label); self->priv->_label = NULL; _g_free0 (self->priv->_guide); self->priv->_guide = NULL; } static gchar** _vala_array_dup5 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } gchar** expression_cache_tokens (ExpressionCache* self, int* result_length1) { gchar** result = NULL; gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp6_; gint _tmp6__length1; gchar** _tmp7_; gint _tmp7__length1; gchar** _tmp8_; gint _tmp8__length1; g_return_val_if_fail (IS_EXPRESSION_CACHE (self), NULL); _tmp0_ = self->priv->_tokens; _tmp0__length1 = self->priv->_tokens_length1; if (_tmp0_ == NULL) { ExpressionTokenizer* _tmp1_; ExpressionTokenizer* _tmp2_; const gchar* _tmp3_; gint _tmp4_ = 0; gchar** _tmp5_ = NULL; _tmp1_ = expression_tokenizer_new (); _tmp2_ = _tmp1_; _tmp3_ = self->priv->_expression; _tmp5_ = expression_tokenizer_tokenize (_tmp2_, _tmp3_, &_tmp4_); self->priv->_tokens = (_vala_array_free (self->priv->_tokens, self->priv->_tokens_length1, (GDestroyNotify) g_free), NULL); self->priv->_tokens = _tmp5_; self->priv->_tokens_length1 = _tmp4_; self->priv->__tokens_size_ = self->priv->_tokens_length1; _expression_tokenizer_unref0 (_tmp2_); } _tmp6_ = self->priv->_tokens; _tmp6__length1 = self->priv->_tokens_length1; _tmp7_ = (_tmp6_ != NULL) ? _vala_array_dup5 (_tmp6_, _tmp6__length1) : ((gpointer) _tmp6_); _tmp7__length1 = _tmp6__length1; _tmp8_ = _tmp7_; _tmp8__length1 = _tmp7__length1; if (result_length1) { *result_length1 = _tmp8__length1; } result = _tmp8_; return result; } gchar* expression_cache_label (ExpressionCache* self) { gchar* result = NULL; const gchar* _tmp0_; const gchar* _tmp8_; gchar* _tmp9_; g_return_val_if_fail (IS_EXPRESSION_CACHE (self), NULL); _tmp0_ = self->priv->_label; if (_tmp0_ == NULL) { Providers* _tmp1_; ExpressionEvaluator* _tmp2_; ExpressionEvaluator* _tmp3_; gint _tmp4_ = 0; gchar** _tmp5_ = NULL; gchar** _tmp6_; gint _tmp6__length1; gchar* _tmp7_ = NULL; _tmp1_ = self->priv->_providers; _tmp2_ = expression_evaluator_new (_tmp1_); _tmp3_ = _tmp2_; _tmp5_ = expression_cache_tokens (self, &_tmp4_); _tmp6_ = _tmp5_; _tmp6__length1 = _tmp4_; _tmp7_ = expression_evaluator_evaluate (_tmp3_, _tmp6_, _tmp4_, FALSE); _g_free0 (self->priv->_label); self->priv->_label = _tmp7_; _tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL); _expression_evaluator_unref0 (_tmp3_); } _tmp8_ = self->priv->_label; _tmp9_ = g_strdup (_tmp8_); result = _tmp9_; return result; } gchar* expression_cache_guide (ExpressionCache* self) { gchar* result = NULL; const gchar* _tmp0_; const gchar* _tmp8_; gchar* _tmp9_; g_return_val_if_fail (IS_EXPRESSION_CACHE (self), NULL); _tmp0_ = self->priv->_guide; if (_tmp0_ == NULL) { Providers* _tmp1_; ExpressionEvaluator* _tmp2_; ExpressionEvaluator* _tmp3_; gint _tmp4_ = 0; gchar** _tmp5_ = NULL; gchar** _tmp6_; gint _tmp6__length1; gchar* _tmp7_ = NULL; _tmp1_ = self->priv->_providers; _tmp2_ = expression_evaluator_new (_tmp1_); _tmp3_ = _tmp2_; _tmp5_ = expression_cache_tokens (self, &_tmp4_); _tmp6_ = _tmp5_; _tmp6__length1 = _tmp4_; _tmp7_ = expression_evaluator_evaluate (_tmp3_, _tmp6_, _tmp4_, TRUE); _g_free0 (self->priv->_guide); self->priv->_guide = _tmp7_; _tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL); _expression_evaluator_unref0 (_tmp3_); } _tmp8_ = self->priv->_guide; _tmp9_ = g_strdup (_tmp8_); result = _tmp9_; return result; } Providers* expression_cache_get_providers (ExpressionCache* self) { Providers* result; Providers* _tmp0_; g_return_val_if_fail (IS_EXPRESSION_CACHE (self), NULL); _tmp0_ = self->priv->_providers; result = _tmp0_; return result; } static void expression_cache_set_providers (ExpressionCache* self, Providers* value) { Providers* _tmp0_; Providers* _tmp1_; g_return_if_fail (IS_EXPRESSION_CACHE (self)); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_providers); self->priv->_providers = _tmp1_; g_object_notify ((GObject *) self, "providers"); } const gchar* expression_cache_get_expression (ExpressionCache* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (IS_EXPRESSION_CACHE (self), NULL); _tmp0_ = self->priv->_expression; result = _tmp0_; return result; } void expression_cache_set_expression (ExpressionCache* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (IS_EXPRESSION_CACHE (self)); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_expression); self->priv->_expression = _tmp1_; self->priv->_tokens = (_vala_array_free (self->priv->_tokens, self->priv->_tokens_length1, (GDestroyNotify) g_free), NULL); self->priv->_tokens = NULL; self->priv->_tokens_length1 = 0; self->priv->__tokens_size_ = self->priv->_tokens_length1; _g_free0 (self->priv->_label); self->priv->_label = NULL; _g_free0 (self->priv->_guide); self->priv->_guide = NULL; g_object_notify ((GObject *) self, "expression"); } static void expression_cache_class_init (ExpressionCacheClass * klass) { expression_cache_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (ExpressionCachePrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_expression_cache_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_expression_cache_set_property; G_OBJECT_CLASS (klass)->finalize = expression_cache_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), EXPRESSION_CACHE_PROVIDERS, g_param_spec_object ("providers", "providers", "providers", TYPE_PROVIDERS, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), EXPRESSION_CACHE_EXPRESSION, g_param_spec_string ("expression", "expression", "expression", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT)); } static void expression_cache_instance_init (ExpressionCache * self) { self->priv = EXPRESSION_CACHE_GET_PRIVATE (self); } static void expression_cache_finalize (GObject* obj) { ExpressionCache * self; self = EXPRESSION_CACHE (obj); _g_object_unref0 (self->priv->_providers); self->priv->_tokens = (_vala_array_free (self->priv->_tokens, self->priv->_tokens_length1, (GDestroyNotify) g_free), NULL); _g_free0 (self->priv->_label); _g_free0 (self->priv->_guide); _g_free0 (self->priv->_expression); G_OBJECT_CLASS (expression_cache_parent_class)->finalize (obj); } GType expression_cache_get_type (void) { static volatile gsize expression_cache_type_id__volatile = 0; if (g_once_init_enter (&expression_cache_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (ExpressionCacheClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) expression_cache_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ExpressionCache), 0, (GInstanceInitFunc) expression_cache_instance_init, NULL }; GType expression_cache_type_id; expression_cache_type_id = g_type_register_static (G_TYPE_OBJECT, "ExpressionCache", &g_define_type_info, 0); g_once_init_leave (&expression_cache_type_id__volatile, expression_cache_type_id); } return expression_cache_type_id__volatile; } static void _vala_expression_cache_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { ExpressionCache * self; self = EXPRESSION_CACHE (object); switch (property_id) { case EXPRESSION_CACHE_PROVIDERS: g_value_set_object (value, expression_cache_get_providers (self)); break; case EXPRESSION_CACHE_EXPRESSION: g_value_set_string (value, expression_cache_get_expression (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_expression_cache_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { ExpressionCache * self; self = EXPRESSION_CACHE (object); switch (property_id) { case EXPRESSION_CACHE_PROVIDERS: expression_cache_set_providers (self, g_value_get_object (value)); break; case EXPRESSION_CACHE_EXPRESSION: expression_cache_set_expression (self, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; } indicator-multiload-0.3/src/expressionparser.vala0000664000175000017500000003501512107670161017320 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ internal class ExpressionTokenizer { private char *last; private char *current; private string[] result; public string[] tokenize(string expression) { this.result = null; this.last = null; int level = 0; bool inexpression = false; bool instringsingle = false; bool instringdouble = false; for (this.current = expression; *this.current != '\0'; this.current = this.current + 1) { if (!inexpression) { if (*this.current == '$') { this.save(); this.addcurrent(); inexpression = true; } else { this.expand(); } continue; } // inexpression if (level == 0) { if (this.isvariable()) { this.expand(); } else if (this.last == null && *this.current == '(') { this.addcurrent(); ++level; } else { this.add('('); this.save(); this.add(')'); this.expand(); inexpression = false; } continue; } // level > 0 if (instringsingle) { this.expand(); if (*this.current == '\'') { this.savewithcurrent(); instringsingle = false; } continue; } if (instringdouble) { this.expand(); if (*this.current == '"') { this.savewithcurrent(); instringdouble = false; } continue; } // !instring if (*this.current == '\'') { this.save(); this.expand(); instringsingle = true; } else if (*this.current == '"') { this.save(); this.expand(); instringdouble = true; } else if (*this.current == '(') { this.save(); this.addcurrent(); ++level; } else if (*this.current == ')') { this.save(); this.addcurrent(); --level; if (level == 0) inexpression = false; } else if (this.isspace()) { this.save(); } else if (!this.isvariable()) { this.save(); this.addcurrent(); } else { this.expand(); } } // fixup open strings, parentheses if (instringdouble) this.savewith('"'); else if (instringsingle) this.savewith('\''); else this.save(); while (level > 0) { this.add(')'); --level; } return this.result; } private void expand() { if (this.last == null) this.last = this.current; // stderr.printf("Expanding token to '%s'\n", strndup(last, current - last + 1)); } // add the current character as a new token private void addcurrent() { this.add(*this.current); } // add a character as a new token private void add(char what) { var token = what.to_string(); // stderr.printf("Adding token '%s'\n", token); this.result += token; } // if the current token is not empty, push it to the token list and set the // current token to empty; this will not include the current character private void save() { if (this.last != null) { var token = strndup(this.last, this.current - this.last); // stderr.printf("Saving token '%s'\n", token); this.result += token; this.last = null; } else { // stderr.printf("Not saving empty token\n"); } } private void savewithcurrent() { this.savewith(*this.current); } // add a character to the current token, push it to the token list // and set the current token to empty private void savewith(char what) { string token = (this.last != null ? strndup(this.last, this.current - this.last) : "") + what.to_string(); // stderr.printf("Saving token '%s'\n", token); this.result += token; this.last = null; } private bool isspace() { return *this.current == ' '; } private bool isvariable() { return *this.current >= 'a' && *this.current <= 'z' || *this.current >= '0' && *this.current <= '9' || *this.current == '.'; } } internal class ExpressionEvaluator { private Providers providers; private uint index; private string[] tokens; bool guide; public ExpressionEvaluator(Providers providers) { this.providers = providers; } private static Error error(uint index, string message) { return new Error(Quark.from_string("expression-error-quark"), (int)index, "%s", message); } private string parens_or_identifier() throws Error { if (this.index >= this.tokens.length) throw error(this.index, "empty expression"); if (this.tokens[this.index] == "(") return parens(); return identifier(); } private string times() throws Error { string result = null; bool div = false; for (;;) { if (this.index >= this.tokens.length) throw error(this.index, "expression expected"); var value = parens_or_identifier(); if (result == null) result = value; else if (!div) result = (double.parse(result) * double.parse(value)).to_string(); else result = (double.parse(result) / double.parse(value)).to_string(); if (this.index >= this.tokens.length) return result; switch (this.tokens[this.index]) { case "*": div = false; ++this.index; continue; case "/": div = true; ++this.index; continue; default: return result; } } } private string plus() throws Error { string result = null; bool minus = false; for (;;) { if (this.index >= this.tokens.length) throw error(this.index, "expression expected"); var value = times(); if (result == null) result = value; else if (!minus) result = (double.parse(result) + double.parse(value)).to_string(); else result = (double.parse(result) - double.parse(value)).to_string(); if (this.index >= this.tokens.length) return result; switch (this.tokens[this.index]) { case "+": minus = false; ++this.index; continue; case "-": minus = true; ++this.index; continue; default: return result; } } } private string parens() throws Error { if (this.index >= this.tokens.length || this.tokens[this.index] != "(") throw error(this.index, "'(' expected"); ++this.index; var result = plus(); if (this.index >= this.tokens.length || this.tokens[this.index] != ")") throw error(this.index, "')' expected"); ++this.index; return result; } private string[] params() throws Error { string[] result = null; if (this.index >= this.tokens.length || this.tokens[this.index] != "(") throw error(this.index, "'(' expected"); ++this.index; if (this.index >= this.tokens.length) throw error(this.index, "parameters expected"); if (this.tokens[this.index] != ")") { for (;;) { result += plus(); if (this.index >= this.tokens.length) throw error(this.index, "')' expected"); if (this.tokens[this.index] != ",") break; ++this.index; } } if (this.index >= this.tokens.length || this.tokens[this.index] != ")") throw error(this.index, "')' expected"); ++this.index; return result; } private string identifier() throws Error { if (this.index >= this.tokens.length) throw error(this.index, "identifier expected"); double sign = 1; if (this.tokens[this.index] == "+") { ++this.index; if (this.index >= this.tokens.length) throw error(this.index, "identifier expected"); } else if (this.tokens[this.index] == "-") { sign = -1.0; ++this.index; if (this.index >= this.tokens.length) throw error(this.index, "identifier expected"); } var token = this.tokens[this.index]; if (token.length > 0 && (token[0] == '\'' || token[0] == '"')) { ++this.index; return (sign == -1 ? "-" : "") + token[1:token.length - 1]; } if (token.length > 0 && (token[0] >= '0' && token[0] <= '9' || token[0] == '.')) { ++this.index; if (sign == -1) return "-" + token; return token; } var varparts = token.split("."); var nameindex = this.index; ++this.index; switch (varparts.length) { case 1: bool found = false; try { var result = this.providers.call(token, this.params(), this.guide, out found); if (!found) throw error(nameindex, "unknown function"); return (sign == -1 ? "-" : "") + result; } catch (Error e) { // TODO: this is not the right error position, maybe it is one // of the parameters so how to we transport this, maybe add // nameindex + e.errorcode? throw error(nameindex, e.message); } case 2: bool found = false; var result = (sign * this.providers.value(token, out found)).to_string(); if (!found) throw error(nameindex, "unknown variable"); return result; default: throw error(nameindex, "too many identifier parts"); } } private string text() throws Error { string[] result = {}; while (this.index < this.tokens.length) { string current = this.tokens[this.index]; if (current == "$") { ++this.index; result += parens_or_identifier(); } else { result += current; ++this.index; } } return string.joinv("", result); } public string evaluate(string[] tokens, bool guide) { this.index = 0; this.tokens = tokens; this.guide = guide; try { return text(); } catch (Error e) { stderr.printf("Expression error: %s\n", e.message); string errormessage = ""; int errorpos = -1; for (uint i = 0, isize = this.tokens.length; i < isize; ++i) { if (e.code == i) errorpos = errormessage.length; errormessage += " " + this.tokens[i]; } if (errorpos < 0) errorpos = errormessage.length; stderr.printf("%s\n%s^\n", errormessage, string.nfill(errorpos, '-')); return ""; } } } public class ExpressionCache : Object { public Providers providers { get; construct; } private string[] _tokens; private string _label; private string _guide; private string _expression; public string expression { get { return this._expression; } construct set { this._expression = value; this._tokens = null; this._label = null; this._guide = null; } } public ExpressionCache(Providers providers, string expression) { Object(providers: providers, expression: expression); } public void update() { this._label = null; this._guide = null; } public string[] tokens() { if (this._tokens == null) this._tokens = new ExpressionTokenizer().tokenize(this._expression); return this._tokens; } public string label() { if (this._label == null) this._label = new ExpressionEvaluator(this.providers).evaluate(this.tokens(), false); return this._label; } public string guide() { if (this._guide == null) this._guide = new ExpressionEvaluator(this.providers).evaluate(this.tokens(), true); return this._guide; } } indicator-multiload-0.3/src/utils.c0000664000175000017500000003725612107670273014360 00000000000000/* utils.c generated by valac 0.14.2, the Vala compiler * generated from utils.vala, do not modify */ #include #include #include #include #include #include #include #include #include #include #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL))) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) extern gchar* utils_uifile; gchar* utils_uifile = NULL; extern gboolean utils_enabledebugmessages; gboolean utils_enabledebugmessages = FALSE; void utils_initdebug (void); void utils_debugloghandler (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message); static void _utils_debugloghandler_glog_func (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message, gpointer self); gdouble utils_max (gdouble* data, int data_length1); gdouble utils_mean (gdouble* data, int data_length1); gchar* utils_format_size (gdouble val); gchar* utils_format_speed (gdouble val); GObject* utils_get_ui (const gchar* objectid, GObject* signalhandlers, gchar** additional, int additional_length1, GtkBuilder** builder); static gchar** _vala_array_dup27 (gchar** self, int length); static void _vala_array_add13 (gchar*** array, int* length, int* size, gchar* value); gboolean utils_get_settings_color (GValue* value, GVariant* variant, void* user_data); GVariant* utils_set_settings_color (GValue* value, const GVariantType* expected_type, void* user_data); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _utils_debugloghandler_glog_func (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message, gpointer self) { utils_debugloghandler (log_domain, log_levels, message); } void utils_initdebug (void) { g_log_set_handler (NULL, G_LOG_LEVEL_DEBUG, _utils_debugloghandler_glog_func, NULL); } void utils_debugloghandler (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message) { gboolean _tmp0_; g_return_if_fail (message != NULL); _tmp0_ = utils_enabledebugmessages; if (_tmp0_) { GLogFunc _tmp1_; void* _tmp1__target; const gchar* _tmp2_; GLogLevelFlags _tmp3_; const gchar* _tmp4_; _tmp1_ = g_log_default_handler; _tmp1__target = NULL; _tmp2_ = log_domain; _tmp3_ = log_levels; _tmp4_ = message; _tmp1_ (_tmp2_, _tmp3_, _tmp4_, _tmp1__target); } } gdouble utils_max (gdouble* data, int data_length1) { gdouble result = 0.0; gdouble* _tmp0_; gint _tmp0__length1; gdouble* _tmp1_; gint _tmp1__length1; gdouble _tmp2_; gdouble _result_; gdouble* _tmp3_; gint _tmp3__length1; _tmp0_ = data; _tmp0__length1 = data_length1; if (_tmp0__length1 == 0) { result = (gdouble) 0; return result; } _tmp1_ = data; _tmp1__length1 = data_length1; _tmp2_ = _tmp1_[0]; _result_ = _tmp2_; _tmp3_ = data; _tmp3__length1 = data_length1; { gdouble* v_collection = NULL; gint v_collection_length1 = 0; gint _v_collection_size_ = 0; gint v_it = 0; v_collection = _tmp3_; v_collection_length1 = _tmp3__length1; for (v_it = 0; v_it < _tmp3__length1; v_it = v_it + 1) { gdouble v = 0.0; v = v_collection[v_it]; { gdouble _tmp4_; gdouble _tmp5_; _tmp4_ = _result_; _tmp5_ = v; if (_tmp4_ < _tmp5_) { gdouble _tmp6_; _tmp6_ = v; _result_ = _tmp6_; } } } } result = _result_; return result; } gdouble utils_mean (gdouble* data, int data_length1) { gdouble result = 0.0; gdouble* _tmp0_; gint _tmp0__length1; gdouble _result_; gdouble* _tmp1_; gint _tmp1__length1; gdouble _tmp4_; gdouble* _tmp5_; gint _tmp5__length1; _tmp0_ = data; _tmp0__length1 = data_length1; if (_tmp0__length1 == 0) { result = (gdouble) 0; return result; } _result_ = (gdouble) 0; _tmp1_ = data; _tmp1__length1 = data_length1; { gdouble* v_collection = NULL; gint v_collection_length1 = 0; gint _v_collection_size_ = 0; gint v_it = 0; v_collection = _tmp1_; v_collection_length1 = _tmp1__length1; for (v_it = 0; v_it < _tmp1__length1; v_it = v_it + 1) { gdouble v = 0.0; v = v_collection[v_it]; { gdouble _tmp2_; gdouble _tmp3_; _tmp2_ = _result_; _tmp3_ = v; _result_ = _tmp2_ + _tmp3_; } } } _tmp4_ = _result_; _tmp5_ = data; _tmp5__length1 = data_length1; result = _tmp4_ / _tmp5__length1; return result; } static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (old != NULL, NULL); g_return_val_if_fail (replacement != NULL, NULL); { const gchar* _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; GRegex* _tmp3_; GRegex* _tmp4_; GRegex* regex; GRegex* _tmp5_; const gchar* _tmp6_; gchar* _tmp7_ = NULL; gchar* _tmp8_; _tmp0_ = old; _tmp1_ = g_regex_escape_string (_tmp0_, -1); _tmp2_ = _tmp1_; _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); _tmp4_ = _tmp3_; _g_free0 (_tmp2_); regex = _tmp4_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_REGEX_ERROR) { goto __catch13_g_regex_error; } g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } _tmp5_ = regex; _tmp6_ = replacement; _tmp7_ = g_regex_replace_literal (_tmp5_, self, (gssize) (-1), 0, _tmp6_, 0, &_inner_error_); _tmp8_ = _tmp7_; if (_inner_error_ != NULL) { _g_regex_unref0 (regex); if (_inner_error_->domain == G_REGEX_ERROR) { goto __catch13_g_regex_error; } _g_regex_unref0 (regex); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } result = _tmp8_; _g_regex_unref0 (regex); return result; } goto __finally13; __catch13_g_regex_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; g_assert_not_reached (); _g_error_free0 (e); } __finally13: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } } gchar* utils_format_size (gdouble val) { gchar* result = NULL; static const gchar* units[] = {"{} kB", "{} MB", "{} GB"}; gint index; gint _tmp9_; const gchar* _tmp14_ = NULL; gdouble _tmp15_; gint _tmp22_; const gchar* _tmp23_; const gchar* _tmp24_ = NULL; const gchar* _tmp25_; gchar* _tmp26_ = NULL; gchar* pattern; const gchar* _tmp27_; gdouble _tmp28_; gchar* _tmp29_ = NULL; index = -1; while (TRUE) { gboolean _tmp0_ = FALSE; gint _tmp1_; gboolean _tmp6_; gdouble _tmp7_; gint _tmp8_; _tmp1_ = index; if ((_tmp1_ + 1) < G_N_ELEMENTS (units)) { gboolean _tmp2_ = FALSE; gdouble _tmp3_; gboolean _tmp5_; _tmp3_ = val; if (_tmp3_ >= ((gdouble) 1000)) { _tmp2_ = TRUE; } else { gint _tmp4_; _tmp4_ = index; _tmp2_ = _tmp4_ < 0; } _tmp5_ = _tmp2_; _tmp0_ = _tmp5_; } else { _tmp0_ = FALSE; } _tmp6_ = _tmp0_; if (!_tmp6_) { break; } _tmp7_ = val; val = _tmp7_ / 1000; _tmp8_ = index; index = _tmp8_ + 1; } _tmp9_ = index; if (_tmp9_ < 0) { gdouble _tmp10_; const gchar* _tmp11_ = NULL; gdouble _tmp12_; gchar* _tmp13_ = NULL; _tmp10_ = val; _tmp11_ = ngettext ("%u B", "%u B", (gulong) _tmp10_); _tmp12_ = val; _tmp13_ = g_strdup_printf (_tmp11_, (guint) _tmp12_); result = _tmp13_; return result; } _tmp15_ = val; if (_tmp15_ < 9.95) { _tmp14_ = "%.1f"; } else { const gchar* _tmp16_ = NULL; gdouble _tmp17_; const gchar* _tmp21_; _tmp17_ = val; if (_tmp17_ < 99.5) { _tmp16_ = "%.0f"; } else { const gchar* _tmp18_ = NULL; gdouble _tmp19_; const gchar* _tmp20_; _tmp19_ = val; if (_tmp19_ < 999.5) { _tmp18_ = "%.0f"; } else { _tmp18_ = "%.0f"; } _tmp20_ = _tmp18_; _tmp16_ = _tmp20_; } _tmp21_ = _tmp16_; _tmp14_ = _tmp21_; } _tmp22_ = index; _tmp23_ = units[_tmp22_]; _tmp24_ = _ (_tmp23_); _tmp25_ = _tmp14_; _tmp26_ = string_replace (_tmp24_, "{}", _tmp25_); pattern = _tmp26_; _tmp27_ = pattern; _tmp28_ = val; _tmp29_ = g_strdup_printf (_tmp27_, _tmp28_); result = _tmp29_; _g_free0 (pattern); return result; } gchar* utils_format_speed (gdouble val) { gchar* result = NULL; static const gchar* units[] = {"{} kB/s", "{} MB/s", "{} GB/s", "{} TB/s"}; gint index; gint _tmp9_; const gchar* _tmp14_ = NULL; gdouble _tmp15_; gint _tmp22_; const gchar* _tmp23_; const gchar* _tmp24_ = NULL; const gchar* _tmp25_; gchar* _tmp26_ = NULL; gchar* pattern; const gchar* _tmp27_; gdouble _tmp28_; gchar* _tmp29_ = NULL; index = -1; while (TRUE) { gboolean _tmp0_ = FALSE; gint _tmp1_; gboolean _tmp6_; gdouble _tmp7_; gint _tmp8_; _tmp1_ = index; if ((_tmp1_ + 1) < G_N_ELEMENTS (units)) { gboolean _tmp2_ = FALSE; gdouble _tmp3_; gboolean _tmp5_; _tmp3_ = val; if (_tmp3_ >= ((gdouble) 1000)) { _tmp2_ = TRUE; } else { gint _tmp4_; _tmp4_ = index; _tmp2_ = _tmp4_ < 0; } _tmp5_ = _tmp2_; _tmp0_ = _tmp5_; } else { _tmp0_ = FALSE; } _tmp6_ = _tmp0_; if (!_tmp6_) { break; } _tmp7_ = val; val = _tmp7_ / 1000; _tmp8_ = index; index = _tmp8_ + 1; } _tmp9_ = index; if (_tmp9_ < 0) { gdouble _tmp10_; const gchar* _tmp11_ = NULL; gdouble _tmp12_; gchar* _tmp13_ = NULL; _tmp10_ = val; _tmp11_ = ngettext ("%u B/s", "%u B/s", (gulong) _tmp10_); _tmp12_ = val; _tmp13_ = g_strdup_printf (_tmp11_, (guint) _tmp12_); result = _tmp13_; return result; } _tmp15_ = val; if (_tmp15_ < 9.95) { _tmp14_ = "%.1f"; } else { const gchar* _tmp16_ = NULL; gdouble _tmp17_; const gchar* _tmp21_; _tmp17_ = val; if (_tmp17_ < 99.5) { _tmp16_ = "%.0f"; } else { const gchar* _tmp18_ = NULL; gdouble _tmp19_; const gchar* _tmp20_; _tmp19_ = val; if (_tmp19_ < 999.5) { _tmp18_ = "%.0f"; } else { _tmp18_ = "%.0f"; } _tmp20_ = _tmp18_; _tmp16_ = _tmp20_; } _tmp21_ = _tmp16_; _tmp14_ = _tmp21_; } _tmp22_ = index; _tmp23_ = units[_tmp22_]; _tmp24_ = _ (_tmp23_); _tmp25_ = _tmp14_; _tmp26_ = string_replace (_tmp24_, "{}", _tmp25_); pattern = _tmp26_; _tmp27_ = pattern; _tmp28_ = val; _tmp29_ = g_strdup_printf (_tmp27_, _tmp28_); result = _tmp29_; _g_free0 (pattern); return result; } static gchar** _vala_array_dup27 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } static void _vala_array_add13 (gchar*** array, int* length, int* size, gchar* value) { if ((*length) == (*size)) { *size = (*size) ? (2 * (*size)) : 4; *array = g_renew (gchar*, *array, (*size) + 1); } (*array)[(*length)++] = value; (*array)[*length] = NULL; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } GObject* utils_get_ui (const gchar* objectid, GObject* signalhandlers, gchar** additional, int additional_length1, GtkBuilder** builder) { GtkBuilder* _vala_builder = NULL; GObject* result = NULL; GtkBuilder* _tmp0_; gchar** _tmp1_; gint _tmp1__length1; gchar** _tmp2_; gint _tmp2__length1; gchar** ids; gint ids_length1; gint _ids_size_; gchar** _tmp3_; gint _tmp3__length1; const gchar* _tmp4_; gchar* _tmp5_; GObject* _tmp13_; const gchar* _tmp14_; GObject* _tmp15_ = NULL; GObject* _tmp16_; GError * _inner_error_ = NULL; g_return_val_if_fail (objectid != NULL, NULL); g_return_val_if_fail (G_IS_OBJECT (signalhandlers), NULL); _tmp0_ = gtk_builder_new (); _g_object_unref0 (_vala_builder); _vala_builder = _tmp0_; _tmp1_ = additional; _tmp1__length1 = additional_length1; _tmp2_ = (_tmp1_ != NULL) ? _vala_array_dup27 (_tmp1_, _tmp1__length1) : ((gpointer) _tmp1_); _tmp2__length1 = _tmp1__length1; ids = _tmp2_; ids_length1 = _tmp2__length1; _ids_size_ = ids_length1; _tmp3_ = ids; _tmp3__length1 = ids_length1; _tmp4_ = objectid; _tmp5_ = g_strdup (_tmp4_); _vala_array_add13 (&ids, &ids_length1, &_ids_size_, _tmp5_); { const gchar* _tmp6_; gchar** _tmp7_; gint _tmp7__length1; _tmp6_ = utils_uifile; _tmp7_ = ids; _tmp7__length1 = ids_length1; gtk_builder_add_objects_from_file (_vala_builder, _tmp6_, _tmp7_, &_inner_error_); if (_inner_error_ != NULL) { goto __catch14_g_error; } } goto __finally14; __catch14_g_error: { GError* e = NULL; FILE* _tmp8_; const gchar* _tmp9_; const gchar* _tmp10_; GError* _tmp11_; const gchar* _tmp12_; e = _inner_error_; _inner_error_ = NULL; _tmp8_ = stderr; _tmp9_ = objectid; _tmp10_ = utils_uifile; _tmp11_ = e; _tmp12_ = _tmp11_->message; fprintf (_tmp8_, "Could not load indicator ui %s from %s: %s\n", _tmp9_, _tmp10_, _tmp12_); _g_error_free0 (e); } __finally14: if (_inner_error_ != NULL) { ids = (_vala_array_free (ids, ids_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } _tmp13_ = signalhandlers; gtk_builder_connect_signals (_vala_builder, _tmp13_); _tmp14_ = objectid; _tmp15_ = gtk_builder_get_object (_vala_builder, _tmp14_); _tmp16_ = _g_object_ref0 (_tmp15_); result = _tmp16_; ids = (_vala_array_free (ids, ids_length1, (GDestroyNotify) g_free), NULL); if (builder) { *builder = _vala_builder; } else { _g_object_unref0 (_vala_builder); } return result; } gboolean utils_get_settings_color (GValue* value, GVariant* variant, void* user_data) { gboolean result = FALSE; GdkColor color = {0}; GVariant* _tmp0_; const gchar* _tmp1_ = NULL; GdkColor _tmp2_ = {0}; gboolean _tmp3_ = FALSE; g_return_val_if_fail (value != NULL, FALSE); g_return_val_if_fail (variant != NULL, FALSE); _tmp0_ = variant; _tmp1_ = g_variant_get_string (_tmp0_, NULL); _tmp3_ = gdk_color_parse (_tmp1_, &_tmp2_); color = _tmp2_; if (_tmp3_) { g_value_set_boxed (value, &color); result = TRUE; return result; } result = FALSE; return result; } GVariant* utils_set_settings_color (GValue* value, const GVariantType* expected_type, void* user_data) { GVariant* result = NULL; void* _tmp0_ = NULL; GdkColor color; gchar* _tmp1_ = NULL; gchar* _tmp2_; GVariant* _tmp3_; GVariant* _tmp4_; GVariant* _tmp5_; g_return_val_if_fail (value != NULL, NULL); g_return_val_if_fail (expected_type != NULL, NULL); _tmp0_ = g_value_get_boxed (value); color = *((GdkColor*) _tmp0_); _tmp1_ = gdk_color_to_string (&color); _tmp2_ = _tmp1_; _tmp3_ = g_variant_new_string (_tmp2_); _tmp4_ = g_variant_ref_sink (_tmp3_); _tmp5_ = _tmp4_; _g_free0 (_tmp2_); result = _tmp5_; return result; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/graphmodel.vala0000664000175000017500000001247012107670161016026 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class GraphModel : Object { private uint smoothvalue; private double[] scalerhistory; public string id { get; construct; } public Providers providers {get; construct; } public ExpressionCache minimum { get; construct; } public ExpressionCache maximum { get; construct; } public string smooth { get; set; } public Gdk.Color background_color { get; set; } public uint alpha { get; set; } public bool enabled { get; set; } public string[] traces { get; set; } public double scale { get; private set; default = 1; } // not a real property because of unsupported datatype, no notify public TraceModel[] tracemodels { get; private set; } construct { this.notify["smooth"].connect(() => { this.smoothvalue = (uint)uint64.parse(this.smooth); this.scalerhistory = null; }); this.notify["traces"].connect(() => { while (this._tracemodels.length < this._traces.length) this._tracemodels += new TraceModel(this.providers); this._tracemodels = this._tracemodels[0:this._traces.length]; }); } public GraphModel(string id, Providers providers) { Object(id: id, providers: providers, minimum: new ExpressionCache(providers, ""), maximum: new ExpressionCache(providers, "")); } public void update(uint trace_length) { foreach (var tracemodel in this.tracemodels) { tracemodel.set_values_length(trace_length); tracemodel.expression.update(); tracemodel.add_value(double.parse(tracemodel.expression.label())); } var scalerminimum = double.parse(this.minimum.label()); var scalermaximum = double.parse(this.maximum.label()); this.update_scale(scalerminimum, scalermaximum, trace_length); } // Fast attack, slow decay // - each cycle, the peak value in the plot is determined // - if the peak value is greater than anything in the history buffer, the // history buffer is filled with the peak value // - otherwise, the peak value is added to the history buffer at the end // - the scaling factor is the average of the history buffer: // - it is never smaller than the peak value in the plot // - after the current peak leaves the plot, the scaling factor gets // reduced slowly private void update_scale(double scalerminimum, double scalermaximum, uint trace_length) { double currentpeak = scalerminimum; for (uint i = 0, isize = trace_length; i < isize; ++i) { double currentvalue = 0; foreach (var tracemodel in this.tracemodels) if (tracemodel.enabled) currentvalue += tracemodel.values[i]; currentpeak = double.max(currentpeak, currentvalue); } if (scalermaximum != 0) currentpeak = double.min(currentpeak, scalermaximum); if (this.scalerhistory.length == 0) { this.scalerhistory = new double[this.smoothvalue]; for (uint i = 0; i < this.smoothvalue; ++i) this.scalerhistory[i] = scalerminimum; } double historymaximum = Utils.max(this.scalerhistory); if (currentpeak < historymaximum) { for (uint i = 0, isize = this.scalerhistory.length; i + 1 < isize; ++i) this.scalerhistory[i] = this.scalerhistory[i + 1]; } else { for (uint i = 0, isize = this.scalerhistory.length; i + 1 < isize; ++i) this.scalerhistory[i] = currentpeak; } this.scalerhistory[this.scalerhistory.length - 1] = currentpeak; this.scale = Utils.mean(this.scalerhistory); } public void set_source_color(Cairo.Context ctx) { ctx.set_source_rgba(this.background_color.red / 65535.0, this.background_color.green / 65565.0, this.background_color.blue / 65565.0, this.alpha / 65565.0); } } indicator-multiload-0.3/src/gtop.vapi0000664000175000017500000002265512107670161014677 00000000000000[CCode (cprefix = "glibtop_", lower_case_cprefix = "glibtop_", gir_namespace = "GTop", gir_version = "2.0")] namespace GTop { [CCode (cheader_filename = "glibtop/cpu.h")] public static void get_cpu(out Cpu buf); [CCode (cheader_filename = "glibtop/mem.h")] public static void get_mem(out Mem buf); [CCode (cheader_filename = "glibtop/netlist.h", array_length = false, array_null_terminated = true)] public static string[] get_netlist(out NetList buf); [CCode (cheader_filename = "glibtop/netload.h")] public static void get_netload(out NetLoad buf, string @interface); [CCode (cheader_filename = "glibtop/swap.h")] public static void get_swap(out Swap buf); [CCode (cheader_filename = "glibtop/loadavg.h")] public static void get_loadavg(out LoadAvg buf); [CCode (cheader_filename = "glibtop/mountlist.h", array_length = false, array_null_terminated = true)] public static MountEntry[] get_mountlist(out MountList buf, bool allfs); [CCode (cheader_filename = "glibtop/fsusage.h")] public static void get_fsusage(out FSUsage buf, string mount_dir); [CCode (cheader_filename = "glibtop.h")] public static GTop *global_server; [CCode (cheader_filename = "glibtop.h")] public static GTop *init(); [CCode (cname = "glibtop", type_id = "GTOP_TYPE_GLIBTOP", cheader_filename = "glibtop.h")] public struct GTop { public uint flags; public uint method; public uint error_method; [CCode (array_length = false)] public weak int[] input; [CCode (array_length = false)] public weak int[] output; public int socket; public int ncpu; public int real_ncpu; public uint os_version_code; public weak string name; public weak string server_command; public weak string server_host; public weak string server_user; public weak string server_rsh; public uint features; public uint server_port; public SysDeps sysdeps; public SysDeps required; public int pid; } [CCode (cname = "glibtop_sysdeps", type_id = "GTOP_TYPE_GLIBTOP_SYSDEPS", cheader_filename = "glibtop.h")] public struct SysDeps { public uint64 flags; public uint64 features; public uint64 cpu; public uint64 mem; public uint64 swap; public uint64 uptime; public uint64 loadavg; public uint64 shm_limits; public uint64 msg_limits; public uint64 sem_limits; public uint64 proclist; public uint64 proc_state; public uint64 proc_uid; public uint64 proc_mem; public uint64 proc_time; public uint64 proc_signal; public uint64 proc_kernel; public uint64 proc_segment; public uint64 proc_args; public uint64 proc_map; public uint64 proc_open_files; public uint64 mountlist; public uint64 fsusage; public uint64 netlist; public uint64 netload; public uint64 ppp; public uint64 proc_wd; public uint64 proc_affinity; } [CCode (cname = "glibtop_cpu", type_id = "GTOP_TYPE_GLIBTOP_CPU", cheader_filename = "glibtop/cpu.h")] public struct Cpu { public uint64 flags; public uint64 total; public uint64 user; public uint64 nice; public uint64 sys; public uint64 idle; public uint64 iowait; public uint64 irq; public uint64 softirq; public uint64 frequency; [CCode (array_length = false)] public weak uint64[] xcpu_total; [CCode (array_length = false)] public weak uint64[] xcpu_user; [CCode (array_length = false)] public weak uint64[] xcpu_nice; [CCode (array_length = false)] public weak uint64[] xcpu_sys; [CCode (array_length = false)] public weak uint64[] xcpu_idle; [CCode (array_length = false)] public weak uint64[] xcpu_iowait; [CCode (array_length = false)] public weak uint64[] xcpu_irq; [CCode (array_length = false)] public weak uint64[] xcpu_softirq; public uint64 xcpu_flags; } [CCode (cname = "glibtop_mem", type_id = "GTOP_TYPE_GLIBTOP_MEM", cheader_filename = "glibtop/mem.h")] public struct Mem { public uint64 flags; public uint64 total; public uint64 used; public uint64 free; public uint64 shared; public uint64 buffer; public uint64 cached; public uint64 user; public uint64 locked; } [CCode (cname = "glibtop_netlist", type_id = "GTOP_TYPE_GLIBTOP_NETLIST", cheader_filename = "glibtop/netlist.h")] public struct NetList { public uint64 flags; public uint32 number; } [CCode (cname = "glibtop_netload", type_id = "GTOP_TYPE_GLIBTOP_NETLOAD", cheader_filename = "glibtop/netload.h")] public struct NetLoad { public uint64 flags; public uint64 if_flags; public uint32 mtu; public uint32 subnet; public uint32 address; public uint64 packets_in; public uint64 packets_out; public uint64 packets_total; public uint64 bytes_in; public uint64 bytes_out; public uint64 bytes_total; public uint64 errors_in; public uint64 errors_out; public uint64 errors_total; public uint64 collisions; [CCode (array_length = false)] public weak uint8[] address6; [CCode (array_length = false)] public weak uint8[] prefix6; public uint8 scope6; [CCode (array_length = false)] public weak uint8[] hwaddress; } [CCode (cname = "glibtop_swap", type_id = "GTOP_TYPE_GLIBTOP_SWAP", cheader_filename = "glibtop/swap.h")] public struct Swap { public uint64 flags; public uint64 total; public uint64 used; public uint64 free; public uint64 pagein; public uint64 pageout; } [CCode (cname = "glibtop_loadavg", type_id = "GTOP_TYPE_GLIBTOP_LOADAVG", cheader_filename = "glibtop/loadavg.h")] public struct LoadAvg { public uint64 flags; [CCode (array_length = false)] public weak double[] loadavg; public uint64 nr_running; public uint64 nr_tasks; public uint64 last_pid; } [CCode (cname = "glibtop_mountlist", type_id = "GTOP_TYPE_GLIBTOP_MOUNTLIST", cheader_filename = "glibtop/mountlist.h")] public struct MountList { public uint64 flags; public uint64 number; public uint64 total; public uint64 size; } [CCode (cname = "glibtop_mountentry", type_id = "GTOP_TYPE_GLIBTOP_MOUNTENTRY", cheader_filename = "glibtop/mountlist.h")] public struct MountEntry { public uint64 dev; public weak string devname; public weak string mountdir; public weak string type; } [CCode (cname = "glibtop_fsusage", type_id = "GTOP_TYPE_GLIBTOP_FSUSAGE", cheader_filename = "glibtop/fsusage.h")] public struct FSUsage { public uint64 flags; public uint64 blocks; public uint64 bfree; public uint64 bavail; public uint64 files; public uint64 ffree; public uint32 block_size; public uint64 read; public uint64 write; } namespace IFFlags { [CCode (cname = "GLIBTOP_IF_FLAGS_UP", cheader_filename = "glibtop/netload.h")] public static int UP; [CCode (cname = "GLIBTOP_IF_FLAGS_BROADCAST", cheader_filename = "glibtop/netload.h")] public static int BROADCAST; [CCode (cname = "GLIBTOP_IF_FLAGS_DEBUG", cheader_filename = "glibtop/netload.h")] public static int DEBUG; [CCode (cname = "GLIBTOP_IF_FLAGS_LOOPBACK", cheader_filename = "glibtop/netload.h")] public static int LOOPBACK; [CCode (cname = "GLIBTOP_IF_FLAGS_POINTOPOINT", cheader_filename = "glibtop/netload.h")] public static int POINTOPOINT; [CCode (cname = "GLIBTOP_IF_FLAGS_RUNNING", cheader_filename = "glibtop/netload.h")] public static int RUNNING; [CCode (cname = "GLIBTOP_IF_FLAGS_NOARP", cheader_filename = "glibtop/netload.h")] public static int NOARP; [CCode (cname = "GLIBTOP_IF_FLAGS_PROMISC", cheader_filename = "glibtop/netload.h")] public static int PROMISC; [CCode (cname = "GLIBTOP_IF_FLAGS_ALLMULTI", cheader_filename = "glibtop/netload.h")] public static int ALLMULTI; [CCode (cname = "GLIBTOP_IF_FLAGS_OACTIVE", cheader_filename = "glibtop/netload.h")] public static int OACTIVE; [CCode (cname = "GLIBTOP_IF_FLAGS_SIMPLEX", cheader_filename = "glibtop/netload.h")] public static int SIMPLEX; [CCode (cname = "GLIBTOP_IF_FLAGS_LINK0", cheader_filename = "glibtop/netload.h")] public static int LINK0; [CCode (cname = "GLIBTOP_IF_FLAGS_LINK1", cheader_filename = "glibtop/netload.h")] public static int LINK1; [CCode (cname = "GLIBTOP_IF_FLAGS_LINK2", cheader_filename = "glibtop/netload.h")] public static int LINK2; [CCode (cname = "GLIBTOP_IF_FLAGS_ALTPHYS", cheader_filename = "glibtop/netload.h")] public static int ALTPHYS; [CCode (cname = "GLIBTOP_IF_FLAGS_MULTICAST", cheader_filename = "glibtop/netload.h")] public static int MULTICAST; [CCode (cname = "GLIBTOP_IF_FLAGS_WIRELESS", cheader_filename = "glibtop/netload.h")] public static int WIRELESS; } } indicator-multiload-0.3/src/main.vala0000664000175000017500000003755612107670161014644 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class Main : Application { private static string datadirectory; [CCode (array_null_terminated = true)] private static string[] expressionoptions; private static bool identifiersoption = false; private MultiLoadIndicator multi; private Gtk.Dialog about; private Preferences preferences; private SettingsCache settingscache; private string autostartkey; private string desktopfilename; private string autostartfile; private string applicationfile; private string graphsetups; const OptionEntry[] options = { { "evaluate-expression", 'e', 0, OptionArg.STRING_ARRAY, ref expressionoptions, N_("Evaluate an expression"), null }, { "list-identifiers", 'l', 0, OptionArg.NONE, ref identifiersoption, N_("List available expression identifiers"), null }, { "verbose", 'v', OptionFlags.NO_ARG, OptionArg.CALLBACK, (void*) debug, N_("Show debug messages"), null }, { null } }; public bool autostart { get { KeyFile file = new KeyFile(); try { file.load_from_file(this.autostartfile, KeyFileFlags.NONE); } catch (Error e) { return false; } try { return file.get_boolean(KeyFileDesktop.GROUP, autostartkey); } catch (Error e) { return true; } } set { KeyFile file = new KeyFile(); try { file.load_from_file(this.autostartfile, KeyFileFlags.KEEP_COMMENTS | KeyFileFlags.KEEP_TRANSLATIONS); } catch (Error e) { try { file.load_from_data_dirs(this.applicationfile, null, KeyFileFlags.KEEP_COMMENTS | KeyFileFlags.KEEP_TRANSLATIONS); } catch (Error e) { file.set_string(KeyFileDesktop.GROUP, KeyFileDesktop.KEY_TYPE, "Application"); file.set_string(KeyFileDesktop.GROUP, KeyFileDesktop.KEY_NAME, "indicator-multiload"); file.set_string(KeyFileDesktop.GROUP, KeyFileDesktop.KEY_EXEC, "indicator-multiload"); } } file.set_boolean(KeyFileDesktop.GROUP, autostartkey, value); try { DirUtils.create(Path.build_filename (Environment.get_user_config_dir(), "autostart"), 0777); FileUtils.set_contents(this.autostartfile, file.to_data()); } catch (Error e) { stderr.printf("Could not create autostart desktop file: %s\n", e.message); } } } [CCode (instance_pos = -1)] public void on_sysmon_activate(Gtk.MenuItem source) { var settings = this.settingscache.generalsettings(); var sysmon = settings.get_string("system-monitor"); if (sysmon.length == 0) { if (Environment.get_variable("XDG_CURRENT_DESKTOP") == "KDE" || Environment.get_variable("DESKTOP_SESSION") == "kde-plasma") { sysmon = "kde4-ksysguard.desktop"; } else { sysmon = "gnome-system-monitor.desktop"; } } var info = new DesktopAppInfo(sysmon); if (info != null) { try { info.launch(null, null); } catch (Error e) { stderr.printf("Could not launch system monitor: %s\n", e.message); } } else { try { Process.spawn_command_line_async("gnome-system-monitor"); } catch (Error e) { stderr.printf("Could not launch system monitor: %s\n", e.message); } } } [CCode (instance_pos = -1)] public void on_preferences_activate(Gtk.MenuItem source) { this.preferences.show(); } [CCode (instance_pos = -1)] public void on_about_activate(Gtk.MenuItem source) { if (this.about != null) { this.about.present(); return; } this.about = Utils.get_ui("aboutdialog", this) as Gtk.Dialog; return_if_fail(this.about != null); this.about.show_all(); } [CCode (instance_pos = -1)] public void on_quit_activate(Gtk.MenuItem source) { this.release(); } [CCode (instance_pos = -1)] public void on_aboutdialog_destroy(Gtk.Widget source) { this.about = null; } public Main(string app_id, ApplicationFlags flags) { Object(application_id: app_id, flags: flags); this.autostartkey = "X-GNOME-Autostart-enabled"; this.desktopfilename = "indicator-multiload.desktop"; this.autostartfile = Path.build_filename (Environment.get_user_config_dir(), "autostart", desktopfilename); this.applicationfile = Path.build_filename("applications", desktopfilename); string[] datadirs = { Config.PACKAGE_DATA_DIR }; foreach (var datadir in Environment.get_system_data_dirs()) datadirs += Path.build_filename(datadir, Config.PACKAGE_NAME); foreach (var datadir in datadirs) { var uifile = Path.build_filename(datadir, "preferences.ui"); if (!FileUtils.test(uifile, FileTest.IS_REGULAR)) continue; Utils.uifile = uifile; break; } } private void creategraphs(FixedGSettings.Settings? settings, string key) { // For some reason, directly after converting settings v1->v2, this is // called a lot. Recreating the graphs is expensive, so check whether // it is really necessary. string newgraphsetups = ""; foreach (var graphid in this.settingscache.generalsettings().get_strv("graphs")) newgraphsetups += "%s=%s\n".printf(graphid, string.joinv(",", this.settingscache.graphsettings(graphid).get_strv("traces"))); if (this.graphsetups == newgraphsetups) return; this.graphsetups = newgraphsetups; var datasettings = this.settingscache.generalsettings(); this.multi.graphmodels = new GraphModels(datasettings.get_strv("graphs"), this.multi.providers); // dconf binds: will overwrite the old binds foreach (var graphmodel in this.multi.graphmodels.graphmodels) this.addgraphbinds(graphmodel); // dconf notifications for graph/trace creation foreach (var cachedsetting in this.settingscache.cachedsettings()) SignalHandler.disconnect_by_func(cachedsetting, (void*) Main.creategraphs, this); datasettings.changed["graphs"].connect(this.creategraphs); foreach (var graphmodel in this.multi.graphmodels.graphmodels) { var graphsettings = this.settingscache.graphsettings(graphmodel.id); graphsettings.changed["traces"].connect(this.creategraphs); } } private void addgraphbinds(GraphModel graphmodel) { var graphid = graphmodel.id; var graphsettings = this.settingscache.graphsettings(graphid); graphsettings.bind_with_mapping("background-color", graphmodel, "background_color", SettingsBindFlags.DEFAULT, Utils.get_settings_color, Utils.set_settings_color, null, () => {}); graphsettings.bind("minimum", graphmodel.minimum, "expression", SettingsBindFlags.DEFAULT); graphsettings.bind("maximum", graphmodel.maximum, "expression", SettingsBindFlags.DEFAULT); string[] graphproperties = { "enabled", "smooth", "alpha", "traces" }; foreach (var property in graphproperties) graphsettings.bind(property, graphmodel, property, SettingsBindFlags.DEFAULT); var traceids = graphmodel.traces; var tracemodels = graphmodel.tracemodels; for (uint i = 0, isize = traceids.length; i < isize; ++i) this.addtracebinds(tracemodels[i], graphid, traceids[i]); } private void addtracebinds(TraceModel tracemodel, string graphid, string traceid) { var tracesettings = this.settingscache.tracesettings(graphid, traceid); tracesettings.bind_with_mapping("color", tracemodel, "color", SettingsBindFlags.DEFAULT, Utils.get_settings_color, Utils.set_settings_color, null, () => {}); tracesettings.bind("enabled", tracemodel, "enabled", SettingsBindFlags.DEFAULT); tracesettings.bind("expression", tracemodel.expression, "expression", SettingsBindFlags.DEFAULT); } [CCode (instance_pos = 3)] private bool debug(string optionname, string? optionvalue) throws Error { Utils.enabledebugmessages = true; return true; } public override void activate() { // all the work is done in startup } public override void startup() { this.multi = new MultiLoadIndicator(Path.build_filename(datadirectory, "icons"), new Providers()); this.settingscache = new SettingsCache(); new SettingsConversion().convert(); // initialize indicator, won't update before speed is set; order is // important here this.creategraphs(null, ""); var menu = Utils.get_ui("menu", this) as Gtk.Menu; return_if_fail(menu != null); this.multi.menu = menu; var datasettings = this.settingscache.generalsettings(); datasettings.bind("menu-expressions", this.multi.menumodel, "expressions", SettingsBindFlags.DEFAULT); datasettings.bind("indicator-expressions", this.multi.labelmodel, "expressions", SettingsBindFlags.DEFAULT); datasettings.bind("description-expressions", this.multi.descriptionmodel, "expressions", SettingsBindFlags.DEFAULT); datasettings.bind("indicator-expression-index", this.multi, "indicator-index", SettingsBindFlags.DEFAULT); datasettings.bind("width", this.multi, "width", SettingsBindFlags.DEFAULT); datasettings.bind("height", this.multi, "height", SettingsBindFlags.DEFAULT); datasettings.bind("autostart", this, "autostart", SettingsBindFlags.DEFAULT); // should be the last one as it initializes the timer datasettings.bind("speed", this.multi, "speed", SettingsBindFlags.DEFAULT); this.multi.updateall(); this.preferences = new Preferences(); this.hold(); Gdk.notify_startup_complete(); base.startup(); } public override int command_line(GLib.ApplicationCommandLine command_line) { // no command line processing in primary instance return 0; } public override bool local_command_line ([CCode (array_null_terminated = true, array_length = false)] ref unowned string[] arguments, out int exit_status) { try { OptionGroup group = new OptionGroup("", "", "", this); group.add_entries(options); var context = new OptionContext (_("- System load application indicator")); context.set_help_enabled(true); context.set_main_group((owned) group); context.add_group(Gtk.get_option_group(true)); unowned string[] local_args = arguments; context.parse(ref local_args); } catch (OptionError e) { stdout.printf("%s\n", e.message); stdout.printf(_("Run '%s --help' to see a full list of available command line options.\n"), arguments[0]); exit_status = 1; return true; } bool result = false; if (identifiersoption) { var providers = new Providers(); Thread.usleep(100000); providers.update(); foreach (var provider in providers.providers) { stdout.printf("%s:\n", provider.id); string[] keys = provider.keys; double[] values = provider.values; for (uint i = 0, isize = keys.length; i < isize; ++i) stdout.printf(" %s: %f\n", keys[i], values[i]); } stdout.printf("functions:\n"); foreach (var function in providers.functions) { stdout.printf(" %s(%s)\n", function.id, string.joinv(", ", function.parameterdescs)); } result = true; } foreach (var expressionoption in expressionoptions) { var cache = new ExpressionCache(new Providers(), expressionoption); stdout.printf("Original: %s\n", expressionoption); stdout.printf("Tokens: '%s'\n", string.joinv("' '", cache.tokens())); stdout.printf("Result: %s\n", cache.label()); stdout.printf("Guide: %s\n", cache.guide()); result = true; } return result; } ~Main() { if (multi != null) this.multi.destroy(); } public static int main(string[] args) { Intl.bindtextdomain(Config.GETTEXT_PACKAGE, Config.PACKAGE_LOCALE_DIR); Intl.bind_textdomain_codeset(Config.GETTEXT_PACKAGE, "UTF-8"); Intl.textdomain(Config.GETTEXT_PACKAGE); // needs to happen before get_system_data_dirs is called the first time var directory = Environment.get_variable("XDG_RUNTIME_DIR"); if (directory == null || directory.length == 0) { directory = "/var/lock"; } Main.datadirectory = DirUtils.mkdtemp(directory + "/multiload-icons-XXXXXX"); var xdgdatadirs = Environment.get_variable("XDG_DATA_DIRS"); if (xdgdatadirs.length > 0) xdgdatadirs += ":"; Environment.set_variable("XDG_DATA_DIRS", xdgdatadirs + Main.datadirectory, true); Utils.initdebug(); Gtk.init(ref args); Gtk.Window.set_default_icon_name("utilities-system-monitor"); var reaper = new Reaper(args); var result = new Main("de.mh21.indicator.multiload", ApplicationFlags.FLAGS_NONE).run(args); DirUtils.remove(Main.datadirectory); return result; } } indicator-multiload-0.3/src/loadprovider.vala0000664000175000017500000000323212107670161016372 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class LoadProvider : Provider { public LoadProvider() { base("load", {"avg", "cpus"}); } public override void update() { GTop.LoadAvg loadavg; GTop.get_loadavg(out loadavg); this.values[0] = loadavg.loadavg[0]; this.values[1] = GTop.global_server->ncpu + 1; } } indicator-multiload-0.3/src/multiloadindicator.vala0000664000175000017500000002555512107670161017603 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class MultiLoadIndicator : Object { private uint currenticonindex; private uint lasticonwidth; private TimeoutSource timeout; private AppIndicator.Indicator indicator; private Gtk.MenuItem[] menuitems; private bool menuset; public string icondirectory {get; construct; } public Providers providers {get; construct; } public MenuModel menumodel { get; construct; } public MenuModel labelmodel { get; construct; } public MenuModel descriptionmodel { get; construct; } public int indicator_index { get; set; } public uint height { get; set; } public uint width { get; set; } public uint speed { get; set; } public Gtk.Menu menu { get; set; } public GraphModels graphmodels { get; set; } public MultiLoadIndicator(string icondirectory, Providers providers) { Object(icondirectory: icondirectory, providers: providers, menumodel: new MenuModel(providers), labelmodel: new MenuModel(providers), descriptionmodel: new MenuModel(providers)); } // Needs to be called before destruction to break the reference cycle from the timeout source public void destroy() { if (this.timeout == null) return; this.timeout.destroy(); this.timeout = null; } construct { DirUtils.create(this.icondirectory, 0777); this.iconwritedummy(); this.indicator = new AppIndicator.Indicator.with_path("multiload", "", AppIndicator.IndicatorCategory.SYSTEM_SERVICES, this.icondirectory); this.indicator.scroll_event.connect((delta, direction) => { var index = this.indicator_index; if (direction == Gdk.ScrollDirection.DOWN) index += delta; else if (direction == Gdk.ScrollDirection.UP) index -= delta; if (index >= this.labelmodel.expressions.length) index = this.labelmodel.expressions.length - 1; if (index < 0) index = 0; this.indicator_index = index; }); this.notify["indicator-index"].connect(() => { // update directly so scrolling works as expected if (this.indicator.get_status() == AppIndicator.IndicatorStatus.ACTIVE) this.updateviews(); }); this.notify["speed"].connect(() => { if (this.timeout != null) this.timeout.destroy(); if (this.speed == 0) { this.timeout = null; return; } if (this.speed % 1000 == 0) this.timeout = new TimeoutSource.seconds(this.speed / 1000); else this.timeout = new TimeoutSource(this.speed); this.timeout.attach(null); this.timeout.set_callback(() => { this.updateall(); return true; }); }); } ~MultiLoadIndicator() { FileUtils.remove(this.iconpath(0)); FileUtils.remove(this.iconpath(1)); DirUtils.remove(this.icondirectory); } public void updateall() { this.updateproviders(); this.updatemodels(); this.updateviews(); } private void updateproviders() { this.providers.update(); } private void updatemodels() { this.menumodel.update(); this.labelmodel.update(); this.descriptionmodel.update(); this.graphmodels.update(this.width); } private void updateviews() { this.updatemenuview(); this.updatelabelview(); this.updategraphsview(); // ready if a menu is available if (this.menu != null) { // prevent an indicator without icon and text if ((this.indicator.get_icon().length == 0) && (this.indicator.label == null || this.indicator.label.length == 0)) this.indicator.set_label("indicator-multiload", "indicator-multiload"); this.indicator.set_status(AppIndicator.IndicatorStatus.ACTIVE); } else { this.indicator.set_status(AppIndicator.IndicatorStatus.PASSIVE); } } private void updatemenuview() { if (this.menu == null) return; // start after system monitor and separator uint menu_position = 2; var length = this.menumodel.expressions.length; for (uint j = 0; j < length; ++j) { Gtk.MenuItem item; if (j < this.menuitems.length) { item = this.menuitems[j]; } else { item = new Gtk.MenuItem(); item.visible = true; this.menu.insert(item, (int)menu_position); this.menuitems += item; } item.label = this.menumodel.expression(j).label(); ++menu_position; } if (length != this.menuitems.length) { for (uint j = length, jsize = this.menuitems.length; j < jsize; ++j) menuitems[j].destroy(); this.menuitems = this.menuitems[0:length]; } if (!this.menuset) { this.indicator.set_menu(this.menu); // first entry is system monitor, activate it on middle click this.indicator.set_secondary_activate_target(this.menu.get_children().data); this.menuset = true; } } private void updatelabelview() { var indicatorcount = this.labelmodel.expressions.length; var indicatorlabel = 0 <= this.indicator_index && this.indicator_index < indicatorcount ? this.labelmodel.expression(this.indicator_index).label() : ""; var indicatorguide = 0 <= this.indicator_index && this.indicator_index < indicatorcount ? this.labelmodel.expression(this.indicator_index).guide() : ""; this.indicator.set_label(indicatorlabel, indicatorguide); } private void updategraphsview() { this.iconwrite(); var found = false; // fix icon size if using the fallback GtkStatusIcon foreach (var toplevel in Gtk.Window.list_toplevels()) { if (toplevel.get_type().name() != "GtkTrayIcon" || !(toplevel is Gtk.Container)) continue; ((Gtk.Container) toplevel).foreach((w) => { if (!(w is Gtk.Image)) return; ((Gtk.Image) w).set_from_file(this.iconpath(this.currenticonindex)); ((Gtk.Image) w).pixel_size = (int) uint.max(this.lasticonwidth, this.height); found = true; }); } if (!found) { this.indicator.set_icon_full(this.iconname(this.currenticonindex), this.descriptionmodel.expression(0).label()); } } private string iconname(uint index) { return @"indicator-multiload-graphs-$index"; } private string iconpath(uint index) { return Path.build_filename(this.icondirectory, this.iconname(index) + ".png"); } // Create dummy icons because the availability of icons is cached per theme private void iconwritedummy() { var surface = new Cairo.ImageSurface(Cairo.Format.ARGB32, 1, 1); surface.write_to_png(this.iconpath(0)); surface.write_to_png(this.iconpath(1)); } private void iconwrite() { this.lasticonwidth = 0; if (this.graphmodels == null) return; uint count = 0; foreach (var graphmodel in this.graphmodels.graphmodels) if (graphmodel.enabled) ++count; if (count == 0) return; this.lasticonwidth = (int) (count * (this._width + 2)) - 2; var surface = new Cairo.ImageSurface(Cairo.Format.ARGB32, (int) this.lasticonwidth, (int) this.height); var ctx = new Cairo.Context(surface); ctx.set_antialias(Cairo.Antialias.NONE); ctx.set_line_width(1); uint offset = 0; foreach (var graphmodel in this.graphmodels.graphmodels) { if (!graphmodel.enabled) continue; graphmodel.set_source_color(ctx); ctx.rectangle(offset, 0, this._width, this.height); ctx.fill(); var tracemodels = graphmodel.tracemodels; var values = new double[tracemodels.length, this._width]; var scale = graphmodel.scale; for (uint j = 0, jsize = values.length[0]; j < jsize; ++j) { var enabled = tracemodels[j].enabled; unowned double[] tracedata = tracemodels[j].values; for (uint i = 0, isize = values.length[1]; i < isize; ++i) values[j, i] = (j > 0 ? values[j - 1, i] : 0) + (enabled ? tracedata[i] : 0) / scale; } for (int j = values.length[0] - 1; j >= 0; --j) { Gdk.cairo_set_source_color(ctx, graphmodel.tracemodels[j].color); for (uint i = 0, isize = values.length[1]; i < isize; ++i) { // the baseline is outside the canvas ctx.move_to(0.5 + offset + i, this.height + 0.5); ctx.line_to(0.5 + offset + i, this.height + 0.5 - this.height * values[j, i]); } ctx.stroke(); } offset += this._width + 2; } this.currenticonindex = 1 - this.currenticonindex; surface.write_to_png(this.iconpath(this.currenticonindex)); } } indicator-multiload-0.3/src/memprovider.vala0000664000175000017500000000350012107670161016227 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class MemProvider : Provider { public MemProvider() { base("mem", {"user", "shared", "buffer", "cached", "total", "used"}); } public override void update() { GTop.Mem mem; GTop.get_mem(out mem); this.values[0] = mem.user; this.values[1] = mem.shared; this.values[2] = mem.buffer; this.values[3] = mem.cached; this.values[4] = mem.total; this.values[5] = mem.shared + mem.buffer + mem.cached; } } indicator-multiload-0.3/src/loadprovider.c0000664000175000017500000001567412107670273015712 00000000000000/* loadprovider.c generated by valac 0.14.2, the Vala compiler * generated from loadprovider.vala, do not modify */ #include #include #include #include #include #include #include #include #define TYPE_PROVIDER (provider_get_type ()) #define PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDER, Provider)) #define PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDER, ProviderClass)) #define IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDER)) #define IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDER)) #define PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDER, ProviderClass)) typedef struct _Provider Provider; typedef struct _ProviderClass ProviderClass; typedef struct _ProviderPrivate ProviderPrivate; #define TYPE_LOAD_PROVIDER (load_provider_get_type ()) #define LOAD_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_LOAD_PROVIDER, LoadProvider)) #define LOAD_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_LOAD_PROVIDER, LoadProviderClass)) #define IS_LOAD_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_LOAD_PROVIDER)) #define IS_LOAD_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_LOAD_PROVIDER)) #define LOAD_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_LOAD_PROVIDER, LoadProviderClass)) typedef struct _LoadProvider LoadProvider; typedef struct _LoadProviderClass LoadProviderClass; typedef struct _LoadProviderPrivate LoadProviderPrivate; struct _Provider { GObject parent_instance; ProviderPrivate * priv; }; struct _ProviderClass { GObjectClass parent_class; void (*update) (Provider* self); }; struct _LoadProvider { Provider parent_instance; LoadProviderPrivate * priv; }; struct _LoadProviderClass { ProviderClass parent_class; }; static gpointer load_provider_parent_class = NULL; GType provider_get_type (void) G_GNUC_CONST; GType load_provider_get_type (void) G_GNUC_CONST; enum { LOAD_PROVIDER_DUMMY_PROPERTY }; LoadProvider* load_provider_new (void); LoadProvider* load_provider_construct (GType object_type); Provider* provider_construct (GType object_type, const gchar* id, gchar** keys, int keys_length1); static void load_provider_real_update (Provider* base); gdouble* provider_get_values (Provider* self, int* result_length1); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); LoadProvider* load_provider_construct (GType object_type) { LoadProvider * self = NULL; gchar* _tmp0_; gchar* _tmp1_; gchar** _tmp2_ = NULL; gchar** _tmp3_; gint _tmp3__length1; _tmp0_ = g_strdup ("avg"); _tmp1_ = g_strdup ("cpus"); _tmp2_ = g_new0 (gchar*, 2 + 1); _tmp2_[0] = _tmp0_; _tmp2_[1] = _tmp1_; _tmp3_ = _tmp2_; _tmp3__length1 = 2; self = (LoadProvider*) provider_construct (object_type, "load", _tmp3_, 2); _tmp3_ = (_vala_array_free (_tmp3_, _tmp3__length1, (GDestroyNotify) g_free), NULL); return self; } LoadProvider* load_provider_new (void) { return load_provider_construct (TYPE_LOAD_PROVIDER); } static void load_provider_real_update (Provider* base) { LoadProvider * self; glibtop_loadavg loadavg = {0}; glibtop_loadavg _tmp0_ = {0}; gdouble* _tmp1_; gint _tmp1__length1; gdouble* _tmp2_; gint _tmp2__length1; glibtop_loadavg _tmp3_; gdouble* _tmp4_; gint _tmp4__length1; gdouble _tmp5_; gdouble _tmp6_; gdouble* _tmp7_; gint _tmp7__length1; gdouble* _tmp8_; gint _tmp8__length1; glibtop* _tmp9_; gint _tmp10_; gdouble _tmp11_; self = LOAD_PROVIDER (base); glibtop_get_loadavg (&_tmp0_); loadavg = _tmp0_; _tmp1_ = provider_get_values (PROVIDER (self), &_tmp1__length1); _tmp2_ = _tmp1_; _tmp2__length1 = _tmp1__length1; _tmp3_ = loadavg; _tmp4_ = _tmp3_.loadavg; _tmp4__length1 = -1; _tmp5_ = _tmp4_[0]; _tmp2_[0] = _tmp5_; _tmp6_ = _tmp2_[0]; _tmp7_ = provider_get_values (PROVIDER (self), &_tmp7__length1); _tmp8_ = _tmp7_; _tmp8__length1 = _tmp7__length1; _tmp9_ = glibtop_global_server; _tmp10_ = (*_tmp9_).ncpu; _tmp8_[1] = (gdouble) (_tmp10_ + 1); _tmp11_ = _tmp8_[1]; } static void load_provider_class_init (LoadProviderClass * klass) { load_provider_parent_class = g_type_class_peek_parent (klass); PROVIDER_CLASS (klass)->update = load_provider_real_update; } static void load_provider_instance_init (LoadProvider * self) { } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType load_provider_get_type (void) { static volatile gsize load_provider_type_id__volatile = 0; if (g_once_init_enter (&load_provider_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (LoadProviderClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) load_provider_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (LoadProvider), 0, (GInstanceInitFunc) load_provider_instance_init, NULL }; GType load_provider_type_id; load_provider_type_id = g_type_register_static (TYPE_PROVIDER, "LoadProvider", &g_define_type_info, 0); g_once_init_leave (&load_provider_type_id__volatile, load_provider_type_id); } return load_provider_type_id__volatile; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/memprovider.c0000664000175000017500000002114512107670273015537 00000000000000/* memprovider.c generated by valac 0.14.2, the Vala compiler * generated from memprovider.vala, do not modify */ #include #include #include #include #include #include #include #define TYPE_PROVIDER (provider_get_type ()) #define PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDER, Provider)) #define PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDER, ProviderClass)) #define IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDER)) #define IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDER)) #define PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDER, ProviderClass)) typedef struct _Provider Provider; typedef struct _ProviderClass ProviderClass; typedef struct _ProviderPrivate ProviderPrivate; #define TYPE_MEM_PROVIDER (mem_provider_get_type ()) #define MEM_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MEM_PROVIDER, MemProvider)) #define MEM_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MEM_PROVIDER, MemProviderClass)) #define IS_MEM_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MEM_PROVIDER)) #define IS_MEM_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MEM_PROVIDER)) #define MEM_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MEM_PROVIDER, MemProviderClass)) typedef struct _MemProvider MemProvider; typedef struct _MemProviderClass MemProviderClass; typedef struct _MemProviderPrivate MemProviderPrivate; struct _Provider { GObject parent_instance; ProviderPrivate * priv; }; struct _ProviderClass { GObjectClass parent_class; void (*update) (Provider* self); }; struct _MemProvider { Provider parent_instance; MemProviderPrivate * priv; }; struct _MemProviderClass { ProviderClass parent_class; }; static gpointer mem_provider_parent_class = NULL; GType provider_get_type (void) G_GNUC_CONST; GType mem_provider_get_type (void) G_GNUC_CONST; enum { MEM_PROVIDER_DUMMY_PROPERTY }; MemProvider* mem_provider_new (void); MemProvider* mem_provider_construct (GType object_type); Provider* provider_construct (GType object_type, const gchar* id, gchar** keys, int keys_length1); static void mem_provider_real_update (Provider* base); gdouble* provider_get_values (Provider* self, int* result_length1); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); MemProvider* mem_provider_construct (GType object_type) { MemProvider * self = NULL; gchar* _tmp0_; gchar* _tmp1_; gchar* _tmp2_; gchar* _tmp3_; gchar* _tmp4_; gchar* _tmp5_; gchar** _tmp6_ = NULL; gchar** _tmp7_; gint _tmp7__length1; _tmp0_ = g_strdup ("user"); _tmp1_ = g_strdup ("shared"); _tmp2_ = g_strdup ("buffer"); _tmp3_ = g_strdup ("cached"); _tmp4_ = g_strdup ("total"); _tmp5_ = g_strdup ("used"); _tmp6_ = g_new0 (gchar*, 6 + 1); _tmp6_[0] = _tmp0_; _tmp6_[1] = _tmp1_; _tmp6_[2] = _tmp2_; _tmp6_[3] = _tmp3_; _tmp6_[4] = _tmp4_; _tmp6_[5] = _tmp5_; _tmp7_ = _tmp6_; _tmp7__length1 = 6; self = (MemProvider*) provider_construct (object_type, "mem", _tmp7_, 6); _tmp7_ = (_vala_array_free (_tmp7_, _tmp7__length1, (GDestroyNotify) g_free), NULL); return self; } MemProvider* mem_provider_new (void) { return mem_provider_construct (TYPE_MEM_PROVIDER); } static void mem_provider_real_update (Provider* base) { MemProvider * self; glibtop_mem mem = {0}; glibtop_mem _tmp0_ = {0}; gdouble* _tmp1_; gint _tmp1__length1; gdouble* _tmp2_; gint _tmp2__length1; glibtop_mem _tmp3_; guint64 _tmp4_; gdouble _tmp5_; gdouble* _tmp6_; gint _tmp6__length1; gdouble* _tmp7_; gint _tmp7__length1; glibtop_mem _tmp8_; guint64 _tmp9_; gdouble _tmp10_; gdouble* _tmp11_; gint _tmp11__length1; gdouble* _tmp12_; gint _tmp12__length1; glibtop_mem _tmp13_; guint64 _tmp14_; gdouble _tmp15_; gdouble* _tmp16_; gint _tmp16__length1; gdouble* _tmp17_; gint _tmp17__length1; glibtop_mem _tmp18_; guint64 _tmp19_; gdouble _tmp20_; gdouble* _tmp21_; gint _tmp21__length1; gdouble* _tmp22_; gint _tmp22__length1; glibtop_mem _tmp23_; guint64 _tmp24_; gdouble _tmp25_; gdouble* _tmp26_; gint _tmp26__length1; gdouble* _tmp27_; gint _tmp27__length1; glibtop_mem _tmp28_; guint64 _tmp29_; glibtop_mem _tmp30_; guint64 _tmp31_; glibtop_mem _tmp32_; guint64 _tmp33_; gdouble _tmp34_; self = MEM_PROVIDER (base); glibtop_get_mem (&_tmp0_); mem = _tmp0_; _tmp1_ = provider_get_values (PROVIDER (self), &_tmp1__length1); _tmp2_ = _tmp1_; _tmp2__length1 = _tmp1__length1; _tmp3_ = mem; _tmp4_ = _tmp3_.user; _tmp2_[0] = (gdouble) _tmp4_; _tmp5_ = _tmp2_[0]; _tmp6_ = provider_get_values (PROVIDER (self), &_tmp6__length1); _tmp7_ = _tmp6_; _tmp7__length1 = _tmp6__length1; _tmp8_ = mem; _tmp9_ = _tmp8_.shared; _tmp7_[1] = (gdouble) _tmp9_; _tmp10_ = _tmp7_[1]; _tmp11_ = provider_get_values (PROVIDER (self), &_tmp11__length1); _tmp12_ = _tmp11_; _tmp12__length1 = _tmp11__length1; _tmp13_ = mem; _tmp14_ = _tmp13_.buffer; _tmp12_[2] = (gdouble) _tmp14_; _tmp15_ = _tmp12_[2]; _tmp16_ = provider_get_values (PROVIDER (self), &_tmp16__length1); _tmp17_ = _tmp16_; _tmp17__length1 = _tmp16__length1; _tmp18_ = mem; _tmp19_ = _tmp18_.cached; _tmp17_[3] = (gdouble) _tmp19_; _tmp20_ = _tmp17_[3]; _tmp21_ = provider_get_values (PROVIDER (self), &_tmp21__length1); _tmp22_ = _tmp21_; _tmp22__length1 = _tmp21__length1; _tmp23_ = mem; _tmp24_ = _tmp23_.total; _tmp22_[4] = (gdouble) _tmp24_; _tmp25_ = _tmp22_[4]; _tmp26_ = provider_get_values (PROVIDER (self), &_tmp26__length1); _tmp27_ = _tmp26_; _tmp27__length1 = _tmp26__length1; _tmp28_ = mem; _tmp29_ = _tmp28_.shared; _tmp30_ = mem; _tmp31_ = _tmp30_.buffer; _tmp32_ = mem; _tmp33_ = _tmp32_.cached; _tmp27_[5] = (gdouble) ((_tmp29_ + _tmp31_) + _tmp33_); _tmp34_ = _tmp27_[5]; } static void mem_provider_class_init (MemProviderClass * klass) { mem_provider_parent_class = g_type_class_peek_parent (klass); PROVIDER_CLASS (klass)->update = mem_provider_real_update; } static void mem_provider_instance_init (MemProvider * self) { } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType mem_provider_get_type (void) { static volatile gsize mem_provider_type_id__volatile = 0; if (g_once_init_enter (&mem_provider_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (MemProviderClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) mem_provider_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MemProvider), 0, (GInstanceInitFunc) mem_provider_instance_init, NULL }; GType mem_provider_type_id; mem_provider_type_id = g_type_register_static (TYPE_PROVIDER, "MemProvider", &g_define_type_info, 0); g_once_init_leave (&mem_provider_type_id__volatile, mem_provider_type_id); } return mem_provider_type_id__volatile; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/function.vala0000664000175000017500000000705112107670161015530 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public abstract class Function : GLib.Object { public string id { get; construct; } public string[] parameterdescs { get; construct; } public Function(string id, string[] parameterdescs) { Object(id: id, parameterdescs: parameterdescs); } protected static Error error(string message) { return new Error(Quark.from_string("function-error-quark"), 0, "%s", message); } public abstract string call(string[] parameters, bool widest) throws Error; } public class DecimalsFunction : Function { public DecimalsFunction() { base("decimals", {"value", "decimals"}); } public override string call(string[] parameters, bool widest) throws Error { if (parameters.length != 2) throw error("two parameters expected"); if (widest) parameters[0] = "8"; return "%.*f".printf(int.parse(parameters[1]), double.parse(parameters[0])); } } public class SizeFunction : Function { public SizeFunction() { base("size", {"value"}); } public override string call(string[] parameters, bool widest) throws Error { if (parameters.length != 1) throw error("one parameter expected"); if (widest) parameters[0] = "999000000"; // MB // TODO inline return Utils.format_size(double.parse(parameters[0])); } } public class SpeedFunction : Function { public SpeedFunction() { base("speed", {"value"}); } public override string call(string[] parameters, bool widest) throws Error { if (parameters.length != 1) throw error("one parameter expected"); if (widest) parameters[0] = "999000000"; // MB // TODO inline return Utils.format_speed(double.parse(parameters[0])); } } public class PercentFunction : Function { public PercentFunction() { base("percent", {"value"}); } public override string call(string[] parameters, bool widest) throws Error { if (parameters.length != 1) throw error("one parameter expected"); if (widest) parameters[0] = "1"; return _("%u%%").printf ((uint) Math.round(100 * double.parse(parameters[0]))); } } indicator-multiload-0.3/src/settingscache.vala0000664000175000017500000000603512107670161016530 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class SettingsCache : Object { public const string[] presetgraphids = {"cpu", "mem", "net", "load", "swap", "disk"}; private HashTable cached = new HashTable.full (str_hash, str_equal, g_free, g_object_unref); private FixedGSettings.Settings settings(string key, string? path) { var result = this.cached.lookup(key); if (result == null) { result = path == null ? new FixedGSettings.Settings(key) : new FixedGSettings.Settings.with_path(key, path); this.cached.insert(path == null ? key : @"$key:$path", result); } return result; } public List cachedsettings() { return this.cached.get_values(); } public FixedGSettings.Settings generalsettings() { return this.settings("de.mh21.indicator.multiload.general", null); } public FixedGSettings.Settings graphsettings(string graphid) { if (graphid in presetgraphids) return this.settings (@"de.mh21.indicator.multiload.graphs.$graphid", null); return this.settings ("de.mh21.indicator.multiload.graph", @"/apps/indicators/multiload/graphs/$graphid/"); } public FixedGSettings.Settings tracesettings(string graphid, string traceid) { if (graphid in presetgraphids) return this.settings (@"de.mh21.indicator.multiload.traces.$traceid", null); return this.settings ("de.mh21.indicator.multiload.trace", @"/apps/indicators/multiload/graphs/$graphid/$traceid/"); } } indicator-multiload-0.3/src/itempreferences.vala0000664000175000017500000002302712107670161017064 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class ItemPreferences : Object { private Gtk.Dialog items; private Gtk.ListStore itemstore; private Gtk.TreeView itemview; private Gtk.TreeSelection itemselection; private Gtk.Button itemadd; private Gtk.Button itemremove; private Gtk.Button itemedit; private Gtk.Button itemup; private Gtk.Button itemdown; private FixedGSettings.Settings itemsettings; private bool itemsignoresignals; public string settingskey { get; construct; } public ItemPreferences(string settingskey) { Object(settingskey: settingskey); } public void show() { if (this.items != null) { this.items.present(); return; } Gtk.Builder builder; this.items = Utils.get_ui("itemdialog", this, {"itemstore"}, out builder) as Gtk.Dialog; return_if_fail(this.items != null); this.itemstore = builder.get_object("itemstore") as Gtk.ListStore; this.itemview = builder.get_object("itemview") as Gtk.TreeView; this.itemsettings = new SettingsCache().generalsettings(); this.itemsettings.changed["menu-expressions"].connect(on_itemsettings_changed); this.itemadd = builder.get_object("itemadd") as Gtk.Button; this.itemremove = builder.get_object("itemremove") as Gtk.Button; this.itemedit = builder.get_object("itemedit") as Gtk.Button; this.itemup = builder.get_object("itemup") as Gtk.Button; this.itemdown = builder.get_object("itemdown") as Gtk.Button; this.itemselection = (builder.get_object("itemview") as Gtk.TreeView).get_selection(); this.itemselection.changed.connect(on_itemselection_changed); this.itemsgsettingstostore(); // will invoke updatebuttons() this.itemselection.select_path(new Gtk.TreePath.from_indices(0)); this.items.show_all(); // TODO: F2 does not work } [CCode (instance_pos = -1)] public void on_itemdialog_destroy(Gtk.Widget source) { this.items = null; this.itemstore = null; this.itemsettings = null; } [CCode (instance_pos = -1)] public void on_itemdialog_response(Gtk.Dialog source, int response) { if (response != 1) { source.destroy(); return; } this.itemsettings.reset(this.settingskey); this.itemselection.select_path(new Gtk.TreePath.from_indices(0)); } [CCode (instance_pos = -1)] public void on_expressionrenderer_edited(Gtk.CellRendererText renderer, string path, string new_text) { Gtk.TreeIter iter; this.itemstore.get_iter_from_string(out iter, path); this.itemstore.set(iter, 0, new_text); } [CCode (instance_pos = -1)] public void on_itemselection_changed() { this.updatebuttons(); } [CCode (instance_pos = -1)] public void on_itemsettings_changed() { if (!this.itemsignoresignals) this.itemsgsettingstostore(); } [CCode (instance_pos = -1)] public void on_itemstore_row_inserted(Gtk.TreeModel model, string path, Gtk.TreeIter iter) { if (!this.itemsignoresignals) this.itemsstoretogsettings(); } [CCode (instance_pos = -1)] public void on_itemstore_row_changed(Gtk.TreeModel model, string path, Gtk.TreeIter iter) { if (!this.itemsignoresignals) itemsstoretogsettings(); } [CCode (instance_pos = -1)] public void on_itemstore_row_deleted(Gtk.TreeModel model, string path) { if (!this.itemsignoresignals) this.itemsstoretogsettings(); } [CCode (instance_pos = -1)] public void on_itemadd_clicked(Gtk.Button button) { uint pos = 0; Gtk.TreeIter iter; if (this.itemselection.get_selected(null, out iter)) { var path = this.itemstore.get_path(iter); // TODO: needs to be unowned for gtk2 as the bindings do not return // a length for the array, so the duplication of the array fails unowned int[] indices = path.get_indices(); pos = indices[0] + 1; } this.itemstore.insert(out iter, (int) pos); this.itemview.grab_focus(); this.itemview.set_cursor(this.itemstore.get_path(iter), this.itemview.get_column(0), true); } [CCode (instance_pos = -1)] public void on_itemremove_clicked(Gtk.Button button) { Gtk.TreeIter iter; if (!this.itemselection.get_selected(null, out iter)) return; var path = this.itemstore.get_path(iter); this.itemstore.remove(iter); if (!this.itemstore.get_iter(out iter, path)) path.prev(); this.itemselection.select_path(path); } [CCode (instance_pos = -1)] public void on_itemedit_clicked(Gtk.Button button) { Gtk.TreeIter iter; if (!this.itemselection.get_selected(null, out iter)) return; this.itemview.grab_focus(); this.itemview.set_cursor(this.itemstore.get_path(iter), this.itemview.get_column(0), true); } [CCode (instance_pos = -1)] public void on_itemup_clicked(Gtk.Button button) { Gtk.TreeIter iter; if (!this.itemselection.get_selected(null, out iter)) return; Gtk.TreeIter previter; var prevpath = this.itemstore.get_path(iter); if (!prevpath.prev()) return; if (!this.itemstore.get_iter(out previter, prevpath)) return; GLib.Value value, prevvalue; this.itemstore.get_value(iter, 0, out value); this.itemstore.get_value(previter, 0, out prevvalue); this.itemstore.set_value(iter, 0, prevvalue); this.itemstore.set_value(previter, 0, value); this.itemselection.select_path(prevpath); } [CCode (instance_pos = -1)] public void on_itemdown_clicked(Gtk.Button button) { Gtk.TreeIter iter; if (!this.itemselection.get_selected(null, out iter)) return; Gtk.TreeIter nextiter; var nextpath = this.itemstore.get_path(iter); nextpath.next(); if (!this.itemstore.get_iter(out nextiter, nextpath)) return; GLib.Value value, nextvalue; this.itemstore.get_value(iter, 0, out value); this.itemstore.get_value(nextiter, 0, out nextvalue); this.itemstore.set_value(iter, 0, nextvalue); this.itemstore.set_value(nextiter, 0, value); this.itemselection.select_path(nextpath); } private void updatebuttons() { Gtk.TreeIter iter; bool add = true, remove = false, edit = false, up = false, down = false; if (this.itemselection.get_selected(null, out iter)) { edit = true; remove = true; var path = this.itemstore.get_path(iter); // TODO: needs to be unowned for gtk2 as the bindings do not return // a length for the array, so the duplication of the array fails unowned int[] indices = path.get_indices(); up = indices[0] > 0; down = indices[0] + 1 < this.itemstore.iter_n_children(null); } this.itemadd.sensitive = add; this.itemremove.sensitive = remove; this.itemedit.sensitive = edit; this.itemup.sensitive = up; this.itemdown.sensitive = down; } private void itemsgsettingstostore() { var expressions = this.itemsettings.get_strv(this.settingskey); this.itemsignoresignals = true; this.itemstore.clear(); for (uint i = 0, isize = expressions.length; i < isize; ++i) this.itemstore.insert_with_values(null, (int) i, 0, expressions[i]); this.itemsignoresignals = false; } private void itemsstoretogsettings() { var result = new string[this.itemstore.iter_n_children(null)]; Gtk.TreeIter iter; for (uint i = 0, isize = result.length; i < isize; ++i) { this.itemstore.iter_nth_child(out iter, null, (int)i); GLib.Value value; this.itemstore.get_value(iter, 0, out value); result[i] = value as string; } this.itemsignoresignals = true; this.itemsettings.set_strv(this.settingskey, result); this.itemsignoresignals = false; } } indicator-multiload-0.3/src/gsettings-fixed.vapi0000664000175000017500000001132612107670161017023 00000000000000[CCode (cprefix = "G", lower_case_cprefix = "g_", gir_namespace = "Gio", gir_version = "2.0")] namespace FixedGSettings { [CCode (cheader_filename = "gio/gio.h")] public class Settings : GLib.Object { [CCode (has_construct_function = false)] public Settings (string schema); public void apply (); public void bind (string key, void* object, string property, GLib.SettingsBindFlags flags); public void bind_with_mapping (string key, void* object, string property, GLib.SettingsBindFlags flags, FixedGSettings.SettingsBindGetMapping get_mapping, FixedGSettings.SettingsBindSetMapping set_mapping, void *user_data, GLib.DestroyNotify destroy); public void bind_writable (string key, void* object, string property, bool inverted); public void delay (); [CCode (sentinel = "")] public void @get (string key, string format, ...); public bool get_boolean (string key); public unowned FixedGSettings.Settings get_child (string name); public double get_double (string key); public int get_enum (string key); public uint get_flags (string key); public bool get_has_unapplied (); public int get_int (string key); public void* get_mapped (string key, GLib.SettingsGetMapping mapping); public unowned GLib.Variant get_range (string key); public string get_string (string key); [CCode (array_length = false, array_null_terminated = true)] public string[] get_strv (string key); public GLib.Variant get_value (string key); public bool is_writable (string name); [CCode (array_length = false, array_null_terminated = true)] public string[] list_children (); [CCode (array_length = false, array_null_terminated = true)] public string[] list_keys (); public static unowned string list_relocatable_schemas (); [CCode (array_length = false, array_null_terminated = true)] public static unowned string[] list_schemas (); public bool range_check (string key, GLib.Variant value); public void reset (string key); public void revert (); [CCode (sentinel = "")] public bool @set (string key, string format, ...); public bool set_boolean (string key, bool value); public bool set_double (string key, double value); public bool set_enum (string key, int value); public bool set_flags (string key, uint value); public bool set_int (string key, int value); public bool set_string (string key, string value); public bool set_strv (string key, [CCode (array_length = false)] string[] value); public bool set_value (string key, GLib.Variant value); public static void sync (); public static void unbind (void* object, string property); [CCode (has_construct_function = false)] public Settings.with_backend (string schema, GLib.SettingsBackend backend); [CCode (has_construct_function = false)] public Settings.with_backend_and_path (string schema, GLib.SettingsBackend backend, string path); [CCode (has_construct_function = false)] public Settings.with_path (string schema, string path); [NoAccessorMethod] public GLib.SettingsBackend backend { owned get; construct; } [NoAccessorMethod] public bool delay_apply { get; } public bool has_unapplied { get; } [NoAccessorMethod] public string path { owned get; construct; } [NoAccessorMethod] public string schema { owned get; construct; } public virtual signal bool change_event (void* keys, int n_keys); public virtual signal void changed (string key); public virtual signal bool writable_change_event (uint key); public virtual signal void writable_changed (string key); } [CCode (cheader_filename = "gio/gio.h", has_target = false)] public delegate bool SettingsBindGetMapping (GLib.Value value, GLib.Variant variant, void *user_data); [CCode (cheader_filename = "gio/gio.h", has_target = false)] public delegate GLib.Variant SettingsBindSetMapping (GLib.Value value, GLib.VariantType expected_type, void *user_data); } indicator-multiload-0.3/src/utils.vala0000664000175000017500000001234412107670161015044 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ namespace Utils { public string uifile; public bool enabledebugmessages; public void initdebug() { Log.set_handler(null, LogLevelFlags.LEVEL_DEBUG, debugloghandler); } private void debugloghandler(string? log_domain, LogLevelFlags log_levels, string message) { if (enabledebugmessages) Log.default_handler(log_domain, log_levels, message); } public double max(double[] data) { if (data.length == 0) return 0; double result = data[0]; foreach (var v in data) if (result < v) result = v; return result; } public double mean(double[] data) { if (data.length == 0) return 0; double result = 0; foreach (var v in data) result += v; return result / data.length; } // for SI units as g_format_size_for_display uses base 2 public string format_size(double val) { const string[] units = { // TRANSLATORS: Please leave {} as it is, it is replaced by the size N_("{} kB"), // TRANSLATORS: Please leave {} as it is, it is replaced by the size N_("{} MB"), // TRANSLATORS: Please leave {} as it is, it is replaced by the size N_("{} GB") }; int index = -1; while (index + 1 < units.length && (val >= 1000 || index < 0)) { val /= 1000; ++index; } if (index < 0) return ngettext("%u B", "%u B", (ulong)val).printf((uint)val); // 4 significant digits var pattern = _(units[index]).replace("{}", val < 9.95 ? "%.1f" : val < 99.5 ? "%.0f" : val < 999.5 ? "%.0f" : "%.0f"); return pattern.printf(val); } public string format_speed(double val) { const string[] units = { // TRANSLATORS: Please leave {} as it is, it is replaced by the speed N_("{} kB/s"), // TRANSLATORS: Please leave {} as it is, it is replaced by the speed N_("{} MB/s"), // TRANSLATORS: Please leave {} as it is, it is replaced by the speed N_("{} GB/s"), // TRANSLATORS: Please leave {} as it is, it is replaced by the speed N_("{} TB/s") }; int index = -1; while (index + 1 < units.length && (val >= 1000 || index < 0)) { val /= 1000; ++index; } if (index < 0) return ngettext("%u B/s", "%u B/s", (ulong)val).printf((uint)val); // 4 significant digits var pattern = _(units[index]).replace("{}", val < 9.95 ? "%.1f" : val < 99.5 ? "%.0f" : val < 999.5 ? "%.0f" : "%.0f"); return pattern.printf(val); } public Object get_ui(string objectid, Object signalhandlers, string[] additional = {}, out Gtk.Builder builder = null) { builder = new Gtk.Builder(); string[] ids = additional; ids += objectid; try { builder.add_objects_from_file(Utils.uifile, ids); } catch (Error e) { stderr.printf("Could not load indicator ui %s from %s: %s\n", objectid, Utils.uifile, e.message); } builder.connect_signals(signalhandlers); return builder.get_object(objectid); } public bool get_settings_color(Value value, Variant variant, void *user_data) { Gdk.Color color; if (Gdk.Color.parse(variant.get_string(), out color)) { value.set_boxed(&color); return true; } return false; } public Variant set_settings_color(Value value, VariantType expected_type, void *user_data) { Gdk.Color color = *(Gdk.Color*)value.get_boxed(); return new Variant.string(color.to_string()); } } indicator-multiload-0.3/src/settingscache.c0000664000175000017500000002673712107670273016046 00000000000000/* settingscache.c generated by valac 0.14.2, the Vala compiler * generated from settingscache.vala, do not modify */ #include #include #include #include #include #define TYPE_SETTINGS_CACHE (settings_cache_get_type ()) #define SETTINGS_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS_CACHE, SettingsCache)) #define SETTINGS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS_CACHE, SettingsCacheClass)) #define IS_SETTINGS_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS_CACHE)) #define IS_SETTINGS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS_CACHE)) #define SETTINGS_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS_CACHE, SettingsCacheClass)) typedef struct _SettingsCache SettingsCache; typedef struct _SettingsCacheClass SettingsCacheClass; typedef struct _SettingsCachePrivate SettingsCachePrivate; #define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL))) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) struct _SettingsCache { GObject parent_instance; SettingsCachePrivate * priv; }; struct _SettingsCacheClass { GObjectClass parent_class; }; struct _SettingsCachePrivate { GHashTable* cached; }; static gpointer settings_cache_parent_class = NULL; GType settings_cache_get_type (void) G_GNUC_CONST; #define SETTINGS_CACHE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SETTINGS_CACHE, SettingsCachePrivate)) enum { SETTINGS_CACHE_DUMMY_PROPERTY }; static GSettings* settings_cache_settings (SettingsCache* self, const gchar* key, const gchar* path); GList* settings_cache_cachedsettings (SettingsCache* self); GSettings* settings_cache_generalsettings (SettingsCache* self); GSettings* settings_cache_graphsettings (SettingsCache* self, const gchar* graphid); static gboolean _vala_string_array_contains (const gchar** stack, int stack_length, const gchar* needle); GSettings* settings_cache_tracesettings (SettingsCache* self, const gchar* graphid, const gchar* traceid); SettingsCache* settings_cache_new (void); SettingsCache* settings_cache_construct (GType object_type); static void settings_cache_finalize (GObject* obj); const gchar* SETTINGS_CACHE_presetgraphids[6] = {"cpu", "mem", "net", "load", "swap", "disk"}; static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static const gchar* string_to_string (const gchar* self) { const gchar* result = NULL; g_return_val_if_fail (self != NULL, NULL); result = self; return result; } static GSettings* settings_cache_settings (SettingsCache* self, const gchar* key, const gchar* path) { GSettings* result = NULL; GHashTable* _tmp0_; const gchar* _tmp1_; gconstpointer _tmp2_ = NULL; GSettings* _tmp3_; GSettings* _result_; GSettings* _tmp4_; g_return_val_if_fail (IS_SETTINGS_CACHE (self), NULL); g_return_val_if_fail (key != NULL, NULL); _tmp0_ = self->priv->cached; _tmp1_ = key; _tmp2_ = g_hash_table_lookup (_tmp0_, _tmp1_); _tmp3_ = _g_object_ref0 ((GSettings*) _tmp2_); _result_ = _tmp3_; _tmp4_ = _result_; if (_tmp4_ == NULL) { GSettings* _tmp5_ = NULL; const gchar* _tmp6_; GSettings* _tmp12_; GSettings* _tmp13_; gchar* _tmp14_ = NULL; const gchar* _tmp15_; GHashTable* _tmp23_; const gchar* _tmp24_; gchar* _tmp25_; GSettings* _tmp26_; GSettings* _tmp27_; _tmp6_ = path; if (_tmp6_ == NULL) { const gchar* _tmp7_; GSettings* _tmp8_; _tmp7_ = key; _tmp8_ = g_settings_new (_tmp7_); _g_object_unref0 (_tmp5_); _tmp5_ = _tmp8_; } else { const gchar* _tmp9_; const gchar* _tmp10_; GSettings* _tmp11_; _tmp9_ = key; _tmp10_ = path; _tmp11_ = g_settings_new_with_path (_tmp9_, _tmp10_); _g_object_unref0 (_tmp5_); _tmp5_ = _tmp11_; } _tmp12_ = _tmp5_; _tmp13_ = _g_object_ref0 (_tmp12_); _g_object_unref0 (_result_); _result_ = _tmp13_; _tmp15_ = path; if (_tmp15_ == NULL) { const gchar* _tmp16_; gchar* _tmp17_; _tmp16_ = key; _tmp17_ = g_strdup (_tmp16_); _g_free0 (_tmp14_); _tmp14_ = _tmp17_; } else { const gchar* _tmp18_; const gchar* _tmp19_ = NULL; const gchar* _tmp20_; const gchar* _tmp21_ = NULL; gchar* _tmp22_ = NULL; _tmp18_ = key; _tmp19_ = string_to_string (_tmp18_); _tmp20_ = path; _tmp21_ = string_to_string (_tmp20_); _tmp22_ = g_strconcat (_tmp19_, ":", _tmp21_, NULL); _g_free0 (_tmp14_); _tmp14_ = _tmp22_; } _tmp23_ = self->priv->cached; _tmp24_ = _tmp14_; _tmp25_ = g_strdup (_tmp24_); _tmp26_ = _result_; _tmp27_ = _g_object_ref0 (_tmp26_); g_hash_table_insert (_tmp23_, _tmp25_, _tmp27_); _g_free0 (_tmp14_); _g_object_unref0 (_tmp5_); } result = _result_; return result; } GList* settings_cache_cachedsettings (SettingsCache* self) { GList* result = NULL; GHashTable* _tmp0_; GList* _tmp1_ = NULL; g_return_val_if_fail (IS_SETTINGS_CACHE (self), NULL); _tmp0_ = self->priv->cached; _tmp1_ = g_hash_table_get_values (_tmp0_); result = _tmp1_; return result; } GSettings* settings_cache_generalsettings (SettingsCache* self) { GSettings* result = NULL; GSettings* _tmp0_ = NULL; g_return_val_if_fail (IS_SETTINGS_CACHE (self), NULL); _tmp0_ = settings_cache_settings (self, "de.mh21.indicator.multiload.general", NULL); result = _tmp0_; return result; } static gboolean _vala_string_array_contains (const gchar** stack, int stack_length, const gchar* needle) { int i; for (i = 0; i < stack_length; i++) { if (g_strcmp0 (stack[i], needle) == 0) { return TRUE; } } return FALSE; } GSettings* settings_cache_graphsettings (SettingsCache* self, const gchar* graphid) { GSettings* result = NULL; const gchar* _tmp0_; const gchar* _tmp7_; const gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; gchar* _tmp10_; GSettings* _tmp11_ = NULL; GSettings* _tmp12_; g_return_val_if_fail (IS_SETTINGS_CACHE (self), NULL); g_return_val_if_fail (graphid != NULL, NULL); _tmp0_ = graphid; if (_vala_string_array_contains (SETTINGS_CACHE_presetgraphids, G_N_ELEMENTS (SETTINGS_CACHE_presetgraphids), _tmp0_)) { const gchar* _tmp1_; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_; GSettings* _tmp5_ = NULL; GSettings* _tmp6_; _tmp1_ = graphid; _tmp2_ = string_to_string (_tmp1_); _tmp3_ = g_strconcat ("de.mh21.indicator.multiload.graphs.", _tmp2_, NULL); _tmp4_ = _tmp3_; _tmp5_ = settings_cache_settings (self, _tmp4_, NULL); _tmp6_ = _tmp5_; _g_free0 (_tmp4_); result = _tmp6_; return result; } _tmp7_ = graphid; _tmp8_ = string_to_string (_tmp7_); _tmp9_ = g_strconcat ("/apps/indicators/multiload/graphs/", _tmp8_, "/", NULL); _tmp10_ = _tmp9_; _tmp11_ = settings_cache_settings (self, "de.mh21.indicator.multiload.graph", _tmp10_); _tmp12_ = _tmp11_; _g_free0 (_tmp10_); result = _tmp12_; return result; } GSettings* settings_cache_tracesettings (SettingsCache* self, const gchar* graphid, const gchar* traceid) { GSettings* result = NULL; const gchar* _tmp0_; const gchar* _tmp7_; const gchar* _tmp8_ = NULL; const gchar* _tmp9_; const gchar* _tmp10_ = NULL; gchar* _tmp11_ = NULL; gchar* _tmp12_; GSettings* _tmp13_ = NULL; GSettings* _tmp14_; g_return_val_if_fail (IS_SETTINGS_CACHE (self), NULL); g_return_val_if_fail (graphid != NULL, NULL); g_return_val_if_fail (traceid != NULL, NULL); _tmp0_ = graphid; if (_vala_string_array_contains (SETTINGS_CACHE_presetgraphids, G_N_ELEMENTS (SETTINGS_CACHE_presetgraphids), _tmp0_)) { const gchar* _tmp1_; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_; GSettings* _tmp5_ = NULL; GSettings* _tmp6_; _tmp1_ = traceid; _tmp2_ = string_to_string (_tmp1_); _tmp3_ = g_strconcat ("de.mh21.indicator.multiload.traces.", _tmp2_, NULL); _tmp4_ = _tmp3_; _tmp5_ = settings_cache_settings (self, _tmp4_, NULL); _tmp6_ = _tmp5_; _g_free0 (_tmp4_); result = _tmp6_; return result; } _tmp7_ = graphid; _tmp8_ = string_to_string (_tmp7_); _tmp9_ = traceid; _tmp10_ = string_to_string (_tmp9_); _tmp11_ = g_strconcat ("/apps/indicators/multiload/graphs/", _tmp8_, "/", _tmp10_, "/", NULL); _tmp12_ = _tmp11_; _tmp13_ = settings_cache_settings (self, "de.mh21.indicator.multiload.trace", _tmp12_); _tmp14_ = _tmp13_; _g_free0 (_tmp12_); result = _tmp14_; return result; } SettingsCache* settings_cache_construct (GType object_type) { SettingsCache * self = NULL; self = (SettingsCache*) g_object_new (object_type, NULL); return self; } SettingsCache* settings_cache_new (void) { return settings_cache_construct (TYPE_SETTINGS_CACHE); } static void settings_cache_class_init (SettingsCacheClass * klass) { settings_cache_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (SettingsCachePrivate)); G_OBJECT_CLASS (klass)->finalize = settings_cache_finalize; } static void settings_cache_instance_init (SettingsCache * self) { GHashFunc _tmp0_; GEqualFunc _tmp1_; GDestroyNotify _tmp2_; GDestroyNotify _tmp3_; GHashTable* _tmp4_; self->priv = SETTINGS_CACHE_GET_PRIVATE (self); _tmp0_ = g_str_hash; _tmp1_ = g_str_equal; _tmp2_ = g_free; _tmp3_ = g_object_unref; _tmp4_ = g_hash_table_new_full (_tmp0_, _tmp1_, _tmp2_, _tmp3_); self->priv->cached = _tmp4_; } static void settings_cache_finalize (GObject* obj) { SettingsCache * self; self = SETTINGS_CACHE (obj); _g_hash_table_unref0 (self->priv->cached); G_OBJECT_CLASS (settings_cache_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType settings_cache_get_type (void) { static volatile gsize settings_cache_type_id__volatile = 0; if (g_once_init_enter (&settings_cache_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SettingsCacheClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) settings_cache_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SettingsCache), 0, (GInstanceInitFunc) settings_cache_instance_init, NULL }; GType settings_cache_type_id; settings_cache_type_id = g_type_register_static (G_TYPE_OBJECT, "SettingsCache", &g_define_type_info, 0); g_once_init_leave (&settings_cache_type_id__volatile, settings_cache_type_id); } return settings_cache_type_id__volatile; } indicator-multiload-0.3/src/Makefile.am0000664000175000017500000000230012107670161015062 00000000000000AM_CPPFLAGS = \ -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \ -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \ $(MULTILOADDEPS_CFLAGS) \ -include $(CONFIG_HEADER) AM_CFLAGS = -Wall -g VALAFLAGS = \ --pkg=posix \ --pkg=gtk+-3.0 \ --pkg=cairo \ --pkg=appindicator3-0.1 \ --pkg=glib-2.0 \ --pkg=gio-unix-2.0 \ --pkg=gmodule-2.0 \ --enable-checking bin_PROGRAMS = indicator-multiload indicator_multiload_VALASOURCES = \ cpuprovider.vala \ diskprovider.vala \ expressionparser.vala \ function.vala \ graphmodels.vala \ graphmodel.vala \ itempreferences.vala \ loadprovider.vala \ main.vala \ memprovider.vala \ menumodel.vala \ multiloadindicator.vala \ netprovider.vala \ preferences.vala \ providers.vala \ provider.vala \ reaper.vala \ settingscache.vala \ settingsconversion.vala \ swapprovider.vala \ tracemodel.vala \ utils.vala indicator_multiload_SOURCES = \ $(indicator_multiload_VALASOURCES) \ config.vapi \ gsettings-fixed.vapi \ gtop.vapi \ various.vapi indicator_multiload_LDFLAGS = \ -Wl,--export-dynamic -Wl,--as-needed indicator_multiload_LDADD = $(MULTILOADDEPS_LIBS) -lm DISTCLEANFILES = \ $(indicator_multiload_VALASOURCES:.vala=.c) indicator_multiload_vala.stamp indicator-multiload-0.3/src/providers.c0000664000175000017500000007057312107670273015234 00000000000000/* providers.c generated by valac 0.14.2, the Vala compiler * generated from providers.vala, do not modify */ #include #include #include #include #include #include #define TYPE_PROVIDERS (providers_get_type ()) #define PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDERS, Providers)) #define PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDERS, ProvidersClass)) #define IS_PROVIDERS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDERS)) #define IS_PROVIDERS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDERS)) #define PROVIDERS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDERS, ProvidersClass)) typedef struct _Providers Providers; typedef struct _ProvidersClass ProvidersClass; typedef struct _ProvidersPrivate ProvidersPrivate; #define TYPE_PROVIDER (provider_get_type ()) #define PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDER, Provider)) #define PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDER, ProviderClass)) #define IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDER)) #define IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDER)) #define PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDER, ProviderClass)) typedef struct _Provider Provider; typedef struct _ProviderClass ProviderClass; #define TYPE_FUNCTION (function_get_type ()) #define FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FUNCTION, Function)) #define FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FUNCTION, FunctionClass)) #define IS_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FUNCTION)) #define IS_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FUNCTION)) #define FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FUNCTION, FunctionClass)) typedef struct _Function Function; typedef struct _FunctionClass FunctionClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define TYPE_CPU_PROVIDER (cpu_provider_get_type ()) #define CPU_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CPU_PROVIDER, CpuProvider)) #define CPU_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CPU_PROVIDER, CpuProviderClass)) #define IS_CPU_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CPU_PROVIDER)) #define IS_CPU_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CPU_PROVIDER)) #define CPU_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CPU_PROVIDER, CpuProviderClass)) typedef struct _CpuProvider CpuProvider; typedef struct _CpuProviderClass CpuProviderClass; #define TYPE_MEM_PROVIDER (mem_provider_get_type ()) #define MEM_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MEM_PROVIDER, MemProvider)) #define MEM_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MEM_PROVIDER, MemProviderClass)) #define IS_MEM_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MEM_PROVIDER)) #define IS_MEM_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MEM_PROVIDER)) #define MEM_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MEM_PROVIDER, MemProviderClass)) typedef struct _MemProvider MemProvider; typedef struct _MemProviderClass MemProviderClass; #define TYPE_NET_PROVIDER (net_provider_get_type ()) #define NET_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_NET_PROVIDER, NetProvider)) #define NET_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_NET_PROVIDER, NetProviderClass)) #define IS_NET_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_NET_PROVIDER)) #define IS_NET_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_NET_PROVIDER)) #define NET_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_NET_PROVIDER, NetProviderClass)) typedef struct _NetProvider NetProvider; typedef struct _NetProviderClass NetProviderClass; #define TYPE_SWAP_PROVIDER (swap_provider_get_type ()) #define SWAP_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SWAP_PROVIDER, SwapProvider)) #define SWAP_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SWAP_PROVIDER, SwapProviderClass)) #define IS_SWAP_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SWAP_PROVIDER)) #define IS_SWAP_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SWAP_PROVIDER)) #define SWAP_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SWAP_PROVIDER, SwapProviderClass)) typedef struct _SwapProvider SwapProvider; typedef struct _SwapProviderClass SwapProviderClass; #define TYPE_LOAD_PROVIDER (load_provider_get_type ()) #define LOAD_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_LOAD_PROVIDER, LoadProvider)) #define LOAD_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_LOAD_PROVIDER, LoadProviderClass)) #define IS_LOAD_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_LOAD_PROVIDER)) #define IS_LOAD_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_LOAD_PROVIDER)) #define LOAD_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_LOAD_PROVIDER, LoadProviderClass)) typedef struct _LoadProvider LoadProvider; typedef struct _LoadProviderClass LoadProviderClass; #define TYPE_DISK_PROVIDER (disk_provider_get_type ()) #define DISK_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DISK_PROVIDER, DiskProvider)) #define DISK_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DISK_PROVIDER, DiskProviderClass)) #define IS_DISK_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DISK_PROVIDER)) #define IS_DISK_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DISK_PROVIDER)) #define DISK_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DISK_PROVIDER, DiskProviderClass)) typedef struct _DiskProvider DiskProvider; typedef struct _DiskProviderClass DiskProviderClass; #define TYPE_DECIMALS_FUNCTION (decimals_function_get_type ()) #define DECIMALS_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DECIMALS_FUNCTION, DecimalsFunction)) #define DECIMALS_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DECIMALS_FUNCTION, DecimalsFunctionClass)) #define IS_DECIMALS_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DECIMALS_FUNCTION)) #define IS_DECIMALS_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DECIMALS_FUNCTION)) #define DECIMALS_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DECIMALS_FUNCTION, DecimalsFunctionClass)) typedef struct _DecimalsFunction DecimalsFunction; typedef struct _DecimalsFunctionClass DecimalsFunctionClass; #define TYPE_SIZE_FUNCTION (size_function_get_type ()) #define SIZE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SIZE_FUNCTION, SizeFunction)) #define SIZE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SIZE_FUNCTION, SizeFunctionClass)) #define IS_SIZE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SIZE_FUNCTION)) #define IS_SIZE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SIZE_FUNCTION)) #define SIZE_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SIZE_FUNCTION, SizeFunctionClass)) typedef struct _SizeFunction SizeFunction; typedef struct _SizeFunctionClass SizeFunctionClass; #define TYPE_SPEED_FUNCTION (speed_function_get_type ()) #define SPEED_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SPEED_FUNCTION, SpeedFunction)) #define SPEED_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SPEED_FUNCTION, SpeedFunctionClass)) #define IS_SPEED_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SPEED_FUNCTION)) #define IS_SPEED_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SPEED_FUNCTION)) #define SPEED_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SPEED_FUNCTION, SpeedFunctionClass)) typedef struct _SpeedFunction SpeedFunction; typedef struct _SpeedFunctionClass SpeedFunctionClass; #define TYPE_PERCENT_FUNCTION (percent_function_get_type ()) #define PERCENT_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PERCENT_FUNCTION, PercentFunction)) #define PERCENT_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PERCENT_FUNCTION, PercentFunctionClass)) #define IS_PERCENT_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PERCENT_FUNCTION)) #define IS_PERCENT_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PERCENT_FUNCTION)) #define PERCENT_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PERCENT_FUNCTION, PercentFunctionClass)) typedef struct _PercentFunction PercentFunction; typedef struct _PercentFunctionClass PercentFunctionClass; struct _Providers { GObject parent_instance; ProvidersPrivate * priv; }; struct _ProvidersClass { GObjectClass parent_class; }; struct _ProvidersPrivate { Provider** _providers; gint _providers_length1; gint __providers_size_; Function** _functions; gint _functions_length1; gint __functions_size_; }; static gpointer providers_parent_class = NULL; GType providers_get_type (void) G_GNUC_CONST; GType provider_get_type (void) G_GNUC_CONST; GType function_get_type (void) G_GNUC_CONST; #define PROVIDERS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PROVIDERS, ProvidersPrivate)) enum { PROVIDERS_DUMMY_PROPERTY }; gdouble providers_value (Providers* self, const gchar* name, gboolean* found); Provider** providers_get_providers (Providers* self, int* result_length1); const gchar* provider_get_id (Provider* self); gchar** provider_get_keys (Provider* self, int* result_length1); gdouble* provider_get_values (Provider* self, int* result_length1); gchar* providers_call (Providers* self, const gchar* name, gchar** parameters, int parameters_length1, gboolean widest, gboolean* found, GError** error); Function** providers_get_functions (Providers* self, int* result_length1); const gchar* function_get_id (Function* self); gchar* function_call (Function* self, gchar** parameters, int parameters_length1, gboolean widest, GError** error); void providers_update (Providers* self); void provider_update (Provider* self); Providers* providers_new (void); Providers* providers_construct (GType object_type); static void providers_set_providers (Providers* self, Provider** value, int value_length1); static Provider** _vala_array_dup19 (Provider** self, int length); static void providers_set_functions (Providers* self, Function** value, int value_length1); static Function** _vala_array_dup20 (Function** self, int length); static GObject * providers_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); CpuProvider* cpu_provider_new (void); CpuProvider* cpu_provider_construct (GType object_type); GType cpu_provider_get_type (void) G_GNUC_CONST; MemProvider* mem_provider_new (void); MemProvider* mem_provider_construct (GType object_type); GType mem_provider_get_type (void) G_GNUC_CONST; NetProvider* net_provider_new (void); NetProvider* net_provider_construct (GType object_type); GType net_provider_get_type (void) G_GNUC_CONST; SwapProvider* swap_provider_new (void); SwapProvider* swap_provider_construct (GType object_type); GType swap_provider_get_type (void) G_GNUC_CONST; LoadProvider* load_provider_new (void); LoadProvider* load_provider_construct (GType object_type); GType load_provider_get_type (void) G_GNUC_CONST; DiskProvider* disk_provider_new (void); DiskProvider* disk_provider_construct (GType object_type); GType disk_provider_get_type (void) G_GNUC_CONST; DecimalsFunction* decimals_function_new (void); DecimalsFunction* decimals_function_construct (GType object_type); GType decimals_function_get_type (void) G_GNUC_CONST; SizeFunction* size_function_new (void); SizeFunction* size_function_construct (GType object_type); GType size_function_get_type (void) G_GNUC_CONST; SpeedFunction* speed_function_new (void); SpeedFunction* speed_function_construct (GType object_type); GType speed_function_get_type (void) G_GNUC_CONST; PercentFunction* percent_function_new (void); PercentFunction* percent_function_construct (GType object_type); GType percent_function_get_type (void) G_GNUC_CONST; static void providers_finalize (GObject* obj); static void _vala_providers_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_providers_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } gdouble providers_value (Providers* self, const gchar* name, gboolean* found) { gboolean _vala_found = FALSE; gdouble result = 0.0; const gchar* _tmp0_; gchar** _tmp1_; gchar** _tmp2_ = NULL; gchar** varparts; gint varparts_length1; gint _varparts_size_; gchar** _tmp3_; gint _tmp3__length1; Provider** _tmp4_; gint _tmp4__length1; Provider** _tmp5_; gint _tmp5__length1; g_return_val_if_fail (IS_PROVIDERS (self), 0.0); g_return_val_if_fail (name != NULL, 0.0); _tmp0_ = name; _tmp2_ = _tmp1_ = g_strsplit (_tmp0_, ".", 0); varparts = _tmp2_; varparts_length1 = _vala_array_length (_tmp1_); _varparts_size_ = varparts_length1; _tmp3_ = varparts; _tmp3__length1 = varparts_length1; g_return_val_if_fail (_tmp3__length1 == 2, 0); _vala_found = TRUE; _tmp4_ = providers_get_providers (self, &_tmp4__length1); _tmp5_ = _tmp4_; _tmp5__length1 = _tmp4__length1; { Provider** provider_collection = NULL; gint provider_collection_length1 = 0; gint _provider_collection_size_ = 0; gint provider_it = 0; provider_collection = _tmp5_; provider_collection_length1 = _tmp5__length1; for (provider_it = 0; provider_it < _tmp5__length1; provider_it = provider_it + 1) { Provider* _tmp6_; Provider* provider = NULL; _tmp6_ = _g_object_ref0 (provider_collection[provider_it]); provider = _tmp6_; { Provider* _tmp7_; const gchar* _tmp8_; const gchar* _tmp9_; gchar** _tmp10_; gint _tmp10__length1; const gchar* _tmp11_; _tmp7_ = provider; _tmp8_ = provider_get_id (_tmp7_); _tmp9_ = _tmp8_; _tmp10_ = varparts; _tmp10__length1 = varparts_length1; _tmp11_ = _tmp10_[0]; if (g_strcmp0 (_tmp9_, _tmp11_) != 0) { _g_object_unref0 (provider); continue; } { guint j; Provider* _tmp12_; gchar** _tmp13_; gint _tmp13__length1; gchar** _tmp14_; gint _tmp14__length1; guint jsize; j = (guint) 0; _tmp12_ = provider; _tmp13_ = provider_get_keys (_tmp12_, &_tmp13__length1); _tmp14_ = _tmp13_; _tmp14__length1 = _tmp13__length1; jsize = (guint) _tmp14__length1; { gboolean _tmp15_; _tmp15_ = TRUE; while (TRUE) { gboolean _tmp16_; guint _tmp18_; guint _tmp19_; Provider* _tmp20_; gchar** _tmp21_; gint _tmp21__length1; gchar** _tmp22_; gint _tmp22__length1; guint _tmp23_; const gchar* _tmp24_; gchar** _tmp25_; gint _tmp25__length1; const gchar* _tmp26_; Provider* _tmp27_; gdouble* _tmp28_; gint _tmp28__length1; gdouble* _tmp29_; gint _tmp29__length1; guint _tmp30_; gdouble _tmp31_; _tmp16_ = _tmp15_; if (!_tmp16_) { guint _tmp17_; _tmp17_ = j; j = _tmp17_ + 1; } _tmp15_ = FALSE; _tmp18_ = j; _tmp19_ = jsize; if (!(_tmp18_ < _tmp19_)) { break; } _tmp20_ = provider; _tmp21_ = provider_get_keys (_tmp20_, &_tmp21__length1); _tmp22_ = _tmp21_; _tmp22__length1 = _tmp21__length1; _tmp23_ = j; _tmp24_ = _tmp22_[_tmp23_]; _tmp25_ = varparts; _tmp25__length1 = varparts_length1; _tmp26_ = _tmp25_[1]; if (g_strcmp0 (_tmp24_, _tmp26_) != 0) { continue; } _tmp27_ = provider; _tmp28_ = provider_get_values (_tmp27_, &_tmp28__length1); _tmp29_ = _tmp28_; _tmp29__length1 = _tmp28__length1; _tmp30_ = j; _tmp31_ = _tmp29_[_tmp30_]; result = _tmp31_; _g_object_unref0 (provider); varparts = (_vala_array_free (varparts, varparts_length1, (GDestroyNotify) g_free), NULL); if (found) { *found = _vala_found; } return result; } } } _g_object_unref0 (provider); } } } _vala_found = FALSE; result = (gdouble) 0; varparts = (_vala_array_free (varparts, varparts_length1, (GDestroyNotify) g_free), NULL); if (found) { *found = _vala_found; } return result; } gchar* providers_call (Providers* self, const gchar* name, gchar** parameters, int parameters_length1, gboolean widest, gboolean* found, GError** error) { gboolean _vala_found = FALSE; gchar* result = NULL; Function** _tmp0_; gint _tmp0__length1; Function** _tmp1_; gint _tmp1__length1; gchar* _tmp12_; GError * _inner_error_ = NULL; g_return_val_if_fail (IS_PROVIDERS (self), NULL); g_return_val_if_fail (name != NULL, NULL); _vala_found = TRUE; _tmp0_ = providers_get_functions (self, &_tmp0__length1); _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; { Function** function_collection = NULL; gint function_collection_length1 = 0; gint _function_collection_size_ = 0; gint function_it = 0; function_collection = _tmp1_; function_collection_length1 = _tmp1__length1; for (function_it = 0; function_it < _tmp1__length1; function_it = function_it + 1) { Function* _tmp2_; Function* function = NULL; _tmp2_ = _g_object_ref0 (function_collection[function_it]); function = _tmp2_; { Function* _tmp3_; const gchar* _tmp4_; const gchar* _tmp5_; const gchar* _tmp6_; Function* _tmp7_; gchar** _tmp8_; gint _tmp8__length1; gboolean _tmp9_; gchar* _tmp10_ = NULL; gchar* _tmp11_; _tmp3_ = function; _tmp4_ = function_get_id (_tmp3_); _tmp5_ = _tmp4_; _tmp6_ = name; if (g_strcmp0 (_tmp5_, _tmp6_) != 0) { _g_object_unref0 (function); continue; } _tmp7_ = function; _tmp8_ = parameters; _tmp8__length1 = parameters_length1; _tmp9_ = widest; _tmp10_ = function_call (_tmp7_, _tmp8_, _tmp8__length1, _tmp9_, &_inner_error_); _tmp11_ = _tmp10_; if (_inner_error_ != NULL) { g_propagate_error (error, _inner_error_); _g_object_unref0 (function); return NULL; } result = _tmp11_; _g_object_unref0 (function); if (found) { *found = _vala_found; } return result; } } } _vala_found = FALSE; _tmp12_ = g_strdup (""); result = _tmp12_; if (found) { *found = _vala_found; } return result; } void providers_update (Providers* self) { Provider** _tmp0_; gint _tmp0__length1; Provider** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_PROVIDERS (self)); _tmp0_ = providers_get_providers (self, &_tmp0__length1); _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; { Provider** provider_collection = NULL; gint provider_collection_length1 = 0; gint _provider_collection_size_ = 0; gint provider_it = 0; provider_collection = _tmp1_; provider_collection_length1 = _tmp1__length1; for (provider_it = 0; provider_it < _tmp1__length1; provider_it = provider_it + 1) { Provider* _tmp2_; Provider* provider = NULL; _tmp2_ = _g_object_ref0 (provider_collection[provider_it]); provider = _tmp2_; { Provider* _tmp3_; _tmp3_ = provider; provider_update (_tmp3_); _g_object_unref0 (provider); } } } } Providers* providers_construct (GType object_type) { Providers * self = NULL; self = (Providers*) g_object_new (object_type, NULL); return self; } Providers* providers_new (void) { return providers_construct (TYPE_PROVIDERS); } Provider** providers_get_providers (Providers* self, int* result_length1) { Provider** result; Provider** _tmp0_; gint _tmp0__length1; Provider** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_PROVIDERS (self), NULL); _tmp0_ = self->priv->_providers; _tmp0__length1 = self->priv->_providers_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static Provider** _vala_array_dup19 (Provider** self, int length) { Provider** result; int i; result = g_new0 (Provider*, length + 1); for (i = 0; i < length; i++) { Provider* _tmp0_; _tmp0_ = _g_object_ref0 (self[i]); result[i] = _tmp0_; } return result; } static void providers_set_providers (Providers* self, Provider** value, int value_length1) { Provider** _tmp0_; gint _tmp0__length1; Provider** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_PROVIDERS (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup19 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_providers = (_vala_array_free (self->priv->_providers, self->priv->_providers_length1, (GDestroyNotify) g_object_unref), NULL); self->priv->_providers = _tmp1_; self->priv->_providers_length1 = _tmp1__length1; self->priv->__providers_size_ = self->priv->_providers_length1; } Function** providers_get_functions (Providers* self, int* result_length1) { Function** result; Function** _tmp0_; gint _tmp0__length1; Function** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_PROVIDERS (self), NULL); _tmp0_ = self->priv->_functions; _tmp0__length1 = self->priv->_functions_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static Function** _vala_array_dup20 (Function** self, int length) { Function** result; int i; result = g_new0 (Function*, length + 1); for (i = 0; i < length; i++) { Function* _tmp0_; _tmp0_ = _g_object_ref0 (self[i]); result[i] = _tmp0_; } return result; } static void providers_set_functions (Providers* self, Function** value, int value_length1) { Function** _tmp0_; gint _tmp0__length1; Function** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_PROVIDERS (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup20 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_functions = (_vala_array_free (self->priv->_functions, self->priv->_functions_length1, (GDestroyNotify) g_object_unref), NULL); self->priv->_functions = _tmp1_; self->priv->_functions_length1 = _tmp1__length1; self->priv->__functions_size_ = self->priv->_functions_length1; } static GObject * providers_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; Providers * self; CpuProvider* _tmp0_; MemProvider* _tmp1_; NetProvider* _tmp2_; SwapProvider* _tmp3_; LoadProvider* _tmp4_; DiskProvider* _tmp5_; Provider** _tmp6_ = NULL; Provider** _tmp7_; gint _tmp7__length1; DecimalsFunction* _tmp8_; SizeFunction* _tmp9_; SpeedFunction* _tmp10_; PercentFunction* _tmp11_; Function** _tmp12_ = NULL; Function** _tmp13_; gint _tmp13__length1; parent_class = G_OBJECT_CLASS (providers_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = PROVIDERS (obj); _tmp0_ = cpu_provider_new (); _tmp1_ = mem_provider_new (); _tmp2_ = net_provider_new (); _tmp3_ = swap_provider_new (); _tmp4_ = load_provider_new (); _tmp5_ = disk_provider_new (); _tmp6_ = g_new0 (Provider*, 6 + 1); _tmp6_[0] = PROVIDER (_tmp0_); _tmp6_[1] = PROVIDER (_tmp1_); _tmp6_[2] = PROVIDER (_tmp2_); _tmp6_[3] = PROVIDER (_tmp3_); _tmp6_[4] = PROVIDER (_tmp4_); _tmp6_[5] = PROVIDER (_tmp5_); _tmp7_ = _tmp6_; _tmp7__length1 = 6; providers_set_providers (self, _tmp7_, 6); _tmp7_ = (_vala_array_free (_tmp7_, _tmp7__length1, (GDestroyNotify) g_object_unref), NULL); providers_update (self); _tmp8_ = decimals_function_new (); _tmp9_ = size_function_new (); _tmp10_ = speed_function_new (); _tmp11_ = percent_function_new (); _tmp12_ = g_new0 (Function*, 4 + 1); _tmp12_[0] = FUNCTION (_tmp8_); _tmp12_[1] = FUNCTION (_tmp9_); _tmp12_[2] = FUNCTION (_tmp10_); _tmp12_[3] = FUNCTION (_tmp11_); _tmp13_ = _tmp12_; _tmp13__length1 = 4; providers_set_functions (self, _tmp13_, 4); _tmp13_ = (_vala_array_free (_tmp13_, _tmp13__length1, (GDestroyNotify) g_object_unref), NULL); return obj; } static void providers_class_init (ProvidersClass * klass) { providers_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (ProvidersPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_providers_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_providers_set_property; G_OBJECT_CLASS (klass)->constructor = providers_constructor; G_OBJECT_CLASS (klass)->finalize = providers_finalize; } static void providers_instance_init (Providers * self) { self->priv = PROVIDERS_GET_PRIVATE (self); } static void providers_finalize (GObject* obj) { Providers * self; self = PROVIDERS (obj); self->priv->_providers = (_vala_array_free (self->priv->_providers, self->priv->_providers_length1, (GDestroyNotify) g_object_unref), NULL); self->priv->_functions = (_vala_array_free (self->priv->_functions, self->priv->_functions_length1, (GDestroyNotify) g_object_unref), NULL); G_OBJECT_CLASS (providers_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType providers_get_type (void) { static volatile gsize providers_type_id__volatile = 0; if (g_once_init_enter (&providers_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (ProvidersClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) providers_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Providers), 0, (GInstanceInitFunc) providers_instance_init, NULL }; GType providers_type_id; providers_type_id = g_type_register_static (G_TYPE_OBJECT, "Providers", &g_define_type_info, 0); g_once_init_leave (&providers_type_id__volatile, providers_type_id); } return providers_type_id__volatile; } static void _vala_providers_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { Providers * self; self = PROVIDERS (object); switch (property_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_providers_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { Providers * self; self = PROVIDERS (object); switch (property_id) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; } indicator-multiload-0.3/src/provider.c0000664000175000017500000003003712107670273015040 00000000000000/* provider.c generated by valac 0.14.2, the Vala compiler * generated from provider.vala, do not modify */ #include #include #include #include #include #include #define TYPE_PROVIDER (provider_get_type ()) #define PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROVIDER, Provider)) #define PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROVIDER, ProviderClass)) #define IS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROVIDER)) #define IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROVIDER)) #define PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROVIDER, ProviderClass)) typedef struct _Provider Provider; typedef struct _ProviderClass ProviderClass; typedef struct _ProviderPrivate ProviderPrivate; #define _g_free0(var) (var = (g_free (var), NULL)) struct _Provider { GObject parent_instance; ProviderPrivate * priv; }; struct _ProviderClass { GObjectClass parent_class; void (*update) (Provider* self); }; struct _ProviderPrivate { gchar* _id; gchar** _keys; gint _keys_length1; gint __keys_size_; gdouble* _values; gint _values_length1; gint __values_size_; }; static gpointer provider_parent_class = NULL; GType provider_get_type (void) G_GNUC_CONST; #define PROVIDER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PROVIDER, ProviderPrivate)) enum { PROVIDER_DUMMY_PROPERTY, PROVIDER_ID, PROVIDER_KEYS }; Provider* provider_construct (GType object_type, const gchar* id, gchar** keys, int keys_length1); void provider_update (Provider* self); static void provider_real_update (Provider* self); const gchar* provider_get_id (Provider* self); static void provider_set_id (Provider* self, const gchar* value); gchar** provider_get_keys (Provider* self, int* result_length1); static void provider_set_keys (Provider* self, gchar** value, int value_length1); static gchar** _vala_array_dup21 (gchar** self, int length); gdouble* provider_get_values (Provider* self, int* result_length1); static void provider_set_values (Provider* self, gdouble* value, int value_length1); static gdouble* _vala_array_dup22 (gdouble* self, int length); static GObject * provider_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void provider_finalize (GObject* obj); static void _vala_provider_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_provider_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); Provider* provider_construct (GType object_type, const gchar* id, gchar** keys, int keys_length1) { Provider * self = NULL; const gchar* _tmp0_; gchar** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (id != NULL, NULL); _tmp0_ = id; _tmp1_ = keys; _tmp1__length1 = keys_length1; self = (Provider*) g_object_new (object_type, "id", _tmp0_, "keys", _tmp1_, NULL); return self; } static void provider_real_update (Provider* self) { g_critical ("Type `%s' does not implement abstract method `provider_update'", g_type_name (G_TYPE_FROM_INSTANCE (self))); return; } void provider_update (Provider* self) { g_return_if_fail (IS_PROVIDER (self)); PROVIDER_GET_CLASS (self)->update (self); } const gchar* provider_get_id (Provider* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (IS_PROVIDER (self), NULL); _tmp0_ = self->priv->_id; result = _tmp0_; return result; } static void provider_set_id (Provider* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (IS_PROVIDER (self)); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_id); self->priv->_id = _tmp1_; g_object_notify ((GObject *) self, "id"); } gchar** provider_get_keys (Provider* self, int* result_length1) { gchar** result; gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_PROVIDER (self), NULL); _tmp0_ = self->priv->_keys; _tmp0__length1 = self->priv->_keys_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static gchar** _vala_array_dup21 (gchar** self, int length) { gchar** result; int i; result = g_new0 (gchar*, length + 1); for (i = 0; i < length; i++) { gchar* _tmp0_; _tmp0_ = g_strdup (self[i]); result[i] = _tmp0_; } return result; } static void provider_set_keys (Provider* self, gchar** value, int value_length1) { gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_PROVIDER (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup21 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_keys = (_vala_array_free (self->priv->_keys, self->priv->_keys_length1, (GDestroyNotify) g_free), NULL); self->priv->_keys = _tmp1_; self->priv->_keys_length1 = _tmp1__length1; self->priv->__keys_size_ = self->priv->_keys_length1; g_object_notify ((GObject *) self, "keys"); } gdouble* provider_get_values (Provider* self, int* result_length1) { gdouble* result; gdouble* _tmp0_; gint _tmp0__length1; gdouble* _tmp1_; gint _tmp1__length1; g_return_val_if_fail (IS_PROVIDER (self), NULL); _tmp0_ = self->priv->_values; _tmp0__length1 = self->priv->_values_length1; _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; if (result_length1) { *result_length1 = _tmp1__length1; } result = _tmp1_; return result; } static gdouble* _vala_array_dup22 (gdouble* self, int length) { return g_memdup (self, length * sizeof (gdouble)); } static void provider_set_values (Provider* self, gdouble* value, int value_length1) { gdouble* _tmp0_; gint _tmp0__length1; gdouble* _tmp1_; gint _tmp1__length1; g_return_if_fail (IS_PROVIDER (self)); _tmp0_ = value; _tmp0__length1 = value_length1; _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup22 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); _tmp1__length1 = _tmp0__length1; self->priv->_values = (g_free (self->priv->_values), NULL); self->priv->_values = _tmp1_; self->priv->_values_length1 = _tmp1__length1; self->priv->__values_size_ = self->priv->_values_length1; } static GObject * provider_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; Provider * self; gchar** _tmp0_; gint _tmp0__length1; gchar** _tmp1_; gint _tmp1__length1; gdouble* _tmp2_ = NULL; gdouble* _tmp3_; gint _tmp3__length1; parent_class = G_OBJECT_CLASS (provider_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = PROVIDER (obj); _tmp0_ = provider_get_keys (self, &_tmp0__length1); _tmp1_ = _tmp0_; _tmp1__length1 = _tmp0__length1; _tmp2_ = g_new0 (gdouble, _tmp1__length1); _tmp3_ = _tmp2_; _tmp3__length1 = _tmp1__length1; provider_set_values (self, _tmp3_, _tmp1__length1); _tmp3_ = (g_free (_tmp3_), NULL); return obj; } static void provider_class_init (ProviderClass * klass) { provider_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (ProviderPrivate)); PROVIDER_CLASS (klass)->update = provider_real_update; G_OBJECT_CLASS (klass)->get_property = _vala_provider_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_provider_set_property; G_OBJECT_CLASS (klass)->constructor = provider_constructor; G_OBJECT_CLASS (klass)->finalize = provider_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), PROVIDER_ID, g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), PROVIDER_KEYS, g_param_spec_boxed ("keys", "keys", "keys", G_TYPE_STRV, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); } static void provider_instance_init (Provider * self) { self->priv = PROVIDER_GET_PRIVATE (self); } static void provider_finalize (GObject* obj) { Provider * self; self = PROVIDER (obj); _g_free0 (self->priv->_id); self->priv->_keys = (_vala_array_free (self->priv->_keys, self->priv->_keys_length1, (GDestroyNotify) g_free), NULL); self->priv->_values = (g_free (self->priv->_values), NULL); G_OBJECT_CLASS (provider_parent_class)->finalize (obj); } /****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ GType provider_get_type (void) { static volatile gsize provider_type_id__volatile = 0; if (g_once_init_enter (&provider_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (ProviderClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) provider_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Provider), 0, (GInstanceInitFunc) provider_instance_init, NULL }; GType provider_type_id; provider_type_id = g_type_register_static (G_TYPE_OBJECT, "Provider", &g_define_type_info, G_TYPE_FLAG_ABSTRACT); g_once_init_leave (&provider_type_id__volatile, provider_type_id); } return provider_type_id__volatile; } static void _vala_provider_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { Provider * self; self = PROVIDER (object); switch (property_id) { case PROVIDER_ID: g_value_set_string (value, provider_get_id (self)); break; case PROVIDER_KEYS: { int length; g_value_set_boxed (value, provider_get_keys (self, &length)); } break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_provider_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { Provider * self; self = PROVIDER (object); switch (property_id) { case PROVIDER_ID: provider_set_id (self, g_value_get_string (value)); break; case PROVIDER_KEYS: { gpointer boxed; boxed = g_value_get_boxed (value); provider_set_keys (self, boxed, g_strv_length (boxed)); } break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } indicator-multiload-0.3/src/netprovider.vala0000664000175000017500000001015012107670161016236 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class NetProvider : Provider { private uint64[] lastdata; private uint64 lasttime; public NetProvider() { base("net", {"down", "up", "local"}); } public override void update() { uint64[] newdata = new uint64[3]; uint64 newtime = get_monotonic_time(); string[] devices; GTop.NetList netlist; devices = GTop.get_netlist(out netlist); debug("Netlist: %u entries", netlist.number); for (uint i = 0; i < netlist.number; ++i) { GTop.NetLoad netload; GTop.get_netload(out netload, devices[i]); debug("Netload: %s", devices[i]); debug(" flags: %llx", netload.flags); debug(" if flags: %llx", netload.if_flags); debug(" mtu: %u", netload.mtu); debug(" subnet: %u", netload.subnet); debug(" address: %u", netload.address); debug(" packets in: %llu", netload.packets_in); debug(" packets out: %llu", netload.packets_out); debug(" packets total: %llu", netload.packets_total); debug(" bytes in: %llu", netload.bytes_in); debug(" bytes out: %llu", netload.bytes_out); debug(" bytes total: %llu", netload.bytes_total); debug(" errors in: %llu", netload.errors_in); debug(" errors out: %llu", netload.errors_out); debug(" errors total: %llu", netload.errors_total); debug(" collisions: %llu", netload.collisions); if (((netload.if_flags & (1L << GTop.IFFlags.UP)) == 0) | ((netload.if_flags & (1L << GTop.IFFlags.RUNNING)) == 0)) { // TODO: transient high differences when shut down debug(" down or not running"); } else if (FileUtils.test("/sys/class/net/%s/device".printf(devices[i]), FileTest.EXISTS)) { newdata[0] += netload.bytes_in; newdata[1] += netload.bytes_out; debug(" existing device link"); } else if ((netload.if_flags & (1L << GTop.IFFlags.POINTOPOINT)) > 0) { newdata[0] += netload.bytes_in; newdata[1] += netload.bytes_out; debug(" pointtopoint"); } else if ((netload.if_flags & (1L << GTop.IFFlags.LOOPBACK)) > 0) { newdata[2] += netload.bytes_in; debug(" loopback"); } else { debug(" unknown"); } } if (this.lastdata.length != 0) { double delta = (newtime - this.lasttime) / 1e6; for (uint i = 0, isize = this.values.length; i < isize; ++i) this.values[i] = (newdata[i] - this.lastdata[i]) / delta; } this.lastdata = newdata; this.lasttime = newtime; } } indicator-multiload-0.3/src/graphmodels.vala0000664000175000017500000000353312107670161016211 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class GraphModels : Object { public Providers providers {get; construct; } public GraphModel[] graphmodels { get; private set; } public GraphModels(string[] graphids, Providers providers) { Object(providers: providers); foreach (var graphid in graphids) this._graphmodels += new GraphModel(graphid, this.providers); } public void update(uint trace_length) { foreach (var graphmodel in this.graphmodels) graphmodel.update(trace_length); } } indicator-multiload-0.3/src/providers.vala0000664000175000017500000000560412107670161015722 00000000000000/****************************************************************************** * Copyright (C) 2011 Michael Hofmann * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License along * * with this program; if not, write to the Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ******************************************************************************/ public class Providers : Object { public Provider[] providers { get; private set; } public Function[] functions { get; private set; } construct { this.providers = { new CpuProvider(), new MemProvider(), new NetProvider(), new SwapProvider(), new LoadProvider(), new DiskProvider() }; this.update(); this.functions = { new DecimalsFunction(), new SizeFunction(), new SpeedFunction(), new PercentFunction() }; } // TODO: use exceptions public double value(string name, out bool found) { var varparts = name.split("."); return_val_if_fail(varparts.length == 2, 0); found = true; foreach (var provider in this.providers) { if (provider.id != varparts[0]) continue; for (uint j = 0, jsize = provider.keys.length; j < jsize; ++j) { if (provider.keys[j] != varparts[1]) continue; return provider.values[j]; } } found = false; return 0; } public string call(string name, string[] parameters, bool widest, out bool found) throws Error { found = true; foreach (var function in this.functions) { if (function.id != name) continue; return function.call(parameters, widest); } found = false; return ""; } public void update() { foreach (var provider in this.providers) provider.update(); } } indicator-multiload-0.3/ABOUT-NLS0000664000175000017500000022532612107670254013510 000000000000001 Notes on the Free Translation Project *************************************** Free software is going international! The Free Translation Project is a way to get maintainers of free software, translators, and users all together, so that free software will gradually become able to speak many languages. A few packages already provide translations for their messages. If you found this `ABOUT-NLS' file inside a distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do _not_ need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work on translations can contact the appropriate team. When reporting bugs in the `intl/' directory or bugs which may be related to internationalization, you should tell about the version of `gettext' which is used. The information can be found in the `intl/VERSION' file, in internationalized packages. 1.1 Quick configuration advice ============================== If you want to exploit the full power of internationalization, you should configure it using ./configure --with-included-gettext to force usage of internationalizing routines provided within this package, despite the existence of internationalizing capabilities in the operating system where this package is being installed. So far, only the `gettext' implementation in the GNU C library version 2 provides as many features (such as locale alias, message inheritance, automatic charset conversion or plural form handling) as the implementation here. It is also not possible to offer this additional functionality on top of a `catgets' implementation. Future versions of GNU `gettext' will very likely convey even more functionality. So it might be a good idea to change to GNU `gettext' as soon as possible. So you need _not_ provide this option if you are using GNU libc 2 or you have installed a recent copy of the GNU gettext package with the included `libintl'. 1.2 INSTALL Matters =================== Some packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. By default, this package will be installed to allow translation of messages. It will automatically detect whether the system already provides the GNU `gettext' functions. If not, the included GNU `gettext' library will be used. This library is wholly contained within this package, usually in the `intl/' subdirectory, so prior installation of the GNU `gettext' package is _not_ required. Installers may use special options at configuration time for changing the default behaviour. The commands: ./configure --with-included-gettext ./configure --disable-nls will, respectively, bypass any pre-existing `gettext' to use the internationalizing routines provided within this package, or else, _totally_ disable translation of messages. When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl.a' file and will decide to use this. This might not be desirable. You should use the more recent version of the GNU `gettext' library. I.e. if the file `intl/VERSION' shows that the library which comes with this package is more recent, you should use ./configure --with-included-gettext to prevent auto-detection. The configuration process will not test for the `catgets' function and therefore it will not be used. The reason is that even an emulation of `gettext' on top of `catgets' could not provide all the extensions of the GNU `gettext' library. Internationalized packages usually have many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. 1.3 Using This Package ====================== As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate `LL_CC' combination. If you happen to have the `LC_ALL' or some other `LC_xxx' environment variables set, you should unset them before setting `LANG', otherwise the setting of `LANG' will not have the desired effect. Here `LL' is an ISO 639 two-letter language code, and `CC' is an ISO 3166 two-letter country code. For example, let's suppose that you speak German and live in Germany. At the shell prompt, merely execute `setenv LANG de_DE' (in `csh'), `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. You might think that the country code specification is redundant. But in fact, some languages have dialects in different countries. For example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The country code serves to distinguish the dialects. The locale naming convention of `LL_CC', with `LL' denoting the language and `CC' denoting the country, is the one use on systems based on GNU libc. On other systems, some variations of this scheme are used, such as `LL' or `LL_CC.ENCODING'. You can get the list of locales supported by your system for your language by running the command `locale -a | grep '^LL''. Not all programs have translations for all languages. By default, an English message is shown in place of a nonexistent translation. If you understand other languages, you can set up a priority list of languages. This is done through a different environment variable, called `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' for the purpose of message handling, but you still need to have `LANG' set to the primary language; this is required by other parts of the system libraries. For example, some Swedish users who would rather read translations in German than English for when Swedish is not available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. Special advice for Norwegian users: The language code for Norwegian bokma*l changed from `no' to `nb' recently (in 2003). During the transition period, while some message catalogs for this language are installed under `nb' and some older ones under `no', it's recommended for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and older translations are used. In the `LANGUAGE' environment variable, but not in the `LANG' environment variable, `LL_CC' combinations can be abbreviated as `LL' to denote the language's main dialect. For example, `de' is equivalent to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' (Portuguese as spoken in Portugal) in this context. 1.4 Translating Teams ===================== For the Free Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list. The up-to-date list of teams can be found at the Free Translation Project's homepage, `http://translationproject.org/', in the "Teams" area. If you'd like to volunteer to _work_ at translating messages, you should become a member of the translating team for your own language. The subscribing address is _not_ the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: subscribe Keep in mind that team members are expected to participate _actively_ in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `coordinator@translationproject.org' to reach the coordinator for all translator teams. The English team is special. It works at improving and uniformizing the terminology in use. Proven linguistic skills are praised more than programming skills, here. 1.5 Available Packages ====================== Languages are not equally supported in all packages. The following matrix shows the current state of internationalization, as of November 2007. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination, with a translation percentage of at least 50%. Ready PO files af am ar az be bg bs ca cs cy da de el en en_GB eo +----------------------------------------------------+ Compendium | [] [] [] [] | a2ps | [] [] [] [] [] | aegis | () | ant-phone | () | anubis | [] | ap-utils | | aspell | [] [] [] [] [] | bash | [] | bfd | | bibshelf | [] | binutils | | bison | [] [] | bison-runtime | [] | bluez-pin | [] [] [] [] [] | cflow | [] | clisp | [] [] [] | console-tools | [] [] | coreutils | [] [] [] [] | cpio | | cpplib | [] [] [] | cryptonit | [] | dialog | | diffutils | [] [] [] [] [] [] | doodle | [] | e2fsprogs | [] [] | enscript | [] [] [] [] | fetchmail | [] [] () [] [] | findutils | [] | findutils_stable | [] [] [] | flex | [] [] [] | fslint | | gas | | gawk | [] [] [] | gcal | [] | gcc | [] | gettext-examples | [] [] [] [] [] | gettext-runtime | [] [] [] [] [] | gettext-tools | [] [] | gip | [] | gliv | [] [] | glunarclock | [] | gmult | [] [] | gnubiff | () | gnucash | [] [] () () [] | gnuedu | | gnulib | [] | gnunet | | gnunet-gtk | | gnutls | [] | gpe-aerial | [] [] | gpe-beam | [] [] | gpe-calendar | | gpe-clock | [] [] | gpe-conf | [] [] | gpe-contacts | | gpe-edit | [] | gpe-filemanager | | gpe-go | [] | gpe-login | [] [] | gpe-ownerinfo | [] [] | gpe-package | | gpe-sketchbook | [] [] | gpe-su | [] [] | gpe-taskmanager | [] [] | gpe-timesheet | [] | gpe-today | [] [] | gpe-todo | | gphoto2 | [] [] [] [] | gprof | [] [] | gpsdrive | | gramadoir | [] [] | grep | [] [] | gretl | () | gsasl | | gss | | gst-plugins-bad | [] [] | gst-plugins-base | [] [] | gst-plugins-good | [] [] [] | gst-plugins-ugly | [] [] | gstreamer | [] [] [] [] [] [] [] | gtick | () | gtkam | [] [] [] [] | gtkorphan | [] [] | gtkspell | [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] | herrie | [] | hylafax | | idutils | [] [] | indent | [] [] [] [] | iso_15924 | | iso_3166 | [] [] [] [] [] [] [] [] [] [] [] | iso_3166_2 | | iso_4217 | [] [] [] | iso_639 | [] [] [] [] | jpilot | [] | jtag | | jwhois | | kbd | [] [] [] [] | keytouch | [] [] | keytouch-editor | [] | keytouch-keyboa... | [] | latrine | () | ld | [] | leafpad | [] [] [] [] [] | libc | [] [] [] [] | libexif | [] | libextractor | [] | libgpewidget | [] [] [] | libgpg-error | [] | libgphoto2 | [] [] | libgphoto2_port | [] [] | libgsasl | | libiconv | [] [] | libidn | [] [] [] | lifelines | [] () | lilypond | [] | lingoteach | | lprng | | lynx | [] [] [] [] | m4 | [] [] [] [] | mailfromd | | mailutils | [] | make | [] [] | man-db | [] [] [] | minicom | [] [] [] | nano | [] [] [] | opcodes | [] | parted | [] [] | pilot-qof | | popt | [] [] [] | psmisc | [] | pwdutils | | qof | | radius | [] | recode | [] [] [] [] [] [] | rpm | [] | screem | | scrollkeeper | [] [] [] [] [] [] [] [] | sed | [] [] [] | shared-mime-info | [] [] [] [] () [] [] [] | sharutils | [] [] [] [] [] [] | shishi | | skencil | [] () | solfege | | soundtracker | [] [] | sp | [] | system-tools-ba... | [] [] [] [] [] [] [] [] [] | tar | [] [] | texinfo | [] [] [] | tin | () () | tuxpaint | [] [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] [] [] | util-linux-ng | [] [] [] [] | vorbis-tools | [] | wastesedge | () | wdiff | [] [] [] [] | wget | [] [] [] | xchat | [] [] [] [] [] [] [] | xkeyboard-config | [] | xpad | [] [] [] | +----------------------------------------------------+ af am ar az be bg bs ca cs cy da de el en en_GB eo 6 0 2 1 8 26 2 40 48 2 56 88 15 1 15 18 es et eu fa fi fr ga gl gu he hi hr hu id is it +--------------------------------------------------+ Compendium | [] [] [] [] [] | a2ps | [] [] [] () | aegis | | ant-phone | [] | anubis | [] | ap-utils | [] [] | aspell | [] [] [] | bash | [] | bfd | [] [] | bibshelf | [] [] [] | binutils | [] [] [] | bison | [] [] [] [] [] [] | bison-runtime | [] [] [] [] [] | bluez-pin | [] [] [] [] [] | cflow | [] | clisp | [] [] | console-tools | | coreutils | [] [] [] [] [] [] | cpio | [] [] [] | cpplib | [] [] | cryptonit | [] | dialog | [] [] [] | diffutils | [] [] [] [] [] [] [] [] [] | doodle | [] [] | e2fsprogs | [] [] [] | enscript | [] [] [] | fetchmail | [] | findutils | [] [] [] | findutils_stable | [] [] [] [] | flex | [] [] [] | fslint | | gas | [] [] | gawk | [] [] [] [] () | gcal | [] [] | gcc | [] | gettext-examples | [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] | gettext-tools | [] [] [] [] | gip | [] [] [] [] | gliv | () | glunarclock | [] [] [] | gmult | [] [] [] | gnubiff | () () | gnucash | () () () | gnuedu | [] | gnulib | [] [] [] | gnunet | | gnunet-gtk | | gnutls | | gpe-aerial | [] [] | gpe-beam | [] [] | gpe-calendar | | gpe-clock | [] [] [] [] | gpe-conf | [] | gpe-contacts | [] [] | gpe-edit | [] [] [] [] | gpe-filemanager | [] | gpe-go | [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] [] [] [] | gpe-package | [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] [] | gpe-taskmanager | [] [] [] | gpe-timesheet | [] [] [] [] | gpe-today | [] [] [] [] | gpe-todo | [] | gphoto2 | [] [] [] [] [] | gprof | [] [] [] [] [] | gpsdrive | [] | gramadoir | [] [] | grep | [] [] [] | gretl | [] [] [] () | gsasl | [] [] | gss | [] [] | gst-plugins-bad | [] [] [] [] | gst-plugins-base | [] [] [] [] | gst-plugins-good | [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] | gstreamer | [] [] [] | gtick | [] [] [] | gtkam | [] [] [] [] | gtkorphan | [] [] | gtkspell | [] [] [] [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | herrie | [] | hylafax | | idutils | [] [] [] [] [] | indent | [] [] [] [] [] [] [] [] [] [] | iso_15924 | [] | iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | iso_3166_2 | [] | iso_4217 | [] [] [] [] [] [] | iso_639 | [] [] [] [] [] [] | jpilot | [] [] | jtag | [] | jwhois | [] [] [] [] [] | kbd | [] [] | keytouch | [] [] [] | keytouch-editor | [] | keytouch-keyboa... | [] [] | latrine | [] [] | ld | [] [] [] [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] [] | libexif | [] | libextractor | [] | libgpewidget | [] [] [] [] [] | libgpg-error | [] | libgphoto2 | [] [] [] | libgphoto2_port | [] [] | libgsasl | [] [] | libiconv | [] [] [] | libidn | [] [] | lifelines | () | lilypond | [] [] [] | lingoteach | [] [] [] | lprng | | lynx | [] [] [] | m4 | [] [] [] [] | mailfromd | | mailutils | [] [] | make | [] [] [] [] [] [] [] [] | man-db | [] | minicom | [] [] [] [] | nano | [] [] [] [] [] [] [] | opcodes | [] [] [] [] | parted | [] [] [] | pilot-qof | | popt | [] [] [] [] | psmisc | [] [] | pwdutils | | qof | [] | radius | [] [] | recode | [] [] [] [] [] [] [] [] | rpm | [] [] | screem | | scrollkeeper | [] [] [] | sed | [] [] [] [] [] | shared-mime-info | [] [] [] [] [] [] | sharutils | [] [] [] [] [] [] [] [] | shishi | [] | skencil | [] [] | solfege | [] | soundtracker | [] [] [] | sp | [] | system-tools-ba... | [] [] [] [] [] [] [] [] [] | tar | [] [] [] [] [] | texinfo | [] [] [] | tin | [] () | tuxpaint | [] [] | unicode-han-tra... | | unicode-transla... | [] [] | util-linux | [] [] [] [] [] [] [] | util-linux-ng | [] [] [] [] [] [] [] | vorbis-tools | | wastesedge | () | wdiff | [] [] [] [] [] [] [] [] | wget | [] [] [] [] [] [] [] [] | xchat | [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] | xpad | [] [] [] | +--------------------------------------------------+ es et eu fa fi fr ga gl gu he hi hr hu id is it 85 22 14 2 48 101 61 12 2 8 2 6 53 29 1 52 ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn +--------------------------------------------------+ Compendium | [] | a2ps | () [] [] | aegis | () | ant-phone | [] | anubis | [] [] [] | ap-utils | [] | aspell | [] [] | bash | [] | bfd | | bibshelf | [] | binutils | | bison | [] [] [] | bison-runtime | [] [] [] | bluez-pin | [] [] [] | cflow | | clisp | [] | console-tools | | coreutils | [] | cpio | [] | cpplib | [] | cryptonit | [] | dialog | [] [] | diffutils | [] [] [] | doodle | | e2fsprogs | [] | enscript | [] | fetchmail | [] [] | findutils | [] | findutils_stable | [] | flex | [] [] | fslint | | gas | | gawk | [] [] | gcal | | gcc | | gettext-examples | [] [] [] | gettext-runtime | [] [] [] | gettext-tools | [] [] | gip | [] [] | gliv | [] | glunarclock | [] [] | gmult | [] [] [] | gnubiff | | gnucash | () () () | gnuedu | | gnulib | [] [] | gnunet | | gnunet-gtk | | gnutls | [] | gpe-aerial | [] | gpe-beam | [] | gpe-calendar | [] | gpe-clock | [] [] [] | gpe-conf | [] [] [] | gpe-contacts | [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] | gpe-go | [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] | gpe-taskmanager | [] [] [] [] | gpe-timesheet | [] | gpe-today | [] [] | gpe-todo | [] | gphoto2 | [] [] | gprof | [] | gpsdrive | [] | gramadoir | () | grep | [] [] | gretl | | gsasl | [] | gss | | gst-plugins-bad | [] | gst-plugins-base | [] | gst-plugins-good | [] | gst-plugins-ugly | [] | gstreamer | [] | gtick | [] | gtkam | [] [] | gtkorphan | [] | gtkspell | [] [] | gutenprint | [] | hello | [] [] [] [] [] [] [] | herrie | [] | hylafax | | idutils | [] | indent | [] [] | iso_15924 | [] | iso_3166 | [] [] [] [] [] [] [] [] | iso_3166_2 | [] | iso_4217 | [] [] [] | iso_639 | [] [] [] [] | jpilot | () () | jtag | | jwhois | [] | kbd | [] | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | | latrine | [] | ld | | leafpad | [] [] | libc | [] [] [] | libexif | | libextractor | | libgpewidget | [] | libgpg-error | | libgphoto2 | [] | libgphoto2_port | [] | libgsasl | [] | libiconv | [] | libidn | [] [] | lifelines | [] | lilypond | [] | lingoteach | [] | lprng | | lynx | [] [] | m4 | [] [] | mailfromd | | mailutils | | make | [] [] [] | man-db | | minicom | [] | nano | [] [] [] | opcodes | [] | parted | [] [] | pilot-qof | | popt | [] [] [] | psmisc | [] [] [] | pwdutils | | qof | | radius | | recode | [] | rpm | [] [] | screem | [] | scrollkeeper | [] [] [] [] | sed | [] [] | shared-mime-info | [] [] [] [] [] [] [] | sharutils | [] [] | shishi | | skencil | | solfege | () () | soundtracker | | sp | () | system-tools-ba... | [] [] [] [] | tar | [] [] [] | texinfo | [] [] | tin | | tuxpaint | () [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] | util-linux-ng | [] [] | vorbis-tools | | wastesedge | [] | wdiff | [] [] | wget | [] [] | xchat | [] [] [] [] | xkeyboard-config | [] [] [] | xpad | [] [] [] | +--------------------------------------------------+ ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn 51 2 25 3 2 0 6 0 2 2 20 0 11 1 103 6 or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta +--------------------------------------------------+ Compendium | [] [] [] [] [] | a2ps | () [] [] [] [] [] [] | aegis | () () | ant-phone | [] [] | anubis | [] [] [] | ap-utils | () | aspell | [] [] [] | bash | [] [] | bfd | | bibshelf | [] | binutils | [] [] | bison | [] [] [] [] [] | bison-runtime | [] [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] [] | cflow | [] | clisp | [] | console-tools | [] | coreutils | [] [] [] [] | cpio | [] [] [] | cpplib | [] | cryptonit | [] [] | dialog | [] | diffutils | [] [] [] [] [] [] | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] [] | fetchmail | [] [] [] | findutils | [] [] [] | findutils_stable | [] [] [] [] [] [] | flex | [] [] [] [] [] | fslint | [] | gas | | gawk | [] [] [] [] | gcal | [] | gcc | [] [] | gettext-examples | [] [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] [] [] | gettext-tools | [] [] [] [] [] [] [] | gip | [] [] [] [] | gliv | [] [] [] [] [] [] | glunarclock | [] [] [] [] [] [] | gmult | [] [] [] [] | gnubiff | () [] | gnucash | () [] | gnuedu | | gnulib | [] [] [] | gnunet | | gnunet-gtk | [] | gnutls | [] [] | gpe-aerial | [] [] [] [] [] [] [] | gpe-beam | [] [] [] [] [] [] [] | gpe-calendar | [] [] [] [] | gpe-clock | [] [] [] [] [] [] [] [] | gpe-conf | [] [] [] [] [] [] [] | gpe-contacts | [] [] [] [] [] | gpe-edit | [] [] [] [] [] [] [] [] [] | gpe-filemanager | [] [] | gpe-go | [] [] [] [] [] [] [] [] | gpe-login | [] [] [] [] [] [] [] [] | gpe-ownerinfo | [] [] [] [] [] [] [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] [] [] [] [] [] [] | gpe-su | [] [] [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] [] | gpe-todo | [] [] [] [] | gphoto2 | [] [] [] [] [] [] | gprof | [] [] [] | gpsdrive | [] [] | gramadoir | [] [] | grep | [] [] [] [] | gretl | [] [] [] | gsasl | [] [] [] | gss | [] [] [] [] | gst-plugins-bad | [] [] [] | gst-plugins-base | [] [] | gst-plugins-good | [] [] | gst-plugins-ugly | [] [] [] | gstreamer | [] [] [] [] | gtick | [] | gtkam | [] [] [] [] [] | gtkorphan | [] | gtkspell | [] [] [] [] [] [] [] [] | gutenprint | [] | hello | [] [] [] [] [] [] [] [] | herrie | [] [] [] | hylafax | | idutils | [] [] [] [] [] | indent | [] [] [] [] [] [] [] | iso_15924 | | iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | iso_3166_2 | | iso_4217 | [] [] [] [] [] [] [] | iso_639 | [] [] [] [] [] [] [] | jpilot | | jtag | [] | jwhois | [] [] [] [] | kbd | [] [] [] | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | [] | latrine | | ld | [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] | libexif | [] [] | libextractor | [] [] | libgpewidget | [] [] [] [] [] [] [] [] | libgpg-error | [] [] [] | libgphoto2 | [] | libgphoto2_port | [] [] [] | libgsasl | [] [] [] [] | libiconv | [] [] [] | libidn | [] [] () | lifelines | [] [] | lilypond | | lingoteach | [] | lprng | [] | lynx | [] [] [] | m4 | [] [] [] [] [] | mailfromd | [] | mailutils | [] [] [] | make | [] [] [] [] | man-db | [] [] [] [] | minicom | [] [] [] [] [] | nano | [] [] [] [] | opcodes | [] [] | parted | [] | pilot-qof | | popt | [] [] [] [] | psmisc | [] [] | pwdutils | [] [] | qof | [] [] | radius | [] [] | recode | [] [] [] [] [] [] [] | rpm | [] [] [] [] | screem | | scrollkeeper | [] [] [] [] [] [] [] | sed | [] [] [] [] [] [] [] [] [] | shared-mime-info | [] [] [] [] [] [] | sharutils | [] [] [] [] | shishi | [] | skencil | [] [] [] | solfege | [] | soundtracker | [] [] | sp | | system-tools-ba... | [] [] [] [] [] [] [] [] [] | tar | [] [] [] [] | texinfo | [] [] [] [] | tin | () | tuxpaint | [] [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] [] [] | util-linux-ng | [] [] [] [] | vorbis-tools | [] | wastesedge | | wdiff | [] [] [] [] [] [] [] | wget | [] [] [] [] | xchat | [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] | xpad | [] [] [] | +--------------------------------------------------+ or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta 0 5 77 31 53 4 58 72 3 45 46 9 45 122 3 tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu +---------------------------------------------------+ Compendium | [] [] [] [] | 19 a2ps | [] [] [] | 19 aegis | [] | 1 ant-phone | [] [] | 6 anubis | [] [] [] | 11 ap-utils | () [] | 4 aspell | [] [] [] | 16 bash | [] | 6 bfd | | 2 bibshelf | [] | 7 binutils | [] [] [] [] | 9 bison | [] [] [] [] | 20 bison-runtime | [] [] [] [] | 18 bluez-pin | [] [] [] [] [] [] | 28 cflow | [] [] | 5 clisp | | 9 console-tools | [] [] | 5 coreutils | [] [] [] | 18 cpio | [] [] [] [] | 11 cpplib | [] [] [] [] [] | 12 cryptonit | [] | 6 dialog | [] [] [] | 9 diffutils | [] [] [] [] [] | 29 doodle | [] | 6 e2fsprogs | [] [] | 10 enscript | [] [] [] | 16 fetchmail | [] [] | 12 findutils | [] [] [] | 11 findutils_stable | [] [] [] [] | 18 flex | [] [] | 15 fslint | [] | 2 gas | [] | 3 gawk | [] [] [] | 16 gcal | [] | 5 gcc | [] [] [] | 7 gettext-examples | [] [] [] [] [] [] | 29 gettext-runtime | [] [] [] [] [] [] | 28 gettext-tools | [] [] [] [] [] | 20 gip | [] [] | 13 gliv | [] [] | 11 glunarclock | [] [] [] | 15 gmult | [] [] [] [] | 16 gnubiff | [] | 2 gnucash | () [] | 5 gnuedu | [] | 2 gnulib | [] | 10 gnunet | | 0 gnunet-gtk | [] [] | 3 gnutls | | 4 gpe-aerial | [] [] | 14 gpe-beam | [] [] | 14 gpe-calendar | [] [] | 7 gpe-clock | [] [] [] [] | 21 gpe-conf | [] [] [] | 16 gpe-contacts | [] [] | 10 gpe-edit | [] [] [] [] [] | 22 gpe-filemanager | [] [] | 7 gpe-go | [] [] [] [] | 19 gpe-login | [] [] [] [] [] | 21 gpe-ownerinfo | [] [] [] [] | 21 gpe-package | [] | 6 gpe-sketchbook | [] [] | 16 gpe-su | [] [] [] [] | 21 gpe-taskmanager | [] [] [] [] | 21 gpe-timesheet | [] [] [] [] | 18 gpe-today | [] [] [] [] [] | 21 gpe-todo | [] [] | 8 gphoto2 | [] [] [] [] | 21 gprof | [] [] | 13 gpsdrive | [] | 5 gramadoir | [] | 7 grep | [] | 12 gretl | | 6 gsasl | [] [] [] | 9 gss | [] | 7 gst-plugins-bad | [] [] [] | 13 gst-plugins-base | [] [] | 11 gst-plugins-good | [] [] [] [] [] | 16 gst-plugins-ugly | [] [] [] | 13 gstreamer | [] [] [] | 18 gtick | [] [] | 7 gtkam | [] | 16 gtkorphan | [] | 7 gtkspell | [] [] [] [] [] [] | 27 gutenprint | | 4 hello | [] [] [] [] [] | 38 herrie | [] [] | 8 hylafax | | 0 idutils | [] [] | 15 indent | [] [] [] [] [] | 28 iso_15924 | [] [] | 4 iso_3166 | [] [] [] [] [] [] [] [] [] | 54 iso_3166_2 | [] [] | 4 iso_4217 | [] [] [] [] [] | 24 iso_639 | [] [] [] [] [] | 26 jpilot | [] [] [] [] | 7 jtag | [] | 3 jwhois | [] [] [] | 13 kbd | [] [] [] | 13 keytouch | [] | 8 keytouch-editor | [] | 5 keytouch-keyboa... | [] | 5 latrine | [] [] | 5 ld | [] [] [] [] | 10 leafpad | [] [] [] [] [] | 24 libc | [] [] [] | 19 libexif | [] | 5 libextractor | [] | 5 libgpewidget | [] [] [] | 20 libgpg-error | [] | 6 libgphoto2 | [] [] | 9 libgphoto2_port | [] [] [] | 11 libgsasl | [] | 8 libiconv | [] [] | 11 libidn | [] [] | 11 lifelines | | 4 lilypond | [] | 6 lingoteach | [] | 6 lprng | [] | 2 lynx | [] [] [] | 15 m4 | [] [] [] | 18 mailfromd | [] [] | 3 mailutils | [] [] | 8 make | [] [] [] | 20 man-db | [] | 9 minicom | [] | 14 nano | [] [] [] | 20 opcodes | [] [] | 10 parted | [] [] [] | 11 pilot-qof | [] | 1 popt | [] [] [] [] | 18 psmisc | [] [] | 10 pwdutils | [] | 3 qof | [] | 4 radius | [] [] | 7 recode | [] [] [] | 25 rpm | [] [] [] [] | 13 screem | [] | 2 scrollkeeper | [] [] [] [] | 26 sed | [] [] [] [] | 23 shared-mime-info | [] [] [] | 29 sharutils | [] [] [] | 23 shishi | [] | 3 skencil | [] | 7 solfege | [] | 3 soundtracker | [] [] | 9 sp | [] | 3 system-tools-ba... | [] [] [] [] [] [] [] | 38 tar | [] [] [] | 17 texinfo | [] [] [] | 15 tin | | 1 tuxpaint | [] [] [] | 19 unicode-han-tra... | | 0 unicode-transla... | | 2 util-linux | [] [] [] | 20 util-linux-ng | [] [] [] | 20 vorbis-tools | [] [] | 4 wastesedge | | 1 wdiff | [] [] | 23 wget | [] [] [] | 20 xchat | [] [] [] [] | 29 xkeyboard-config | [] [] [] | 14 xpad | [] [] [] | 15 +---------------------------------------------------+ 76 teams tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu 163 domains 0 3 1 74 51 0 143 21 1 57 7 45 0 2036 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. If November 2007 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date matrix with full percentage details can be found at `http://translationproject.org/extra/matrix.html'. 1.6 Using `gettext' in new packages =================================== If you are writing a freely available program and want to internationalize it you are welcome to use GNU `gettext' in your package. Of course you have to respect the GNU Library General Public License which covers the use of the GNU `gettext' library. This means in particular that even non-free programs can use `libintl' as a shared library, whereas only free software can use `libintl' as a static library or use modified versions of `libintl'. Once the sources are changed appropriately and the setup can handle the use of `gettext' the only thing missing are the translations. The Free Translation Project is also available for packages which are not developed inside the GNU project. Therefore the information given above applies also for every other Free Software Project. Contact `coordinator@translationproject.org' to make the `.pot' files available to the translation teams. indicator-multiload-0.3/Makefile.in0000664000175000017500000006733312107670262014327 00000000000000# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure ABOUT-NLS AUTHORS COPYING TODO \ config.guess config.rpath config.sub 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 config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive 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 = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(multiloaddocdir)" DATA = $(multiloaddoc_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir dist dist-all distcheck ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ MULTILOADDEPS_CFLAGS = @MULTILOADDEPS_CFLAGS@ MULTILOADDEPS_LIBS = @MULTILOADDEPS_LIBS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALAC = @VALAC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gsettingsschemadir = @gsettingsschemadir@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = src data po multiloaddocdir = ${datadir}/doc/indicator-multiload multiloaddoc_DATA = \ COPYING \ AUTHORS \ TODO \ HACKING EXTRA_DIST = \ $(multiloaddoc_DATA) \ autogen.sh all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @if test ! -f $@; then rm -f stamp-h1; else :; fi @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) 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: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 install-multiloaddocDATA: $(multiloaddoc_DATA) @$(NORMAL_INSTALL) test -z "$(multiloaddocdir)" || $(MKDIR_P) "$(DESTDIR)$(multiloaddocdir)" @list='$(multiloaddoc_DATA)'; test -n "$(multiloaddocdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(multiloaddocdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(multiloaddocdir)" || exit $$?; \ done uninstall-multiloaddocDATA: @$(NORMAL_UNINSTALL) @list='$(multiloaddoc_DATA)'; test -n "$(multiloaddocdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(multiloaddocdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) 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; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) 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; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(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) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(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 \ && cd "$$am__cwd" \ || exit 1 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(DATA) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(multiloaddocdir)"; 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: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-multiloaddocDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-multiloaddocDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ ctags-recursive install-am install-strip tags-recursive \ uninstall-am .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ distcheck distclean distclean-generic distclean-hdr \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man \ install-multiloaddocDATA install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-hook uninstall-multiloaddocDATA uninstall-hook: -rmdir $(multiloaddocdir) test-run: -rm -rf local-xdg-data-dir -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc src/indicator-multiload -rm -rf local-xdg-data-dir test-debug: -rm -rf local-xdg-data-dir -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc gdb src/indicator-multiload -rm -rf local-xdg-data-dir test-valgrind: -rm -rf local-xdg-data-dir -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 --show-reachable=yes --log-file=vgdump src/indicator-multiload -rm -rf local-xdg-data-dir # 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: indicator-multiload-0.3/depcomp0000755000175000017500000004755612107670261013641 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2011-12-04.11; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, # 2011 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac 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 cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -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. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -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. 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 tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then # 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,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$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" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. 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 tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add `dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. 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 mechanism 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 $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" ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test "$stat" = 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/ \1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/ / G p }' >> "$depfile" rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$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 "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" 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 "X$1" != 'X--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: indicator-multiload-0.3/autogen.sh0000775000175000017500000000003312107670161014241 00000000000000#!/bin/sh gnome-autogen.sh indicator-multiload-0.3/configure.ac0000664000175000017500000000135512107670161014536 00000000000000AC_INIT([indicator-multiload], [0.3], [mh21@mh21.de], [indicator-multiload], [http://mh21.de/]) m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) AC_CONFIG_HEADERS([config.h]) AC_PROG_CC AM_INIT_AUTOMAKE([foreign]) AM_PROG_VALAC([0.12.0]) IT_PROG_INTLTOOL AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.17]) GETTEXT_PACKAGE=indicator-multiload AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [gettext package name]) GLIB_GSETTINGS PKG_CHECK_MODULES(MULTILOADDEPS, [gtk+-3.0 cairo appindicator3-0.1 glib-2.0 gio-unix-2.0 gmodule-2.0 libgtop-2.0]) AC_CONFIG_FILES([ Makefile src/Makefile data/Makefile data/preferences.ui data/de.mh21.indicator.multiload.gschema.xml.in po/Makefile.in ]) AC_OUTPUT indicator-multiload-0.3/config.h.in0000664000175000017500000000253512107670261014275 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS /* gettext package name */ #undef GETTEXT_PACKAGE /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYCURRENT /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Version number of package */ #undef VERSION indicator-multiload-0.3/aclocal.m40000664000175000017500000044615612107670260014124 00000000000000# generated automatically by aclocal 1.11.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, # Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, [m4_warning([this file was generated for autoconf 2.68. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # gettext.m4 serial 63 (gettext-0.18) dnl Copyright (C) 1995-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2006, 2008-2010. dnl Macro to add for using GNU gettext. dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The dnl default (if it is not specified or empty) is 'no-libtool'. dnl INTLSYMBOL should be 'external' for packages with no intl directory, dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. dnl If INTLSYMBOL is 'use-libtool', then a libtool library dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, dnl depending on --{enable,disable}-{shared,static} and on the presence of dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library dnl $(top_builddir)/intl/libintl.a will be created. dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext dnl implementations (in libc or libintl) without the ngettext() function dnl will be ignored. If NEEDSYMBOL is specified and is dnl 'need-formatstring-macros', then GNU gettext implementations that don't dnl support the ISO C 99 formatstring macros will be ignored. dnl INTLDIR is used to find the intl libraries. If empty, dnl the value `$(top_builddir)/intl/' is used. dnl dnl The result of the configuration is one of three cases: dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled dnl and used. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 2) GNU gettext has been found in the system's C library. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 3) No internationalization, always use English msgid. dnl Catalog format: none dnl Catalog extension: none dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. dnl The use of .gmo is historical (it was needed to avoid overwriting the dnl GNU format catalogs when building on a platform with an X/Open gettext), dnl but we keep it in order not to force irrelevant filename changes on the dnl maintainers. dnl AC_DEFUN([AM_GNU_GETTEXT], [ dnl Argument checking. ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ])])])])]) ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])]) ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ])])])]) define([gt_included_intl], ifelse([$1], [external], ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), [yes])) define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) gt_NEEDS_INIT AM_GNU_GETTEXT_NEED([$2]) AC_REQUIRE([AM_PO_SUBDIRS])dnl ifelse(gt_included_intl, yes, [ AC_REQUIRE([AM_INTL_SUBDIR])dnl ]) dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Sometimes libintl requires libiconv, so first search for libiconv. dnl Ideally we would do this search only after the dnl if test "$USE_NLS" = "yes"; then dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT dnl the configure script would need to contain the same shell code dnl again, outside any 'if'. There are two solutions: dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not dnl documented, we avoid it. ifelse(gt_included_intl, yes, , [ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation. gt_INTL_MACOSX dnl Set USE_NLS. AC_REQUIRE([AM_NLS]) ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no ]) LIBINTL= LTLIBINTL= POSUB= dnl Add a version number to the cache macros. case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no ifelse(gt_included_intl, yes, [ AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH([included-gettext], [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ]) dnl User does not insist on using GNU NLS library. Figure out what dnl to use. If GNU gettext is available we use this. Else we have dnl to fall back to GNU NLS library. if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif changequote(,)dnl typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; changequote([,])dnl ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], [AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings;], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings], [eval "$gt_func_gnugettext_libc=yes"], [eval "$gt_func_gnugettext_libc=no"])]) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl Sometimes libintl requires libiconv, so first search for libiconv. ifelse(gt_included_intl, yes, , [ AM_ICONV_LINK ]) dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) dnl because that would add "-liconv" to LIBINTL and LTLIBINTL dnl even if libiconv doesn't exist. AC_LIB_LINKFLAGS_BODY([intl]) AC_CACHE_CHECK([for GNU gettext in libintl], [$gt_func_gnugettext_libintl], [gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" dnl Now see whether libintl exists and does not depend on libiconv. AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *);], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], [eval "$gt_func_gnugettext_libintl=yes"], [eval "$gt_func_gnugettext_libintl=no"]) dnl Now see whether libintl exists and depends on libiconv. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *);], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], [LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" ]) fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS"]) fi dnl If an already present or preinstalled GNU gettext() is found, dnl use it. But if this macro is used in GNU gettext, and GNU dnl gettext is already preinstalled in libintl, we update this dnl libintl. (Cf. the install rule in intl/Makefile.in.) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else dnl Reset the values set by searching for libintl. LIBINTL= LTLIBINTL= INCINTL= fi ifelse(gt_included_intl, yes, [ if test "$gt_use_preinstalled_gnugettext" != "yes"; then dnl GNU gettext is not found in the C library. dnl Fall back on included GNU gettext library. nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi CATOBJEXT= if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions to use GNU gettext tools. CATOBJEXT=.gmo fi ]) if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Some extra flags are needed during linking. LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then AC_DEFINE([ENABLE_NLS], [1], [Define to 1 if translation of program messages to the user's native language is requested.]) else USE_NLS=no fi fi AC_MSG_CHECKING([whether to use NLS]) AC_MSG_RESULT([$USE_NLS]) if test "$USE_NLS" = "yes"; then AC_MSG_CHECKING([where the gettext function comes from]) if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi AC_MSG_RESULT([$gt_source]) fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then AC_MSG_CHECKING([how to link with libintl]) AC_MSG_RESULT([$LIBINTL]) AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) fi dnl For backward compatibility. Some packages may be using this. AC_DEFINE([HAVE_GETTEXT], [1], [Define if the GNU gettext() function is already present or preinstalled.]) AC_DEFINE([HAVE_DCGETTEXT], [1], [Define if the GNU dcgettext() function is already present or preinstalled.]) fi dnl We need to process the po/ directory. POSUB=po fi ifelse(gt_included_intl, yes, [ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL dnl to 'yes' because some of the testsuite requires it. if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then BUILD_INCLUDED_LIBINTL=yes fi dnl Make all variables we use known to autoconf. AC_SUBST([BUILD_INCLUDED_LIBINTL]) AC_SUBST([USE_INCLUDED_LIBINTL]) AC_SUBST([CATOBJEXT]) dnl For backward compatibility. Some configure.ins may be using this. nls_cv_header_intl= nls_cv_header_libgt= dnl For backward compatibility. Some Makefiles may be using this. DATADIRNAME=share AC_SUBST([DATADIRNAME]) dnl For backward compatibility. Some Makefiles may be using this. INSTOBJEXT=.mo AC_SUBST([INSTOBJEXT]) dnl For backward compatibility. Some Makefiles may be using this. GENCAT=gencat AC_SUBST([GENCAT]) dnl For backward compatibility. Some Makefiles may be using this. INTLOBJS= if test "$USE_INCLUDED_LIBINTL" = yes; then INTLOBJS="\$(GETTOBJS)" fi AC_SUBST([INTLOBJS]) dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX]) ]) dnl For backward compatibility. Some Makefiles may be using this. INTLLIBS="$LIBINTL" AC_SUBST([INTLLIBS]) dnl Make all documented variables known to autoconf. AC_SUBST([LIBINTL]) AC_SUBST([LTLIBINTL]) AC_SUBST([POSUB]) ]) dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. m4_define([gt_NEEDS_INIT], [ m4_divert_text([DEFAULTS], [gt_needs=]) m4_define([gt_NEEDS_INIT], []) ]) dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) AC_DEFUN([AM_GNU_GETTEXT_NEED], [ m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) ]) dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) dnl GLIB_GSETTINGS dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether dnl the schema should be compiled dnl AC_DEFUN([GLIB_GSETTINGS], [ m4_pattern_allow([AM_V_GEN]) AC_ARG_ENABLE(schemas-compile, AS_HELP_STRING([--disable-schemas-compile], [Disable regeneration of gschemas.compiled on install]), [case ${enableval} in yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;; esac]) AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE]) PKG_PROG_PKG_CONFIG([0.16]) AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas]) if test x$cross_compiling != xyes; then GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` else AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas) fi AC_SUBST(GLIB_COMPILE_SCHEMAS) if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2]) else ifelse([$1],,[:],[$1]) fi GSETTINGS_RULES=' .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas mostlyclean-am: clean-gsettings-schemas gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) %.gschema.valid: %.gschema.xml $(gsettings__enum_file) $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch [$]@ all-am: $(gsettings_SCHEMAS:.xml=.valid) uninstall-am: uninstall-gsettings-schemas install-data-am: install-gsettings-schemas .SECONDARY: $(gsettings_SCHEMAS) install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) @$(NORMAL_INSTALL) if test -n "$^"; then \ test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ fi uninstall-gsettings-schemas: @$(NORMAL_UNINSTALL) @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ test -n "$$files" || exit 0; \ echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) clean-gsettings-schemas: rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) ifdef gsettings_ENUM_NAMESPACE $(gsettings__enum_file): $(gsettings_ENUM_FILES) $(AM_V_GEN) glib-mkenums --comments '\'''\'' --fhead "" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " " --vtail " " --ftail "" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@ endif ' _GSETTINGS_SUBST(GSETTINGS_RULES) ]) dnl _GSETTINGS_SUBST(VARIABLE) dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST AC_DEFUN([_GSETTINGS_SUBST], [ AC_SUBST([$1]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) ] ) # iconv.m4 serial 11 (gettext-0.18.1) dnl Copyright (C) 2000-2002, 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_LIB_LINKFLAGS_BODY([iconv]) ]) AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) dnl Add $INCICONV to CPPFLAGS before performing the following checks, dnl because if the user has installed libiconv and not disabled its use dnl via --without-libiconv-prefix, he wants to use it. The first dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], [am_cv_func_iconv=yes]) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], [am_cv_lib_iconv=yes] [am_cv_func_iconv=yes]) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ dnl This tests against bugs in AIX 5.1, HP-UX 11.11, Solaris 10. am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi AC_TRY_RUN([ #include #include int main () { /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static const char input[] = "\263"; char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) return 1; } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) return 1; return 0; }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], [case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac]) LIBS="$am_save_LIBS" ]) case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then AC_DEFINE([HAVE_ICONV], [1], [Define if you have the iconv() function and it works.]) fi if test "$am_cv_lib_iconv" = yes; then AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi AC_SUBST([LIBICONV]) AC_SUBST([LTLIBICONV]) ]) dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to dnl avoid warnings like dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". dnl This is tricky because of the way 'aclocal' is implemented: dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. dnl Otherwise aclocal's initial scan pass would miss the macro definition. dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. dnl Otherwise aclocal would emit many "Use of uninitialized value $1" dnl warnings. m4_define([gl_iconv_AC_DEFUN], m4_version_prereq([2.64], [[AC_DEFUN_ONCE( [$1], [$2])]], [[AC_DEFUN( [$1], [$2])]])) gl_iconv_AC_DEFUN([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL([am_cv_proto_iconv], [ AC_TRY_COMPILE([ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif ], [], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"]) am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` AC_MSG_RESULT([ $am_cv_proto_iconv]) AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], [Define as const if the declaration of iconv() needs const.]) fi ]) # intlmacosx.m4 serial 3 (gettext-0.18) dnl Copyright (C) 2004-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Checks for special options needed on MacOS X. dnl Defines INTL_MACOSX_LIBS. AC_DEFUN([gt_INTL_MACOSX], [ dnl Check for API introduced in MacOS X 10.2. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], [gt_cv_func_CFPreferencesCopyAppValue], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_TRY_LINK([#include ], [CFPreferencesCopyAppValue(NULL, NULL)], [gt_cv_func_CFPreferencesCopyAppValue=yes], [gt_cv_func_CFPreferencesCopyAppValue=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) fi dnl Check for API introduced in MacOS X 10.3. AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_TRY_LINK([#include ], [CFLocaleCopyCurrent();], [gt_cv_func_CFLocaleCopyCurrent=yes], [gt_cv_func_CFLocaleCopyCurrent=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFLocaleCopyCurrent = yes; then AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi AC_SUBST([INTL_MACOSX_LIBS]) ]) dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 42 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [ AC_PREREQ([2.50])dnl AC_REQUIRE([AM_NLS])dnl case "$am__api_version" in 1.[01234]) AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) ;; *) ;; esac INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "$1"; then AC_MSG_CHECKING([for intltool >= $1]) AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) fi AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi AC_SUBST([AM_DEFAULT_VERBOSITY]) INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;' AC_SUBST(INTLTOOL_V_MERGE) AC_SUBST(INTLTOOL__v_MERGE_) AC_SUBST(INTLTOOL__v_MERGE_0) INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' intltool__v_merge_options_0='-q' AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) AC_SUBST(intltool__v_merge_options_) AC_SUBST(intltool__v_merge_options_0) INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@' else INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir' fi INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' _IT_SUBST(INTLTOOL_DESKTOP_RULE) _IT_SUBST(INTLTOOL_DIRECTORY_RULE) _IT_SUBST(INTLTOOL_KEYS_RULE) _IT_SUBST(INTLTOOL_PROP_RULE) _IT_SUBST(INTLTOOL_OAF_RULE) _IT_SUBST(INTLTOOL_PONG_RULE) _IT_SUBST(INTLTOOL_SERVER_RULE) _IT_SUBST(INTLTOOL_SHEET_RULE) _IT_SUBST(INTLTOOL_SOUNDLIST_RULE) _IT_SUBST(INTLTOOL_UI_RULE) _IT_SUBST(INTLTOOL_XAM_RULE) _IT_SUBST(INTLTOOL_KBD_RULE) _IT_SUBST(INTLTOOL_XML_RULE) _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) _IT_SUBST(INTLTOOL_CAVES_RULE) _IT_SUBST(INTLTOOL_SCHEMAS_RULE) _IT_SUBST(INTLTOOL_THEME_RULE) _IT_SUBST(INTLTOOL_SERVICE_RULE) _IT_SUBST(INTLTOOL_POLICY_RULE) # Check the gettext tools to make sure they are GNU AC_PATH_PROG(XGETTEXT, xgettext) AC_PATH_PROG(MSGMERGE, msgmerge) AC_PATH_PROG(MSGFMT, msgfmt) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found]) fi AC_MSG_CHECKING([for perl >= 5.8.1]) $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then AC_MSG_ERROR([perl 5.8.1 is required for intltool]) else IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` AC_MSG_RESULT([$IT_PERL_VERSION]) fi if test "x$2" != "xno-xml"; then AC_MSG_CHECKING([for XML::Parser]) if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then AC_MSG_RESULT([ok]) else AC_MSG_ERROR([XML::Parser perl module is required for intltool]) fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]], [[extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr]])], [DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share dnl in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [DATADIRNAME=share], [DATADIRNAME=lib]) ;; *) [DATADIRNAME=lib] ;; esac]) fi AC_SUBST(DATADIRNAME) IT_PO_SUBDIR([po]) ]) # IT_PO_SUBDIR(DIRNAME) # --------------------- # All po subdirs have to be declared with this macro; the subdir "po" is # declared by IT_PROG_INTLTOOL. # AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. dnl dnl The following CONFIG_COMMANDS should be executed at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) fi rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" >"$1/stamp-it.tmp" [sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" ] [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.in" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # _IT_SUBST(VARIABLE) # ------------------- # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST # AC_DEFUN([_IT_SUBST], [ AC_SUBST([$1]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) ] ) # deprecated macros AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) # A hint is needed for aclocal from Automake <= 1.9.4: # AC_DEFUN([AC_PROG_INTLTOOL], ...) # lib-ld.m4 serial 4 (gettext-0.18) dnl Copyright (C) 1996-2003, 2009-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Subroutines of libtool.m4, dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision dnl with libtool.m4. dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], [# I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by GCC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]* | [A-Za-z]:[\\/]*)] [re_direlt='/[^/][^/]*/\.\./'] # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL([acl_cv_path_LD], [if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) LD="$acl_cv_path_LD" if test -n "$LD"; then AC_MSG_RESULT([$LD]) else AC_MSG_RESULT([no]) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) AC_LIB_PROG_LD_GNU ]) # lib-link.m4 serial 21 (gettext-0.18) dnl Copyright (C) 2001-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.54]) dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and dnl augments the CPPFLAGS variable. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) pushdef([Name],[translit([$1],[./-], [___])]) pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes popdef([NAME]) popdef([Name]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message]) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and dnl the ability to compile and link the specified testcode. The missing-message dnl defaults to 'no' and may contain additional hints for the user. dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) pushdef([Name],[translit([$1],[./-], [___])]) pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, dnl because these -l options might require -L options that are present in dnl LIBS. -l options benefit only from the -L options listed before it. dnl Otherwise, add it to the front of LIBS, because it may be a static dnl library that depends on another static library that is present in LIBS. dnl Static libraries benefit only from the static libraries listed after dnl it. case " $LIB[]NAME" in *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; *) LIBS="$LIB[]NAME $LIBS" ;; esac AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= LIB[]NAME[]_PREFIX= fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) popdef([NAME]) popdef([Name]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl acl_libext, dnl acl_shlibext, dnl acl_hardcode_libdir_flag_spec, dnl acl_hardcode_libdir_separator, dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ dnl Tell automake >= 1.10 to complain if config.rpath is missing. m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE([rpath], [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_FROMPACKAGE(name, package) dnl declares that libname comes from the given package. The configure file dnl will then not have a --with-libname-prefix option but a dnl --with-package-prefix option. Several libraries can come from the same dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar dnl macro call that searches for libname. AC_DEFUN([AC_LIB_FROMPACKAGE], [ pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) define([acl_frompackage_]NAME, [$2]) popdef([NAME]) pushdef([PACK],[$2]) pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) define([acl_libsinpackage_]PACKUP, m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$1]) popdef([PACKUP]) popdef([PACK]) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) dnl Autoconf >= 2.61 supports dots in --with options. pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH(P_A_C_K[-prefix], [[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi ]) dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= LIB[]NAME[]_PREFIX= dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been dnl computed. So it has to be reset here. HAVE_LIB[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" dnl The same code as in the loop below: dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$acl_hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi popdef([P_A_C_K]) popdef([PACKLIBS]) popdef([PACKUP]) popdef([PACK]) popdef([NAME]) ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) dnl For those cases where a variable contains several -L and -l options dnl referring to unknown libraries and directories, this macro determines the dnl necessary additional linker options for the runtime path. dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) dnl sets LDADDVAR to linker options needed together with LIBSVALUE. dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, dnl otherwise linking without libtool is assumed. AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ AC_REQUIRE([AC_LIB_RPATH]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) $1= if test "$enable_rpath" != no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode directories into the resulting dnl binary. rpathdirs= next= for opt in $2; do if test -n "$next"; then dir="$next" dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= else case $opt in -L) next=yes ;; -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= ;; *) next= ;; esac fi done if test "X$rpathdirs" != "X"; then if test -n ""$3""; then dnl libtool is used for linking. Use -R options. for dir in $rpathdirs; do $1="${$1}${$1:+ }-R$dir" done else dnl The linker is used for linking directly. if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user dnl must pass all path elements in one option. alldirs= for dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="$flag" else dnl The -rpath options are cumulative. for dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="${$1}${$1:+ }$flag" done fi fi fi fi fi AC_SUBST([$1]) ]) # lib-prefix.m4 serial 7 (gettext-0.18) dnl Copyright (C) 2001-2005, 2008-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't dnl require excessive bracketing. ifdef([AC_HELP_STRING], [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib-prefix], [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) dnl AC_LIB_PREPARE_MULTILIB creates dnl - a variable acl_libdirstem, containing the basename of the libdir, either dnl "lib" or "lib64" or "lib/64", dnl - a variable acl_libdirstem2, as a secondary possible value for dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or dnl "lib/amd64". AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib and lib64. dnl On glibc systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine dnl the compiler's default mode by looking at the compiler's library search dnl path. If at least one of its elements ends in /lib64 or points to a dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. dnl Otherwise we use the default, namely "lib". dnl On Solaris systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. AC_REQUIRE([AC_CANONICAL_HOST]) acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment dnl . dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the dnl symlink is missing, so we set acl_libdirstem2 too. AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], [AC_EGREP_CPP([sixtyfour bits], [ #ifdef _LP64 sixtyfour bits #endif ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) ]) if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" ]) # nls.m4 serial 5 (gettext-0.18) dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 1 (pkg-config-0.24) # # 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|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# 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. # # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) # only at the first occurence in configure.ac, so if the first place # it's called might be skipped (such as if it is within an "if", you # have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])# PKG_CHECK_MODULES # po.m4 serial 17 (gettext-0.18) dnl Copyright (C) 1995-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake AC_REQUIRE([AM_NLS])dnl dnl Release version of the gettext macros. This is used to ensure that dnl the gettext macros and po/Makefile.in.in are in sync. AC_SUBST([GETTEXT_MACRO_VERSION], [0.18]) dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. dnl Search for GNU msgfmt in the PATH. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. dnl The second test excludes FreeBSD msgfmt. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) dnl Test whether it is GNU msgfmt >= 0.15. changequote(,)dnl case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac changequote([,])dnl AC_SUBST([MSGFMT_015]) changequote(,)dnl case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac changequote([,])dnl AC_SUBST([GMSGFMT_015]) dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po dnl Test whether it is GNU xgettext >= 0.15. changequote(,)dnl case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac changequote([,])dnl AC_SUBST([XGETTEXT_015]) dnl Search for GNU msgmerge 0.11 or newer in the PATH. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) dnl Installation directories. dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we dnl have to define it here, so that it can be used in po/Makefile. test -n "$localedir" || localedir='${datadir}/locale' AC_SUBST([localedir]) dnl Support for AM_XGETTEXT_OPTION. test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) AC_CONFIG_COMMANDS([po-directories], [[ for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done]], [# Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" ]) ]) dnl Postprocesses a Makefile in a directory containing PO files. AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ # When this code is run, in config.status, two variables have already been # set: # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, # - LINGUAS is the value of the environment variable LINGUAS at configure # time. changequote(,)dnl # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Find a way to echo strings without interpreting backslash. if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then gt_echo='echo' else if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then gt_echo='printf %s\n' else echo_func () { cat < "$ac_file.tmp" if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` cat >> "$ac_file.tmp" < /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` cat >> "$ac_file.tmp" <> "$ac_file.tmp" <, 1996. AC_PREREQ([2.50]) # Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL([ac_cv_path_$1], [case "[$]$1" in [[\\/]]* | ?:[[\\/]]*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in ifelse([$5], , $PATH, [$5]); do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$][$1]) else AC_MSG_RESULT([no]) fi AC_SUBST([$1])dnl ]) # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 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 1 # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.11.3], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.3])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005, 2011 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 1 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 9 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, # 2010, 2011 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 # 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], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --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='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf 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. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/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"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008, 2009 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 16 # 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.62])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl dnl The `parallel-tests' driver may need to know about EXEEXT, so add the dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005, 2008, 2011 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 1 # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST(install_sh)]) # Copyright (C) 2003, 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])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2009 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_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .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 # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac 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, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 6 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006, 2011 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 1 # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # 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 # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( 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) 2009, 2011 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_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # (`yes' being less verbose, `no' or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [ --enable-silent-rules less verbose build output (undo: `make V=1') --disable-silent-rules verbose build output (undo: `make V=0')]) case $enable_silent_rules in yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few `make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using `$V' instead of `$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001, 2003, 2005, 2011 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 1 # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006, 2008, 2010 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_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005, 2012 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. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} 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 # Autoconf support for the Vala compiler # Copyright (C) 2008, 2009 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 # Check whether the Vala compiler exists in `PATH'. If it is found, the # variable VALAC is set. Optionally a minimum release number of the # compiler can be requested. # # AM_PROG_VALAC([MINIMUM-VERSION]) # -------------------------------- AC_DEFUN([AM_PROG_VALAC], [AC_PATH_PROG([VALAC], [valac], []) AS_IF([test -z "$VALAC"], [AC_MSG_WARN([No Vala compiler found. You will not be able to compile .vala source files.])], [AS_IF([test -n "$1"], [AC_MSG_CHECKING([$VALAC is at least version $1]) am__vala_version=`$VALAC --version | sed 's/Vala *//'` AS_VERSION_COMPARE([$1], ["$am__vala_version"], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]) AC_MSG_ERROR([Vala $1 not found.])])])]) ]) indicator-multiload-0.3/configure0000775000175000017500000101107412107670260014157 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.68 for indicator-multiload 0.3. # # Report bugs to . # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software # Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and mh21@mh21.de about $0: your system, including any error possibly output before $0: this message. Then install a modern shell, or manually $0: run the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" as_awk_strverscmp=' # Use only awk features that work with 7th edition Unix awk (1978). # My, what an old awk you have, Mr. Solaris! END { while (length(v1) && length(v2)) { # Set d1 to be the next thing to compare from v1, and likewise for d2. # Normally this is a single character, but if v1 and v2 contain digits, # compare them as integers and fractions as strverscmp does. if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) { # Split v1 and v2 into their leading digit string components d1 and d2, # and advance v1 and v2 past the leading digit strings. for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1) d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1) if (d1 ~ /^0/) { if (d2 ~ /^0/) { # Compare two fractions. while (d1 ~ /^0/ && d2 ~ /^0/) { d1 = substr(d1, 2); len1-- d2 = substr(d2, 2); len2-- } if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) { # The two components differ in length, and the common prefix # contains only leading zeros. Consider the longer to be less. d1 = -len1 d2 = -len2 } else { # Otherwise, compare as strings. d1 = "x" d1 d2 = "x" d2 } } else { # A fraction is less than an integer. exit 1 } } else { if (d2 ~ /^0/) { # An integer is greater than a fraction. exit 2 } else { # Compare two integers. d1 += 0 d2 += 0 } } } else { # The normal case, without worrying about digits. d1 = substr(v1, 1, 1); v1 = substr(v1, 2) d2 = substr(v2, 1, 1); v2 = substr(v2, 2) } if (d1 < d2) exit 1 if (d1 > d2) exit 2 } # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), # which mishandles some comparisons of empty strings to integers. if (length(v2)) exit 1 if (length(v1)) exit 2 } ' test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='indicator-multiload' PACKAGE_TARNAME='indicator-multiload' PACKAGE_VERSION='0.3' PACKAGE_STRING='indicator-multiload 0.3' PACKAGE_BUGREPORT='mh21@mh21.de' PACKAGE_URL='http://mh21.de/' gt_needs= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS MULTILOADDEPS_LIBS MULTILOADDEPS_CFLAGS GSETTINGS_RULES GLIB_COMPILE_SCHEMAS gsettingsschemadir PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG GSETTINGS_DISABLE_SCHEMAS_COMPILE GETTEXT_PACKAGE POSUB LTLIBINTL LIBINTL INTLLIBS LTLIBICONV LIBICONV INTL_MACOSX_LIBS EGREP GREP CPP host_os host_vendor host_cpu host build_os build_vendor build_cpu build XGETTEXT_EXTRA_OPTIONS XGETTEXT_015 GMSGFMT_015 MSGFMT_015 GETTEXT_MACRO_VERSION DATADIRNAME ALL_LINGUAS INTLTOOL_PERL GMSGFMT MSGFMT MSGMERGE XGETTEXT INTLTOOL_POLICY_RULE INTLTOOL_SERVICE_RULE INTLTOOL_THEME_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_CAVES_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_XML_RULE INTLTOOL_KBD_RULE INTLTOOL_XAM_RULE INTLTOOL_UI_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_SHEET_RULE INTLTOOL_SERVER_RULE INTLTOOL_PONG_RULE INTLTOOL_OAF_RULE INTLTOOL_PROP_RULE INTLTOOL_KEYS_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_DESKTOP_RULE intltool__v_merge_options_0 intltool__v_merge_options_ INTLTOOL_V_MERGE_OPTIONS INTLTOOL__v_MERGE_0 INTLTOOL__v_MERGE_ INTLTOOL_V_MERGE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE USE_NLS VALAC am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking enable_nls with_gnu_ld enable_rpath with_libiconv_prefix with_libintl_prefix enable_schemas_compile ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR MULTILOADDEPS_CFLAGS MULTILOADDEPS_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures indicator-multiload 0.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/indicator-multiload] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of indicator-multiload 0.3:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: `make V=1') --disable-silent-rules verbose build output (undo: `make V=0') --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --disable-nls do not use Native Language Support --disable-rpath do not hardcode runtime library paths --disable-schemas-compile Disable regeneration of gschemas.compiled on install Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld default=no --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path MULTILOADDEPS_CFLAGS C compiler flags for MULTILOADDEPS, overriding pkg-config MULTILOADDEPS_LIBS linker flags for MULTILOADDEPS, 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 . indicator-multiload home page: . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF indicator-multiload configure 0.3 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by indicator-multiload $as_me 0.3, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi gt_needs="$gt_needs " # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' ac_config_headers="$ac_config_headers config.h" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.11' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='indicator-multiload' VERSION='0.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"} # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi # Extract the first word of "valac", so it can be a program name with args. set dummy valac; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_VALAC+:} false; then : $as_echo_n "(cached) " >&6 else case $VALAC in [\\/]* | ?:[\\/]*) ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi VALAC=$ac_cv_path_VALAC if test -n "$VALAC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5 $as_echo "$VALAC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$VALAC"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;} else if test -n "0.12.0"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.12.0" >&5 $as_echo_n "checking $VALAC is at least version 0.12.0... " >&6; } am__vala_version=`$VALAC --version | sed 's/Vala *//'` as_arg_v1=0.12.0 as_arg_v2="$am__vala_version" awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null case $? in #( 1) : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } ;; #( 0) : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } ;; #( 2) : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "Vala 0.12.0 not found." "$LINENO" 5 ;; #( *) : ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } case "$am__api_version" in 1.01234) as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 ;; *) ;; esac INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n ""; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5 $as_echo_n "checking for intltool >= ... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || as_fn_error $? "Your intltool is too old. You need intltool or later." "$LINENO" 5 fi # Extract the first word of "intltool-update", so it can be a program name with args. set dummy intltool-update; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_UPDATE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE if test -n "$INTLTOOL_UPDATE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 $as_echo "$INTLTOOL_UPDATE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-merge", so it can be a program name with args. set dummy intltool-merge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_MERGE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE if test -n "$INTLTOOL_MERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 $as_echo "$INTLTOOL_MERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-extract", so it can be a program name with args. set dummy intltool-extract; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_EXTRACT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT if test -n "$INTLTOOL_EXTRACT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 $as_echo "$INTLTOOL_EXTRACT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' intltool__v_merge_options_0='-q' INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' else INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' fi INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' # Check the gettext tools to make sure they are GNU # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case $XGETTEXT in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XGETTEXT=$ac_cv_path_XGETTEXT if test -n "$XGETTEXT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGMERGE in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGMERGE=$ac_cv_path_MSGMERGE if test -n "$MSGMERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGFMT=$ac_cv_path_MSGFMT if test -n "$MSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_PERL+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_PERL in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 $as_echo "$INTLTOOL_PERL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_PERL"; then as_fn_error $? "perl not found" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 $as_echo_n "checking for perl >= 5.8.1... " >&6; } $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 else IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 $as_echo "$IT_PERL_VERSION" >&6; } fi if test "x" != "xno-xml"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 $as_echo_n "checking for XML::Parser... " >&6; } if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } else as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : DATADIRNAME=share else case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : DATADIRNAME=share else DATADIRNAME=lib fi ;; *) DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi GETTEXT_MACRO_VERSION=0.18 # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi rm -f messages.po case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$localedir" || localedir='${datadir}/locale' test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= ac_config_commands="$ac_config_commands po-directories" if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 $as_echo_n "checking for ld used by GCC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi fi LD="$acl_cv_path_LD" if test -n "$LD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${acl_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 &5 $as_echo "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 $as_echo_n "checking for shared library run path origin... " >&6; } if ${acl_cv_rpath+:} false; then : $as_echo_n "(cached) " >&6 else CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 $as_echo "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; : else enable_rpath=yes fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 $as_echo_n "checking for 64-bit host... " >&6; } if ${gl_cv_solaris_64bit+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _LP64 sixtyfour bits #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "sixtyfour bits" >/dev/null 2>&1; then : gl_cv_solaris_64bit=yes else gl_cv_solaris_64bit=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 $as_echo "$gl_cv_solaris_64bit" >&6; } if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBICONV= LTLIBICONV= INCICONV= LIBICONV_PREFIX= HAVE_LIBICONV= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='iconv ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" else LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ;; esac done fi else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFPreferencesCopyAppValue=yes else gt_cv_func_CFPreferencesCopyAppValue=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFLocaleCopyCurrent(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFLocaleCopyCurrent=yes else gt_cv_func_CFLocaleCopyCurrent=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } if test $gt_cv_func_CFLocaleCopyCurrent = yes; then $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi LIBINTL= LTLIBINTL= POSUB= case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 $as_echo_n "checking for GNU gettext in libc... " >&6; } if eval \${$gt_func_gnugettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libc=yes" else eval "$gt_func_gnugettext_libc=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$gt_func_gnugettext_libc { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 $as_echo_n "checking for iconv... " >&6; } if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 $as_echo_n "checking for working iconv... " >&6; } if ${am_cv_func_iconv_works+:} false; then : $as_echo_n "(cached) " >&6 else am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi if test "$cross_compiling" = yes; then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static const char input[] = "\263"; char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) return 1; } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_iconv_works=yes else am_cv_func_iconv_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi LIBS="$am_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 $as_echo "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then $as_echo "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 $as_echo_n "checking how to link with libiconv... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 $as_echo "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libintl-prefix was given. if test "${with_libintl_prefix+set}" = set; then : withval=$with_libintl_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBINTL= LTLIBINTL= INCINTL= LIBINTL_PREFIX= HAVE_LIBINTL= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='intl ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" else LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ;; esac done fi else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 $as_echo_n "checking for GNU gettext in libintl... " >&6; } if eval \${$gt_func_gnugettext_libintl+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libintl=yes" else eval "$gt_func_gnugettext_libintl=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" fi eval ac_res=\$$gt_func_gnugettext_libintl { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else LIBINTL= LTLIBINTL= INCINTL= fi if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then $as_echo "#define ENABLE_NLS 1" >>confdefs.h else USE_NLS=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 $as_echo_n "checking whether to use NLS... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } if test "$USE_NLS" = "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 $as_echo_n "checking where the gettext function comes from... " >&6; } if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 $as_echo "$gt_source" >&6; } fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 $as_echo_n "checking how to link with libintl... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 $as_echo "$LIBINTL" >&6; } for element in $INCINTL; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done fi $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h fi POSUB=po fi INTLLIBS="$LIBINTL" GETTEXT_PACKAGE=indicator-multiload cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF # Check whether --enable-schemas-compile was given. if test "${enable_schemas_compile+set}" = set; then : enableval=$enable_schemas_compile; case ${enableval} in yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;; esac fi if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.16 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi gsettingsschemadir=${datadir}/glib-2.0/schemas if test x$cross_compiling != xyes; then GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` else # Extract the first word of "glib-compile-schemas", so it can be a program name with args. set dummy glib-compile-schemas; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then : $as_echo_n "(cached) " >&6 else case $GLIB_COMPILE_SCHEMAS in [\\/]* | ?:[\\/]*) ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS if test -n "$GLIB_COMPILE_SCHEMAS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5 else : fi GSETTINGS_RULES=' .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas mostlyclean-am: clean-gsettings-schemas gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) %.gschema.valid: %.gschema.xml $(gsettings__enum_file) $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@ all-am: $(gsettings_SCHEMAS:.xml=.valid) uninstall-am: uninstall-gsettings-schemas install-data-am: install-gsettings-schemas .SECONDARY: $(gsettings_SCHEMAS) install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) @$(NORMAL_INSTALL) if test -n "$^"; then \ test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ fi uninstall-gsettings-schemas: @$(NORMAL_UNINSTALL) @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ test -n "$$files" || exit 0; \ echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) clean-gsettings-schemas: rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) ifdef gsettings_ENUM_NAMESPACE $(gsettings__enum_file): $(gsettings_ENUM_FILES) $(AM_V_GEN) glib-mkenums --comments '\'''\'' --fhead "" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " " --vtail " " --ftail "" $^ > $@.tmp && mv $@.tmp $@ endif ' pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MULTILOADDEPS" >&5 $as_echo_n "checking for MULTILOADDEPS... " >&6; } if test -n "$MULTILOADDEPS_CFLAGS"; then pkg_cv_MULTILOADDEPS_CFLAGS="$MULTILOADDEPS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 cairo appindicator3-0.1 glib-2.0 gio-unix-2.0 gmodule-2.0 libgtop-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 cairo appindicator3-0.1 glib-2.0 gio-unix-2.0 gmodule-2.0 libgtop-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MULTILOADDEPS_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 cairo appindicator3-0.1 glib-2.0 gio-unix-2.0 gmodule-2.0 libgtop-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MULTILOADDEPS_LIBS"; then pkg_cv_MULTILOADDEPS_LIBS="$MULTILOADDEPS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 cairo appindicator3-0.1 glib-2.0 gio-unix-2.0 gmodule-2.0 libgtop-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 cairo appindicator3-0.1 glib-2.0 gio-unix-2.0 gmodule-2.0 libgtop-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MULTILOADDEPS_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 cairo appindicator3-0.1 glib-2.0 gio-unix-2.0 gmodule-2.0 libgtop-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MULTILOADDEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 cairo appindicator3-0.1 glib-2.0 gio-unix-2.0 gmodule-2.0 libgtop-2.0" 2>&1` else MULTILOADDEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 cairo appindicator3-0.1 glib-2.0 gio-unix-2.0 gmodule-2.0 libgtop-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MULTILOADDEPS_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk+-3.0 cairo appindicator3-0.1 glib-2.0 gio-unix-2.0 gmodule-2.0 libgtop-2.0) were not met: $MULTILOADDEPS_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables MULTILOADDEPS_CFLAGS and MULTILOADDEPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables MULTILOADDEPS_CFLAGS and MULTILOADDEPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else MULTILOADDEPS_CFLAGS=$pkg_cv_MULTILOADDEPS_CFLAGS MULTILOADDEPS_LIBS=$pkg_cv_MULTILOADDEPS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/preferences.ui data/de.mh21.indicator.multiload.gschema.xml.in po/Makefile.in" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi ac_config_commands="$ac_config_commands po/stamp-it" : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by indicator-multiload $as_me 0.3, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to . indicator-multiload home page: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ indicator-multiload config.status 0.3 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" Copyright (C) 2010 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; "data/preferences.ui") CONFIG_FILES="$CONFIG_FILES data/preferences.ui" ;; "data/de.mh21.indicator.multiload.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/de.mh21.indicator.multiload.gschema.xml.in" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf 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. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "po-directories":C) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; "po/stamp-it":C) if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 fi rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" >"po/stamp-it.tmp" sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.in" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi indicator-multiload-0.3/README0000664000175000017500000000104212107670161013121 00000000000000Reimplementation of the gnome-applets multiload applet in vala and for Canonicals appindicators. Strings have been kept the same as in gnome-applets where possible to reduce translation work. For more advanced settings such as which variables are shown and whether graphs autoscale, open dconf-editor and navigate to /apps/indicators/multiload/. Expressions are strings with embedded code within $(...). Variables are of the form provider.variable, a list is available from indicator-multiload -l. You can use +, -, *, and / for calculations. indicator-multiload-0.3/data/0000775000175000017500000000000012107670273013241 500000000000000indicator-multiload-0.3/data/de.mh21.indicator.multiload.gschema.xml.in.in0000664000175000017500000007273712107670161023441 00000000000000 [ "cpu", "mem", "net", "swap", "load", "disk" ] <_summary>Available graphs 500 <_summary>Applet refresh rate in milliseconds 40 <_summary>Width of the graphs in pixels. 22 <_summary>Height of the graphs in pixels. "" <_summary>The desktop description file to execute as the system monitor true <_summary>Automatically start on session startup <_default l10n="messages">[ "CPU $(percent(cpu.inuse)) Mem $(size(mem.user)) Net down $(speed(net.down)) up $(speed(net.up)) Swap $(size(swap.used)) Load $(decimals(load.avg,2)) Disk read $(speed(disk.read)) write $(speed(disk.write))" ] <_summary>Information in the accessible description of the indicator [] <_summary>Information shown in the indicator itself -1 <_summary>Index of the current information shown in the indicator itself <_default l10n="messages">[ "CPU: $(percent(cpu.inuse)), iowait $(percent(cpu.io))", "Mem: $(size(mem.user)), cache $(size(mem.cached))", "Net: down $(speed(net.down)), up $(speed(net.up))", "Swap: $(size(swap.used))", "Load: $(decimals(load.avg,2))", "Disk: read $(speed(disk.read)), write $(speed(disk.write))" ] <_summary>Information shown as menu entries 1 Version of the settings for backwards compatibility 16384 <_summary>Graph alpha value "#000000" <_summary>Graph background color true <_summary>Graph visibility "1" <_summary>Minimum value for upper graph edge "0" <_summary>Maximum value for upper graph edge, zero means unlimited "1" <_summary>Number of values used for smooth graph scaling [ "custom1" ] <_summary>Available traces "#0072b3" <_summary>Trace color "$(cpu.inuse)" <_summary>Trace expression true <_summary>Trace visibility 16384 <_summary>Graph alpha value "#000000" <_summary>Graph background color true <_summary>Graph visibility "1" <_summary>Minimum value for upper graph edge "0" <_summary>Maximum value for upper graph edge, zero means unlimited "1" <_summary>Number of values used for smooth graph scaling [ "cpu1", "cpu2", "cpu3", "cpu4" ] <_summary>Available traces 16384 <_summary>Graph alpha value "#000000" <_summary>Graph background color false <_summary>Graph visibility "$(mem.total)" <_summary>Minimum value for upper graph edge "0" <_summary>Maximum value for upper graph edge, zero means unlimited "1" <_summary>Number of values used for smooth graph scaling [ "mem1", "mem2", "mem3", "mem4" ] <_summary>Available traces 16384 <_summary>Graph alpha value "#000000" <_summary>Graph background color false <_summary>Graph visibility "5000" <_summary>Minimum value for upper graph edge "0" <_summary>Maximum value for upper graph edge, zero means unlimited "10" <_summary>Number of values used for smooth graph scaling [ "net1", "net2", "net3" ] <_summary>Available traces 16384 <_summary>Graph alpha value "#000000" <_summary>Graph background color false <_summary>Graph visibility "$(swap.total)" <_summary>Minimum value for upper graph edge "0" <_summary>Maximum value for upper graph edge, zero means unlimited "1" <_summary>Number of values used for smooth graph scaling [ "swap1" ] <_summary>Available traces 16384 <_summary>Graph alpha value "#000000" <_summary>Graph background color false <_summary>Graph visibility "$(load.cpus)" <_summary>Minimum value for upper graph edge "$(load.cpus)" <_summary>Maximum value for upper graph edge, zero means unlimited "1" <_summary>Number of values used for smooth graph scaling [ "load1" ] <_summary>Available traces 16384 <_summary>Graph alpha value "#000000" <_summary>Graph background color false <_summary>Graph visibility "1000" <_summary>Minimum value for upper graph edge "0" <_summary>Maximum value for upper graph edge, zero means unlimited "10" <_summary>Number of values used for smooth graph scaling [ "disk1", "disk2" ] <_summary>Traces shown "#0072b3" <_summary>Trace color "$(cpu.user)" <_summary>Trace expression true <_summary>Trace visibility "#0092e6" <_summary>Trace color "$(cpu.sys)" <_summary>Trace expression true <_summary>Trace visibility "#00a3ff" <_summary>Trace color "$(cpu.nice)" <_summary>Trace expression true <_summary>Trace visibility "#002f3d" <_summary>Trace color "$(cpu.io)" <_summary>Trace expression true <_summary>Trace visibility "#00b35b" <_summary>Trace color "$(mem.user)" <_summary>Trace expression true <_summary>Trace visibility "#00e675" <_summary>Trace color "$(mem.shared)" <_summary>Trace expression true <_summary>Trace visibility "#00ff82" <_summary>Trace color "$(mem.buffer)" <_summary>Trace expression true <_summary>Trace visibility "#aaf5d0" <_summary>Trace color "$(mem.cached)" <_summary>Trace expression true <_summary>Trace visibility "#fce94f" <_summary>Trace color "$(net.down)" <_summary>Trace expression true <_summary>Trace visibility "#edd400" <_summary>Trace color "$(net.up)" <_summary>Trace expression true <_summary>Trace visibility "#c4a000" <_summary>Trace color "$(net.local)" <_summary>Trace expression true <_summary>Trace visibility "#8b00c3" <_summary>Trace color "$(swap.used)" <_summary>Trace expression true <_summary>Trace visibility "#d50000" <_summary>Trace color "$(load.avg)" <_summary>Trace expression true <_summary>Trace visibility "#c65000" <_summary>Trace color "$(disk.read)" <_summary>Trace expression true <_summary>Trace visibility "#ff6700" <_summary>Trace color "$(disk.write)" <_summary>Trace expression true <_summary>Trace visibility 16384 Deprecated 16384 Deprecated 16384 Deprecated 16384 Deprecated 16384 Deprecated 16384 Deprecated true Deprecated false Deprecated false Deprecated false Deprecated false Deprecated false Deprecated "#0072b3" Deprecated "#0092e6" Deprecated "#00a3ff" Deprecated "#002f3d" Deprecated "#000000" Deprecated "#00b35b" Deprecated "#00e675" Deprecated "#00ff82" Deprecated "#AAF5D0" Deprecated "#000000" Deprecated "#fce94f" Deprecated "#edd400" Deprecated "#c4a000" Deprecated "#000000" Deprecated "#8b00c3" Deprecated "#000000" Deprecated "#d50000" Deprecated "#000000" Deprecated "#C65000" Deprecated "#FF6700" Deprecated "#000000" Deprecated 500 Deprecated 40 Deprecated 22 Deprecated "gnome-system-monitor.desktop" Deprecated true Deprecated indicator-multiload-0.3/data/Makefile.in0000664000175000017500000003462412107670261015234 00000000000000# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = data DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/de.mh21.indicator.multiload.gschema.xml.in.in \ $(srcdir)/preferences.ui.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 = preferences.ui \ de.mh21.indicator.multiload.gschema.xml.in CONFIG_CLEAN_VPATH_FILES = AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ 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 = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(uidir)" DATA = $(desktop_DATA) $(nodist_ui_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ MULTILOADDEPS_CFLAGS = @MULTILOADDEPS_CFLAGS@ MULTILOADDEPS_LIBS = @MULTILOADDEPS_LIBS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALAC = @VALAC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gsettingsschemadir = @gsettingsschemadir@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ desktopdir = $(datadir)/applications desktop_in_files = indicator-multiload.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) gsettings_SCHEMAS = de.mh21.indicator.multiload.gschema.xml uidir = $(pkgdatadir) nodist_ui_DATA = preferences.ui EXTRA_DIST = \ $(desktop_in_files) \ preferences.ui.in \ de.mh21.indicator.multiload.gschema.xml.in.in CLEANFILES = \ $(desktop_DATA) \ $(gsettings_SCHEMAS) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/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: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): preferences.ui: $(top_builddir)/config.status $(srcdir)/preferences.ui.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ de.mh21.indicator.multiload.gschema.xml.in: $(top_builddir)/config.status $(srcdir)/de.mh21.indicator.multiload.gschema.xml.in.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)" @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) install-nodist_uiDATA: $(nodist_ui_DATA) @$(NORMAL_INSTALL) test -z "$(uidir)" || $(MKDIR_P) "$(DESTDIR)$(uidir)" @list='$(nodist_ui_DATA)'; test -n "$(uidir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(uidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(uidir)" || exit $$?; \ done uninstall-nodist_uiDATA: @$(NORMAL_UNINSTALL) @list='$(nodist_ui_DATA)'; test -n "$(uidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(uidir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(uidir)"; 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: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-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 html-am: info: info-am info-am: install-data-am: install-desktopDATA install-nodist_uiDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -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-nodist_uiDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: install-am install-strip uninstall-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-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-nodist_uiDATA install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-desktopDATA \ uninstall-hook uninstall-nodist_uiDATA @INTLTOOL_DESKTOP_RULE@ @INTLTOOL_XML_NOMERGE_RULE@ @GSETTINGS_RULES@ uninstall-hook: -rmdir $(pkgdatadir) # 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: indicator-multiload-0.3/data/preferences.ui.in0000664000175000017500000030024712107670161016430 00000000000000 False 5 dialog System Load Indicator @PACKAGE_VERSION@ © 2011 Michael Hofmann A system load monitor capable of displaying graphs for CPU, ram, and swap space use, plus network traffic. Michael Hofmann <mh21@mh21.de> Martin Baulig <martin@home-of-linux.org> Todd Kulesza <fflewddur@dropline.net> Benoît Dejean <TazForEver@dlfp.org> Davyd Madeley <davyd@madeley.id.au> translator-credits utilities-system-monitor True False 2 True False end False True end 0 False 5 500 300 dialog True False 2 True False end gtk-close True True True False True False False 0 gtk-revert-to-saved True True True False True False False 1 True False True end 0 True False True True automatic automatic True True itemstore False False True 0 True 0 True True 6 0 True False 6 start gtk-add True True True False True False False 0 gtk-remove True True True False True False False 1 gtk-edit True True True False True False False 2 gtk-go-up True True True False True False False 3 gtk-go-down True True True False True False False 4 False True 6 1 True True 6 1 button1 button2 False True False False _Open System Monitor True True False False True False False True False False _Preferences True True False False _About True True False False _Quit True False 5 dialog True False 6 True False 6 6 6 6 True False 18 True False 6 True False 0 Monitored Resources True True 0 True False 12 True False 6 _Processor True True False False True True True True 0 _Memory True True False False True True True True 1 _Network True True False False True True True True 2 S_wap Space True True False False True True True True 3 _Load True True False False True True True True 4 _Harddisk True True False False True True True True 5 True True 1 True True 0 True False 6 True False 0 Options True True 0 True False 12 True False 3 3 6 6 True False 0 System m_onitor width: True 1 2 GTK_FILL True False 1.1175870895385742e-08 Sys_tem monitor update interval: True 2 3 GTK_FILL True True True False False True True widthadjustment 1 2 1 2 GTK_FILL True False 0 pixels 2 3 1 2 True True True False False True True speedadjustment 1 2 2 3 GTK_FILL True False 0 milliseconds 2 3 2 3 True True False False True 1 2 GTK_FILL True False 0 _Autostart: True autostart True True 1 True True 1 True False 6 True False 0 Colors True True 0 True False 12 True True True False 12 12 12 12 True False 2 5 12 6 True True True False True #000000000000 4 5 GTK_EXPAND GTK_EXPAND True True True False #000000000000 3 4 GTK_EXPAND GTK_EXPAND True True True False #000000000000 2 3 GTK_EXPAND GTK_EXPAND True True True False #000000000000 1 2 GTK_EXPAND GTK_EXPAND True True True False #000000000000 GTK_EXPAND GTK_EXPAND True False _User True cpu1_color 1 2 True False S_ystem True cpu2_color 1 2 1 2 True False N_ice True cpu3_color 2 3 1 2 True False I_OWait True cpu4_color 3 4 1 2 True False I_dle True cpu_background_color 4 5 1 2 True False Processor False True False 12 12 12 12 True False 2 5 12 6 True True True False #000000000000 GTK_EXPAND GTK_EXPAND True True True False #000000000000 1 2 GTK_EXPAND GTK_EXPAND True True True False #000000000000 2 3 GTK_EXPAND GTK_EXPAND True True True False #000000000000 3 4 GTK_EXPAND GTK_EXPAND True True True False True #000000000000 4 5 GTK_EXPAND GTK_EXPAND True False _User True mem1_color 1 2 True False Sh_ared True mem2_color 1 2 1 2 True False _Buffers True mem3_color 2 3 1 2 True False Cach_ed True mem4_color 3 4 1 2 True False F_ree True mem_background_color 4 5 1 2 1 True False Memory 1 False True False 12 12 12 12 True False 2 4 12 6 True True True False #000000000000 GTK_EXPAND GTK_EXPAND True True True False #000000000000 1 2 GTK_EXPAND GTK_EXPAND True True True False #000000000000 2 3 GTK_EXPAND GTK_EXPAND True True True False True #000000000000 3 4 GTK_EXPAND GTK_EXPAND True False _In True net1_color 1 2 True False _Out True net2_color 1 2 1 2 True False _Local True net3_color 2 3 1 2 True False _Background True net_background_color 3 4 1 2 2 True False Network 2 False True False 12 12 12 12 True False 2 2 12 6 True True True False #000000000000 GTK_EXPAND GTK_EXPAND True True True False True #000000000000 1 2 GTK_EXPAND GTK_EXPAND True False _Used True swap1_color 1 2 True False _Free True swap_background_color 1 2 1 2 3 True False Swap Space 3 False True False 12 12 12 12 True False 2 2 12 6 True True True False #000000000000 GTK_EXPAND GTK_EXPAND True True True False True #000000000000 1 2 GTK_EXPAND GTK_EXPAND True False _Average True load1_color 1 2 True False _Background True load_background_color 1 2 1 2 4 True False Load 4 False True False 12 12 12 12 True False 2 3 12 6 True True True False #000000000000 GTK_EXPAND GTK_EXPAND True True True False #000000000000 1 2 GTK_EXPAND GTK_EXPAND True True True False True #000000000000 2 3 GTK_EXPAND GTK_EXPAND True False _Read True disk1_color 1 2 True False _Write True disk2_color 1 2 1 2 True False _Background True disk_background_color 2 3 1 2 5 True False Harddisk 5 False True True 1 True True 2 True True 0 True False end Menu items... True True True False False False 0 True gtk-close True True True False True False False 2 False True end 1 menuitems close 50 10000 50 500 10 1000 5 50 indicator-multiload-0.3/data/indicator-multiload.desktop.in0000664000175000017500000000044312107670161021122 00000000000000[Desktop Entry] _Name=System Load Indicator _Comment=A system load monitor capable of displaying graphs for CPU, ram, and swap space use, plus network traffic. Exec=indicator-multiload Terminal=false Type=Application StartupNotify=true Icon=utilities-system-monitor Categories=GNOME;System; indicator-multiload-0.3/data/Makefile.am0000664000175000017500000000102412107670161015206 00000000000000@INTLTOOL_DESKTOP_RULE@ desktopdir = $(datadir)/applications desktop_in_files = indicator-multiload.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) @INTLTOOL_XML_NOMERGE_RULE@ @GSETTINGS_RULES@ gsettings_SCHEMAS = de.mh21.indicator.multiload.gschema.xml uidir = $(pkgdatadir) nodist_ui_DATA = preferences.ui EXTRA_DIST = \ $(desktop_in_files) \ preferences.ui.in \ de.mh21.indicator.multiload.gschema.xml.in.in CLEANFILES = \ $(desktop_DATA) \ $(gsettings_SCHEMAS) uninstall-hook: -rmdir $(pkgdatadir) indicator-multiload-0.3/install-sh0000755000175000017500000003325612107670261014260 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-01-19.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 # Protect names problematic for `test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for `test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for `test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: indicator-multiload-0.3/Makefile.am0000664000175000017500000000345012107670161014302 00000000000000SUBDIRS = src data po multiloaddocdir = ${datadir}/doc/indicator-multiload multiloaddoc_DATA = \ COPYING \ AUTHORS \ TODO \ HACKING EXTRA_DIST = \ $(multiloaddoc_DATA) \ autogen.sh uninstall-hook: -rmdir $(multiloaddocdir) test-run: -rm -rf local-xdg-data-dir -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc src/indicator-multiload -rm -rf local-xdg-data-dir test-debug: -rm -rf local-xdg-data-dir -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc gdb src/indicator-multiload -rm -rf local-xdg-data-dir test-valgrind: -rm -rf local-xdg-data-dir -mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload -ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas -ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload -glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas -XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 --show-reachable=yes --log-file=vgdump src/indicator-multiload -rm -rf local-xdg-data-dir