alleyoop-0.9.8/0000755000175000001440000000000011673145660010362 500000000000000alleyoop-0.9.8/install-sh0000755000175000001440000003253711673145625012321 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.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 shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # Protect names starting with `-'. case $dst in -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; -*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: alleyoop-0.9.8/autogen.sh0000755000175000001440000000103011276130505012264 00000000000000#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="Alleyoop" REQUIRED_AUTOMAKE_VERSION=1.6 (test -f $srcdir/configure.in \ && test -f $srcdir/ChangeLog \ && test -d $srcdir/src) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo " top-level $PKG_NAME directory" exit 1 } which gnome-autogen.sh || { echo "You need to install gnome-common from the GNOME CVS" exit 1 } USE_GNOME2_MACROS=1 . gnome-autogen.sh alleyoop-0.9.8/config.guess0000755000175000001440000013031111673145625012622 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 # Free Software Foundation, Inc. timestamp='2009-11-20' # 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, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # 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 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 case "${UNAME_MACHINE}" in i?86) test -z "$VENDOR" && VENDOR=pc ;; *) test -z "$VENDOR" && VENDOR=unknown ;; esac test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse # 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 tupples: *-*-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}-${VENDOR}-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-${VENDOR}-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-${VENDOR}-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-${VENDOR}-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-${VENDOR}-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'` exit ;; 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-${VENDOR}-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-${VENDOR}-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-${VENDOR}-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-${VENDOR}-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-${VENDOR}-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:*:[456]) 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}-${VENDOR}-osf1mk else echo ${UNAME_MACHINE}-${VENDOR}-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-${VENDOR}-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-${VENDOR}-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-${VENDOR}-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*: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-${VENDOR}-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-${VENDOR}-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-${VENDOR}-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-${VENDOR}-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-${VENDOR}-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-${VENDOR}-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-${VENDOR}-`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 ;; 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}-${VENDOR}-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}-${VENDOR}-linux-gnu else echo ${UNAME_MACHINE}-${VENDOR}-linux-gnueabi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-${VENDOR}-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}-${VENDOR}-linux-${LIBC}" exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-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}-${VENDOR}-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-${VENDOR}-linux-gnu exit ;; padre:Linux:*:*) echo sparc-${VENDOR}-linux-gnu exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-${VENDOR}-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-${VENDOR}-linux-gnu ;; PA8*) echo hppa2.0-${VENDOR}-linux-gnu ;; *) echo hppa-${VENDOR}-linux-gnu ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-${VENDOR}-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-${VENDOR}-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-${VENDOR}-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-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}-${VENDOR}-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-${VENDOR}-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-${VENDOR}-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}-${VENDOR}-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-${VENDOR}-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-${VENDOR}-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-${VENDOR}-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-${VENDOR}-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-${VENDOR}-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-${VENDOR}-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 ;; 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}-${VENDOR}-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-${VENDOR}-tops10 exit ;; *:TENEX:*:*) echo pdp10-${VENDOR}-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-${VENDOR}-tops20 exit ;; *:ITS:*:*) echo pdp10-${VENDOR}-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-${VENDOR}-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 ;; 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: alleyoop-0.9.8/depcomp0000755000175000001440000004426711673145625011675 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 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 outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi 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 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. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. 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" ;; #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" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "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: alleyoop-0.9.8/Makefile.am0000644000175000001440000000146111276130505012327 00000000000000## Process this file with automake to produce Makefile.in SUBDIRS = src po EXTRA_DIST = \ autogen.sh \ alleyoop.glade \ alleyoop.gladep \ intltool-merge.in \ intltool-update.in \ intltool-extract.in DISTCLEANFILES = \ intltool-merge \ intltool-update \ intltool-extract install-data-local: @$(NORMAL_INSTALL) if test -d $(srcdir)/pixmaps; then \ $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ for pixmap in $(srcdir)/pixmaps/*; do \ if test -f $$pixmap; then \ $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ fi \ done \ fi dist-hook: if test -d pixmaps; then \ mkdir $(distdir)/pixmaps; \ for pixmap in pixmaps/*; do \ if test -f $$pixmap; then \ cp -p $$pixmap $(distdir)/pixmaps; \ fi \ done \ fi alleyoop-0.9.8/config.h.in0000644000175000001440000000503411673145624012327 00000000000000/* config.h.in. Generated from configure.in by autoheader. */ #undef ENABLE_NLS #undef HAVE_CATGETS #undef HAVE_GETTEXT #undef GETTEXT_PACKAGE #undef HAVE_LC_MESSAGES #undef HAVE_STPCPY #undef HAVE_LIBSM /* Path to the GNU/Emacs editor client. */ #undef EMACSCLIENT_PATH /* Path to the GNU/Emacs editor. */ #undef EMACS_PATH /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* Enable the use of vgstrpool.c (an attempt at keeping memory usage down). */ #undef ENABLE_STRPOOL /* Package name for gettext */ #undef GETTEXT_PACKAGE /* Path to the GNOME vim editor. */ #undef GVIM_PATH /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Path to a ldd program */ #undef LDD_PATH /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Path to a valgrind program */ #undef VALGRIND_PATH /* Version number of package */ #undef VERSION /* Path to the XEmacs editor. */ #undef XEMACS_PATH alleyoop-0.9.8/Makefile.in0000644000175000001440000005674211673145625012366 00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ TODO acconfig.h config.guess config.sub depcomp install-sh \ missing mkinstalldirs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in 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 = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive 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 = \ { test ! -d "$(distdir)" \ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr "$(distdir)"; }; } am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EMACSCLIENT = @EMACSCLIENT@ EXEEXT = @EXEEXT@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ GLIB_LIBS = @GLIB_LIBS@ GLIB_MKENUMS = @GLIB_MKENUMS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GOBJECT_QUERY = @GOBJECT_QUERY@ GREP = @GREP@ GVIM = @GVIM@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ LDD = @LDD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ 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@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ XEMACS = @XEMACS@ XGETTEXT = @XGETTEXT@ 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@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ 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 po EXTRA_DIST = \ autogen.sh \ alleyoop.glade \ alleyoop.gladep \ intltool-merge.in \ intltool-update.in \ intltool-extract.in DISTCLEANFILES = \ intltool-merge \ intltool-update \ intltool-extract all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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; \ $(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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(top_srcdir)/acconfig.h ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(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 $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -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 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) 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.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" \ $(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: @$(am__cd) '$(distuninstallcheck_dir)' \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -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." 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-data-local install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ ctags-recursive install-am install-strip tags-recursive .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-hook 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-data-local install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ tags-recursive uninstall uninstall-am install-data-local: @$(NORMAL_INSTALL) if test -d $(srcdir)/pixmaps; then \ $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ for pixmap in $(srcdir)/pixmaps/*; do \ if test -f $$pixmap; then \ $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ fi \ done \ fi dist-hook: if test -d pixmaps; then \ mkdir $(distdir)/pixmaps; \ for pixmap in pixmaps/*; do \ if test -f $$pixmap; then \ cp -p $$pixmap $(distdir)/pixmaps; \ fi \ done \ fi # 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: alleyoop-0.9.8/config.sub0000755000175000001440000010316711673145625012276 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 # Free Software Foundation, Inc. timestamp='2009-11-20' # 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, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # 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 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-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/'` ;; *) 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 \ | 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 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | 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 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | 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 | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | ubicom32 \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12 | picochip) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-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-* \ | 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-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | 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-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | 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-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | 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-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | 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 ;; 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) 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'm not sure what "Sysv32" means. Should this be sysv3.2? 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-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; 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 ;; 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) basic_machine=powerpc-unknown ;; ppc-*) 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 ;; 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 ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tile*) basic_machine=tile-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 ;; 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* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -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 ;; -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 ;; # 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 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; 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: alleyoop-0.9.8/intltool-update.in0000644000175000001440000000000011673145622013742 00000000000000alleyoop-0.9.8/mkinstalldirs0000755000175000001440000000672211673145625013120 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2009-04-28.21; # UTC # Original author: Noah Friedman # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' IFS=" "" $nl" errstatus=0 dirmode= usage="\ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... Create each directory DIR (with mode MODE, if specified), including all leading file name components. Report bugs to ." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" exit $? ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --version) echo "$0 $scriptversion" exit $? ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and # mkdir -p a/c at the same time, both will detect that a is missing, # one will create a, then the other will try to create a and die with # a "File exists" error. This is a problem when calling mkinstalldirs # from a parallel make. We use --version in the probe to restrict # ourselves to GNU mkdir, which is thread-safe. case $dirmode in '') if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. test -d ./-p && rmdir ./-p test -d ./--version && rmdir ./--version fi ;; *) if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" else # Clean up after NextStep and OpenStep mkdir. for d in ./-m ./-p ./--version "./$dirmode"; do test -d $d && rmdir $d done fi ;; esac for file do case $file in /*) pathcomp=/ ;; *) pathcomp= ;; esac oIFS=$IFS IFS=/ set fnord $file shift IFS=$oIFS for d do test "x$d" = x && continue pathcomp=$pathcomp$d case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr= chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp=$pathcomp/ done done exit $errstatus # 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: alleyoop-0.9.8/AUTHORS0000644000175000001440000000004311276130505011336 00000000000000Jeffrey Stedfast alleyoop-0.9.8/configure.in0000644000175000001440000000545111673145611012614 00000000000000dnl Process this file with autoconf to produce a configure script. AC_INIT(configure.in) AM_INIT_AUTOMAKE(alleyoop, 0.9.8) AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) AC_CANONICAL_HOST AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC AC_ARG_PROGRAM AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET GETTEXT_PACKAGE=alleyoop AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Package name for gettext]) AM_GLIB_GNU_GETTEXT IT_PROG_INTLTOOL([0.35.0]) dnl look for the valgrind program AC_PATH_PROG(VALGRIND, valgrind, not-found, /usr/bin $PATH) if test "x$VALGRIND" == "xnot-found"; then AC_MSG_ERROR(You need valgrind installed in order to build Alleyoop.) fi AC_DEFINE_UNQUOTED(VALGRIND_PATH, "$VALGRIND", [Path to a valgrind program]) dnl look for the ldd program AC_PATH_PROG(LDD, ldd, not-found, /usr/bin $PATH) if test "x$LDD" == "xnot-found"; then AC_MSG_ERROR(You need ldd installed in order to build Alleyoop.) fi AC_DEFINE_UNQUOTED(LDD_PATH, "$LDD", [Path to a ldd program]) dnl look for emacsclient AC_PATH_PROG(EMACSCLIENT, emacsclient, emacsclient, /usr/bin $PATH) AC_DEFINE_UNQUOTED(EMACSCLIENT_PATH, "$EMACSCLIENT", [Path to the GNU/Emacs editor client.]) dnl look for my favourite editor, emacs AC_PATH_PROG(EMACS, emacs, emacs, /usr/bin $PATH) AC_DEFINE_UNQUOTED(EMACS_PATH, "$EMACS", [Path to the GNU/Emacs editor.]) dnl look for next favourite editor, xemacs AC_PATH_PROG(XEMACS, xemacs, xemacs, /usr/bin $PATH) AC_DEFINE_UNQUOTED(XEMACS_PATH, "$XEMACS", [Path to the XEmacs editor.]) dnl look for a friends favourite editor, gvim AC_PATH_PROG(GVIM, gvim, gvim, /usr/bin $PATH) AC_DEFINE_UNQUOTED(GVIM_PATH, "$GVIM", [Path to the GNOME vim editor.]) AM_PATH_GLIB_2_0 dnl we need gconftool-2 in order to install the schema AC_PATH_PROG(GCONFTOOL, gconftool-2, no) if test "x$GCONFTOOL" = "xno"; then AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf]) fi AM_GCONF_SOURCE_2 AC_ARG_ENABLE(deprecated, AC_HELP_STRING([--disable-deprecated], [Disable the usage of deprecated Gtk/GNOME widgets]), , enable_deprecated="yes") if test "x$enable_deprecated" = "xno"; then DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED" else DISABLE_DEPRECATED="" fi AC_SUBST(DISABLE_DEPRECATED) AC_ARG_ENABLE(vgstrpool, AC_HELP_STRING([--enable-vgstrpool], [Enable the use of string pools.]), , enable_vgstrpool="yes") if test "x$enable_vgstrpool" = "xyes"; then AC_DEFINE(ENABLE_STRPOOL,1,[Enable the use of vgstrpool.c (an attempt at keeping memory usage down).]) fi PKG_CHECK_MODULES(GNOME, glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0) AC_SUBST(GNOME_CFLAGS) AC_SUBST(GNOME_LIBS) CFLAGS="$CFLAGS -fno-strict-aliasing" AC_SUBST(CFLAGS) AC_OUTPUT([ Makefile src/Makefile po/Makefile.in ]) alleyoop-0.9.8/alleyoop.glade0000644000175000001440000016506311276130505013126 00000000000000 True Alleyoop GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False True True True True GTK_SHADOW_NONE True True GNOMEUIINFO_MENU_FILE_TREE True _Run True True gtk-execute 1 0.5 0.5 0 0 True _Kill True True gtk-cancel 1 0.5 0.5 0 0 True GNOMEUIINFO_MENU_OPEN_ITEM True GNOMEUIINFO_MENU_SAVE_ITEM True GNOMEUIINFO_MENU_SAVE_AS_ITEM True True GNOMEUIINFO_MENU_EXIT_ITEM True GNOMEUIINFO_MENU_EDIT_TREE True GNOMEUIINFO_MENU_CUT_ITEM True GNOMEUIINFO_MENU_COPY_ITEM True GNOMEUIINFO_MENU_PASTE_ITEM True GNOMEUIINFO_MENU_CLEAR_ITEM True True GNOMEUIINFO_MENU_PROPERTIES_ITEM True True GNOMEUIINFO_MENU_PREFERENCES_ITEM True GNOMEUIINFO_MENU_HELP_TREE True GNOMEUIINFO_MENU_ABOUT_ITEM BONOBO_DOCK_TOP 0 0 0 BONOBO_DOCK_ITEM_BEH_EXCLUSIVE|BONOBO_DOCK_ITEM_BEH_NEVER_VERTICAL|BONOBO_DOCK_ITEM_BEH_LOCKED True GTK_SHADOW_OUT 1 True GTK_ORIENTATION_HORIZONTAL GTK_TOOLBAR_BOTH True True Run Program Run True gtk-execute True Kill Program Kill True gtk-cancel True Open Log File gtk-open True True Save File gtk-save True BONOBO_DOCK_TOP 1 0 0 BONOBO_DOCK_ITEM_BEH_EXCLUSIVE True False 0 4 True False 4 True True 0 True Error type True True Function True True Source file True 0 False False True True 0 True contains True True matches True 0 False False True True True True 0 True * False 0 True True 0 False True True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_NONE GTK_CORNER_TOP_LEFT True True False False False True 0 True True 0 True True True True True 0 True True 6 True Alleyoop Preferences GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False True True False 0 True GTK_BUTTONBOX_END True True True gtk-close True GTK_RELIEF_NORMAL -7 0 False True GTK_PACK_END True True True True GTK_POS_TOP False False 6 True False 6 True True Demangle c++ symbol names True GTK_RELIEF_NORMAL True False True 0 False False True False 6 True Show False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False True True 1 0 True GTK_UPDATE_ALWAYS False False 4 0 100 1 10 10 0 False False True callers in stack traces False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False 0 False False True True Stop showing errors if there are too many True GTK_RELIEF_NORMAL False False True 0 False False True True Round malloc sizes to next word True GTK_RELIEF_NORMAL False False True 0 False False True True Trace any child processes forked off by program being debugged True GTK_RELIEF_NORMAL False False True 0 False False True True Track open file descriptors True GTK_RELIEF_NORMAL False False True 0 False False True True Call ____libc__freeres() at exit before checking for memory leaks True GTK_RELIEF_NORMAL False False True 0 False False True False 6 True Suppressions File: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False True 10 Choose Valgrind Suppressions File... False False True True True True 0 True * False 0 True True 0 False False False True True General False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 6 True False 6 True 0 0.5 GTK_SHADOW_ETCHED_IN 6 True False 6 True True Search for memory leaks at exit True GTK_RELIEF_NORMAL False False True 0 False False True True Show reachable blocks in leak check True GTK_RELIEF_NORMAL False False True 0 False False True False 6 True Leak resolution: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False True True 0 True low True True med True True high True 0 False False 0 False False True Memory leaks False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 label_item 0 False False True False 6 True Keep up to False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False True True 1 0 True GTK_UPDATE_ALWAYS False False 1e+06 0 1e+07 10 100 100 0 True True True bytes in the queue after being free()'d False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False 0 False False True True Work around bugs generated by gcc 2.96 True GTK_RELIEF_NORMAL False False True 0 False False True True Ignore errors produced by inline strlen() calls True GTK_RELIEF_NORMAL False False True 0 False False False True True MemCheck False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 6 True False 6 True 0 0.5 GTK_SHADOW_ETCHED_IN 6 True False 6 True True Override default settings True GTK_RELIEF_NORMAL False False True 0 False False True False 6 True Enter <size>,<assoc>,<line_size>: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False True True True True 0 True * False 0 True True 0 True True True I1 Cache False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 label_item 0 False False True 0 0.5 GTK_SHADOW_ETCHED_IN 6 True False 6 True True Override default settings True GTK_RELIEF_NORMAL False False True 0 False False True False 6 True Enter <size>,<assoc>,<line_size>: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False True True True True 0 True * False 0 True True 0 True True True D1 Cache False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 label_item 0 False False True 0 0.5 GTK_SHADOW_ETCHED_IN 6 True False 6 True True Override default settings True GTK_RELIEF_NORMAL False False True 0 False False True False 6 True Enter <size>,<assoc>,<line_size>: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False True True True True 0 True * False 0 True True 0 True True True L2 Cache False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 label_item 0 False False False True True Cachegrind False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab True AddrCheck False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 6 True False 6 True True Assume thread stacks are used privately True GTK_RELIEF_NORMAL False False True 0 False False True False 6 True Show location of last word access on error: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False True True -1 True no True True some True True all True 0 False False 0 False False False True True Helgrind False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 0 True True alleyoop-0.9.8/alleyoop.gladep0000644000175000001440000000033611276130505013275 00000000000000 alleyoop-0.9.8/INSTALL0000644000175000001440000002713611302641716011334 00000000000000Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== Briefly, the shell commands `./configure; make; make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. Running `configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 6. Often, you can also type `make uninstall' to remove the installed files again. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple `-arch' options to the compiler but only a single `-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the `lipo' tool if you have problems. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its `' header file. The option `-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put `/usr/ucb' early in your `PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in `/usr/bin'. So, if you need `/usr/ucb' in your `PATH', put it _after_ `/usr/bin'. On Haiku, software installed for all users goes in `/boot/common', not `/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to an Autoconf bug. Until the bug is fixed you can use this workaround: CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of all of the options to `configure', and exit. `--help=short' `--help=recursive' Print a summary of the options unique to this package's `configure', and exit. The `short' variant lists options used only in the top level, while the `recursive' variant lists options also present in any nested packages. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--prefix=DIR' Use DIR as the installation prefix. *Note Installation Names:: for more details, including other options available for fine-tuning the installation locations. `--no-create' `-n' Run the configure checks, but stop before creating any output files. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. alleyoop-0.9.8/acconfig.h0000644000175000001440000000021611276130505012212 00000000000000#undef ENABLE_NLS #undef HAVE_CATGETS #undef HAVE_GETTEXT #undef GETTEXT_PACKAGE #undef HAVE_LC_MESSAGES #undef HAVE_STPCPY #undef HAVE_LIBSM alleyoop-0.9.8/TODO0000644000175000001440000000032011303127000010737 00000000000000TODO List ========= * When searching, highlight the part of the error that matches the search * Add tooltips for config options and other places * Might want to consider using the XML format from valgrind alleyoop-0.9.8/COPYING0000644000175000001440000004312211303127133011320 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. alleyoop-0.9.8/NEWS0000644000175000001440000001762511276130505011003 00000000000000Alleyoop 0.9.5, 2009-03-07 -------------------------- New Features: - Added support for the --ignore-ranges, --malloc-fill, and --free-fill Memcheck options. - Added support for the --happens-before, --trace-addr, and --trace-level Helgrind options. Bugs Fixed: - Don't try to use --avoid-strlen-errors which is no longer supported by Valgrind. - Fixed -I, -R and --tool command-line options to work as expected. Alleyoop 0.9.4, 2009-02-08 -------------------------- Bugs Fixed: - Got rid of custom debugging symbol lookup code which was unnecessary and broke the build on recent Linux distributions like openSUSE 11.1 - Fixed some bugs in the Valgrind error parser. Alleyoop 0.9.3, 2006-08-14 -------------------------- Bugs Fixed: - Replaced popt option parsing code with custom option parsing code to get around memory corruption caused by popt. Alleyoop 0.9.2, 2006-07-28 -------------------------- Bugs Fixed: - Select the row being right-clicked before spawning the popup menu so that menu items are properly (de)sensitised. - Chaneged the default schema value for --leak-check to "no" instead of "false" which doesn't work. - Fixed to properly parse the Valgrind 3.1.0 timestamp format. Alleyoop 0.9.1, 2006-06-12 -------------------------- Bugs Fixed: - Work with Valgrind 3.1.0. Had to remove support for "Sloppy Malloc" which is a feature that has been removed in Valgrind 3.1.0. Also had to switch to using --log-fd rather than --logfile-fd. Alleyoop 0.9.0, 2005-05-05 -------------------------- New Features: - Added support for Valgrind's new time-stamp feature - Added support for suppression matching against leak reports Bugs Fixed: - Handle calling Valgrind 2.4.0 (uses slightly different command-line options) - Fixed a memory leak in the code that forked off the program being debugged. Alleyoop 0.8.3, 2005-02-08 -------------------------- Bugs Fixed: - Handle "warning: ..." messages from valgrind - Use bfd_get_section_size() instead of bfd_get_section_size_before_reloc() if the system bfd doesn't have it. Updated Translations: - en_CA (Adam Weinberger) - gu (Ankit Patel) - nb (Kjartan Maraas) - uk (Yuriy Syrota) Alleyoop 0.8.2, 2004-04-03 -------------------------- New Features - Added support for the Helgrind skin - Added a checkbox for "Track open file descriptors" which is a new feature in Valgrind 2.1.x - Only pass command-line arguments to valgrind if the value is not the default value (allows users to use older valgrinds which don't have some of the new features as long as they leave the default value for that setting alone). Updated Translations: - en_GB (Gareth Owen) - ga (Alastair McKinstry) - hr (Robert Sedak) - no (Kjartan Maraas) - zh_CN (Wang Jian) Alleyoop 0.8.1, 2004-02-09 -------------------------- Bugs Fixed: - "Suppress error" now handles Addr[1,2,4,8] and Free errors. - Fixed warning spewage about appending NULL to a GString. - Use fctnl with the FD_CLOEXEC flag instead of closing all fds in the child process before exec. - Don't pass --suppressions= if doesn't exist. Updated Translations: - az (Metin Amiroff) - cs (Miloslav Trmac) - hr (Robert Sedak) - mn (Sanlig Badral) - sk (Marcel Telka) - sq (Laurent Dhima) Alleyoop 0.8.0, 2003-10-21 -------------------------- Bugs Fixed: - Fixed a small memory leak when freeing suppression rules. New Features: - After adding a new suppression rule, immediately remove all matching errors from the view. Suppress further errors matching the new rule as well. - Default the AddrCheck/MemCheck checkboxes to 'on' in the new-rule editor. Updated Translations: - az (Metin Amiroff) - ca (Jordi Mallach) - cs (Miloslav Trmac) - de (Christian Neumair) - el (Kostas Papadimas) - es (Pablo Gonzalo del Campo) - fr (Christophe Merlet) - it (Alessio Frusciante) - ja (Takeshi AIHANA) - ms (Hasbullah Bin Pit) - nl (Vincent van Adrighem) - pl (Artur Flinta) - pt (Duarte Loreto) - ru (Valek Filippov) - sr (Danilo Šegan) - sv (Christian Rose) Alleyoop 0.7.3, 2003-06-01 -------------------------- Bugs Fixed: - Handle Valgrind error spewage from multiple pid's concurrently. - Fixed some warning spewage. - Plugged a memory leak by unreffing the GnomeProgram object after exiting the main loop. Alleyoop 0.7.2, 2003-05-21 -------------------------- Bugs Fixed: - Don't leak the symtab on exit. - Don't leak references to the gconf client. - Fixed a bug in the suppression list dialog reguarding the deletion of rules. - Suppress "IGNORED call to:" errors reported from Valgrind. - Don't allow a user to save a suppresion rule without a name. - Handle Valgrind 1.9.6's thread-id output. New Features: - Ability to specify which skins to suppress an error in. - Redirect the child process's stdin, stdout, and stderr to alleyoop's stdin, stdout, and stderr respectively. This allows one to debug console applications more easily. - Added a new right-click context menu item to launch the user's custom editor. Updated Translations: - ca (Jordi Mallach) - cs (Miloslav Trmac) - ja (Takeshi AIHANA) - no (Kjartan Maraas) - pt (Duarte Loreto) - pt_BR (Evandro Fernandes Giovanini) - sr (Danilo Šegan) - sr@Latn (Danilo Šegan) - sv (Christian Rose) Alleyoop 0.7.1, 2003-04-26 -------------------------- Bugs Fixed: - Fixed an ABW when creating the prefs notebook widget. New Features: - Added support for launching the user's custom editor command-line when double-clicking on a stack-frame report. Editor command-line variables include ${lineno} and ${filename}. - Added a new prefs page for Helgrind options (although as of yet neither Helgrind nor Cachegrind skins are supported). - Wrote some basic documentation contained in the README file. Updated Translations: - cs (Miloslav Trmac) - ja (Takeshi AIHANA) - pt (Duarte Loreto) - sv (Christian Rose) Alleyoop 0.7.0, 2003-04-22 -------------------------- Bugs Fixed: - Build on Linux distributions which do not have a libpopt that define POPT_TABLEEND. - When the user opens the suppressions list, load the file contents instead of doing nothing. :-) New Features: - Added the ability to choose which Valgrind 'skin' to use (currently only memcheck and addrcheck are fully supported). This preference can be chosen either as a command-line argument (--skin=[memcheck,addrcheck]) or by using the "Skins" menu. - Added support for the newer Valgrind (1.9.5) suppressions file format (the parser remains backwards compatable with the older 1.0.x format as well). Alleyoop 0.6.5, 2003-04-20 -------------------------- Bugs Fixed: - Added NULL-protection for resolved symbol filenames. Fixes a segfault when objects don't contain the source filenames in their debugging symbols. New Features: - Implemented Cut/Copy/Paste support, although Paste is a no-op. Alleyoop 0.6.4, 2003-04-19 -------------------------- New Features: - Users may now configure the number of lines above and below the target source-file line that contained the error. - New Search Bar that actually works. Users can now filter out error messages that don't match a regex that they provide using the search bar. Clicking the "Clear" button will show all errors. Updated Translations: - ja (Takeshi AIHANA) Alleyoop 0.6.3, 2003-04-16 -------------------------- New Features: - New command-line arguments (-R, --recursive) which add the source path value and all subdirectories. - Added a Edit/Clear menu item to clear the tree-view. alleyoop-0.9.8/aclocal.m40000644000175000001440000022603411673145623012150 00000000000000# generated automatically by aclocal 1.11.1 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 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. # 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'.])]) dnl AM_GCONF_SOURCE_2 dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas dnl (i.e. pass to gconftool-2 dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where dnl you should install foo.schemas files dnl AC_DEFUN([AM_GCONF_SOURCE_2], [ if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` else GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE fi AC_ARG_WITH([gconf-source], AC_HELP_STRING([--with-gconf-source=sourceaddress], [Config database for installing schema files.]), [GCONF_SCHEMA_CONFIG_SOURCE="$withval"],) AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE) AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation]) if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' fi AC_ARG_WITH([gconf-schema-file-dir], AC_HELP_STRING([--with-gconf-schema-file-dir=dir], [Directory for installing schema files.]), [GCONF_SCHEMA_FILE_DIR="$withval"],) AC_SUBST(GCONF_SCHEMA_FILE_DIR) AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files]) AC_ARG_ENABLE(schemas-install, AC_HELP_STRING([--disable-schemas-install], [Disable the schemas installation]), [case ${enableval} in yes|no) ;; *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-install]) ;; esac]) AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no]) ]) # Configure paths for GLIB # Owen Taylor 1997-2001 dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject, dnl gthread, or gio is specified in MODULES, pass to pkg-config dnl AC_DEFUN([AM_PATH_GLIB_2_0], [dnl dnl Get the cflags and libraries from pkg-config dnl AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program], , enable_glibtest=yes) pkg_config_args=glib-2.0 for module in . $4 do case "$module" in gmodule) pkg_config_args="$pkg_config_args gmodule-2.0" ;; gmodule-no-export) pkg_config_args="$pkg_config_args gmodule-no-export-2.0" ;; gobject) pkg_config_args="$pkg_config_args gobject-2.0" ;; gthread) pkg_config_args="$pkg_config_args gthread-2.0" ;; gio*) pkg_config_args="$pkg_config_args $module-2.0" ;; esac done PKG_PROG_PKG_CONFIG([0.16]) no_glib="" if test "x$PKG_CONFIG" = x ; then no_glib=yes PKG_CONFIG=no fi min_glib_version=ifelse([$1], ,2.0.0,$1) AC_MSG_CHECKING(for GLIB - version >= $min_glib_version) if test x$PKG_CONFIG != xno ; then ## don't try to run the test against uninstalled libtool libs if $PKG_CONFIG --uninstalled $pkg_config_args; then echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH" enable_glibtest=no fi if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then : else no_glib=yes fi fi if test x"$no_glib" = x ; then GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0` GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args` GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args` glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` if test "x$enable_glibtest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$GLIB_LIBS $LIBS" dnl dnl Now check if the installed GLIB is sufficiently new. (Also sanity dnl checks the results of pkg-config to some extent) dnl rm -f conf.glibtest AC_TRY_RUN([ #include #include #include int main () { unsigned int major, minor, micro; char *tmp_version; fclose (fopen ("conf.glibtest", "w")); /* HP/UX 9 (%@#!) writes to sscanf strings */ tmp_version = g_strdup("$min_glib_version"); if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "$min_glib_version"); exit(1); } if ((glib_major_version != $glib_config_major_version) || (glib_minor_version != $glib_config_minor_version) || (glib_micro_version != $glib_config_micro_version)) { printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, glib_major_version, glib_minor_version, glib_micro_version); printf ("*** was found! If pkg-config was correct, then it is best\n"); printf ("*** to remove the old version of GLib. You may also be able to fix the error\n"); printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** required on your system.\n"); printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); printf("*** to point to the correct configuration files\n"); } else if ((glib_major_version != GLIB_MAJOR_VERSION) || (glib_minor_version != GLIB_MINOR_VERSION) || (glib_micro_version != GLIB_MICRO_VERSION)) { printf("*** GLIB header files (version %d.%d.%d) do not match\n", GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); printf("*** library (version %d.%d.%d)\n", glib_major_version, glib_minor_version, glib_micro_version); } else { if ((glib_major_version > major) || ((glib_major_version == major) && (glib_minor_version > minor)) || ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) { return 0; } else { printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n", glib_major_version, glib_minor_version, glib_micro_version); printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n", major, minor, micro); printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); printf("***\n"); printf("*** If you have already installed a sufficiently new version, this error\n"); printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n"); printf("*** correct copy of pkg-config. (In this case, you will have to\n"); printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); } } return 1; } ],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_glib" = x ; then AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)) ifelse([$2], , :, [$2]) else AC_MSG_RESULT(no) if test "$PKG_CONFIG" = "no" ; then echo "*** A new enough version of pkg-config was not found." echo "*** See http://www.freedesktop.org/software/pkgconfig/" else if test -f conf.glibtest ; then : else echo "*** Could not run GLIB test program, checking why..." ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$LIBS $GLIB_LIBS" AC_TRY_LINK([ #include #include ], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ], [ echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GLIB or finding the wrong" echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], [ echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means GLIB is incorrectly installed."]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi GLIB_CFLAGS="" GLIB_LIBS="" GLIB_GENMARSHAL="" GOBJECT_QUERY="" GLIB_MKENUMS="" ifelse([$3], , :, [$3]) fi AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_GENMARSHAL) AC_SUBST(GOBJECT_QUERY) AC_SUBST(GLIB_MKENUMS) rm -f conf.glibtest ]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003,2004 Red Hat, Inc. # # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General # Public License, this file may be distributed as part of a program # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # # Macro to add for using GNU gettext. # Ulrich Drepper , 1995, 1996 # # Modified to never use included libintl. # Owen Taylor , 12/15/1998 # # Major rework to remove unused code # Owen Taylor , 12/11/2002 # # Added better handling of ALL_LINGUAS from GNU gettext version # written by Bruno Haible, Owen Taylor 5/30/3002 # # Modified to require ngettext # Matthias Clasen 08/06/2004 # # We need this here as well, since someone might use autoconf-2.5x # to configure GLib then an older version to configure a package # using AM_GLIB_GNU_GETTEXT AC_PREREQ(2.53) dnl dnl We go to great lengths to make sure that aclocal won't dnl try to pull in the installed version of these macros dnl when running aclocal in the glib directory. dnl m4_copy([AC_DEFUN],[glib_DEFUN]) m4_copy([AC_REQUIRE],[glib_REQUIRE]) dnl dnl At the end, if we're not within glib, we'll define the public dnl definitions in terms of our private definitions. dnl # GLIB_LC_MESSAGES #-------------------- glib_DEFUN([GLIB_LC_MESSAGES], [AC_CHECK_HEADERS([locale.h]) if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi fi]) # GLIB_PATH_PROG_WITH_TEST #---------------------------- dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], [# 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. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi 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 ]) # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], dnl NLS is obligatory [USE_NLS=yes AC_SUBST(USE_NLS) gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, [AC_TRY_LINK([ #include ], [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CHECK_FUNCS(bind_textdomain_codeset) fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dgettext, gt_cv_func_dgettext_libintl=yes)])]) if test "$gt_cv_func_dgettext_libintl" != "yes" ; then AC_MSG_CHECKING([if -liconv is needed to use gettext]) AC_MSG_RESULT([]) AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-liconv)], :,-liconv) fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset AC_CHECK_FUNCS(bind_textdomain_codeset) LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then AC_DEFINE(HAVE_GETTEXT,1, [Define if the GNU gettext() function is already present or preinstalled.]) GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" AC_CHECK_FUNCS(dcgettext) MSGFMT_OPTS= AC_MSG_CHECKING([if msgfmt accepts -c]) GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) AC_SUBST(MSGFMT_OPTS) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo 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 and dnl and CATOBJEXT=.gmo in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac]) LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi ]) if test "$gt_cv_have_gettext" = "yes" ; then AC_DEFINE(ENABLE_NLS, 1, [always defined to indicate that i18n is enabled]) fi dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is not GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po AC_OUTPUT_COMMANDS( [case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac]) dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs dnl in configure.ac. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLLIBS) AC_SUBST(PO_IN_DATADIR_TRUE) AC_SUBST(PO_IN_DATADIR_FALSE) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) # AM_GLIB_GNU_GETTEXT # ------------------- # Do checks necessary for use of gettext. If a suitable implementation # of gettext is found in either in libintl or in the C library, # it will set INTLLIBS to the libraries needed for use of gettext # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl glib_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_HEADER_STDC])dnl GLIB_LC_MESSAGES GLIB_WITH_NLS if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; 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 NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- # Define VARIABLE to the location where catalog files will # be installed by po/Makefile. glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" glib_save_datarootdir="$datarootdir" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix datarootdir=`eval echo "${datarootdir}"` if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else localedir=`eval echo "${datadir}/locale"` fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" datarootdir="$glib_save_datarootdir" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) dnl dnl Now the definitions that aclocal will find dnl ifdef(glib_configure_ac,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) # # Create a temporary file with TEST-FILE as its contents and pass the # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with # 0 and perform ACTION-IF-FAIL for any other exit status. AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF $2 _ACEOF if AC_RUN_LOG([$1 conftest.foo]); then m4_ifval([$3], [$3], [:]) m4_ifvaln([$4], [else $4])dnl echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD fi]) dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 40 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 if test -n "$1"; then AC_MSG_CHECKING([for intltool >= $1]) 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; }'` ] 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 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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], ...) # 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)?$]) 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`], [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 "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 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 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.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.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # This was merged into AC_PROG_CC in Autoconf. AU_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC AC_DIAGNOSE([obsolete], [$0: your code should no longer depend upon `am_cv_prog_cc_stdc', but upon `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when you adjust the code. You can also remove the above call to AC_PROG_CC if you already called it elsewhere.]) am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ]) AU_DEFUN([fp_PROG_CC_STDC]) # 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 # 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 10 # 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'. 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 ;; 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='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])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"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 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 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != 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])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 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_MAINTAINER_MODE([DEFAULT-MODE]) # ---------------------------------- # Control maintainer-specific portions of Makefiles. # Default is to disable them, unless `enable' is passed literally. # For symmetry, `disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful (and sometimes confusing) to the casual installer], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 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 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 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) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006, 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 2 # _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 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR alleyoop-0.9.8/po/0000755000175000001440000000000011673145660011000 500000000000000alleyoop-0.9.8/po/pa.po0000644000175000001440000002015411276130505011651 00000000000000# Copyright (C) 2004 THE alleyoop'S COPYRIGHT HOLDER # This file is distributed under the same license as the alleyoop package. # Punjab Linux Technology , 2004. # , fuzzy # # msgid "" msgstr "" "Project-Id-Version: alleyoop VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-07-14 03:11+0200\n" "PO-Revision-Date: 2004-07-20 15:10+0530\n" "Last-Translator: Amanpreet Singh Alam \n" "Language-Team: Punjabi \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "ਚੱਲਣਯੋਗ ਚਲਾਓ..." #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "`%s' ਤੇ ਸੰਭਾਲ ਵਿੱਚ ਅਸਫਲ: %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "" #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "`%s' ਤੇ ਸੰਭਾਲ ਵਿੱਚ ਅਸਫਲ: %s\n" "ਉਪੱਰ ਹੀ ਲਿਖ ਦਿਓ?" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "`%s' ਤੇ ਸੰਭਾਲ ਵਿੱਚ ਅਸਫਲ: %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "" #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" #: src/alleyoop.c:565 msgid "_Run" msgstr "ਚਲਾਉ" #: src/alleyoop.c:567 msgid "_Kill" msgstr "ਖਤਮ" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "" #: src/alleyoop.c:618 msgid "Skin" msgstr "ਸਰੂਪ" #: src/alleyoop.c:633 msgid "Run" msgstr "ਚਲਾਉ" #: src/alleyoop.c:633 msgid "Run Program" msgstr "ਕਾਰਜ ਚਲਾਉ " #: src/alleyoop.c:638 msgid "Kill" msgstr "ਖਤਮ" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "ਕਾਰਜ ਖਤਮ ਕਰੋ" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "ਲਾਗ ਫਾਇਲ ਖੋਲ੍ਹੋ" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "ਲਾਗ ਫਾਇਲ ਸੰਭਾਲੋ" #: src/main.c:47 msgid "Print version and exit" msgstr "ਵਰਜਨ ਛਾਪੋ ਅਤੇ ਬਾਹਰ" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" #: src/main.c:52 msgid "skin" msgstr "ਸਰੂਪ" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "" #: src/main.c:124 msgid "Alleyoop" msgstr "ਅਲੀਆਊਪ" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "ਅਲੀਆਊਪ ਪਸੰਦ" #: src/prefs.c:165 msgid "Editor:" msgstr "ਸੋਧਕਃ" #: src/prefs.c:182 msgid "Preview" msgstr "ਨਮੂਨਾ" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "" #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "" #: src/process.c:110 #, c-format msgid "Failed to create child process '%s': %s" msgstr "" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr "ਭਰੋ ,,:" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "ਗਲਤੀ ਹੈ" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "ਫੰਕਸ਼ਨ ਹੈ" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "ਇਕਾਈ ਹੈ" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "ਸਰੋਤ ਫਾਇਲ ਫਾਇਲ਼-ਨਾਂ ਹੈ" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:707 msgid "Valgrind Suppression Rules" msgstr "" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1048 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "" #: src/vgdefaultview.c:1222 msgid "Cu_t" msgstr "ਕੱਟੋ" #: src/vgdefaultview.c:1223 msgid "_Copy" msgstr "ਨਕਲ" #: src/vgdefaultview.c:1224 msgid "_Paste" msgstr "ਚਿਪਕਾਉ" #: src/vgdefaultview.c:1226 msgid "Suppress" msgstr "" #: src/vgdefaultview.c:1228 msgid "Edit in GNU/Emacs" msgstr "GNU/Emacs ਨਾਲ ਸੋਧੋ" #: src/vgdefaultview.c:1229 msgid "Edit in XEmacs" msgstr "XEmacs ਨਾਲ ਸੋਧੋ" #: src/vgdefaultview.c:1230 msgid "Edit in GVim" msgstr "GVim ਨਾਲ ਸੋਧੋ" #: src/vgdefaultview.c:1231 msgid "Edit in Custom Editor" msgstr "ਸੋਧੇ ਸੋਧਕ ਨਾਲ ਸੋਧੋ" #: src/vggeneralprefs.c:165 msgid "General" msgstr "ਸਧਾਰਨ" #: src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "" #: src/vggeneralprefs.c:179 msgid "Show" msgstr "ਵਿਖਾਉ" #: src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "" #: src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "" #: src/vggeneralprefs.c:206 msgid "Round malloc sizes to next word" msgstr "" #: src/vggeneralprefs.c:214 msgid "Trace any child processes forked off by the program being debugged" msgstr "" #: src/vggeneralprefs.c:222 msgid "Track open file descriptors" msgstr "" #: src/vggeneralprefs.c:230 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" #: src/vggeneralprefs.c:238 msgid "Suppressions File:" msgstr "" #: src/vggeneralprefs.c:256 msgid "Choose Valgrind Suppressions File..." msgstr "" #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "ਮੈਮੋਰੀ ਲੀਕ" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "ਲੀਕ ਰੈਜ਼ੋਲੇਸ਼ਨ:" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "" #: src/vgrule-editor.c:133 msgid "Function" msgstr "ਫੰਕਸ਼ਨ" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "ਸਾਂਝੇ ਇਕਾਈ" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "ਫੈਲਾਉ" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "ਸੁੰਘਡ਼ੋ" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "ਨਿਯਮ ਨਾਮਃ" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "ਸਿਸਟਮ ਕਾਲਃ" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "ਕਾਲ ਲਡ਼ੀਃ" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "" #: src/vgrule-list.c:403 msgid "_Edit" msgstr "ਸੋਧ" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "" alleyoop-0.9.8/po/pt.po0000644000175000001440000002552611333307120011675 00000000000000# alleyoop's Portuguese translation. # Copyright © 2003, 2004 alleyoop # This file is distributed under the same license as the alleyoop package. # Duarte Loreto , 2003, 2004. # Carlos Manuel , 2009. # msgid "" msgstr "" "Project-Id-Version: 2.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-12-05 22:28+0000\n" "PO-Revision-Date: 2009-11-27 22:20+0100\n" "Last-Translator: Carlos Manuel \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Executar um Binário..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Introduza o caminho para um binário e\n" "quaisquer argumentos que lhe deseje passar." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Incapaz de ler `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Ler o registo Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Incapaz de gravar para `%s': %s\n" "Sobrepor?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Incapaz de gravar para `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Gravar registo Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Carlos Manuel " #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop é um interface gráfico do Valgrind para o ambiente GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "E_xecutar" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Matar" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Supressões" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Ver/Editar Supressões" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Ferramenta" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Executar" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Executar uma Aplicação" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Matar" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Matar uma Aplicação" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Abrir o Ficheiro de Registo" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Gravar o Ficheiro de Registo" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Mostrar ajuda e sair" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Mostrar a versão e sair" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" "Adicionar à lista de directórios onde procurar ficheiros de código" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Recursivamente adicionar e todos os seus subdirectórios à lista de " "directórios onde procurar ficheiros de código" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Especificar a ferramenta Valgrind padrão a utilizar" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Preferências do Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Antever" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "linhas acima e abaixo da linha alvo." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Falha na criação de ligação a '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Falha ao criar o processo filho '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Sintaxe inválida na definição '%s'.\n" "Introduza um valor válido no formato \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Ignorar as definições por omissão" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Introduza ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Erro contém" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Função contém" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objecto contém" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Ficheiro de código contém" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Regras de Supressão Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Supressão Valgrind" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Cor_tar" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Copiar" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "Co_lar" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Suprimir" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Editar no GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Editar no XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Editar no GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Editar num Editor Personalizado" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Geral" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Decifrar os nomes dos símbolos c++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Apresentar" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "invocadores na pilha de trace" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Parar de apresentar erros caso existam demasiados" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Arredondar os tamanhos malloc para a 'word' seguinte" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Acompanhar quaisquer processos filhos lançados pela aplicação a ser depurada" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Acompanhar descritores de ficheiro abertos" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Rastrear origens de valores não definidos" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Adicionar carimbos de tempo a mensagens de registo" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Invocar __libc_freeres() ao sair antes de procurar fugas de memória" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Ficheiro de Supressões:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Seleccione o Ficheiro de Supressões Valgrind..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Considerar pontos de sincronização anteriores a:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Endereço de rastreamento:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Nível de rastreamento:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Fugas de memória" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Verificação de fugas:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Apresentar blocos alcançáveis na verificação de fugas" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Resolução de fugas:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Manter até" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "bytes na fila após serem libertados" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignorar gamas de memória:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Preencher memória mal alocada com:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Preencher memória livre com:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Contornar os bugs gerados pelo gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Função" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Objecto Partilhado" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Crescer" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Encolher" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Nome da regra:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Suprimir mensagens do tipo:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Suprimir ao utilizar:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Invocação de sistema:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Cadeia de invocações:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Erro ao gravar para o ficheiro de supressões `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "É necessário especificar um nome para a regra de supressões." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Editar" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Incapaz de gravar as regras de supressão: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Não foi definido um ficheiro de supressões, nas definições." #~ msgid "Skin" #~ msgstr "Aparência" #~ msgid "skin" #~ msgstr "aparência" #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Expressão regular inválida: '%s': %s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "Assumir que as pilhas de threads são utilizadas em privado" #~ msgid "Show location of last word access on error:" #~ msgstr "" #~ "Apresentar a localização do último acesso à 'word', ao ocorrer um erro:" #~ msgid "Search for memory leaks at exit" #~ msgstr "Procurar fugas de memória ao sair" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Ignorar os error produzidos por invocações strlen() inline" alleyoop-0.9.8/po/fi.po0000644000175000001440000002353211276130505011652 00000000000000# Finnish translation for Alleyoop. # Copyright (C) 2005 Lauri Nurmi. # This file is distributed under the same license as the alleyoop package. # Lauri Nurmi , 2005. # msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-08-16 13:40+0300\n" "PO-Revision-Date: 2006-08-16 13:40+0300\n" "Last-Translator: Lauri Nurmi \n" "Language-Team: GFTT \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/alleyoop.c:172 msgid "Run Executable..." msgstr "Suorita tiedosto..." #: ../src/alleyoop.c:186 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Anna suorituskelpoisen tiedoston polku ja\n" "mahdolliset sille välitettävät argumentit." #: ../src/alleyoop.c:287 #, c-format msgid "Could not load `%s': %s" msgstr "Tiedostoa \"%s\" ei voitu ladata: %s" #: ../src/alleyoop.c:315 msgid "Load Valgrind log..." msgstr "Lataa Valgrindin loki..." #: ../src/alleyoop.c:353 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Tiedostoon \"%s\" ei voitu tallentaa: %s\n" "Korvataanko se?" #: ../src/alleyoop.c:368 #, c-format msgid "Could not save to `%s': %s" msgstr "Tiedostoon \"%s\" ei voitu tallentaa: %s" #: ../src/alleyoop.c:414 msgid "Save Valgrind log..." msgstr "Tallenna Valgrindin loki..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:542 msgid "Jeffrey Stedfast" msgstr "Lauri Nurmi, 2005" #: ../src/alleyoop.c:552 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop on Gnome-ympäristön edustaohjelma Valgrindille." #: ../src/alleyoop.c:564 msgid "_Run" msgstr "_Suorita" #: ../src/alleyoop.c:566 msgid "_Kill" msgstr "_Tapa" #: ../src/alleyoop.c:586 msgid "Suppressions" msgstr "_Vaiennukset" #: ../src/alleyoop.c:586 msgid "View/Edit Suppressions" msgstr "Katso/muokkaa vaiennuksia" #: ../src/alleyoop.c:617 msgid "Tool" msgstr "T_yökalu" #: ../src/alleyoop.c:632 msgid "Run" msgstr "Suorita" #: ../src/alleyoop.c:632 msgid "Run Program" msgstr "Aja ohjelma" #: ../src/alleyoop.c:637 msgid "Kill" msgstr "Tapa" #: ../src/alleyoop.c:637 msgid "Kill Program" msgstr "Tapa ohjelma" #: ../src/alleyoop.c:640 msgid "Open Log File" msgstr "Avaa lokitiedosto" #: ../src/alleyoop.c:642 msgid "Save Log File" msgstr "Tallenna lokitiedosto" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Näytä ohje ja lopeta" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Näytä versio ja lopeta" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Lisää lähdetiedostokansioiden luetteloon" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Lisää ja kaikki sen alikansiot lähdetiedostokansioiden luetteloon" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Valitse Valgrindin oletustyökalu" #: ../src/main.c:205 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoopin asetukset" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Muokkain:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Esikatsele" # edellisen ja tämän väliin tulee lukuarvo. #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "riviä kohderivin ympäriltä." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Putken \"%s\" luominen epäonnistui: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Lapsiprosessin \"%s\" luominen epäonnistui: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Virheellinen syntaksi asetuksessa \"%s\".\n" "Anna arvo muodossa \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Ohita oletusasetukset" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Anna ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Virhe sisältää" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funktio sisältää" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objekti sisältää" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Lähdetiedoston nimi sisältää" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Virheellinen säännöllinen lauseke: \"%s\": %s" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:701 msgid "Valgrind Suppression Rules" msgstr "Valgrindin vaiennussäännöt" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1042 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrindin vaiennus" #: ../src/vgdefaultview.c:1216 msgid "Cu_t" msgstr "_Leikkaa" #: ../src/vgdefaultview.c:1217 msgid "_Copy" msgstr "_Kopioi" #: ../src/vgdefaultview.c:1218 msgid "_Paste" msgstr "L_iitä" #: ../src/vgdefaultview.c:1220 msgid "Suppress" msgstr "Vaienna" #: ../src/vgdefaultview.c:1222 msgid "Edit in GNU/Emacs" msgstr "Muokkaa GNU/Emacsissa" #: ../src/vgdefaultview.c:1223 msgid "Edit in XEmacs" msgstr "Muokkaa XEmacsissa" #: ../src/vgdefaultview.c:1224 msgid "Edit in GVim" msgstr "Muokkaa GVimissä" #: ../src/vgdefaultview.c:1225 msgid "Edit in Custom Editor" msgstr "Muokkaa muussa muokkaimessa" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "Yleiset" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "Palauta C++-symbolien nimet" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "Näytä" # edellisen ja tämän väliin tulee lukuarvo. #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "kutsutasoa pinolistauksessa" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "Lopeta virheiden näyttäminen jos niitä on liikaa" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "Pyöristä malloc-koot seuraavaan sanaan" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "Seuraa jäljitettävän ohjelman haarauttamia lapsiprosesseja" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "Seuraa avoimia tiedostokahvoja" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "Lisää lokiviesteihin aikaleimat" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Kutsu __libc_freeres() lopuksi ennen muistivuotojen tarkastamista" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "Vaiennustiedosto:" #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "Valitse Valgrindin vaiennustiedosto..." #: ../src/vghelgrindprefs.c:162 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:167 msgid "Assume thread stacks are used privately" msgstr "Oleta säikeiden pinoja käytettävän yksityisesti" # tämän kohdan vaihtoehdot ovat all/some/none, tms. #: ../src/vghelgrindprefs.c:176 msgid "Show location of last word access on error:" msgstr "Näytä sanankäytön sijainti virhetilanteissa:" #: ../src/vgmemcheckprefs.c:186 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:191 msgid "Memory leaks" msgstr "Muistivuodot" #: ../src/vgmemcheckprefs.c:196 msgid "Leak check:" msgstr "Vuototarkastus:" #: ../src/vgmemcheckprefs.c:207 msgid "Show reachable blocks in leak check" msgstr "Näytä tavoitettavissa olevat lohkot vuototarkastuksessa" #: ../src/vgmemcheckprefs.c:215 msgid "Leak resolution:" msgstr "Vuototarkkuus:" #: ../src/vgmemcheckprefs.c:233 msgid "Keep up to" msgstr "Pidä jonossa enintään" #: ../src/vgmemcheckprefs.c:245 msgid "bytes in the queue after being free()'d" msgstr "tavua free()-kutsun jälkeen" #: ../src/vgmemcheckprefs.c:252 msgid "Work around bugs generated by gcc 2.96" msgstr "Kierrä gcc 2.96:n aiheuttamat viat" #: ../src/vgmemcheckprefs.c:260 msgid "Ignore errors produced by inline strlen() calls" msgstr "Älä huomioi välittömien strlen()-kutsujen aiheuttamia virheitä" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funktio" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Jaettu objekti" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Kasvata" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Kutista" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Säännön nimi:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Vaiennettava viestityyppi:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Vaienna käytettäessä:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Järjestelmäkutsu:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Kutsuketju:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Virhe tallennettaessa vaiennustiedostoa \"%s\": %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Vaiennussäännölle ei ole annettu nimeä." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Muokkaa" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Vaiennussääntöjä ei voi tallentaa: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Asetuksissa ei ole määritelty vaiennustiedostoa." #~ msgid "tool" #~ msgstr "työkalu" alleyoop-0.9.8/po/vi.po0000644000175000001440000002633011626207370011675 00000000000000# Vietnamese translation for Alleyoop. # Copyright © 2006 Gnome i18n Project for Vietnamese. # Clytie Siddall , 2005. # Lê Trường An , 2011. # msgid "" msgstr "" "Project-Id-Version: alleyoop HEAD\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=alleyoop&component=general\n" "POT-Creation-Date: 2009-11-25 04:11+0000\n" "PO-Revision-Date: 2011-05-02 20:06+0700\n" "Last-Translator: Lê Trường An \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-Generator: LocFactoryEditor 1.6fc1\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Chạy tập tin có thể thực hiện..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Hãy nhập đường dẫn đến\n" "một tập tin có khả năng thực thi,\n" "và đối số nào bạn muốn gởi qua cho nó." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Không thể nạp `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Tải bản ghi Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Không thể lưu vào `%s': %s\n" "Ghi đè?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Không thể lưu vào `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Lưu bản ghi Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Nhóm Việt hóa Gnome " #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop là một tiền tiêu Valgrind cho môi trường Gnome." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "Chạ_y" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "Buộc _kết thúc" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Ngăn chặn" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Xem/Sửa việc thu hồi" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Công cụ" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Chạy" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Chạy chương trình" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Buộc kết thúc" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Buộc kết thúc chương trình" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Mở tập tin bản ghi" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Lưu tập tin bản ghi" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Hiển thị trợ giúp rồi thoát" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Hiển thị phiên bản rồi thoát" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Thêm vào danh sách các thư mục nơi cần tìm kiếm tập tin mã nguồn" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Thêm đệ qui và mọi thư mục con vào danh sách các thư mục nơi cần tìm " "kiếm tập tin mã nguồn" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Xác định công cụ Valgrind mặc định cần dùng" # Name: don't translate / Tên: đừng dịch #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Tùy chỉnh Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Trình soạn thảo:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Xem thử" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "dòng nằm trên và dưới dòng đích." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Lỗi tạo ống dẫn tới '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Lỗi tạo tiến trình con '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Gặp cú pháp không hợp lệ trong thiết lập '%s'.\n" "Hãy nhập một giá trị dạng \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Đè lên thiết lập mặc định" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Nhập ,,:" # Name: don't translate / Tên: đừng dịch #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Lỗi chứa" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Hàm chứa" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Đối tượng chứa" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Tên tập tin mã nguồn chứa" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Quy tắc thu hồi Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Thu hồi Valgrind" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Cắ_t" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Chép" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Dán" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Thu hồi" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Sửa trong GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Sửa trong XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Sửa trong GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Sửa trong bộ hiệu chỉnh tự chọn" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Chung" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Tháo gỡ tên ký hiệu C++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Hiển thị" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "bộ gọi trong vết đống" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Thôi hiển thị lỗi nếu có quá nhiều" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Làm tròn kích cỡ malloc đến từ gần nhất" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Theo dõi tiến trình con nào được tạo ra bởi chương trình đang được gỡ lỗi" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Theo dõi bộ mô tả tập tin đang mở" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Theo dõi nguồn gốc của giá trị chưa xác định" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Ghi giờ vào thông điệp bản ghi" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Gọi « __libc_freeres() » khi thoát trước khi kiểm tra bộ nhớ rò rỉ" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Tập tin thu hồi:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Chọn tập tin thu hồi Valgrind..." # Name: don't translate / Tên: đừng dịch #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Xem xét điểm đồng bộ xảy ra trước:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Kiểm tra bộ nhớ" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Bộ nhớ rò rỉ" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Kiểm tra rò rỉ:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Hiển thị mỗi khối có thể tới khi kiểm tra rò rỉ" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Giải quyết rò rỉ:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Giữ đến" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "byte trong hàng đợi sau khi được giải phóng (dùng free() )" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Bỏ qua khoảng bộ nhớ:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Điền vùng nhớ trống với:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Chỉnh sửa lỗi được gcc 2.96 tạo ra" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Hàm" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Đối tượng dùng chung" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Lớn hơn" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Nhỏ hơn" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Tên quy tắc" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Thu hồi thông điệp kiểu :" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Thu hồi khi dùng:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Lời gọi hệ thống:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Dãy gọi:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Gặp lỗi khi lưu vào tập tin thu hồi « %s »: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Bạn chưa đặt tên cho quy tắc thu hồi." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Chỉnh sửa" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Không thể lưu các quy tắc thu hồi: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Bạn chưa đặt một tập tin thu hồi trong thiết lập." #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Biểu thức chính quy không hợp lệ: « %s »: %s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "Giả sử đống mạch được dùng riêng" #~ msgid "Show location of last word access on error:" #~ msgstr "Hiển thị vị trí của việc truy cập từ cuối cùng khi gặp lỗi:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Bỏ qua lỗi được cuộc gọi strlen() trực tiếp cung cấp" alleyoop-0.9.8/po/da.po0000644000175000001440000002402711333307120011631 00000000000000# Danish translation for alleyoop. # Copyright (C) 2009 alleyoop's COPYRIGHT HOLDER. # This file is distributed under the same license as the alleyoop package. # Joe Hansen (joedalton2@yahoo.dk), 2009. # msgid "" msgstr "" "Project-Id-Version: alleyoop master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-12-10 23:52+0100\n" "PO-Revision-Date: 2009-12-10 23:52+0100\n" "Last-Translator: Joe Hansen \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" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Kør eksekverbar fil..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Indtast stien til en eksekverbar fil og\n" "eventuelle argumenter du ønsker at sende med." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Kunne ikke indlæse `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Indlæs Valgrindlog..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Kunne ikke gemme til `%s': %s\n" "Overskriv?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Kunne ikke gemme til `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Gem Valgrindlog..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop er en Valgrindgrænseflade til GNOME-miljøet." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "Kø_r" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Dræb" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Undertrykkelser" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Vis/rediger undertrykkelser" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Værktøj" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Kør" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Kør program" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Dræb" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Dræb program" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Åben logfil" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Gem logfil" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Vis hjælp og afslut" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Vis version og afslut" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Tilføj til listen af mapper hvori der søges efter kildefiler" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Tilføj rekursivt og alle undermapper til listen af mapper hvori der " "skal søges efter kildefiler" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Angiv hvilket Valgrindværktøj der som standard skal bruges" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoopindstillinger" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Redigeringsværktøj:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Forhåndsvisning" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "linjer over og under mållinjen." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Kunne ikke oprette dataledning til '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Kunne ikke oprette barneproces '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Ugyldig syntaks i opsætning '%s'.\n" "Indtast venligst en værdi i formen \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Overskriv standardopsætning" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Indtast ,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Fejl indeholder" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funktion indeholder" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objekt indeholder" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Kildefilnavn indeholder" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Undertrykkelsesregler til Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrindundertrykkelse" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Kl_ip" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "K_opier" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Indsæt" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Undertryk" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Rediger i GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Rediger i XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Rediger i GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Rediger i tilpasset redigeringsværktøj" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Generelt" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Ryd op i c++-symbolnavne" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Vis" # hvad i alverden er det her? #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "opringere i staksporing" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Stop med at vise fejl hvis der er for mange" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Afrund mallocstørrelser til næste ord" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "Spor alle barneprocesser forgrenet af programmet der bliver fejlsøgt" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Spor åben filbeskrivelser" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Spor oprindelserne for udefinerede værdier" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Tilføj tidsstempel til logbeskeder" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Kald __libc_freeres() ved afslutning før tjek af hukommelseslække" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Undertrykkelsesfil:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Vælg undertrykkelsesfil til Valgrind..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" # Hvad i alverden er det her? #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Overvej syncpoint som skete før:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Spor adresse:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Spor niveau:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Huk.tjek" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Hukommelseslække" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Læktjek:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Vis blokke der kan nås i læktjek" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Lækopløsning:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Behold op til" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "byte i køen efter frigørelse med free()" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignorer hukommelsesintervaller:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Fyld optaget (malloc'd) hukommelse med:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Fyld frigjort hukommelse med:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Arbejd udenom fejl skabt af gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funktion" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Delt objekt" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Voks" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Formindsk" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Regelnavn:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Undertryk beskeder af type:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Undertryk ved brug af:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Systemkald:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Opkaldskæde:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Fejl under gemning til undertrykkelsesfil `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Du har glemt at navngive din undertrykkelsesregel." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "R_ediger" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Kan ikke gemme undertrykkelsesregler: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Du har ikke angivet en undertrykkelsesfil i din opsætning." #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Ugyldigt regulært udtryk: '%s': %s" alleyoop-0.9.8/po/sq.po0000644000175000001440000002362711276130505011704 00000000000000# Përkthimi i alleyoop në shqip. # This file is distributed under the same license as the alleyoop package. # # Laurent Dhima , 2004, 2007. msgid "" msgstr "" "Project-Id-Version: alleyoop HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-03-21 18:45+0100\n" "PO-Revision-Date: 2007-03-21 18:43+0100\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" #: ../src/alleyoop.c:172 msgid "Run Executable..." msgstr "Ekzekuto të zbatueshmen..." #: ../src/alleyoop.c:186 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Shkruaj pozicionin e një të zbatueshme dhe\n" "argumentet që doni t'i kaloni." #: ../src/alleyoop.c:287 #, c-format msgid "Could not load `%s': %s" msgstr "I pamundur ngarkimi i `%s': %s" #: ../src/alleyoop.c:315 msgid "Load Valgrind log..." msgstr "Ngarko log e Valgrind..." #: ../src/alleyoop.c:353 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "E pamundur ruajtja e `%s': %s\n" "Mbishkruaj?" #: ../src/alleyoop.c:368 #, c-format msgid "Could not save to `%s': %s" msgstr "E pamundur ruajtja e `%s': %s" #: ../src/alleyoop.c:414 msgid "Save Valgrind log..." msgstr "Ruaj log e Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:542 msgid "Jeffrey Stedfast" msgstr "Laurent Dhima" #: ../src/alleyoop.c:552 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop është një interfaqe e Valgrind për ambientin GNOME." #: ../src/alleyoop.c:564 msgid "_Run" msgstr "_Zbato" #: ../src/alleyoop.c:566 msgid "_Kill" msgstr "_Vrit" #: ../src/alleyoop.c:586 msgid "Suppressions" msgstr "Të ndërprerë" #: ../src/alleyoop.c:586 msgid "View/Edit Suppressions" msgstr "Shiko/Ndrysho ndërprerjet" #: ../src/alleyoop.c:617 msgid "Tool" msgstr "Instrumenti" #: ../src/alleyoop.c:632 msgid "Run" msgstr "Ekzekuto" #: ../src/alleyoop.c:632 msgid "Run Program" msgstr "Zbato programin" #: ../src/alleyoop.c:637 msgid "Kill" msgstr "Vrit" #: ../src/alleyoop.c:637 msgid "Kill Program" msgstr "Vrit programin" #: ../src/alleyoop.c:640 msgid "Open Log File" msgstr "Hap file log" #: ../src/alleyoop.c:642 msgid "Save Log File" msgstr "Ruaj file log" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Shfaq ndihmën dhe dil" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Shfaq versionin dhe dil" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Shto tek lista e directories ku duhen kërkuar buruesit" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Shto në menyrë rekursive dhe të gjitha nëndirectories tek lista e " "directories ku duhen kërkuar buruesit" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Përcakto instrumentin e prezgjedhur Valgrind për tu përdorur" #: ../src/main.c:205 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Preferimet për Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editori:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Shikoje" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "rreshta sipër e poshtë rreshtit nën kontroll." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "I pamundur krijimi i pipe tek '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Krijimi i proçesit bir '%s' dështoi: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Sintaksë jo korrekte tek rregullimet '%s'.\n" "Ju lutem jepni një vlerë të formës \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Mbishkruaj rregullimet e prezgjedhura" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Shkruaj ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Gabimi përmban" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funksioni përmban" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objekti përmban" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Emri i file burues përmban" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Shprehje e rregullt e pavlefshme: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:701 msgid "Valgrind Suppression Rules" msgstr "Rregullat e ndërprerjes të Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1042 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Ndërprerje e Valgrind" #: ../src/vgdefaultview.c:1216 msgid "Cu_t" msgstr "Pre_je" #: ../src/vgdefaultview.c:1217 msgid "_Copy" msgstr "_Kopjo" #: ../src/vgdefaultview.c:1218 msgid "_Paste" msgstr "_Ngjite" #: ../src/vgdefaultview.c:1220 msgid "Suppress" msgstr "Përfundo" #: ../src/vgdefaultview.c:1222 msgid "Edit in GNU/Emacs" msgstr "Ndrysho me GNU/Emacs" #: ../src/vgdefaultview.c:1223 msgid "Edit in XEmacs" msgstr "Ndrysho me XEmacs" #: ../src/vgdefaultview.c:1224 msgid "Edit in GVim" msgstr "Ndrysho me GVim" #: ../src/vgdefaultview.c:1225 msgid "Edit in Custom Editor" msgstr "Ndrysho me Editorin e preferuar" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "Të përgjithshme" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "Demangle c++ symbol names" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "Shfaq" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "thirrës në gjurmën e stack" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "Ndalo shfaqjen e gabimeve po të jenë shumë" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "Rrumbullako përmasat e malloc tek fjala pasardhëse" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Gjurmo të gjithë proceset bij për të cilët programi kryen fork gjatë debug" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "Gjurmo përshkruesit e hap file" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "Shto kohën tek mesazhet e log" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Thërrit __libc_freeres() në dalje para kontrollit për \"humbje\" kujtese" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "File i ndërprerjeve:" #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "Zgjidh file e ndërprerjeve të Valgrind..." #: ../src/vghelgrindprefs.c:162 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:167 msgid "Assume thread stacks are used privately" msgstr "Supozo që stack-et e thread janë të përdorur privatisht" #: ../src/vghelgrindprefs.c:176 msgid "Show location of last word access on error:" msgstr "Shfaq pozicionin e fjalës së fundit të futur në gabim:" #: ../src/vgmemcheckprefs.c:186 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:191 msgid "Memory leaks" msgstr "Humbje të kujtesës" #: ../src/vgmemcheckprefs.c:196 msgid "Leak check:" msgstr "Kontrolli i humbjeve:" #: ../src/vgmemcheckprefs.c:207 msgid "Show reachable blocks in leak check" msgstr "Shfaq blloqet e arritshëm në kontrollin e humbjeve" #: ../src/vgmemcheckprefs.c:215 msgid "Leak resolution:" msgstr "Zgjidhja e humbjeve:" #: ../src/vgmemcheckprefs.c:233 msgid "Keep up to" msgstr "Vazhdo deri në" #: ../src/vgmemcheckprefs.c:245 msgid "bytes in the queue after being free()'d" msgstr "byte në bisht mbas free()" #: ../src/vgmemcheckprefs.c:252 msgid "Work around bugs generated by gcc 2.96" msgstr "Kapërce gabimet e prodhuara nga gcc 2.96" #: ../src/vgmemcheckprefs.c:260 msgid "Ignore errors produced by inline strlen() calls" msgstr "Injoro gabimet e prodhuara nga thirrjet strlen() inline" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funksioni" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Objekt i përbashkët" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Rrit" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Tkurr" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Emri i rregullit:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Blloko mesazhet e llojit:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Blloko kur përdoret:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Thirrje e sistemit:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Zinxhiri i thirrjeve:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Gabim gjatë ruajtjes së file të bllokimeve `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Keni harruar ti jepni një emër rregullit tuaj të ndërprerjes." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Ndrysho" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "E pamundur ruajtja e rregullave të bllokimit: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Tek rregullimet tuaja mungon file i ndërprerjes." alleyoop-0.9.8/po/it.po0000644000175000001440000002230711276130505011667 00000000000000# Italian translation of alleyoop messages # Copyright (C) 2003 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the alleyoop package. # Alessio Frusciante , 2003. # msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-10-21 14:57-0400\n" "PO-Revision-Date: 2003-07-27 18:39+0200\n" "Last-Translator: Alessio Frusciante \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "Avvia eseguibile..." #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Inserire il percorso di un eseguibile e\n" "gli argomenti che si vogliono passare." #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "Impossibile caricare '%s': %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "Carica log di Valgrind..." #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Impossibile salvare `%s': %s\n" "Sovrascrivere?" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "Impossibile salvare '%s': %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "Salva log di Valgrind..." #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "Alessio Frusciante" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop è un front-end di Valgrind per l'ambiente GNOME." #: src/alleyoop.c:565 msgid "_Run" msgstr "_Esegui" #: src/alleyoop.c:567 msgid "_Kill" msgstr "_Uccidi" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "Soppressioni" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "Mostra/Modifica soppressioni" #: src/alleyoop.c:618 msgid "Skin" msgstr "" #: src/alleyoop.c:633 msgid "Run" msgstr "Esegui" #: src/alleyoop.c:633 msgid "Run Program" msgstr "Esegui il programma" #: src/alleyoop.c:638 msgid "Kill" msgstr "Uccidi" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "Uccidi il programma" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "Apri file di log" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "Salva file di log" #: src/main.c:47 msgid "Print version and exit" msgstr "Scrivi la versione ed esci" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "Aggiungi alla lista di directory in cui cercare i sorgenti" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Aggiungi ricorsivamente e tutte le sottodirectory alla lista di " "directory in cui cercare i sorgenti" #: src/main.c:52 msgid "skin" msgstr "" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "" #: src/main.c:124 msgid "Alleyoop" msgstr "Alleyoop" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "Preferenze di Alleyoop" #: src/prefs.c:165 msgid "Editor:" msgstr "Editor:" #: src/prefs.c:182 msgid "Preview" msgstr "Mostra" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "linee sopra e sotto la linea in esame." #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Impossibile creare la pipe a '%s': %s" #: src/process.c:108 #, fuzzy, c-format msgid "Failed to create child process '%s': %s" msgstr "Impossibile creare il processo figlio '%s': %s" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Sintassi non valida nelle impostazioni '%s'.\n" "Inserire un valore della forma \",,\"." #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr "" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "Cachegrind" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "L'errore contiene" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "La funzione contiene" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "L'oggetto contiene" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "Il nome del file sorgente contiene" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Espressione regolare non valida: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "Regole di soppressione di Valgrind" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "Soppressione di Valgrind" #: src/vgdefaultview.c:1220 msgid "Cu_t" msgstr "_Taglia" #: src/vgdefaultview.c:1221 msgid "_Copy" msgstr "_Copia" #: src/vgdefaultview.c:1222 msgid "_Paste" msgstr "_Incolla" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "Sopprimi" #: src/vgdefaultview.c:1226 msgid "Edit in GNU/Emacs" msgstr "Modifica in GNU/Emacs" #: src/vgdefaultview.c:1227 msgid "Edit in XEmacs" msgstr "Modifica in XEmacs" #: src/vgdefaultview.c:1228 msgid "Edit in GVim" msgstr "Modifica in GVim" #: src/vgdefaultview.c:1229 msgid "Edit in Custom Editor" msgstr "Modifica in un editor personalizzato" #: src/vggeneralprefs.c:158 msgid "General" msgstr "Generali" #: src/vggeneralprefs.c:164 msgid "Demangle c++ symbol names" msgstr "" #: src/vggeneralprefs.c:172 msgid "Show" msgstr "Mostra" #: src/vggeneralprefs.c:184 msgid "callers in stack trace" msgstr "chiamanti nella traccia dello stack" #: src/vggeneralprefs.c:191 msgid "Stop showing errors if there are too many" msgstr "Smetti di mostrare errori se ce ne sono troppi" #: src/vggeneralprefs.c:199 msgid "Round malloc sizes to next word" msgstr "Arrotonda le dimensioni di malloc alla parola successiva" #: src/vggeneralprefs.c:207 msgid "Trace any child processes forked off by the program being debugged" msgstr "Traccia tutti i processi figli di cui il programma in debug fa un fork" #: src/vggeneralprefs.c:215 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Chiama __libc_freeres() all'uscita prima di controllare le fughe di memoria" #: src/vggeneralprefs.c:223 msgid "Suppressions File:" msgstr "File delle soppressioni:" #: src/vggeneralprefs.c:228 msgid "Choose Valgrind Suppressions File..." msgstr "Scegli il file delle soppressioni di Valgrind..." #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "Helgrind" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "Presumi che gli stack dei thread sono usati privatamente" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "Memcheck" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "Fughe di memoria" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "Cerca fughe di memoria in uscita" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "Mostra i blocchi raggiungibili nella ricerca di fughe" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "Risoluzione delle fughe:" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "Continua fino a" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "byte nella coda dopo free()" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "Aggira gli errori generati da gcc 2.96" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "Ignora gli errori prodotti dalle chiamate strlen() inline" #: src/vgrule-editor.c:133 msgid "Function" msgstr "Funzione" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "Oggetto condiviso" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "Aumenta" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "Riduci" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "Nome della regola:" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "Sopprimi messaggi di tipo:" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "Sopprimi quando si usa:" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "Chiamata di sistema:" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "Catena di chiamate:" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Errore nel salvataggio del file di soppressioni '%s': %s" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "Ci si è dimenticati di dare un nome alla regola di soppressione." #: src/vgrule-list.c:403 msgid "_Edit" msgstr "_Modifica" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Impossibile salvare il file delle regole di soppressione: %s" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "Non si ha un file di soppressioni nelle impostazioni." alleyoop-0.9.8/po/ne.po0000644000175000001440000003426611276130505011664 00000000000000# translation of alleyoop.HEAD.ne.po to Nepali # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # # Jyotshna Shrestha , 2005. # Jaydeep Bhusal , 2005. # Mahesh subedi , 2006. # Shyam Krishna Bal , 2007. # Nabin Gautam , 2008. msgid "" msgstr "" "Project-Id-Version: alleyoop.HEAD.ne\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-01-02 05:45+0000\n" "PO-Revision-Date: 2008-01-21 12:08+0545\n" "Last-Translator: Nabin Gautam \n" "Language-Team: Nepali \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=n !=1\n" #: ../src/alleyoop.c:172 msgid "Run Executable..." msgstr "कार्यान्वयनयोग्य चलाउनुहोस्..." #: ../src/alleyoop.c:186 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "कार्यान्वयन गर्न सकिने मार्ग र\n" "तपाईँले त्यसमा पास गर्न चाहेका अरू तर्कहरू प्रविष्टि गर्नुहोस् ।" #: ../src/alleyoop.c:287 #, c-format msgid "Could not load `%s': %s" msgstr "`%s' लोड हुन सकेन: %s" #: ../src/alleyoop.c:315 msgid "Load Valgrind log..." msgstr "भलग्राइन्ड लग लोड गर्नुहोस्..." #: ../src/alleyoop.c:353 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "`%s' मा बचत गर्न सकेन: %s\n" "अधिलेखन गर्नुहुन्छ ?" #: ../src/alleyoop.c:368 #, c-format msgid "Could not save to `%s': %s" msgstr "`%s' मा बचत गर्न सकेन: %s" #: ../src/alleyoop.c:414 msgid "Save Valgrind log..." msgstr "भलग्राइन्ड लग बचत गर्नुहोस्..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:542 msgid "Jeffrey Stedfast" msgstr "जेफ्फ्रे स्टिडफास्ट" #: ../src/alleyoop.c:552 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "एलियूप जिनोम वातावरणका लागि भलग्राइन्ड फ्रन्ट-इन्ड हो ।" #: ../src/alleyoop.c:564 msgid "_Run" msgstr "चलाउनुहोस्" #: ../src/alleyoop.c:566 msgid "_Kill" msgstr "नष्ट गर्नुहोस्" #: ../src/alleyoop.c:586 msgid "Suppressions" msgstr "दवाब" #: ../src/alleyoop.c:586 msgid "View/Edit Suppressions" msgstr "दवाब दृश्य/सम्पादन गर्नुहोस्" #: ../src/alleyoop.c:617 msgid "Tool" msgstr "उपकरण" #: ../src/alleyoop.c:632 msgid "Run" msgstr "चलाउनुहोस्" #: ../src/alleyoop.c:632 msgid "Run Program" msgstr "कार्यक्रम चलाउनुहोस्" #: ../src/alleyoop.c:637 msgid "Kill" msgstr "नष्ट गर्नुहोस्" #: ../src/alleyoop.c:637 msgid "Kill Program" msgstr "कार्यक्रम नष्ट गर्नुहोस्" #: ../src/alleyoop.c:640 msgid "Open Log File" msgstr "लग फाइल खोल्नुहोस्" #: ../src/alleyoop.c:642 msgid "Save Log File" msgstr "लग फाइल बचत गर्नुहोस्" #: ../src/main.c:164 msgid "Display help and quit" msgstr "मद्दत प्रदर्शन गर्नुहोस् र अन्त्य गर्नुहोस्" #: ../src/main.c:165 msgid "Display version and quit" msgstr "संस्करण प्रदर्शन गर्नुहोस् र अन्त्य गर्नुहोस्" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "स्रोत फाइल खोज्नका लागि डाइरेक्टरीको सूचीमा थप्नुहोस् ।" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "स्रोत फाइल खोज्नका लागि डाइरेक्टरीको सूचीमा र सम्पूर्ण उप-डाइरेक्टरी दोहोर्याएर " "थप्नुहोस् ।" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "प्रयोग गरिने पूर्वनिर्धारित भिलग्रिन्ड उपकरण निर्दिष्ट गर्नुहोस्" #: ../src/main.c:205 msgid "Alleyoop" msgstr "एलियूप" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "एलियूप प्राथमिकता" #: ../src/prefs.c:163 msgid "Editor:" msgstr "सम्पादक:" #: ../src/prefs.c:180 msgid "Preview" msgstr "पूर्वावलोकन" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "लक्षित लाइनभन्दा माथि र तलका लाइन ।" #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "'%s' मा पाइप सिर्जना गर्न असफल: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "शाखा प्रक्रिया '%s' सिर्जना गर्न असफल: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "'%s' सेटिङमा अमान्य वाक्य संरचना छ ।\n" "कृपया \",,\" स्वरूपको मान प्रविष्टि गर्नुहोस् ।" #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "पूर्वनिर्धारित सेटिङ अधिरोहण गर्नुहोस्" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "प्रविष्टि गर्नुहोस् ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "क्यासग्राइन्ड" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "त्रुटि समाविष्ट हुन्छ" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "प्रकार्य समावेष्ट हुन्छ" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "वस्तु समाविष्ट हुन्छ" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "स्रोत फाइलनाम समाविष्ट हुन्छ" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "अवैध नियमित अभिव्यक्ति: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:701 msgid "Valgrind Suppression Rules" msgstr "भलग्रइन्ड दवाब नियम" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1042 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "भलग्रइन्ड दवाब" #: ../src/vgdefaultview.c:1216 msgid "Cu_t" msgstr "काट्नुहोस्" #: ../src/vgdefaultview.c:1217 msgid "_Copy" msgstr "प्रतिलिपि बनाउनुहोस्" #: ../src/vgdefaultview.c:1218 msgid "_Paste" msgstr "टाँस्नुहोस्" #: ../src/vgdefaultview.c:1220 msgid "Suppress" msgstr "दवाब" #: ../src/vgdefaultview.c:1222 msgid "Edit in GNU/Emacs" msgstr "जिएनयू/इमाक्समा सम्पादन गर्नुहोस्" #: ../src/vgdefaultview.c:1223 msgid "Edit in XEmacs" msgstr "एक्स इमाक्समा सम्पादन गर्नुहोस्" #: ../src/vgdefaultview.c:1224 msgid "Edit in GVim" msgstr "GVim सम्पादन गर्नुहोस्" #: ../src/vgdefaultview.c:1225 msgid "Edit in Custom Editor" msgstr "अनुकूल सम्पादकमा सम्पादन गर्नुहोस्" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "साधारण" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "डिमाङ्गल c++ प्रतीक नाम" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "देखाउनुहोस्" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "स्ट्याक ट्रेसमा कलर" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "यदि त्यहाँ अती धेरै त्रुटि भएमा देखाउन रोक्नुहोस्" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "पछिल्लो शब्दमा गोलो मालोक साइज" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "डिबग गरिरहेको कार्यक्रमद्वारा फ्रोक अफ गरिएको कुनै शाखा प्रक्रियाहरू ट्रेस गर्नुहोस्" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "खुला फाइल वर्णनकर्तालाई ट्रयाक गर्नुहोस्" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "लग सन्देशहरूमा टाइम स्टाम्प थप्नुहोस्" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "बाहिरिदा स्मृति चुहावट जाँच गर्नु अगाडी Call __libc_freeres()" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "दवाब फाइल:" #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "भलग्राइन्ड दवाब फाइल रोज्नुहोस्..." #: ../src/vghelgrindprefs.c:162 msgid "Helgrind" msgstr "हेलग्राइन्ड" #: ../src/vghelgrindprefs.c:167 msgid "Assume thread stacks are used privately" msgstr "थ्रेड थाक व्यक्तिगत रूपमा प्रयोग भएको मान्नुहोस्" #: ../src/vghelgrindprefs.c:176 msgid "Show location of last word access on error:" msgstr "त्रुटिमा अन्तिम शब्दको पहुँच स्थान देखाउनुहोस्:" #: ../src/vgmemcheckprefs.c:186 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:191 msgid "Memory leaks" msgstr "स्मृति चुहावट" #: ../src/vgmemcheckprefs.c:196 msgid "Leak check:" msgstr "चुवाहट जाँच:" #: ../src/vgmemcheckprefs.c:207 msgid "Show reachable blocks in leak check" msgstr "चुहावट जाँचमा पुग्न सकिने खण्ड देखाउनुहोस्" #: ../src/vgmemcheckprefs.c:215 msgid "Leak resolution:" msgstr "चुहावट रिजोल्युसन:" #: ../src/vgmemcheckprefs.c:233 msgid "Keep up to" msgstr "यहाँसम्म राख्नुहोस्" #: ../src/vgmemcheckprefs.c:245 msgid "bytes in the queue after being free()'d" msgstr "()d' स्वतन्त्र भएपछि लामका बाइट" #: ../src/vgmemcheckprefs.c:252 msgid "Work around bugs generated by gcc 2.96" msgstr "जीसीसी २.९६ द्वारा उत्पन्न बगमा कार्य गर्नुहोस् ।" #: ../src/vgmemcheckprefs.c:260 msgid "Ignore errors produced by inline strlen() calls" msgstr "हरफ भित्र strlen() कलबाट उत्पन्न भएका त्रुटि उपेक्षा गर्नुहोस् ।" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "प्रकार्य" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "साझेदारी गरिएको वस्तु" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "बढाउनुहोस्" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "खुम्च्याउनुहोस्" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "नियम नाम:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "यस प्रकारको दवाब सन्देश:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "प्रयोग गरेको बेलामा दबाउनुहोस्:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "प्रणाली कल:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "कल चेन:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "दवाब फाइल `%s' बचत गर्दा त्रुटि: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "तपाईँले दवाब नियमलाई नाम दिन भुल्नुभयो ।" #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "सम्पादन" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "दवाब नियम बचत गर्न सकिँदैन: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "तपाईँको सेटिङमा दवाब फाइल सेट गर्नुभएको छैन ।" alleyoop-0.9.8/po/eo.po0000644000175000001440000002020511673145445011663 00000000000000# Esperanto translation for alleyoop. # Copyright (C) 2011 Free Software Foundation, Inc. # This file is distributed under the same license as the alleyoop package. # Kristjan SCHMIDT , 2011. # msgid "" msgstr "" "Project-Id-Version: alleyoop master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2011-09-15 09:53+0000\n" "PO-Revision-Date: 2011-10-15 18:30+0200\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: 8bits\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "" #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Ne eblas ŝargi `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "" #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Ne eblas konservi al `%s': %s\n" "Ĉu anstataŭigi?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Ne eblas konservi al `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "" #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Jeffrey STEDFAST" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Ruli" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Mortigi" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Ilo" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Ruli" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Ruli programon" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Mortigi" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Mortigi programon" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Malfermi la protokolan dosieron" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Konservi la protokolan dosieron" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Montri la helpon kaj eliri" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Montri la version kaj eliri" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Agordoj de Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Redaktilo:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Antaŭmontro" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "" #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "El_tondi" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Kopii" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Alglui" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Redakti per GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Redakti per XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Redakti per GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Redakti per propra redaktilo" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Ĝenerale" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Montri" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "" #: ../src/vggeneralprefs.c:233 ../src/vgmemcheckprefs.c:414 msgid "Track origins of undefined values" msgstr "" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "" #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "" #: ../src/vgmemcheckprefs.c:295 msgid "Memcheck" msgstr "" #: ../src/vgmemcheckprefs.c:300 msgid "Memory leaks" msgstr "" #: ../src/vgmemcheckprefs.c:306 msgid "Leak check:" msgstr "" #: ../src/vgmemcheckprefs.c:318 msgid "Show reachable blocks in leak check" msgstr "" #: ../src/vgmemcheckprefs.c:327 msgid "Leak resolution:" msgstr "" #: ../src/vgmemcheckprefs.c:346 msgid "Keep up to" msgstr "" #: ../src/vgmemcheckprefs.c:358 msgid "bytes in the queue after being free()'d" msgstr "" #: ../src/vgmemcheckprefs.c:366 msgid "Ignore memory ranges:" msgstr "" #: ../src/vgmemcheckprefs.c:382 msgid "Fill malloc'd memory with:" msgstr "" #: ../src/vgmemcheckprefs.c:398 msgid "Fill free'd memory with:" msgstr "" #: ../src/vgmemcheckprefs.c:423 msgid "Work around bugs generated by gcc 2.96" msgstr "" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funkcio" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Ŝrumpi" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "" #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "R_edakti" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "" alleyoop-0.9.8/po/az.po0000644000175000001440000002075211276130505011667 00000000000000# alleyoop.HEAD.po faylının Azərbaycan Dilinə tərcüməsi # alleyoop.HEAD.po faylının Azərbaycan dilinə tərcüməsi # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Mətin Əmirov , 2003 # msgid "" msgstr "" "Project-Id-Version: alleyoop.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-10-21 14:57-0400\n" "PO-Revision-Date: 2003-10-23 20:22+0300\n" "Last-Translator: Mətin Əmirov \n" "Language-Team: Azərbaycan Dili \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0.1\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "İcraçını İşə Sal..." #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "İcraçıya gedən cığırı və ona göndərmək\n" "istədiyiniz arqumentləri daxil edin." #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "`%s' yüklənə bilmədi: %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "Valgrind qeydini yüklə..." #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "`%s'a qeyd edilə bilmədi: %s\n" "Üstündən yazılsın?" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "`%s'a qeyd edilə bilmədi: %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "Valgrind qeydini qeyd et..." #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop GNOME mühidi üçün Valgrind ara üzüdür." #: src/alleyoop.c:565 msgid "_Run" msgstr "_İcra Et" #: src/alleyoop.c:567 msgid "_Kill" msgstr "Öl_dür" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "Sıxışdırma" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "Sıxışdırmaları Gör/Dəyişdir" #: src/alleyoop.c:618 msgid "Skin" msgstr "Örtük" #: src/alleyoop.c:633 msgid "Run" msgstr "İcra Et" #: src/alleyoop.c:633 msgid "Run Program" msgstr "Proqram İcra Et" #: src/alleyoop.c:638 msgid "Kill" msgstr "Öldür" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "Proqramı Öldür" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "Qeyd Faylını Aç" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "Qeyd Faylını Qeyd Et" #: src/main.c:47 msgid "Print version and exit" msgstr "Buraxılışı göstər və çıx" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "'i mənbə fayllarını axtarma cərgələrinin siyahısı içinə daxil et" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Mənbə fayllarını axtarmaq üçün qovluqlar siyahısına və bütün alt " "qovluqları rekursiv olaraq əlavə et" #: src/main.c:52 msgid "skin" msgstr "örtük" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "İşlədiləcək ön qurğulu örtüyü (modu) bildirin" #: src/main.c:124 msgid "Alleyoop" msgstr "Alleyoop" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "Alleyoop Qurğuları" #: src/prefs.c:165 msgid "Editor:" msgstr "Editor:" #: src/prefs.c:182 msgid "Preview" msgstr "Ön Nümayiş" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "hədəf sətrin üstündə və altında" #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "'%s'-ya boru yaradıla bilmədi: %s" #: src/process.c:108 #, c-format msgid "Failed to create child process '%s': %s" msgstr "'%s' törəmə gedişatı yaradıla bilmədi: %s" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "Ön qurğuları sayma" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr ",, mə'lumatlarını daxil edin:" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "Cachegrind" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "Xəta daxil edir" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "Funksiya daxil edir" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "Obyekt daxil edir" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "Mənbə fayl adı daxil edir" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Hökmsüz qaydalı ifadə: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "Valgrind Sıxışdırması" #: src/vgdefaultview.c:1220 msgid "Cu_t" msgstr "_Kəs" #: src/vgdefaultview.c:1221 msgid "_Copy" msgstr "Köçü_r" #: src/vgdefaultview.c:1222 msgid "_Paste" msgstr "_Yapışdır" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "Sıxışdırma" #: src/vgdefaultview.c:1226 msgid "Edit in GNU/Emacs" msgstr "GNU/Emacs ilə aç" #: src/vgdefaultview.c:1227 msgid "Edit in XEmacs" msgstr "XEmacs ilə aç" #: src/vgdefaultview.c:1228 msgid "Edit in GVim" msgstr "GVim ilə aç" #: src/vgdefaultview.c:1229 msgid "Edit in Custom Editor" msgstr "Xüsusi Editorda aç" #: src/vggeneralprefs.c:158 msgid "General" msgstr "Ümumi" #: src/vggeneralprefs.c:164 msgid "Demangle c++ symbol names" msgstr "" #: src/vggeneralprefs.c:172 msgid "Show" msgstr "Göstər" #: src/vggeneralprefs.c:184 msgid "callers in stack trace" msgstr "" #: src/vggeneralprefs.c:191 msgid "Stop showing errors if there are too many" msgstr "" #: src/vggeneralprefs.c:199 msgid "Round malloc sizes to next word" msgstr "" #: src/vggeneralprefs.c:207 msgid "Trace any child processes forked off by the program being debugged" msgstr "" #: src/vggeneralprefs.c:215 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" #: src/vggeneralprefs.c:223 msgid "Suppressions File:" msgstr "Sıxışdırmalar Faylı:" #: src/vggeneralprefs.c:228 msgid "Choose Valgrind Suppressions File..." msgstr "" #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "Helgrind" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "Memcheck" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "Yaddaş quyuları" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "Quyu həlli:" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "" #: src/vgrule-editor.c:133 msgid "Function" msgstr "Funksiya" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "Bölüşülmüş Obyekt" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "Böyüt" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "Sıxlaşdır" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "Qayda adı:" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "Sistem çağırışı:" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "Çağırış zənciri:" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "" #: src/vgrule-list.c:403 msgid "_Edit" msgstr "_Düzəlt" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "" alleyoop-0.9.8/po/id.po0000644000175000001440000002363011276130505011647 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: ALLEYOOP\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-09-21 15:42+0300\n" "PO-Revision-Date: 2009-03-31 10:47+0700\n" "Last-Translator: Imam Musthaqim \n" "Language-Team: INDONESIAN \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Indonesian\n" "X-Poedit-Country: INDONESIA\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Jalankan File Eksekusi..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Masukkan lokasi file eksekusi dan\n" "argumen yang ingin Anda salurkan padanya." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Tidak dapat memuat `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Muat log Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Tidak dapat menyimpan ke `%s': %s\n" "Timpa?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Tidak dapat menyimpan ke `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Simpan log Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop adalah front-end Valgrind untuk lingkungan GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Jalankan" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "Mati_kan" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Penyembunyian" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Lihat/Edit Penyembunyian" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Alat" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Jalankan" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Jalankan Program" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Matikan" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Matikan Program" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Buka File Log" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Simpan File Log" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Tampilkan bantuan dan keluar" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Tampilkan versi dan keluar" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Tambahkan ke daftar direktori untuk mencari file sumber" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Tambahkan berulang-ulang dan semua subdirektori ke daftar direktori " "untuk mencari file sumber" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Sebutkan alat default Valgrind yang akan dipakai" #: ../src/main.c:205 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Preferensi Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Pratayang" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "baris di atas dan di bawah baris target." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Gagal membuat saluran ke '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Gagal membuat sub-proses '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Sintaks tidak sah dalam setelan '%s'.\n" "Harap masukkan nilai dalam bentuk \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Timpa setelan default" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Masukkan ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Kesalahan berisi" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Fungsi berisi" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objek berisi" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Nama file sumber berisi" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Ekspresi regular invalid: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:704 msgid "Valgrind Suppression Rules" msgstr "Aturan Penyembunyian Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1024 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Penyembunyian Valgrind" #: ../src/vgdefaultview.c:1198 msgid "Cu_t" msgstr "Po_tong" #: ../src/vgdefaultview.c:1199 msgid "_Copy" msgstr "Sa_lin" #: ../src/vgdefaultview.c:1200 msgid "_Paste" msgstr "Tem_pel" #: ../src/vgdefaultview.c:1202 msgid "Suppress" msgstr "Sembunyikan" #: ../src/vgdefaultview.c:1204 msgid "Edit in GNU/Emacs" msgstr "Edit dalam GNU/Emacs" #: ../src/vgdefaultview.c:1205 msgid "Edit in XEmacs" msgstr "Edit dalam XEmacs" #: ../src/vgdefaultview.c:1206 msgid "Edit in GVim" msgstr "Edit dalam GVim" #: ../src/vgdefaultview.c:1207 msgid "Edit in Custom Editor" msgstr "Edit dalam Editor Khusus" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "Umum" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "Rapikan nama-nama simbol c++" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "Tampilkan" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "pemanggil dalam jejak stack" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "Hentikan menampilkan kesalahan bila terlalu banyak" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "Bulatkan ukuran maloc ke kata berikutnya" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "Runut proses anak yang dipecah oleh program selama perunutan" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "Lacak penjelasan file terbuka" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "Tambahkan cap waktu pada pesan-pesan log" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Call __libc_freeres() saat keluar sebelum mengecek kebocoran memori" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "File Penyembunyian (Supresi):" #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "Pilih File Penyembunyian Valgrind..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Sebaiknya sinkronkan poin yang terjadi sebelum" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Lacak alamat:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Tingkat pelacakan:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Kebocoran memori" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Cek kebocoran:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Tampilkan blok yang dapat dicapai dalam cek kebocoran" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Resolusi kebocoran:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Teruskan hingga" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "byte dalam antrean setelah dibebaskan()'d" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Abaikan kisaran memori:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Isi memori yang salah alokasi dengan:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Isi memori yang dikosongkan dengan:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Solusi bug yang dibuat oleh gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Fungsi" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Objek Bersama" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Besarkan" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Susutkan" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Nama aturan:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Sembunyikan pesan berjenis:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Sembunyikan saat menggunakan:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Panggilan sistem:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Rantai panggilan:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Kesalahan saat menyimpan file penyembunyian `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Anda lupa menamai aturan penyembunyian." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Edit" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Tidak dapat menyimpan aturan penyembunyian: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Anda belum menyetel file penyembunyian dalam setelan Anda." alleyoop-0.9.8/po/LINGUAS0000644000175000001440000000032511673145445011746 00000000000000# please keep this list sorted alphabetically # az ar ca cs da de dz el en_CA en_GB eo es eu fi fr ga gl gu hr hu id it ja lv mk ml mn ms nb ne nl oc pa pl pt pt_BR ro ru rw sk sl sq sr sr@latin sv tr uk vi zh_CN alleyoop-0.9.8/po/POTFILES.skip0000644000175000001440000000017411276130505013026 00000000000000# Since alleyoop does not load its interface from the glade file (yet), # it is not included in POTFILES.in alleyoop.glade alleyoop-0.9.8/po/sv.po0000644000175000001440000013677211333307120011710 00000000000000# Swedish messages for alleyoop. # Copyright (C) 2001-2010 Free Software Foundation, Inc. # Christian Rose , 2001, 2002, 2003, 2004. # Göran Weinholt , 2001. # Daniel Nylander , 2006, 2009, 2010. # # Based on the messages for anjuta. # # $Id: sv.po,v 1.19 2006/09/02 08:16:01 dnylande Exp $ # msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-01-10 12:14+0100\n" "PO-Revision-Date: 2010-01-10 12:14+0100\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" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Kör körbar fil..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Ange sökvägen till den körbara filen och\n" "alla argument som du vill skicka till den." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Kan inte läsa in \"%s\": %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Läs in Valgrind-logg..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Kunde inte spara till \"%s\": %s\n" "Skriva över?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Kunde inte spara till \"%s\": %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Spara Valgrind-logg..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Daniel Nylander" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop är ett skal för GNOME-miljön till Valgrind." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Kör" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Döda" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Undertryckanden" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Visa/Redigera undertryckanden" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Verktyg" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Kör" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Kör program" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Döda" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Döda program" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Öppna loggfil" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Spara loggfil" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Visa hjälp och avsluta" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Visa versionsnummer och avsluta" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Lägg till till listan över kataloger att söka i efter källkodsfiler" #: ../src/main.c:167 msgid "Recursively add and all subdirectories to the list of directories to search for source files" msgstr "Lägg rekursivt till och alla underkataloger till listan över kataloger att söka i efter källkodsfiler" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Ange det Valgrind-verktyg som ska användas som standard" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Inställningar för Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Redigerare:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Förhandsgranska" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "rader över och under målraden." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Misslyckades med att skapa rör till \"%s\": %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Misslyckades med att skapa barnprocess \"%s\": %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Ogiltig syntax i inställning \"%s\".\n" "Ange ett värde i formen \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Åsidosätt standardinställningar" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Ange ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Fel innehåller" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funktion innehåller" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objekt innehåller" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Källkodsfilnamn innehåller" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Undertryckanderegler för Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 #: ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind-undertryckande" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Klipp _ut" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Kopiera" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "Klistra _in" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Undertryck" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Redigera i GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Redigera i XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Redigera i GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Redigera i anpassad redigerare" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Allmänt" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Återskapa c++-symbolnamn" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Visa" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "anropare i stackspårning" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Visa inte fel om det finns för många" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Avrunda malloc-storlekar till nästa ord" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "Spåra alla barnprocesser som grenats av programmet som felsöks" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Spåra öppna fildeskriptorer" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Spåra ursprung för odefinierade värden" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Lägg till tidsstämplar till loggmeddelanden" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Anropa __libc_freeres() vid avslutande innan kontroll av minnesläckor" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Undertryckningsfil:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Välj Valgrind-undertryckningsfil..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Anse synkroniseringspunkter som hände tidigare:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Spårningsadress:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Spårningsnivå:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Minneskontroll" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Minnesläckor" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Minneskontroll:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Visa nåbara block i kontroll utav läckor" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Läckupplösning:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Behåll upp till" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "byte i kön efter anrop av free()" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignorera minnesintervall:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Fyll allokerat minne med:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Fyll frigjort minne med:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Trixa runt fel som skapats av gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funktion" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Delat objekt" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Väx" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Krymp" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Regelnamn:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Undertryck meddelanden av typen:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Undertryck vid användning av:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Systemanrop:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Anropskedja:" #: ../src/vgrule-editor.c:526 #: ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Fel vid sparande av undertryckningsfil \"%s\": %s" #: ../src/vgrule-list.c:173 #: ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Du har glömt att namnge din undertryckningsregel." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Redigera" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Kan inte spara undertryckningsregler: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Du har inte angivit en undertryckningsfil i dina inställningar." #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Ogiltigt reguljärt uttryck: \"%s\": %s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "Antag att trådstackar används privat" #~ msgid "Show location of last word access on error:" #~ msgstr "Visa platsen för senaste ordåtkomst vid fel:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Ignorera fel som skapats av inlinade strlen()-anrop" #~ msgid "tool" #~ msgstr "verktyg" #~ msgid "Skin" #~ msgstr "Skal" #~ msgid "skin" #~ msgstr "skal" #~ msgid "Specify the default skin (mode) to use" #~ msgstr "Ange det standardskal (läge) som ska användas" #~ msgid "Search for memory leaks at exit" #~ msgstr "Sök efter minnesläckor vid avslutande" #~ msgid "" #~ "Enter the path to an executable and any arguments you wish to pass to it." #~ msgstr "" #~ "Ange sökvägen till den körbara filen och alla argument som du vill skicka " #~ "till den." #~ msgid "Specify the default mode to use" #~ msgstr "Ange det standardläge som ska användas" #~ msgid "*" #~ msgstr "*" #~ msgid "Preferences" #~ msgstr "Inställningar" #~ msgid "D1 Cache" #~ msgstr "D1-cacheminne" #~ msgid "Error type" #~ msgstr "Feltyp" #~ msgid "Error" #~ msgstr "Fel" #~ msgid "I1 Cache" #~ msgstr "I1-cacheminne" #~ msgid "L1 Cache" #~ msgstr "L1-cacheminne" #~ msgid "Program" #~ msgstr "Program" #~ msgid "L2 Cache" #~ msgstr "L2-cacheminne" #~ msgid "Memory" #~ msgstr "Minne" #~ msgid "Open File" #~ msgstr "Öppna fil" #~ msgid "Save File" #~ msgstr "Spara fil" #~ msgid "Save File As" #~ msgstr "Spara fil som" #~ msgid "Source file" #~ msgstr "Källkodsfil" #~ msgid "contains" #~ msgstr "innehåller" #~ msgid "high" #~ msgstr "hög" #~ msgid "low" #~ msgstr "låg" #~ msgid "Editor" #~ msgstr "Redigerare" #~ msgid "Cut" #~ msgstr "Klipp ut" #~ msgid "Attach to process" #~ msgstr "Anslut till process" #~ msgid "_Update" #~ msgstr "_Uppdatera" #~ msgid "_Attach" #~ msgstr "_Anslut" #~ msgid "_Process to attach to:" #~ msgstr "_Process att ansluta till:" #~ msgid "Breakpoints" #~ msgstr "Brytpunkter" #~ msgid "Enable _all" #~ msgstr "Aktivera _alla" #~ msgid "_Disable all" #~ msgstr "_Inaktivera alla" #~ msgid "_Remove all" #~ msgstr "_Ta bort alla" #~ msgid "Breakpoint properties" #~ msgstr "Brytpunktsegenskaper" #~ msgid "_Location:" #~ msgstr "_Plats:" #~ msgid "_Condition:" #~ msgstr "_Villkor:" #~ msgid "_Pass:" #~ msgstr "_Pass:" #~ msgid "Commands" #~ msgstr "Kommandon" #~ msgid "Common commands:" #~ msgstr "Vanliga kommandon:" #~ msgid " " #~ msgstr " " #~ msgid "_Pixmap editor:" #~ msgstr "_Pixmapredigerare:" #~ msgid "_Image editor:" #~ msgstr "_Bildredigerare:" #~ msgid "HTML _viewer:" #~ msgstr "HTML-_visare:" #~ msgid "_Terminal:" #~ msgstr "_Terminal:" #~ msgid "Language-specific commands:" #~ msgstr "Språkspecifika kommandon:" #~ msgid "C_ompile:" #~ msgstr "K_ompilera:" #~ msgid "_Build a file:" #~ msgstr "_Bygg en fil:" #~ msgid "_Execute:" #~ msgstr "_Kör:" #~ msgid "_Make a file:" #~ msgstr "_Skapa en fil:" #~ msgid "_Language:" #~ msgstr "_Språk:" #~ msgid "Load _global defaults" #~ msgstr "Läs in _globala standardalternativ" #~ msgid "Load _user defaults" #~ msgstr "Läs in _användarstandardalternativ" #~ msgid "Compiler and linker options" #~ msgstr "Kompilator- och länkarinställningar" #~ msgid "Update" #~ msgstr "Uppdatera" #~ msgid "Include Paths" #~ msgstr "Inkluderingssökvägar" #~ msgid "Library Paths" #~ msgstr "Bibliotekssökvägar" #~ msgid "<: Enter Here" #~ msgstr "<: Ange här" #~ msgid "Libraries" #~ msgstr "Bibliotek" #~ msgid "Defines" #~ msgstr "Definitioner" #~ msgid "Warnings" #~ msgstr "Varningar" #~ msgid "No Optimization" #~ msgstr "Ingen optimering" #~ msgid "Low-Level Optimization (Machine dependent optimization)" #~ msgstr "Lågnivåoptimering (maskinberoende optimering)" #~ msgid "Medium-Level Optimization (Without space-speed trade-off)" #~ msgstr "Mellannivåoptimering (utan storlek-hastighetskompromiss)" #~ msgid "High-Level Optimization (Functions inlined wherever possible)" #~ msgstr "Högnivåoptimering (funktioner är inline:ade där det är möjligt" #~ msgid "Optimization" #~ msgstr "Optimeringar" #~ msgid "Enable Debugging" #~ msgstr "Aktivera felsökning" #~ msgid "Enable Profiling" #~ msgstr "Aktivera profilering" #~ msgid "Debugging and Profiling" #~ msgstr "Felsökning och profilering" #~ msgid "Compiler Flags (CFLAGS):" #~ msgstr "Kompilatorflaggor (CFLAGS):" #~ msgid "Additional Libraries (LDADD):" #~ msgstr "Ytterligare bibliotek (LDADD):" #~ msgid "Linker Flags (LDFLAGS):" #~ msgstr "Länkarflaggor (LDFLAGS):" #~ msgid "Additional Options" #~ msgstr "Ytterligare alternativ" #~ msgid "Options" #~ msgstr "Alternativ" #~ msgid "Source Directories" #~ msgstr "Källkodskataloger" #~ msgid "Run Configure Script" #~ msgstr "Kör configure-skript" #~ msgid "Configure Parameters" #~ msgstr "Konfigurera parametrar" #~ msgid "Find in Files" #~ msgstr "Sök i filer" #~ msgid "Case sensitive" #~ msgstr "Gör skillnad på gemener/VERSALER" #~ msgid "Ignore binary files" #~ msgstr "Ignorera binära filer" #~ msgid "Ignore CVS directory" #~ msgstr "Ignorera CVS-katalog" #~ msgid "Append messages" #~ msgstr "Lägg till meddelanden" #~ msgid "File/Directory to add:" #~ msgstr "Fil/Katalog att lägga till:" #~ msgid "Search String" #~ msgstr "Sök sträng" #~ msgid "Execute Program" #~ msgstr "Kör program" #~ msgid "Command Line Parameters" #~ msgstr "Kommandoradsparametrar" #~ msgid "Run in Terminal" #~ msgstr "Kör i terminal" #~ msgid "Find and replace" #~ msgstr "Sök och ersätt" #~ msgid "Regexp/String to find" #~ msgstr "Reguljärt uttryck/Sträng att söka efter" #~ msgid "String to replace" #~ msgstr "Sträng att ersätta" #~ msgid "Whole document" #~ msgstr "Hela dokumentet" #~ msgid "From cursor" #~ msgstr "Från markör" #~ msgid "Scope" #~ msgstr "Omfattning" #~ msgid "Forwards" #~ msgstr "Framåt" #~ msgid "Backwards" #~ msgstr "Bakåt" #~ msgid "Direction" #~ msgstr "Riktning" #~ msgid "Regexp" #~ msgstr "Reguljärt uttryck" #~ msgid "Search type" #~ msgstr "Söktyp" #~ msgid "Whole word" #~ msgstr "Hela ord" #~ msgid "Prompt before replace" #~ msgstr "Fråga innan ersättning" #~ msgid "Ignore case" #~ msgstr "Ignorera skillnad på gemener/VERSALER" #~ msgid "Find & Replace" #~ msgstr "Sök och ersätt" #~ msgid "Search Expression" #~ msgstr "Sökuttryck" #~ msgid "Regular Expression" #~ msgstr "Reguljärt uttryck" #~ msgid "Greedy matching" #~ msgstr "Girig matchning" #~ msgid "Case insensitive" #~ msgstr "Gör skillnad på gemener/VERSALER" #~ msgid "Match at start of word" #~ msgstr "Matcha början på ord" #~ msgid "Match complete lines" #~ msgstr "Matcha hela rader" #~ msgid "Match complete words" #~ msgstr "Matcha hela ord" #~ msgid "Search In" #~ msgstr "Sök i" #~ msgid "Search Action" #~ msgstr "Sökåtgärd" #~ msgid "Search Direction" #~ msgstr "Sökriktning" #~ msgid "$(module.source.files) $(module.include.files)" #~ msgstr "$(module.source.files) $(module.include.files)" #~ msgid "Search Variable" #~ msgstr "Sök variabel" #~ msgid "Choose Files" #~ msgstr "Välj filer" #~ msgid "Space-seperated list of file name patterns to match" #~ msgstr "Blankstegsseparerad lista med filnamnsmönster att matcha" #~ msgid "*\\.*" #~ msgstr "*\\.*" #~ msgid "*.c *.cpp *.cxx *.cc *.C *.h *.H *.hh *.hxx *.hpp" #~ msgstr "*.c *.cpp *.cxx *.cc *.C *.h *.H *.hh *.hxx *.hpp" #~ msgid "" #~ "*.c *.cpp *.cxx *.cc *.C *.h *.H *.hh *.hxx *.hpp Makefile.am configure.* " #~ "README AUTHORS ChangeLog *.m4" #~ msgstr "" #~ "*.c *.cpp *.cxx *.cc *.C *.h *.H *.hh *.hxx *.hpp Makefile.am configure.* " #~ "README AUTHORS ChangeLog *.m4" #~ msgid "Ignore Files" #~ msgstr "Ignorera filer" #~ msgid "Space-seperated list of file name patterns to ignore" #~ msgstr "Blankstegsseparerad lista med filnamnsmönster att ignorera" #~ msgid "*.so *.o *.a *.la" #~ msgstr "*.so *.o *.a *.la" #~ msgid "Ignore Hidden Files" #~ msgstr "Ignorera dolda filer" #~ msgid "Ignore Binary Files" #~ msgstr "Ignorera binära filer" #~ msgid "Choose Directories" #~ msgstr "Välj kataloger" #~ msgid "Space-seperated list of directory name patterns to match" #~ msgstr "Blankstegsseparerad lista med katalognamnsmönster att matcha" #~ msgid "Space-seperated list of directory name patterns to ignore" #~ msgstr "Blankstegsseparerad lista med katalognamnsmönster att ignorera" #~ msgid "CVS" #~ msgstr "CVS" #~ msgid "CVS intl po" #~ msgstr "CVS intl po" #~ msgid "Ignore Hidden Directories" #~ msgstr "Ignorera dolda kataloger" #~ msgid "Search Recursively" #~ msgstr "Sök rekursivt" #~ msgid "File Filter" #~ msgstr "Filfilter" #~ msgid "Max. Actions" #~ msgstr "Maximalt antal åtgärder" #~ msgid "No Limit" #~ msgstr "Ingen gräns" #~ msgid "Search Target" #~ msgstr "Sökmål" #~ msgid "Replace With" #~ msgstr "Ersätt med" #~ msgid "Expand regex back references" #~ msgstr "Expandera bakåtreferenser i reguljära uttryck" #~ msgid "Replace" #~ msgstr "Ersätt" #~ msgid "Replace Expression" #~ msgstr "Ersättningsuttryck" #~ msgid "Search" #~ msgstr "Sök" #~ msgid "Gnome API" #~ msgstr "Gnome-API" #~ msgid "Man pages" #~ msgstr "Manualsidor" #~ msgid "Info Pages" #~ msgstr "Infosidor" #~ msgid "Project Configuration" #~ msgstr "Projektkonfiguration" #~ msgid "Version:" #~ msgstr "Version:" #~ msgid "Target:" #~ msgstr "Mål:" #~ msgid "GUI editor command:" #~ msgstr "GUI-redigerarkommando:" #~ msgid "Project Version" #~ msgstr "Projektversion" #~ msgid "Project Description" #~ msgstr "Projektbeskrivning" #~ msgid "Ignome files and directories" #~ msgstr "Ignorera filer och kataloger" #~ msgid "Modules" #~ msgstr "Moduler" #~ msgid "Project configure.in" #~ msgstr "configure.in för projektet" #~ msgid "Top level Makefile.am" #~ msgstr "Toppnivå Makefile.am" #~ msgid "Source module Makefile.am" #~ msgstr "Källkodsmodul Makefile.am" #~ msgid "Include module Makefile.am" #~ msgstr "Inkludera modulen Makefile.am" #~ msgid "Help module Makefile.am" #~ msgstr "Hjälpmodul Makefile.am" #~ msgid "Pixmap module Makefile.am" #~ msgstr "Pixmapmodul Makefile.am" #~ msgid "Data module Makefile.am" #~ msgstr "Datamoduk Makefile.am" #~ msgid "Document module Makefile.am" #~ msgstr "Dokumentmodul Makefile.am" #~ msgid "Po module (translation) Makefile.am" #~ msgstr "Po-modul (översättning) Makefile.am" #~ msgid "Disable overwriting files" #~ msgstr "Inaktivera överskrivning av filer" #~ msgid "Build files" #~ msgstr "Byggfiler" #~ msgid "Programs" #~ msgstr "Program" #~ msgid "Headers" #~ msgstr "Huvud" #~ msgid "Compiler" #~ msgstr "Kompilator" #~ msgid "Additional" #~ msgstr "Ytterligare" #~ msgid "Output files" #~ msgstr "Utdatafiler" #~ msgid "Configuration script segments" #~ msgstr "Konfigurationsskriptsegment" #~ msgid "Configuration" #~ msgstr "Konfiguration" #~ msgid "Scripts at the end of top level Makefile.am" #~ msgstr "Skript på slutet av översta Makefile.am" #~ msgid "Makefile.am" #~ msgstr "Makefile.am" #~ msgid "User Tools" #~ msgstr "Användarverktyg" #~ msgid "Tool Editor" #~ msgstr "Verktygsredigerare" #~ msgid "Name:" #~ msgstr "Namn:" #~ msgid "Menu location:" #~ msgstr "Menyplacering:" #~ msgid "Command:" #~ msgstr "Kommando:" #~ msgid "File" #~ msgstr "Fil" #~ msgid "Edit" #~ msgstr "Redigera" #~ msgid "View" #~ msgstr "Visning" #~ msgid "Project" #~ msgstr "Projekt" #~ msgid "Format" #~ msgstr "Format" #~ msgid "Build" #~ msgstr "Bygge" #~ msgid "Bookmark" #~ msgstr "Bokmärke" #~ msgid "Debug" #~ msgstr "Felsök" #~ msgid "Settings" #~ msgstr "Inställningar" #~ msgid "Working directory:" #~ msgstr "Arbetskatalog:" #~ msgid "Run detached" #~ msgstr "Kör frånkopplad" #~ msgid "Run in terminal" #~ msgstr "Kör i terminal" #~ msgid "File level" #~ msgstr "Filnivå" #~ msgid "Ask for parameters at run-time" #~ msgstr "Fråga efter parametrar vid körning" #~ msgid "Standard input:" #~ msgstr "Standardindata:" #~ msgid "Input string:" #~ msgstr "Indatasträng:" #~ msgid "Standard output:" #~ msgstr "Standardutdata:" #~ msgid "Standard error:" #~ msgstr "Standardfel:" #~ msgid "Short cut:" #~ msgstr "Genväg:" #~ msgid "Menu icon:" #~ msgstr "Menyikon:" #~ msgid "Enabled" #~ msgstr "Påslaget" #~ msgid "Save all files" #~ msgstr "Spara alla filer" #~ msgid "Variable list" #~ msgstr "Variabellista" #~ msgid "Command line parameters" #~ msgstr "Kommandoradsparametrar" #~ msgid "Customize what is to be shown in the file tree" #~ msgstr "Anpassa vad som ska visas i filträdet" #~ msgid "Customize File Browser" #~ msgstr "Anpassa filbläddrare" #~ msgid "Choose files" #~ msgstr "Välj filer" #~ msgid "Ignore files" #~ msgstr "Ignorera filer" #~ msgid "Do not show hidden files" #~ msgstr "Visa inte dolda filer" #~ msgid "File filter" #~ msgstr "Filfilter" #~ msgid "Choose directories" #~ msgstr "Välj kataloger" #~ msgid "Ignore directories" #~ msgstr "Ignorera kataloger" #~ msgid "Do not show hidden directories" #~ msgstr "Visa inte dolda kataloger" #~ msgid "Directory filter" #~ msgstr "Katalogfilter" #~ msgid "Press this button to dismiss the dialog" #~ msgstr "Tryck på denna knapp för att stänga dialogfönstret" #~ msgid "Syntax highlight editor" #~ msgstr "Syntaxfärga redigerare" #~ msgid "Disable syntax highlighting" #~ msgstr "Inaktivera syntaxfärgning" #~ msgid "Reload System Defaults" #~ msgstr "Läs om systemstandardalternativ" #~ msgid "Reload Session Defaults" #~ msgstr "Läs om sessionsstandardalternativ" #~ msgid "_Save Theme As" #~ msgstr "_Spara tema som" #~ msgid "Delete Theme" #~ msgstr "Ta bort tema" #~ msgid "Select theme:" #~ msgstr "Välj tema:" #~ msgid "Theme" #~ msgstr "Tema" #~ msgid "Font:" #~ msgstr "Typsnitt:" #~ msgid "Attributes:" #~ msgstr "Attribut:" #~ msgid "Fore color:" #~ msgstr "Förgrundsfärg:" #~ msgid "Back color:" #~ msgstr "Bakgrundsfärg:" #~ msgid "Use default" #~ msgstr "Använd standardvärde" #~ msgid "Bold" #~ msgstr "Fet" #~ msgid "Italic" #~ msgstr "Kursiv" #~ msgid "Underlined" #~ msgstr "Understruken" #~ msgid "Pick a color" #~ msgstr "Välj en färg" #~ msgid "Select highlight style to edit:" #~ msgstr "Välj färgningsstil att redigera:" #~ msgid "Highlight style" #~ msgstr "Färgningsstil" #~ msgid "Selection foreground:" #~ msgstr "Markeringsförgrund:" #~ msgid "Selection background:" #~ msgstr "Markeringsbakgrund:" #~ msgid "Calltip background:" #~ msgstr "Anropstipsbakgrund:" #~ msgid "Caret (cursor) color:" #~ msgstr "Caret-färg (markörfärg):" #~ msgid "Other colors" #~ msgstr "Andra färger" #~ msgid "window1" #~ msgstr "fönster1" #~ msgid "Projects:" #~ msgstr "Projekt:" #~ msgid "Directories" #~ msgstr "Kataloger" #~ msgid "Recent Projects:" #~ msgstr "Senaste projekt:" #~ msgid "Recent Files:" #~ msgstr "Senaste filer:" #~ msgid "Combo Popdown:" #~ msgstr "Kombinationsmeny:" #~ msgid "History sizes" #~ msgstr "Historikstorlekar" #~ msgid "Automatically load last Project" #~ msgstr "Läs automatiskt in senaste projekt" #~ msgid "Build symbol browser automatically" #~ msgstr "Bygg symbolbläddrare automatiskt" #~ msgid "Build file browser automatically" #~ msgstr "Bygg filbläddrare automatiskt" #~ msgid "Update tags image automatically" #~ msgstr "Uppdatera automatiskt taggbilder" #~ msgid "Beep on job complete" #~ msgstr "Pip när jobbet är klart" #~ msgid "Dialog on job complete" #~ msgstr "Dialogfönster då jobbet är klart" #~ msgid "Show tooltips" #~ msgstr "Visa verktygstips" #~ msgid "User name:" #~ msgstr "Användarnamn:" #~ msgid "User information" #~ msgstr "Användarinformation" #~ msgid "window2" #~ msgstr "fönster2" #~ msgid "Build command:" #~ msgstr "Byggkommando:" #~ msgid "Keep going when some targets can not be made" #~ msgstr "Fortsätt då en del mål inte kan skapas" #~ msgid "Silent. That is, do not echo shell commads during make" #~ msgstr "Tyst: Dvs eka inte skalkommandon under körning av make" #~ msgid "Warn when an undefined variable is referenced in the Makefile" #~ msgstr "Varna då en odefinierad variabel refereras i Makefile" #~ msgid "Maximum number of independent jobs (0 == no limit)" #~ msgstr "Maximalt antal oberoende jobb (0 == ingen gräns)" #~ msgid "Additional build options:" #~ msgstr "Ytterligare byggalternativ:" #~ msgid "Build options" #~ msgstr "Byggalternativ" #~ msgid "Autosave editor files before build starts" #~ msgstr "Spara automatiskt redigerarfiler innan bygget påbörjas" #~ msgid "Others" #~ msgstr "Annat" #~ msgid "window3" #~ msgstr "fönster3" #~ msgid "Syntax highlighting and color styles" #~ msgstr "Syntaxfärgning och färgstilar" #~ msgid "Enable files autosave" #~ msgstr "Aktivera automatiskt sparande av filer" #~ msgid "Enable braces check" #~ msgstr "Aktivera klammerkontroll" #~ msgid "Strip trailling spaces on file save" #~ msgstr "Ta bort eftersläpande blanksteg vid filsparande" #~ msgid "Collapse all code folds on file open" #~ msgstr "Fäll ihop alla kodinhägnader vid filöppning" #~ msgid "Filter extraneous characters in DOS mode" #~ msgstr "Filtrera onödiga tecken i DOS-läge" #~ msgid "Wrap bookmarks search around" #~ msgstr "Börja om bokmärkessökning från början" #~ msgid "Choose autocomplete for single match" #~ msgstr "Välj automatisk ifyllnad för enkel träff" #~ msgid "Autocomplete XML/HML closing tags" #~ msgstr "Fyll automatiskt i stängtaggar för XML/HML" #~ msgid "Pressing tab indents" #~ msgstr "Tryck på tabulatortangenten indenterar" #~ msgid "Pressing backspace un-indents" #~ msgstr "Tryck på bakåtsteg tar bort indentering" #~ msgid "Do not show" #~ msgstr "Visa inte" #~ msgid "Bring recent tabs first on page switch" #~ msgstr "Ta fram nyligen använda flikar vid sidbyte" #~ msgid "Sort in alphabetical order" #~ msgstr "Sortera alfabetiskt" #~ msgid "Position:" #~ msgstr "Position:" #~ msgid "Top" #~ msgstr "Överst" #~ msgid "Bottom" #~ msgstr "Nederst" #~ msgid "Left" #~ msgstr "Vänster" #~ msgid "Editor notebook tabs" #~ msgstr "Flikar i redigerarflikhäfte" #~ msgid "Line numbers margin width (pixels)" #~ msgstr "Bredd på radnummermarginal (bildpunkter)" #~ msgid "Autosave timer interval in minutes" #~ msgstr "Tidsintervall i minuter för automatiskt sparande" #~ msgid "Session timer interval in minutes" #~ msgstr "Tidsintervall i minuter för session" #~ msgid "Editor caret (cursor) width in pixel" #~ msgstr "Bredd på redigerar-caret (markör) i bildpunkt" #~ msgid "Autocomplete automatic size" #~ msgstr "Autokomplettera automatisk storlek" #~ msgid "Caret blink period in milli-seconds" #~ msgstr "Blinkperiod för caret i millisekunder" #~ msgid "Column at edge indicator" #~ msgstr "Kantkolumnindikator" #~ msgid "Enable code folding" #~ msgstr "Aktivera kodinhängning" #~ msgid "Enable comments folding" #~ msgstr "Aktivera kommentarinhängning" #~ msgid "Compact folding" #~ msgstr "Kompakt inhängning" #~ msgid "Draw lines below folded lines" #~ msgstr "Rita linjer under inhägnade rader" #~ msgid "Enable python comments folding" #~ msgstr "Aktivera inhängning av pythonkommentarer" #~ msgid "Enable python quoted strings folding" #~ msgstr "Aktivera inhängning av pythonciterade strängar" #~ msgid "Enable HTML tags folding" #~ msgstr "Aktivera inhängning av HTML-taggar" #~ msgid "Fold style:" #~ msgstr "Inhängningsstil:" #~ msgid "Arrows" #~ msgstr "Pilar" #~ msgid "Plus/Minus" #~ msgstr "Plus/Minus" #~ msgid "Circular" #~ msgstr "Cirkulär" #~ msgid "Squares" #~ msgstr "Kvadrater" #~ msgid "Code folding options" #~ msgstr "Alternativ för kodinhägnad" #~ msgid "window4" #~ msgstr "fönster4" #~ msgid "Tab size in spaces:" #~ msgstr "Tabulatorstorlek i blanksteg:" #~ msgid "Indentation size in spaces:" #~ msgstr "Automatisk indenteringsstorlek i blanksteg:" #~ msgid "Disable auto-format" #~ msgstr "Inaktivera automatisk formatering" #~ msgid "Enable automatic indentation" #~ msgstr "Aktivera automatisk indentering" #~ msgid "Use tabs for indentation" #~ msgstr "Använd tabulatorer för indentering" #~ msgid "Indent opening braces" #~ msgstr "Indentera öppningsparenteser" #~ msgid "Indent closing braces" #~ msgstr "Indentera stängparenteser" #~ msgid "Custom style" #~ msgstr "Anpassad stil" #~ msgid "GNU coding style" #~ msgstr "GNU-kodningsstil" #~ msgid "Kernighan & Ritchie style" #~ msgstr "Kernighan & Ritchie-stil" #~ msgid "Original Berkeley style" #~ msgstr "Ursprunglig Berkeley-stil" #~ msgid "Style of Kangleipak" #~ msgstr "Kangleipak-stil" #~ msgid "Hello World style" #~ msgstr "Hej världen!-stil" #~ msgid "Crazy boy style" #~ msgstr "Galenpannastil" #~ msgid "Format style" #~ msgstr "Formateringsstil" #~ msgid "Indentation and auto-format options" #~ msgstr "Alternativ för indentering och automatisk formatering" #~ msgid "window5" #~ msgstr "fönster5" #~ msgid "Mode:" #~ msgstr "Läge:" #~ msgid "Colour" #~ msgstr "Färg" #~ msgid "Monochrome" #~ msgstr "Svartvit" #~ msgid "Add page header" #~ msgstr "Lägg till sidhuvud" #~ msgid "Enable line wrap" #~ msgstr "Aktivera radbrytning" #~ msgid "Add line number every:" #~ msgstr "Lägg till radnummer var:" #~ msgid "Lines" #~ msgstr "Rader" #~ msgid "Print options" #~ msgstr "Utskriftsalternativ " #~ msgid "window6" #~ msgstr "fönster6" #~ msgid "Truncate long messages" #~ msgstr "Kapa långa meddelanden" #~ msgid "Number of first characters to show:" #~ msgstr "Antal första tecken att visa:" #~ msgid "Number of last characters to show:" #~ msgstr "Antal sista tecken att visa:" #~ msgid "Tabs position:" #~ msgstr "Tabulatorposition:" #~ msgid "Messages options" #~ msgstr "Meddelandealternativ" #~ msgid "Enable automatic messages indicators" #~ msgstr "Aktivera automatiska meddelandeindikatorer" #~ msgid "Normal message indicator style:" #~ msgstr "Stil för normal meddelandeindikator:" #~ msgid "Warning message indicator style:" #~ msgstr "Stil för varningsmeddelandeindikator:" #~ msgid "Error message indicator style:" #~ msgstr "Stil för felmeddelandeindikator:" #~ msgid "Underline-Plain" #~ msgstr "Understruken-normal" #~ msgid "Underline-Squiggle" #~ msgstr "Understruken-snirklig" #~ msgid "Underline-TT" #~ msgstr "Understruken-TT" #~ msgid "Diagonal" #~ msgstr "Diagonal" #~ msgid "Strike-Out" #~ msgstr "Genomstrykning" #~ msgid "Indicators" #~ msgstr "Indikatorer" #~ msgid "Errors messages:" #~ msgstr "Felmeddelanden:" #~ msgid "Warnings messages:" #~ msgstr "Varningsmeddelanden:" #~ msgid "Normal messages:" #~ msgstr "Normala meddelanden:" #~ msgid "Other messages:" #~ msgstr "Övriga meddelanden:" #~ msgid "Message colors" #~ msgstr "Meddelandefärger" #~ msgid "window7" #~ msgstr "fönster7" #~ msgid "CVS forced update [-dP -A]" #~ msgstr "Tvingad CVS-uppdatering [-dP -A]" #~ msgid "CVS context diff format" #~ msgstr "Sammanhangsformat för CVS diff" #~ msgid "CVS unified diff format" #~ msgstr "Enhetligt format för CVS diff" #~ msgid "CVS command options" #~ msgstr "CVS-kommandoalternativ" #~ msgid "window8" #~ msgstr "fönster8" #~ msgid "Use GNOME terminal profile:" #~ msgstr "Använd GNOME:s terminalprofil:" #~ msgid "Default" #~ msgstr "Standardvärde" #~ msgid "Use currently selected profile in GNOME terminal" #~ msgstr "Använd för tillfället markerad profil i GNOME-terminalen" #~ msgid "Terminal options" #~ msgstr "Terminalalternativ" #~ msgid "Application Wizard" #~ msgstr "Programguide" #~ msgid "Import Wizard" #~ msgstr "Importguide" #~ msgid "Open existing Project." #~ msgstr "Öppna befintligt projekt." #~ msgid "Open last working Project" #~ msgstr "Öppna senaste arbetsprojektet" #~ msgid "Open Project" #~ msgstr "Öppna projekt" #~ msgid "Open existing file or create a new file." #~ msgstr "Öppna befintlig fil eller skapa en ny fil." #~ msgid "New file" #~ msgstr "Ny fil" #~ msgid "Open file" #~ msgstr "Öppna fil" #~ msgid "Do not show start with dialog again." #~ msgstr "Visa inte starta med-dialogen igen." #~ msgid "Windows style" #~ msgstr "Fönsterstil" #~ msgid "Docked style" #~ msgstr "Dockad stil" #~ msgid "Undocked style" #~ msgstr "Odockad stil" #~ msgid "Syntax highlighting style" #~ msgstr "Stil för syntaxfärgning" #~ msgid "Helper applications" #~ msgstr "Hjälpprogram" #~ msgid "Summary" #~ msgstr "Sammanfattning" #~ msgid "Class name not valid" #~ msgstr "Klassnamn är inte giltigt" #~ msgid "Base class name not valid" #~ msgstr "Basklassnamn är inte giltigt" #~ msgid "Declaration file name not valid" #~ msgstr "Deklarationsfilnamn är inte giltigt" #~ msgid "Implementation file name not valid" #~ msgstr "Implementationsfilnamn är inte giltigt" #~ msgid "Error in importing files" #~ msgstr "Fel vid import av filer" #~ msgid "Class Builder" #~ msgstr "Klassbyggare" #~ msgid "Help" #~ msgstr "Hjälp" #~ msgid "Cancel" #~ msgstr "Avbryt" #~ msgid "Finish" #~ msgstr "Slutför" #~ msgid "Enter the name for the class you want to add." #~ msgstr "Ange namnet på den klass du vill lägga till." #~ msgid "Enter the declaration file name." #~ msgstr "Ange deklarationsfilnamnet." #~ msgid "Enter the implementation file name." #~ msgstr "Ange implementationsfilnamnet." #~ msgid "..." #~ msgstr "..." #~ msgid "Browse for the declaration file name." #~ msgstr "Bläddra efter deklarationsfilnamnet." #~ msgid "Browse for the implementation file name." #~ msgstr "Bläddra efter implementationsfilnamnet." #~ msgid "Enter the name of the class your new class will inherit from." #~ msgstr "Ange namnet på den klass din nya klass kommer att ärva från." #~ msgid "Class name: " #~ msgstr "Klassnamn: " #~ msgid "Header file: " #~ msgstr "Huvudfil: " #~ msgid "Source file: " #~ msgstr "Källkodsfil: " #~ msgid "Base class: " #~ msgstr "Basklass:" #~ msgid "Base class inheritance: " #~ msgstr "Basklassärvning: " #~ msgid "Inline the declaration and implementation" #~ msgstr "Inlin:a deklarationen och implementationen" #~ msgid "" #~ "If checked, the plugin will generate both the declaration and " #~ "implementation in the header file and will not create a source file." #~ msgstr "" #~ "Om detta är ikryssat kommer insticksmodulen att skapa både deklarationen " #~ "och implementationen i headerfilen, och kommer inte att skapa en " #~ "källkodsfil." #~ msgid "Class type: " #~ msgstr "Klasstyp: " #~ msgid "public" #~ msgstr "publik" #~ msgid "protected" #~ msgstr "skyddad" #~ msgid "private" #~ msgstr "privat" #~ msgid "Choose the type of inheritence from the base class." #~ msgstr "Välj typen av ärvning från basklassen." #~ msgid "Virtual destructor" #~ msgstr "Virtuell destruktor" #~ msgid "If checked, the destructor of your class will be declared virtual." #~ msgstr "" #~ "Om detta är ikryssat kommer destruktorn i din klass att deklareras som " #~ "virtuell." #~ msgid "Generic C++ Class" #~ msgstr "Allmän C++-klass" #~ msgid "GTK+ Class" #~ msgstr "GTK+-klass" #~ msgid "Select the type of class you would like to create." #~ msgstr "Välj den typ av klass du vill skapa." #~ msgid "Interface to patch Projects or individual files" #~ msgstr "Gränssnitt för att patcha projekt eller enstaka filer" #~ msgid "File/Dir to patch" #~ msgstr "Fil/Katalog att patcha" #~ msgid "Patch file" #~ msgstr "Patchfil" #~ msgid "Patch level (-p)" #~ msgstr "Patchnivå (-p)" #~ msgid "Patch Plugin" #~ msgstr "Patchinsticksmodul" #~ msgid "Patch" #~ msgstr "Patch" #~ msgid "Selected directory to patch" #~ msgstr "Vald katalog att patcha" #~ msgid "Selected patch file" #~ msgstr "Vald patchfil" #~ msgid "Patch plugin" #~ msgstr "Patchinsticksmodul" #~ msgid "The patch plugin" #~ msgstr "Patchinsticksmodulen" #~ msgid "Please select the directory where the patch should be applied" #~ msgstr "Välj den katalog där patchen ska appliceras" #~ msgid "Patching %s using %s\n" #~ msgstr "Patchar %s med %s\n" #~ msgid "Patching...\n" #~ msgstr "Patchar...\n" #~ msgid "There are unfinished jobs, please wait until they are finished" #~ msgstr "Det finns oavslutade arbeten. Vänta tills de avslutats." #~ msgid "Patch successful.\n" #~ msgstr "Patchningen lyckades.\n" #~ msgid "Sample Plugin Description. Holla!" #~ msgstr "Beskrivning för exempelinsticksmodul. Hej!" #~ msgid "Hello world!" #~ msgstr "Hej världen!" #~ msgid "Sample plugin!" #~ msgstr "Exempelinsticksmodul" #~ msgid "Sample plugin" #~ msgstr "Exempelinsticksmodul" #~ msgid "This is a sample plugin" #~ msgstr "Detta är en exempelinsticksmodul" #~ msgid "No file to print!" #~ msgstr "Ingen fil att skriva ut!" #~ msgid "Unable to get text buffer for printing" #~ msgstr "Kan inte få tag i textbuffert för utskrift" #~ msgid "File: %s" #~ msgstr "Fil: %s" #~ msgid "%d" #~ msgstr "%d" #~ msgid "Printing .." #~ msgstr "Skriver ut..." #~ msgid "Printing ..." #~ msgstr "Skriver ut..." #~ msgid "Print" #~ msgstr "Skriv ut" #~ msgid "Print Preview" #~ msgstr "Förhandsgranskning av utskrift" #~ msgid "Unable to open %s in %s" #~ msgstr "Kan inte öppna %s i %s" #~ msgid "" #~ "No default viewer specified for the mime type %s.\n" #~ "Please set it in GNOME control center" #~ msgstr "" #~ "Ingen standardvisare är angiven för mimetypen %s.\n" #~ "Ställ in den i GNOME-kontrollpanelen" #~ msgid "Unable to build user interface for file filter" #~ msgstr "Kan inte bygga användargränssnitt för filfilter" #~ msgid "Update file" #~ msgstr "Uppdatera fil" #~ msgid "Update current working copy" #~ msgstr "Uppdatera aktuell arbetskopia" #~ msgid "Commit file" #~ msgstr "Verkställ fil" #~ msgid "Commit changes to the repository" #~ msgstr "Verkställ ändringarna i lagret" #~ msgid "Status of file" #~ msgstr "Filstatus" #~ msgid "Print the status of the current file" #~ msgstr "Skriv ut den aktuella filens status" #~ msgid "Get file log" #~ msgstr "Hämta fillogg" #~ msgid "Print the CVS log for the current file" #~ msgstr "Skriv ut CVS-loggen för den aktuella filen" #~ msgid "Add file" #~ msgstr "Lägg till fil" #~ msgid "Add the current file to the repository" #~ msgstr "Lägg till den aktuella filen till lagret" #~ msgid "Remove file" #~ msgstr "Ta bort fil" #~ msgid "Remove the current file from the repository" #~ msgstr "Ta bort den aktuella filen från lagret" #~ msgid "Diff file" #~ msgstr "Diff:a fil" #~ msgid "Create a diff between the working copy and the repository" #~ msgstr "Skapa en diff mellan arbetskopian och lagret" #~ msgid "Open in default viewer" #~ msgstr "Öppna i standardvisaren" #~ msgid "Refresh" #~ msgstr "Uppdatera" #~ msgid "Docked" #~ msgstr "Dockad" #~ msgid "Dock/Undock the Project Window" #~ msgstr "Docka/Ta loss projektfönstret" #~ msgid "Customize" #~ msgstr "Anpassa" #~ msgid "Customize the file browser" #~ msgstr "Anpassa filbläddraren" #~ msgid "Rev" #~ msgstr "Rev" #~ msgid "Cannot create application... exiting\n" #~ msgstr "Kan inte skapa program...avslutar\n" #~ msgid "Recent Files " #~ msgstr "Senaste filer " #~ msgid "# * DO NOT EDIT OR RENAME THIS FILE ** Generated by Anjuta **\n" #~ msgstr "" #~ "# * REDIGERA INTE ELLER BYT INTE NAMN PÅ DENNA FIL ** Genererad av Anjuta " #~ "**\n" #~ msgid "All files saved ..." #~ msgstr "Alla filer sparade..." #~ msgid "Anjuta: %s (Saved)" #~ msgstr "Anjuta: %s (Sparad)" #~ msgid "Anjuta: %s (Unsaved)" #~ msgstr "Anjuta: %s (Osparad)" #~ msgid "Anjuta: No file" #~ msgstr "Anjuta: Ingen fil" #~ msgid "ERROR: " #~ msgstr "FEL: " #~ msgid "" #~ "The \"%s\" utility is not installed.\n" #~ "Install it and then restart Anjuta." #~ msgstr "" #~ "Verktyget \"%s\" är inte installerat.\n" #~ "Installera det och starta sedan om Anjuta." #~ msgid "None" #~ msgstr "Ingen" #~ msgid "DOS (CRLF)" #~ msgstr "DOS (CRLF)" #~ msgid "Unix (LF)" #~ msgstr "Unix (LF)" #~ msgid "Mac (CR)" #~ msgstr "Mac (CR)" #~ msgid "Unknown" #~ msgstr "Okänd" #~ msgid "OVR" #~ msgstr "ÖVR" #~ msgid "INS" #~ msgstr "INS" #~ msgid "" #~ " Project: %s Zoom: %d Line: %04d Col: %03d %" #~ "s Job: %s Mode: %s" #~ msgstr "" #~ " Projekt: %s Zoom: %d Rad: %04d Kolumn: %03d %" #~ "s Jobb: %s Läge: %s" #~ msgid "Looking up symbol" #~ msgstr "Slår upp symbol" #~ msgid "Finding in Files ....\n" #~ msgstr "Söker i filer...\n" #~ msgid "" #~ "One or more files are not saved.\n" #~ "Do you still want to exit?" #~ msgstr "" #~ "En eller flera filer är inte sparade.\n" #~ "Vill du fortfarande avsluta?" #~ msgid "Not a regular file: %s." #~ msgstr "Inte en vanlig fil: %s." #~ msgid "No read permission for: %s." #~ msgstr "Inga läsrättigheter för: %s." #~ msgid "" #~ "The file '%s' already exists.\n" #~ "Do you want to overwrite it?." #~ msgstr "" #~ "Filen \"%s\" finns redan.\n" #~ "Vill du skriva över den?" #~ msgid "Could not open file for writing" #~ msgstr "Kunde inte öppna fil för skrivning" #~ msgid "Unable to create settings directory.\n" #~ msgstr "Kan inte skapa inställningskatalog.\n" #~ msgid "Click here to undock this window" #~ msgstr "Klicka här för att koppla från detta fönster" #~ msgid "Click here to hide this window" #~ msgstr "Klicka här för att gömma detta fönster" #~ msgid "Information" #~ msgstr "Information" #~ msgid "Unable to load plugin %s. Error: %s" #~ msgstr "Kan inte läsa in insticksmodulen %s. Fel: %s" #~ msgid "Plugin protocol %s unknown Error:%s" #~ msgstr "Insticksmodulprotokoll %s okänt Fel:%s" #~ msgid "Unable to start plugin %s" #~ msgstr "Kan inte starta insticksmodulen %s" #~ msgid "Bad parameters to plugin %s. Error: %s" #~ msgstr "Felaktiga parametrar till insticksmodulen %s. Fel: %s" #~ msgid "" #~ "Unable to load plugin %s.\n" #~ "Error: %s" #~ msgstr "" #~ "Kan inte läsa in insticksmodulen %s.\n" #~ "Fel: %s" #~ msgid "Out of memory scanning for plugins." #~ msgstr "Slut på minne vid genomsökning efter insticksmoduler." #~ msgid "Unable to build user interface for tool editor" #~ msgstr "Kan inte bygga användargränssnitt för verktygsredigerare" #~ msgid "Are you sure you want to delete tool '%s'" #~ msgstr "Är du säker på att du vill ta bort verktyget \"%s\"" #~ msgid "You must provide a tool name!" #~ msgstr "Du måste ange ett verktygsnamn!" #~ msgid "You must provide a tool command!" #~ msgstr "Du måste ange ett verktygskommando!" #~ msgid "A tool with the name '%s' already exists!" #~ msgstr "Det finns redan ett verktyg med namnet \"%s\"!" #~ msgid "Unable to build user interface for tool help" #~ msgstr "Kan inte bygga användargränssnitt för verktygshjälp" #~ msgid "Variable" #~ msgstr "Variabel" #~ msgid "Meaning" #~ msgstr "Betydelse" #~ msgid "Value" #~ msgstr "Värde" #~ msgid "Unable to build user interface for tool parameters" #~ msgstr "Kan inte bygga användargränssnitt för verktygsparametrar" #~ msgid "%s: Command line parameters" #~ msgstr "%s: Kommandoradsparametrar" #~ msgid "Classes" #~ msgstr "Klasser" #~ msgid "Structs" #~ msgstr "Strukter" #~ msgid "Variables" #~ msgstr "Variabler" #~ msgid "Macros" #~ msgstr "Makron" #~ msgid "Goto Definition" #~ msgstr "Gå till definition" #~ msgid "Goto Declaration" #~ msgstr "Gå till deklaration" #~ msgid "Find Usage" #~ msgstr "Sök användning" #~ msgid "Symbol" #~ msgstr "Symbol" #~ msgid "Project name" #~ msgstr "Projektnamn" #~ msgid "Source target name" #~ msgstr "Källmålsnamn" #~ msgid "Project version" #~ msgstr "Projektversion" #~ msgid "" #~ "Invalid %s field:\n" #~ "You must supply a valid %s field to proceed further." #~ msgstr "" #~ "Ogiltigt %s-fält:\n" #~ "Du måste ange ett giltigt %s-fält för att kunna fortsätta." #~ msgid "Yes" #~ msgstr "Ja" #~ msgid "No" #~ msgstr "Nej" #~ msgid "" #~ "Confirm the following information:\n" #~ "\n" #~ msgstr "" #~ "Bekräfta följande information:\n" #~ "\n" #~ msgid "Project Name: " #~ msgstr "Projektnamn: " #~ msgid "Project Type: " #~ msgstr "Projekttyp: " #~ msgid "Target Type: " #~ msgstr "Måltyp: " #~ msgid "Source Target: " #~ msgstr "Källmål: " #~ msgid "Version: " #~ msgstr "Version: " #~ msgid "Author: " #~ msgstr "Författare: " #~ msgid "Language: " #~ msgstr "Språk: " #~ msgid "Gettext Support: " #~ msgstr "Gettext-stöd: " #~ msgid "Pid" #~ msgstr "Pid" #~ msgid "User" #~ msgstr "Användare" #~ msgid "Time" #~ msgstr "Tid" #~ msgid "Command" #~ msgstr "Kommando" #~ msgid "Unable to execute: %s." #~ msgstr "Kan inte köra: %s." #~ msgid "Unable to open the file: %s\n" #~ msgstr "Kan inte öppna filen: %s\n" #~ msgid "Line" #~ msgstr "Rad" #~ msgid "Pass" #~ msgstr "Pass" #~ msgid "Condition" #~ msgstr "Villkor" #~ msgid "You must give a valid location to set the breakpoint." #~ msgstr "Du måste ha en giltig plats att sätta brytpunkten på." #~ msgid "Are you sure you want to delete all the breakpoints?" #~ msgstr "Är du säker på att du vill ta bort alla brytpunkter?" #~ msgid "Old breakpoints disabled." #~ msgstr "Gamla brytpunkter är inaktiverade." #~ msgid "0" #~ msgstr "0" #~ msgid "This file has not been saved. Save it first and then build." #~ msgstr "Denna fil har inte sparats. Spara den först och kompilera sedan." #~ msgid "The executable is up-to-date, there is no need to build it again." #~ msgstr "Den körbara filen är aktuell. Ombyggnad behövs inte." #~ msgid "No build command has been specified for this type of file." #~ msgstr "Inget byggkommando har angivits för denna typ av fil." #~ msgid "Building file: %s ...\n" #~ msgstr "Bygger fil: %s...\n" #~ msgid "Total time taken: %d secs\n" #~ msgstr "Totalt åtgången tid: %d sekunder\n" #~ msgid "Build Project" #~ msgstr "Bygg projekt" #~ msgid "Building source directory of the Project: " #~ msgstr "Bygger projektets källkatalog: " #~ msgid "Unable to build Project. Check Settings->Commands." #~ msgstr "Kan inte bygga projekt. Kontrollera Inställningar->Kommandon." #~ msgid "Building the whole Project: " #~ msgstr "Bygger hela projektet: " #~ msgid "Unable to build tarball. Check Settings->Commands." #~ msgstr "Kan inte bygga tarboll. Kontrollera Inställningar->Kommandon." #~ msgid "Build Distribution" #~ msgstr "Bygg distribution" #~ msgid "Building the distribution package of the Project: " #~ msgstr "Bygger distributionspaketet för projektet: " #~ msgid "Do you prefer installing as root ?" #~ msgstr "Föredrar du att installera som root?" #~ msgid "Unable to auto generate. Check Settings->Commands." #~ msgstr "Kan inte autogenerera. Kontrollera Inställningar->Kommandon." #~ msgid "Auto generate Project" #~ msgstr "Autogenerera projekt" alleyoop-0.9.8/po/en_CA.po0000644000175000001440000002275011276130505012222 00000000000000# English/Canada translation of alleyoop. # Copyright (C) 2004-2005 Adam Weinberger and the GNOME Foundation # This file is distributed under the same licence as the alleyoop package. # Adam Weinberger , 2004, 2005. # # msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-12-28 12:56-0500\n" "PO-Revision-Date: 2005-05-13 18:18-0400\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" #: ../src/alleyoop.c:172 msgid "Run Executable..." msgstr "Run Executable..." #: ../src/alleyoop.c:186 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." #: ../src/alleyoop.c:287 #, c-format msgid "Could not load `%s': %s" msgstr "Could not load `%s': %s" #: ../src/alleyoop.c:315 msgid "Load Valgrind log..." msgstr "Load Valgrind log..." #: ../src/alleyoop.c:353 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Could not save to `%s': %s\n" "Overwrite?" #: ../src/alleyoop.c:368 #, c-format msgid "Could not save to `%s': %s" msgstr "Could not save to `%s': %s" #: ../src/alleyoop.c:414 msgid "Save Valgrind log..." msgstr "Save Valgrind log..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:542 msgid "Jeffrey Stedfast" msgstr "Adam Weinberger " #: ../src/alleyoop.c:552 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop is a Valgrind front-end for the GNOME environment." #: ../src/alleyoop.c:564 msgid "_Run" msgstr "_Run" #: ../src/alleyoop.c:566 msgid "_Kill" msgstr "_Kill" #: ../src/alleyoop.c:586 msgid "Suppressions" msgstr "Suppressions" #: ../src/alleyoop.c:586 msgid "View/Edit Suppressions" msgstr "View/Edit Suppressions" #: ../src/alleyoop.c:617 msgid "Tool" msgstr "Tool" #: ../src/alleyoop.c:632 msgid "Run" msgstr "Run" #: ../src/alleyoop.c:632 msgid "Run Program" msgstr "Run Program" #: ../src/alleyoop.c:637 msgid "Kill" msgstr "Kill" #: ../src/alleyoop.c:637 msgid "Kill Program" msgstr "Kill Program" #: ../src/alleyoop.c:640 msgid "Open Log File" msgstr "Open Log File" #: ../src/alleyoop.c:642 msgid "Save Log File" msgstr "Save Log File" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Display help and quit" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Display version and quit" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Add to the list of directories to search for source files" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Recursively add and all subdirectories to the list of directories to " "search for source files" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Specify the default Valgrind tool to use" #: ../src/main.c:205 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoop Preferences" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Preview" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "lines above and below the target line." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Failed to create pipe to '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Failed to create child process '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Override default settings" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Enter ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Error contains" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Function contains" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Object contains" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Source filename contains" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Invalid regular expression: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:701 msgid "Valgrind Suppression Rules" msgstr "Valgrind Suppression Rules" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1042 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind Suppression" #: ../src/vgdefaultview.c:1216 msgid "Cu_t" msgstr "Cu_t" #: ../src/vgdefaultview.c:1217 msgid "_Copy" msgstr "_Copy" #: ../src/vgdefaultview.c:1218 msgid "_Paste" msgstr "_Paste" #: ../src/vgdefaultview.c:1220 msgid "Suppress" msgstr "Suppress" #: ../src/vgdefaultview.c:1222 msgid "Edit in GNU/Emacs" msgstr "Edit in GNU/Emacs" #: ../src/vgdefaultview.c:1223 msgid "Edit in XEmacs" msgstr "Edit in XEmacs" #: ../src/vgdefaultview.c:1224 msgid "Edit in GVim" msgstr "Edit in GVim" #: ../src/vgdefaultview.c:1225 msgid "Edit in Custom Editor" msgstr "Edit in Custom Editor" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "General" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "Demangle C++ symbol names" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "Show" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "callers in stack trace" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "Stop showing errors if there are too many" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "Round malloc sizes to next word" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "Trace any child processes forked off by the program being debugged" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "Track open file descriptors" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "Add time stamps to log messages" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Call __libc_freeres() at exit before checking for memory leaks" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "Suppressions File:" #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "Choose Valgrind Suppressions File..." #: ../src/vghelgrindprefs.c:162 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:167 msgid "Assume thread stacks are used privately" msgstr "Assume thread stacks are used privately" #: ../src/vghelgrindprefs.c:176 msgid "Show location of last word access on error:" msgstr "Show location of last word access on error:" #: ../src/vgmemcheckprefs.c:186 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:191 msgid "Memory leaks" msgstr "Memory leaks" #: ../src/vgmemcheckprefs.c:196 msgid "Leak check:" msgstr "Leak check:" #: ../src/vgmemcheckprefs.c:207 msgid "Show reachable blocks in leak check" msgstr "Show reachable blocks in leak check" #: ../src/vgmemcheckprefs.c:215 msgid "Leak resolution:" msgstr "Leak resolution:" #: ../src/vgmemcheckprefs.c:233 msgid "Keep up to" msgstr "Keep up to" #: ../src/vgmemcheckprefs.c:245 msgid "bytes in the queue after being free()'d" msgstr "bytes in the queue after being free()'d" #: ../src/vgmemcheckprefs.c:252 msgid "Work around bugs generated by gcc 2.96" msgstr "Work around bugs generated by gcc 2.96" #: ../src/vgmemcheckprefs.c:260 msgid "Ignore errors produced by inline strlen() calls" msgstr "Ignore errors produced by inline strlen() calls" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Function" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Shared Object" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Grow" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Shrink" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Rule name:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Suppress messages of type:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Suppress when using:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "System call:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Call chain:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Error saving to suppression file `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "You have forgotten to name your suppression rule." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Edit" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Cannot save suppression rules: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "You have not set a suppressions file in your settings." alleyoop-0.9.8/po/ja.po0000644000175000001440000002554711333307120011647 00000000000000# alleyoop ja.po. # Copyright (C) 2003-2004,2007-2009 Free Software Foundation, Inc. # Takeshi AIHANA , 2003-2004,2007-2009. # msgid "" msgstr "" "Project-Id-Version: alleyoop trunk\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-11-27 00:23+0900\n" "PO-Revision-Date: 2009-11-27 00:11+0900\n" "Last-Translator: Takeshi AIHANA \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "プログラムの実行..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "実行するプログラムのパスと\n" "引数を入力して下さい。" #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "'%s' を読み込めませんでした: %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Valgrind ログの読み込み..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "'%s' に保存できませんでした: %s\n" "上書きしてもよろしいですか?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "'%s' へ保存できませんでした: %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Valgrind ログの保存..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "相花 毅 " #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop は Valgrind の GNOME フロント・エンドです。" #: ../src/alleyoop.c:560 msgid "_Run" msgstr "実行(_R)" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "強制終了(_K)" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "エラーの抑制" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "禁止項目の表示と編集" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "ツール" #: ../src/alleyoop.c:628 msgid "Run" msgstr "実行" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "プログラムを実行します" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "強制終了" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "プログラムを強制終了します" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "ログ・ファイルを開きます" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "ログ・ファイルを保存します" #: ../src/main.c:164 msgid "Display help and quit" msgstr "ヘルプを表示して終了する" #: ../src/main.c:165 msgid "Display version and quit" msgstr "バージョンを表示して終了する" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "ソース・ファイルを検索する をフォルダの一覧に追加する" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "ソース・ファイルを検索するフォルダの一覧に と全てのサブフォルダを再帰的" "に追加する" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "使用するデフォルトの Valgrind ツールを指定する" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoop の設定" #: ../src/prefs.c:163 msgid "Editor:" msgstr "エディタ:" #: ../src/prefs.c:180 msgid "Preview" msgstr "対象となる行の前後に表示する行数:" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "行" #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "'%s' へのパイプの生成に失敗: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "子プロセス '%s' の生成に失敗しました: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "設定 '%s' の書式が間違っています。\n" "\"<整数>,<整数>,<整数>\" の書式で値を入力して下さい。" #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "デフォルトの設定を上書きする" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "<サイズ>,,<行サイズ>:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "エラーが次のものを含む" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "関数が次のものを含む" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "オブジェクトが次のものを含む" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "ソースファイル名が次のものを含む" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Valgrind エラー抑制ルール" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind エラーの抑制" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "切り取り(_T)" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "コピー(_C)" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "貼り付け(_P)" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "エラー抑制" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "GNU/Emacs で編集" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "XEmacs で編集" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "GVim で編集" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "他のエディタで編集" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "全般" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "C++ のシンボル名をデコード (demangle) する" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "表示するスタック・トレース中の関数呼び出し: " #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "個" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "エラーがとても多い場合は表示を抑制する" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "その次にあるワードのメモリ確保 (malloc) サイズを丸める" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "プログラムをデバッグすることで fork した子プロセスをトレースする" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "ファイル・ディスクリプタを追跡する" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "未定義の値の出現場所を追跡する" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "ログにタイム・スタンプを追加する" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "終了時に glibc のメモリを解放するために __libc_freeres() を呼び出す" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "エラーを抑制するルールを記述したファイル (*.supp):" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Valgrind エラー抑制ルールファイルの選択..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "スレッドの同期ポイントに配慮するタイミング:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "アドレスを追跡する:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "追跡するレベル:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "メモリチェック" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "メモリ・リーク" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "リーク・チェック:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "メモリ・リークのチェックで到達可能なブロックを表示する" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "メモリ・リークの解決:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "free() 呼び出し後のキューで保持しておくバイト数:" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "バイト" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "無視するアドレスの範囲:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "確保したメモリを次で埋める:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "解放したメモリを次で埋める:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "バグの解決方法を `gcc 2.96` で生成する" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "関数" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "共有オブジェクト" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "延ばす" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "縮める" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "ルール名:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "抑制するメッセージの種類:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "エラーを抑制するスキン:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "システム・コール:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "コール・チェーン:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "エラー抑制ルールファイル '%s' への保存に失敗: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "エラーの抑制ルールに対するスキン名がセットされていません。" #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "編集(_E)" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "抑制ルールを保存できません: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "お使いの設定にはエラーの抑制ルールがセットされていません。" alleyoop-0.9.8/po/ro.po0000644000175000001440000002517111503266166011703 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Alexandru Palcuie , 2010. # Daniel Șerbănescu , 2010. # Lucian Adrian Grijincu , 2010. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: " "http://bugzilla.gnome.org/enter_bug.cgi?product=alleyoop&component=general\n" "POT-Creation-Date: 2010-07-30 10:32+0000\n" "PO-Revision-Date: 2010-12-01 01:46+0300\n" "Last-Translator: Lucian Adrian Grijincu \n" "Language-Team: Romanian Gnome Team \n" "Language: ro\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==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2);;\n" "X-Generator: Virtaal 0.6.1\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Rulează executabilul..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Introduceți calea către executabil și\n" "argumentele pe care doriți să i le transmiteți." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Nu s-a putut încărca „%s”: %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Încarcă jurnalul Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Nu s-a putut salva în „%s”: %s\n" "Suprascrieți?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Nu s-a putut salva în „%s”: %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Salvează jurnalul Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Alexandru Palcuie" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop este o aplicație cu interfață GNOME pentru Valgrind." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Execută" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Omoară" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Suprimări" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Vizualizează/editează suprimările" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Instrument" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Execută" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Execută programul" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Omoară" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Omoară programul" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Deschide fișierul jurnal" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Salvează fișierul jurnal" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Afișează ajutorul și ieși" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Afișează versiunea și ieși" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Adaugă la lista de dosare în care se caută fișierele sursă" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Adaugă recursiv și toate subdosarele la lista de dosare în care se " "caută fișierele sursă" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Specifică unealta Valgrid implicită de folosit" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Preferințe Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Previzualizează" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "linii deasupra și dedesubtul liniei țintă." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Nu s-a putut crea un pipe către „%s”: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Nu s-a putut crea procesul copil „%s”: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Sintaxa din fișierul de configurări „%s” nu este validă.\n" "Introduceți o valoarea în formularul „,,”." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Introduceți ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Eroarea conține" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funcția conține" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Obiectul conține" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Numele fișierului sursă conține" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Reguli Valgrind de suprimare" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Suprimări Valgrind" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "_Taie" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Copiază" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "Li_pește" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Suprimă" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Editați în GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Editați în XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Editați în GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Editați într-un editor personalizat" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Generale" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Decodifică numele simbolurilor C++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Arată" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "apelatorii în stiva apelurilor" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Oprește afișarea erorilor dacă sunt prea multe" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Rotunjește dimensiunea pentru malloc() la următorul cuvânt" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "Trasează procesele copil ale programului depanat" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Urmărește descriptorii deschiși de fișiere" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Urmărește originea valorilor nedefinite" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Adaugă marcaje cu timp la mesajele de jurnal" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Apelează __libc_freeres() la ieșire înainte de a verifica scurgerile de " "memorie" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Fișier de suprimări:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Alegeți un fișier de suprimări Valgrind..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Consideră punctele de sincronizare care se întâmplă înainte de:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Trasează adresa:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Nivel trasare:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Scurgeri de memorie" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Verifică pentru scurgeri:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "" "Afișează blocurile la care se poate ajunge în verificarea pentru scurgeri" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Rezoluția scurgerii:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Păstrează până la" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "octeți în coadă înainte de a fi eliberați cu free()" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignoră intervalul de memorie:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Umple memoria alocată dinamic cu malloc() cu:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Umple memoria eliberată cu free() cu:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Rezolvă defectele generate de gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funcție" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Obiect partajat" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Mărește" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Micșorează" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Nume regulă:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Suprimă mesajele de tipul:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Suprimă când se folosește:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Apel de sistem:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Lanț de apeluri:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Eroare la salvarea în fișierul de suprimare „%s”: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Ați uitat să numiți regula de suprimare." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Editează" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Nu s-au putut salva regulile de suprimare: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "" "Nu ați configurat un fișier de suprimare în configurările dumneavoastră." alleyoop-0.9.8/po/de.po0000644000175000001440000002667211333307120011645 00000000000000# German Alleyoop translation. # Copyright (C) 2005 Jeffrey Stedfast # This file is distributed under the same license as the Alleyoop package. # Christian Neumair , 2003. # Frank Arnold , 2005. # Hendrik Richter , 2005. # Mario Blättermann , 2008. # Christian Kirbach , 2009. msgid "" msgstr "" "Project-Id-Version: Alleyoop\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&component=general\n" "POT-Creation-Date: 2009-12-17 08:01+0000\n" "PO-Revision-Date: 2009-12-19 00:20+0100\n" "Last-Translator: Christian Kirbach \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" # Ausführbare Datei ausführen wäre doppelt gemoppelt #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Datei ausführen …" #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Geben Sie den Pfad zu einer ausführbaren Datei sowie\n" "alle Argumente ein, die an sie übergeben werden sollen." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "»%s« konnte nicht geladen werden: %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Valgrind-Protokoll öffnen …" #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Unter »%s« konnte nicht gespeichert werden: %s\n" "Überschreiben?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Unter »%s« konnte nicht gespeichert werden: %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Valgrind-Protokoll speichern …" #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Christian Neumair, Mario Blättermann" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop ist ein Valgrind-Frontend für die GNOME-Umgebung." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "Aus_führen" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "Ab_würgen" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Unterdrückungen" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Unterdrückungen anzeigen/bearbeiten" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Werkzeug" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Ausführen" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Programm ausführen" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Abwürgen" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Programm abwürgen" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Protokolldatei öffnen" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Protokolldatei speichern" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Hilfe anzeigen und beenden" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Version ausgeben und beenden" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" " zur Liste der nach Quelldateien zu durchsuchenden Ordner hinzufügen" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" " und alle Unterordner rekursiv zur Liste der nach Quelldateien zu " "durchsuchenden Ordner hinzufügen" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Festlegen des als Vorgabe zu verwendenden Valgrind-Werkzeugs" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoop Einstellungen" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Vorschau" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "Zeilen über und unter der Zielzeile." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Weiterleitung nach »%s« konnte nicht angelegt werden: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Kindprozess »%s« konnte nicht angelegt werden: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Ungültige Syntax in Einstellung »%s«.\n" "Bitte geben Sie einen Wert der Form »,,« an." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Vorgabeeinstellungen übergehen" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Eingabe von ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Fehler enthält" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funktion enthält" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objekt enthält" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Name der Quelldatei enthält" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Valgrind-Unterdrückungsregeln" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind-Unterdrückung" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "_Ausschneiden" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Kopieren" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "E_infügen" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Unterdrücken" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "In GNU/Emacs bearbeiten" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "In XEmacs bearbeiten" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "In GVim bearbeiten" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "In benutzerdefiniertem Editor bearbeiten" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Allgemein" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "C++-Symbolnamen entmangeln" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Anzeigen" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "Aufrufer im Stack-Trace" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Fehlerausgabe unterbinden, wenn es zu viele sind" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "malloc-Größen auf das nächste Wort runden" # debug => Fehlerdiagnose durchführen: zu lang #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Alle vom diagnostizierten Programm abgespaltenen Kindprozesse verfolgen" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Offene Dateideskriptoren verfolgen" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Ursprung nicht definierter Werte verfolgen" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Zeitstempel zu Protokollnachrichten hinzufügen" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Beim Beenden vor dem Überprüfen nach Speicherlecks »__libc_freeres()« aufrufen" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Unterdrückungsdatei:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Valgrind-Unterdrückungsdatei auswählen …" #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Frühere Abgleichpunkte berücksichtigen:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Zu verfolgende Adresse:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Verfolgungsstufe:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Speicherlecks" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Lecküberprüfung:" # CHECK #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Bei Lecküberprüfung erreichbare Blöcke anzeigen" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Leckauflösung:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Bis zu" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "Bytes nach »free()« in der Warteschlange halten" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Speicherbereiche ignorieren:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Mit malloc angeforderten Speicher füllen mit:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Freigegebenen Speicher füllen mit:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Von gcc 2.96 hervorgerufene Fehler umgehen" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funktion" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Gemeinsames Objekt" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Vergrößern" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Verkleinern" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Regelname:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Nachrichten unterdrücken vom Typ:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Unterdrücken beim Verwenden:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Systemaufruf:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Aufrufkette:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Fehler beim Speichern unter Unterdrückungsdatei »%s«: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "" "Sie haben vergessen, einen Namen für die Unterdrückungsregel anzugeben." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Bearbeiten" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Unterdrückungsregeln konnten nicht gespeichert werden: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Sie haben keine Unterdrückungsdatei im Einstellungsdialog festgelegt." #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Regulärer Ausdruck ungültig: '%s': %s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "Annehmen, dass Thread-Stacks privat genutzt werden" #~ msgid "Show location of last word access on error:" #~ msgstr "" #~ "Bei Fehlern Speicherort des Worts anzeigen, auf das zuletzt zugegriffen " #~ "wurde:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "" #~ "Von inline ausgeführten »strlen()«-Aufrufen hervorgerufene Fehler " #~ "ignorieren" #~ msgid "tool" #~ msgstr "Werkzeug" #~ msgid "Skin" #~ msgstr "Oberfläche" #~ msgid "skin" #~ msgstr "Oberfläche" #~ msgid "Search for memory leaks at exit" #~ msgstr "Beim Beenden nach Speicherlecks suchen" alleyoop-0.9.8/po/fr.po0000644000175000001440000002601711376346304011673 00000000000000# French translation of alleyoop. # Copyright (C) 2003-2009 Free Software Foundation, Inc. # This file is distributed under the same license as the alleyoop package. # # Didier Conchaudron , 2003. # Christophe Merlet , 2003-2006. # Jonathan Ernst , 2006. # Damien Durand , 2006. # msgid "" msgstr "" "Project-Id-Version: alleyoop 0.9.3\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&component=general\n" "POT-Creation-Date: 2009-11-25 04:11+0000\n" "PO-Revision-Date: 2009-10-17 15:43+0200\n" "Last-Translator: Claude Paroz \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" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Lancer l'exécutable..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Saisissez le chemin vers un exécutable\n" "et les arguments que vous voulez lui passer." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Impossible de charger « %s » : %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Chargement du journal Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Impossible d'enregistrer vers « %s » : %s\n" "L'écraser ?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Impossible d'enregistrer vers « %s » : %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Enregistre le journal Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "" "Didier Conchaudron \n" "Christophe Merlet \n" "Jonathan Ernst \n" "Damien Durand \n" "Robert-André Mauchin " #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" "Alleyoop est une interface graphique pour Valgrind pour l'environnement " "GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Exécuter" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Tuer" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Suppressions" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Visionner/Éditer les suppressions" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Outil" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Exécuter" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Exécuter le programme" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Tuer" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Tuer le programme" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Ouvrir le fichier journal" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Enregistrer le fichier journal" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Affiche l'aide et quitte" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Affiche la version et quitte" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" "Ajoute à la liste des répertoires dans lesquels chercher les fichiers " "sources" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Ajoute récursivement et ses sous-répertoires à la liste des " "répertoires dans lesquels rechercher les fichiers sources" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Spécifie l'outil Valgrind par défaut à utiliser" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Préférences d'Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Éditeur :" #: ../src/prefs.c:180 msgid "Preview" msgstr "Aperçu" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "lignes au-dessus et au-dessous de la ligne ciblée." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "La création du tube vers « %s » a échoué : %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "La création du processus fils « %s » a échoué : %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Syntaxe non valide dans les paramètres « %s ».\n" "Veuillez saisir une valeur de la forme « ,, »." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Ignorer les paramètres par défaut" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Saisissez ,, :" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "L'erreur contient" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "La fonction contient" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "L'objet contient" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Le nom du fichier source contient" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Règles de suppression Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Suppressions Valgrind" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Co_uper" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Copier" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "C_oller" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Supprimer" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Éditer avec GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Éditer avec XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Éditer avec GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Éditer avec un éditeur personnalisé" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Général" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Regénérer les noms des symboles c++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Afficher" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "appelants dans la trace de pile" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Arrêter d'afficher les erreurs s'il y en a trop" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Arrondir les tailles de malloc au prochain mot" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Tracer les processus enfant clonés par le programme en cours de débogage" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Suivre les descripteurs de fichiers ouverts" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Suivre les origines des valeurs non définies" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Ajouter la date aux messages du journal" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Appeler __libc_freeres() en sortant avant de vérifier les pertes de mémoire" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Fichier de Suppression :" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Choisissez le fichier de suppressions Valgrind..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Examiner les points de synchronisation qui interviennent avant :" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Adresse de trace :" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Niveau de trace :" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Vérification de mémoire" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Fuites de mémoire" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Vérification de fuite :" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Afficher les blocs joignables dans la vérification des fuites" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Résolution des fuites :" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Garder jusqu'à" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "octets dans la file d'attente après avoir été libéré" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignorer les plages mémoire :" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Remplir la mémoire « malloc » avec :" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Remplir la mémoire libérée avec :" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Corriger les bogues générés par gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Fonction" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Objet partagé" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Grossir" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Réduire" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Nom de règle :" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Supprimer les messages du type :" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Supprimer en utilisant :" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Appel système :" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Chaîne d'appel :" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "" "Erreur lors de l'enregistrement vers le fichier de suppression « %s » : %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Vous avez oublié de nommer votre règle de suppression." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "É_dition" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Impossible d'enregistrer les règles de suppression : %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "" "Vous n'avez pas spécifié de fichier de suppressions dans vos paramètres." #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Expression régulière non valide : « %s » : %s" alleyoop-0.9.8/po/gu.po0000644000175000001440000002355411276130505011673 00000000000000# translation of alleyoop.HEAD.po to Gujarati # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Ankit Patel , 2004. # msgid "" msgstr "" "Project-Id-Version: alleyoop.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-10-21 14:57-0400\n" "PO-Revision-Date: 2004-09-09 17:09+0530\n" "Last-Translator: Ankit Patel \n" "Language-Team: Gujarati\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.3.1\n" "Plural-Forms: Plural-Forms: nplurals=2; plural=(n!=1);\n" "\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "ચલાવી શકાય તે ચલાવો..." #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "ચલાવી શકાય તેનો પથ દાખલ કરો અને\n" "તેને તમે જે દલીલો પસાર કરવા માંગતા હોય તે." #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "`%s' લાવી શક્યા નહિં: %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "Valgrind લોગ લાવી રહ્યા છીએ..." #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "`%s' માં સંગ્રહી શક્યા નહિં: %s\n" "તેના પર ફરીથી લખવું છે?" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "`%s' માં સંગ્રહી શક્યા નહિં: %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "Valgrind લોગ સંગ્રહો..." #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" #: src/alleyoop.c:565 msgid "_Run" msgstr "ચલાવો (_R)" #: src/alleyoop.c:567 msgid "_Kill" msgstr "મારી નાંખો (_K)" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "" #: src/alleyoop.c:618 msgid "Skin" msgstr "" #: src/alleyoop.c:633 msgid "Run" msgstr "ચલાવો" #: src/alleyoop.c:633 msgid "Run Program" msgstr "કાર્યક્રમ ચલાવો" #: src/alleyoop.c:638 msgid "Kill" msgstr "મારી નાંખો" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "કાર્યક્રમને મારી નાંખો" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "લોગ ફાઈલ ખોલો" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "લોગ ફાઈલ સંગ્રહો" #: src/main.c:47 msgid "Print version and exit" msgstr "આવૃત્તિ છાપો અને બહાર નીકળો" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "સ્રોત ફાઈલોને શોધવા માટે ને ડિરેક્ટરીઓની યાદીમાં ઉમેરો" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "સ્રોત ફાઈલોને શોધવા માટે બધી ઉપડિરેક્ટરીઓને પુનરાવર્તિત રીતે ડિરેક્ટરીઓની યાદીમાં " "ઉમેરો" #: src/main.c:52 msgid "skin" msgstr "" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "" #: src/main.c:124 msgid "Alleyoop" msgstr "એલીપોપ" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "એલીપોપ પસંદગીઓ" #: src/prefs.c:165 msgid "Editor:" msgstr "સંપાદક:" #: src/prefs.c:182 msgid "Preview" msgstr "પૂર્વદર્શન" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "લક્ષ્ય રેખાની નીચે અને ઉપરની લીટીઓ." #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "'%s' સાથે પાઈપ બનાવવામાં નિષ્ફળ: %s" #: src/process.c:108 #, c-format msgid "Failed to create child process '%s': %s" msgstr "બાળ પ્રક્રિયા '%s' બનાવવામાં નિષ્ફળ: %s" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "સુયોજનો '%s' માં વાક્યરચના અયોગ્ય છે.\n" "મહેરબાની કરીને \",,\" ના સ્વરુપમાં કિંમતો દાખલ કરો." #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "મૂળભુત સુયોજનો પર ફરીથી લખો" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr ",, દાખલ કરો:" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "ભૂલ સમાવે છે" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "વિધેય સમાવે છે" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "ઓબ્જેક્ટ સમાવે છે" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "સ્રોત ફાઈલનું નામ સમાવે છે" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "નિયમિત સમીકરણ અયોગ્ય છે: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "" #: src/vgdefaultview.c:1220 msgid "Cu_t" msgstr "કાપો (_t)" #: src/vgdefaultview.c:1221 msgid "_Copy" msgstr "નકલ કરો (_C)" #: src/vgdefaultview.c:1222 msgid "_Paste" msgstr "ચોંટાડો (_P)" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "" #: src/vgdefaultview.c:1226 msgid "Edit in GNU/Emacs" msgstr "GNU/Emacs માં ફેરફાર કરો" #: src/vgdefaultview.c:1227 msgid "Edit in XEmacs" msgstr "XEmacs માં ફેરફાર કરો" #: src/vgdefaultview.c:1228 msgid "Edit in GVim" msgstr "GVim માં ફેરફાર કરો" #: src/vgdefaultview.c:1229 msgid "Edit in Custom Editor" msgstr "કસ્ટમ સંપાદકમાં ફેરફાર કરો" #: src/vggeneralprefs.c:158 msgid "General" msgstr "સામાન્ય" #: src/vggeneralprefs.c:164 msgid "Demangle c++ symbol names" msgstr "" #: src/vggeneralprefs.c:172 msgid "Show" msgstr "બતાવો" #: src/vggeneralprefs.c:184 msgid "callers in stack trace" msgstr "" #: src/vggeneralprefs.c:191 msgid "Stop showing errors if there are too many" msgstr "જો ત્યાં ઘણી બધી ભૂલો હોય તો ભૂલો બતાવવાનું બંધ કરો" #: src/vggeneralprefs.c:199 msgid "Round malloc sizes to next word" msgstr "" #: src/vggeneralprefs.c:207 msgid "Trace any child processes forked off by the program being debugged" msgstr "" #: src/vggeneralprefs.c:215 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" #: src/vggeneralprefs.c:223 msgid "Suppressions File:" msgstr "" #: src/vggeneralprefs.c:228 msgid "Choose Valgrind Suppressions File..." msgstr "" #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "" #: src/vgrule-editor.c:133 msgid "Function" msgstr "વિધેય" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "વહેંચાયેલ ઓબ્જેક્ટ" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "નિયમ નામ:" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "સિસ્ટમ કોલ:" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "" #: src/vgrule-list.c:403 msgid "_Edit" msgstr "ફેરફાર કરો (_E)" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "" alleyoop-0.9.8/po/uk.po0000644000175000001440000002644711276130505011703 00000000000000# Copyright (C) 2003 # This file is distributed under the same license as the Alleyoop package. # Yuriy Syrota , 2004. # msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-10-21 14:57-0400\n" "PO-Revision-Date: 2004-04-08 08:39+0300\n" "Last-Translator: Yuriy Syrota \n" "Language-Team: Ukrainian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "Запустити програму..." #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Введіть шлях до виконавчого файлу і\n" "аргументи, які необхідно йому передати." #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "Не вдалось завантажити \"%s\": %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "Завантажити журнал Valgrind..." #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Не вдалось зберегти в \"%s\": %s\n" "Перезаписати?" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "Не вдалось зберегти в \"%s\": %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "Зберегти журнал Valgrind..." #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "Юрій Сирота" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop ― це оболонка до Valgrind для середовища GNOME." #: src/alleyoop.c:565 msgid "_Run" msgstr "За_пустити" #: src/alleyoop.c:567 msgid "_Kill" msgstr "_Знищити" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "Замовчування" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "Перегляд і редагування замовчувань" #: src/alleyoop.c:618 msgid "Skin" msgstr "Режим" #: src/alleyoop.c:633 msgid "Run" msgstr "Запустити" #: src/alleyoop.c:633 msgid "Run Program" msgstr "Запустити програму" #: src/alleyoop.c:638 msgid "Kill" msgstr "Знищити" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "Знищити процес" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "Відкрити файл журналу" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "Зберегти файл журналу" #: src/main.c:47 msgid "Print version and exit" msgstr "Надрукувати номер версії та вийти" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "" "Додати каталог до списку каталогів, в яких відбувається пошук файлів " "вихідних текстів" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Рекурсивно додати каталог із підкаталогами до списку каталогів, в яких " "відбувається пошук файлів вихідних текстів" #: src/main.c:52 msgid "skin" msgstr "режим" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "Вказати початковий режим роботи" #: src/main.c:124 msgid "Alleyoop" msgstr "Alleyoop" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "Настройки Alleyoop" #: src/prefs.c:165 msgid "Editor:" msgstr "Програма редагування:" #: src/prefs.c:182 msgid "Preview" msgstr "Попередній перегляд" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "рядків над і під рядком призначення." #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Не вдалось створити канал до \"%s\": %s" #: src/process.c:108 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Не вдалось створити спадкоємний процес \"%s\": %s" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Неправильний синтаксис в настройках \"%s\".\n" "Введіть значення у форматі \"<ціле>,<ціле>,<ціле>\"." #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "Переписати типові настройки" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr "Введіть <розмір>,<асоціація>,<розмір_рядка>:" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "Cachegrind" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "Помилка містить" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "Функція містить" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "Об'єкт містить" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "Назва вихідного файлу містить" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Неправильний регулярний вираз: \"%s\": %s" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "Правила замовчування Valgrind" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "Замовчування Valgrind" #: src/vgdefaultview.c:1220 msgid "Cu_t" msgstr "Ви_різати" #: src/vgdefaultview.c:1221 msgid "_Copy" msgstr "С_копіювати" #: src/vgdefaultview.c:1222 msgid "_Paste" msgstr "В_ставити" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "Замовчування" #: src/vgdefaultview.c:1226 msgid "Edit in GNU/Emacs" msgstr "Редагування в GNU/Emacs" #: src/vgdefaultview.c:1227 msgid "Edit in XEmacs" msgstr "Редагування в XEmacs" #: src/vgdefaultview.c:1228 msgid "Edit in GVim" msgstr "Редагування в GVim" #: src/vgdefaultview.c:1229 msgid "Edit in Custom Editor" msgstr "Редагування у іншому редакторі" #: src/vggeneralprefs.c:158 msgid "General" msgstr "Загальне" #: src/vggeneralprefs.c:164 msgid "Demangle c++ symbol names" msgstr "Розкодовувати назви символів C++" #: src/vggeneralprefs.c:172 msgid "Show" msgstr "Показати" #: src/vggeneralprefs.c:184 msgid "callers in stack trace" msgstr "джерело виклику в трасі стеку" #: src/vggeneralprefs.c:191 msgid "Stop showing errors if there are too many" msgstr "Перестати показувати помилки, якщо їх надто багато" #: src/vggeneralprefs.c:199 msgid "Round malloc sizes to next word" msgstr "Вирівнювати розміри в malloc до наступного слова" #: src/vggeneralprefs.c:207 msgid "Trace any child processes forked off by the program being debugged" msgstr "Трасувати всі спадкоємні процеси програми, що налагоджується" #: src/vggeneralprefs.c:215 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Викликати __libc_freeres() на виході, перед перевіркою на втрати пам'яті" #: src/vggeneralprefs.c:223 msgid "Suppressions File:" msgstr "Файл замовчувань:" #: src/vggeneralprefs.c:228 msgid "Choose Valgrind Suppressions File..." msgstr "Вибрати файл замовчувань Valgrind..." #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "Helgrind" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "Вважати стеки потоків приватними" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "Показувати місце останнього доступу до слова при помилці:" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "Memcheck" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "Втрати памяти" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "Шукати втрати пам'яті на виході" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "Показувати доступні блоки в перевірці на втрати" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "Розв'язання втрат:" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "Продовжувати до" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "байтів у черзі після виклику free()" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "Обходити помилки створені gcc 2.96" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "Ігнорувати помилки, що викликані вбудованими викликами strlen()" #: src/vgrule-editor.c:133 msgid "Function" msgstr "Функції" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "Объект загального доступу" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "Зростання" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "Зменшення" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "Назва правила:" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "Замовчувати повідомлення типу:" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "Замовчувати, коли використовується:" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "Системні виклики:" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "ланцюг виклику:" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Помилка на збереженні файлу замовчувань \"%s\": %s" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "Ви забули назвати ваше правило замовчувань." #: src/vgrule-list.c:403 msgid "_Edit" msgstr "_Правка" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Не вдається зберегти правила замовчування: %s" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "Файл замовчувань не вказано в настройках." #~ msgid "Track open file descriptors" #~ msgstr "Відслідковувати відкриті файлові дескриптори" alleyoop-0.9.8/po/Makefile.in.in0000644000175000001440000001537711673145622013405 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) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) 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 .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: 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: alleyoop-0.9.8/po/el.po0000644000175000001440000003236611333307120011652 00000000000000# translation of el.po to Greek # This file is distributed under the same license as the PACKAGE package. # Copyright (C) Free Software Foundation, 2003 # kostas: 87 messages, 18sep2003, initial translation # Kostas Papadimas , 2003 # # Μάριος Ζηντίλης , 2010. msgid "" msgstr "" "Project-Id-Version: el\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&component=general\n" "POT-Creation-Date: 2009-11-25 04:11+0000\n" "PO-Revision-Date: 2010-02-01 21:43+0200\n" "Last-Translator: Μάριος Ζηντίλης \n" "Language-Team: Greek \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Εκτέλεση εκτελέσιμου..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Εισάγετε τη διαδρομή για το εκτελέσιμο αρχείο και\n" "οποιεσδήποτε παραμέτρους θέλετε να περάσετε σε αυτό." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Αδυναμία φόρτωσης `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Φόρτωση αρχείου καταγραφής Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Δεν είναι δυνατή η αποθήκευση στο `%s': %s\n" "Να αντικατασταθεί?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Δεν είναι δυνατή η αποθήκευση στο `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Αποθήκευση αρχείου καταγραφής Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Το Alleyoop είναι ένα Valgrind front-end για το GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "Εκ_τέλεση" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Βίαιος Τερματισμός" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Καταστολές" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Προβολή/Επεξεργασία καταστολών" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Εργαλείο" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Εκτέλεση" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Εκτέλεση προγράμματος" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Βίαιος τερματισμός" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Βίαιος τερματισμός προγράμματος" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Άνοιγμα αρχείου καταγραφής" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Αποθήκευση αρχείου καταγραφής" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Εμφάνιση βοήθειας και κλείσιμο" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Εμφάνιση έκδοσης και έξοδος" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Προσθήκη στη λίστα των καταλόγων και έρευνα για πηγαία αρχεία" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Αναδρομική προσθήκη και όλων των υποκαταλόγων στη λίστα των καταλόγων " "και έρευνα για πηγαία αρχεία" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Καθορίστε το προεπιλεγμένο εργαλείο Valgrind για χρήση" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Προτιμήσεις Alleyoop " #: ../src/prefs.c:163 msgid "Editor:" msgstr "Επεξεργαστής:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Προεπισκόπηση" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "γραμμές πάνω και κάτω από τη γραμμή-στόχο." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Δεν ήταν δυνατή η δημιουργία σωλήνωσης σε '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Αποτυχία δημιουργίας θυγατρικής διεργασίας '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Μη έγκυρη σύνταξη στις ρυθμίσεις '%s'.\n" "Παρακαλώ εισάγετε μια τιμή με τη μορφή \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Παράκαμψη εξ ορισμού ρυθμίσεων" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Εισάγετε ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Το Σφάλμα περιέχει" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Η Λειτουργία περιέχει" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Το Αντικείμενο περιέχει" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Το όνομα αρχείου πηγής περιέχει" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Κανόνες καταστολής Valgrind " #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Καταστολή Valgrind" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Αποκο_πή" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "Αντιγρα_φή" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "Επι_κόλληση" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Καταστολή" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Επεξεργασία στο GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Επεξεργασία στο XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Επεξεργασία στο GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Επεξεργασία στον προσαρμοσμένο επεξεργαστή" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Γενικά" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Demangle c++ symbol names" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Προβολή" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "callers in stack trace" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Διακοπή εμφάνισης σφαλμάτων αν υπάρχουν πολλά" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Round malloc sizes to next word" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "Trace any child processes forked off by the program being debugged" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Ανίχνευση περιγραφών ανοικτού αρχείου" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Ανίχνευση προελεύσεων μη καθορισμένων τιμών" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Προσθήκη χρονικών επισημάνσεων στα μηνύματα καταγραφής" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Κλήση __libc_freeres() στην έξοδο πριν από το έλεγχο για διαρροές μνήμης" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Αρχείο καταστολών:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Επιλογή αρχείου καταστολών Valgrind..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Να λαμβάνονται υπ' όψη σημεία συγχρονισμού που συμβαίνουν πριν από:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Διεύθυνση ανίχνευσης:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Επίπεδο ανίχνευσης:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Έλεγχος μνήμης" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Διαρροές Μνήμης" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Έλεγχος διαρροής:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Εμφάνιση αναγνώσιμων μπλόκ κατά τον έλεγχο διαρροών" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Ανάλυση διαρροής:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Διατήρηση πάνω από" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "bytes στην ουρά μετά την ελευθερωση" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Να αγνοούνται τα φάσματα μνήμης:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Γέμισμα μνήμης malloc'd με:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Γέμισμα μνήμης free'd με:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Εργασία πάνω σε σφάλματα που δημιουργούνται από το gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Λειτουργία" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Κοινόχρηστο αντικείμενο" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Ανάπτυξη" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Σμίκρυνση" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Όνομα κανόνα:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Καταστολή μηνυμάτων του είδους:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Καταστολή όταν γίνεται χρήση:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Κλήση συστήματος:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Κλήση αλυσίδας:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Σφάλμα αποθήκευσης στο αρχείο καταστολής `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Ξεχάσατε να ονομάσετε τον κανόνα καταστολής." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Επεξεργασία" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Αδυναμία αποθήκευσης κανόνων καταστολής: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Δεν έχετε ορίσει ένα αρχείο καταστολών στις ρυθμίσεις σας." #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Μη έγκυρη κανονική έκφραση: '%s': %s " #~ msgid "Assume thread stacks are used privately" #~ msgstr "Προϋπόθεση ότι τα thread stacks χρησιμοποιούνται ιδιωτικά" #~ msgid "Show location of last word access on error:" #~ msgstr "Εμφάνιση τοποθεσίας της τελευταίας λέξης πρόσβασης σε σφάλμα:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Αγνόηση σφαλμάτων που παράγονται από inline strlen() calls" #~ msgid "Skin" #~ msgstr "Skin" #~ msgid "skin" #~ msgstr "skin" #~ msgid "Search for memory leaks at exit" #~ msgstr "Αναζήτηση για διαρροές μνήμης κατά την έξοδο" alleyoop-0.9.8/po/cs.po0000644000175000001440000002457611333307120011663 00000000000000# Czech translation of alleyoop. # Copyright (C) 2003, 2004, 2005, 2009 the author(s) of alleyoop. # Copyright (C) 2003, 2004, 2005 Miloslav Trmac . # This file is distributed under the same license as the alleyoop package. # Miloslav Trmac , 2003 - 2005. # Lucas Lommer , 2009. (just an update) # Marek Černocký , 2009. # msgid "" msgstr "" "Project-Id-Version: alleyoop gnome-master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&component=general\n" "POT-Creation-Date: 2009-12-05 22:22+0000\n" "PO-Revision-Date: 2009-12-10 10:21+0100\n" "Last-Translator: Marek Černocký \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-Poedit-Language: Czech\n" "X-Poedit-SourceCharset: utf-8\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Spustit program..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Zadejte cestu k programu\n" "a argumenty, které mu chcete předat." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Nelze načíst „%s“: %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Načíst záznam Valgrindu..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Nelze uložit do „%s“: %s\n" "Přepsat?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Nelze uložit do „%s“. %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Uložit záznam Valgrindu..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Miloslav Trmač" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop je rozhraní pro Valgrind pro prostředí GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Spustit" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "Za_bít" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Potlačení" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Zobrazit/Upravit potlačení" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Nástroj" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Spustit" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Spustit program" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Zabít" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Zabít program" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Otevřít soubor záznamu" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Uložit soubor záznamu" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Zobrazit nápovědu a skončit" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Zobrazit verzi a skončit" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Přidat do seznamu adresářů, kde hledat zdrojové soubory" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Rekurzivně přidat a všechny jeho podadresáře do seznamu adresářů, kde " "hledat zdrojové soubory" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Určit výchozí používaný nástroj Valgrindu" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Nastavení Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Náhled" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "řádků nad a pod cílovým řádkem." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Nelze vytvořit rouru k „%s“: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Nelze vytvořit proces potomka „%s“: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Neplatná syntaxe v nastavení „%s“.\n" "Zadejte prosím hodnotu ve tvaru \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Přepsat výchozí nastavení" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Zadejte ,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Chyba obsahuje" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funkce obsahuje" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objekt obsahuje" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Název zdrojového souboru obsahuje" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Pravidla potlačení Valgrindu" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Potlačení Valgrindu" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Vy_jmout" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Kopírovat" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Vložit" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Potlačit" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Upravit v GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Upravit v XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Upravit v GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Upravit ve vlastním editoru" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Obecné" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Dešifrovat názvy symbolů c++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Zobrazit" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "volajících ve výpisu zásobníku" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Přestat zobrazovat chyby, je-li jich příliš mnoho" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Zarovnat velikosti malloc na další slovo" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "Sledovat procesy potomků vytvořené laděným programem" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Sledovat otevřené deskriptory souborů" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Sledovat zdroje nedefinovaných hodnot" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Přidat časové značky ke zprávám v záznamu" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Volat __libc_freeres() při ukončení před kontrolou memory leaků" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Soubor potlačení:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Zvolte soubor potlačení Valgrindu..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Brát v úvahu synchronizační body, které nastaly před:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Sledovat adresu:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Úroveň sledování:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Memory leaky" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Kontrola leaků:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Zobrazovat dostupné bloky při kontrole leaků" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Rozlišení leaků:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Udržovat až" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "bajtů ve frontě po free ()" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignorovat paměťové rozsahy:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Vyplnit paměť přidělenou funkcí malloc:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Vyplnit paměť uvolněno funkcí free:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Obcházet chyby generované gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funkce" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Sdílený objekt" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Zvětšení" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Zmenšení" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Název pravidla:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Potlačit zprávy typu:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Potlačit při použití:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Systémové volání:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Řetěz volání:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Chyba při ukládání do souboru potlačení „%s“: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Zapomněli jste pojmenovat své pravidlo potlačení." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Upravit" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Nelze uložit pravidla potlačení: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Ve svých nastaveních jste nezadali soubor potlačení." alleyoop-0.9.8/po/ca.po0000644000175000001440000002716511503266166011653 00000000000000# alleyoop Catalan translation. # Copyright (C) 2003 Free Software Foundation, Inc. # This file is distributed under the same license as the alleyoop package. # Maika Vicente , 2003. # Jordi Sayol Salomó , 2006. # # msgid "" msgstr "" "Project-Id-Version: Alleyoop\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-06-26 12:12+0200\n" "PO-Revision-Date: 2010-04-25 22:45+0200\n" "Last-Translator: David Espinosa Alentorn \n" "Language-Team: Softcatalà \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-Poedit-Language: Catalan\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Executa un programa..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Indiqueu el camí d'un executable i\n" "qualsevol argument que hi vulgueu\n" "passar." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "No s'ha pogut carregar '%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Carrega el registre del Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "No s'ha pogut desar a '%s': %s\n" "Voleu sobreescriure-ho?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "No s'ha pogut desar a '%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Desa el registre del Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Jordi Sayol Salomó 2006" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" "L'Allyeoop és una interfície gràfica per al Valgrind per a l'entorn " "d'escriptori GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Executa" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Mata" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Supressions" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Visualitza/edita les supressions" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Eina" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Executa" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Executa el programa" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Mata" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Mata el programa" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Obre el fitxer de registre" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Desa el fitxer de registre" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Mostra l'ajuda i surt" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Mostra la versió i surt" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Afegeix al llistat de directoris per a la cerca de fitxers font" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Afegeix recursivament i tots el subdirectoris al llistat de directoris " "per a la cerca de fitxers font" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Especifiqueu l'eina per defecte del Valgrind a utilitzar" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Preferències de l'Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Previsualització" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "línies que estan damunt o sota la línia que és l'objectiu." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "No s'ha pogut crear un conducte per a '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "No s'ha pogut crear un procés fill '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "La sintaxi no és vàlida en els paràmetres '%s'.\n" "Introduïu un valor en forma \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Omet els paràmetres per defecte" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Introduïu ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "L'error conté" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "La funció conté" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "L'objecte conté" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "El nom del fitxer font conté" # FIXME: we should really get this title from somewhere else? # FIXME: deuriem buscar aquest títol en un altre lloc? #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Normes de supressió del Valgrind" # FIXME: we should really get this title from somewhere else? # FIXME: deuriem buscar aquest títol en un altre lloc? #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Supressió del Valgrind" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Re_talla" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Copia" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Enganxa" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Suprimeix" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Edita-ho en el GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Edita-ho en l'XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Edita-ho en el GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Edita-ho en un editor personalitzat" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "General" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Descodifica els noms símbol de c++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Mostra" # FIXME FIXME FIXME! (josep) #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "cridadors a la traça de la pila" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Deixa de mostrar els errors si n'hi ha massa" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Arrodoneix les mides del malloc a la següent paraula" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Rastreja qualsevol subprocés que s'hagi bifurcat del programa que s'està " "depurant en aquests moments" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Fes un seguiment als descriptors de fitxers oberts" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Fes un seguiment dels valors sense definir" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Afegeix marques de temps als missatges del registre" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Executa Call_libc_freeres() a la sortida abans de verificar si hi ha pèrdues " "de memòria" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Fitxer de supressions:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Escolliu el fitxer de supressions del Valgrind..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Considera els punts de sincronització que succeeixen abans de:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Rastreja una adreça:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Nivell de rastreig:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Revisió de la memòria" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Pèrdues de memòria" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Comprovació de pèrdua:" # leak check? a que es refereix? mv # comprovacions de pèrdues... és el que fa el Valgrind. jm #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "" "Mostra els blocs que es poden fer servir quan se cerquin pèrdues de memòria" # FIXME #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Resolució de la pèrdua de memòria:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Conserva fins a" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "bytes encuats després de ser alliberats per la funció free()" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignora els rangs de memòria:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Omple la memòria assignada dinàmicament amb:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Omple la memòria alliberada amb:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Evita els errors generats pel gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funció" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Objecte compartit" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Creix" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Encongeix" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Nom de la norma:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Suprimeix els missatges de tipus:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Suprimeix quan s'utilitza:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Crida del sistema:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Cadena de crides:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "S'ha produït un error en desar el fitxer de supressió '%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "No heu establert cap nom per a la regla de supressions." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Edita" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "No es poden desar les regles de supressió: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "No heu establert cap fitxer de supressions en els paràmetres." #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "L'expressió regular no és vàlida: '%s': %s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "Assumeix que la pila dels fluxes s'usa en privat" #~ msgid "Show location of last word access on error:" #~ msgstr "Mostra la ubicació de l'últim accés a paraula en error:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "" #~ "Ignora els errors que es produeixen per les crides en línia a strlen()" #~ msgid "tool" #~ msgstr "eina" #~ msgid "Skin" #~ msgstr "Aparença" #~ msgid "skin" #~ msgstr "aparença" #~ msgid "Search for memory leaks at exit" #~ msgstr "Buscar quasevol pérdua de memória a l'eixida" alleyoop-0.9.8/po/ms.po0000644000175000001440000002210311276130505011664 00000000000000# Selamatkan Sekolah Agama Rakyat???? # Copyright (C) 2003 Free Software Foundation, Inc. # Hasbullah Bin Pit (sebol) , 2003. # msgid "" msgstr "" "Project-Id-Version: Aleeyop\n" "POT-Creation-Date: 2003-10-21 14:57-0400\n" "PO-Revision-Date: 2003-07-27 12:39+0800\n" "Last-Translator: Hasbullah Bin Pit \n" "Language-Team: Projek Gabai \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "Laksanakan Bolehlaksana..." #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Masukkan laluan ke bolehlaksana dan \n" "sebarang hujah yang anda ingin hantar padanya." #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "Tak dapat memuatkan '%s': %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "Muatkan log Valgrind..." #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Tak dapat simpan k '%s': %s\n" "Tindih?" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "Tak dapat simpan ke '%s': %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "Simpan log Valgrind..." #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop adalah front-end Valgrind untuk persekitaran GNOME." #: src/alleyoop.c:565 msgid "_Run" msgstr "_Laksana" #: src/alleyoop.c:567 msgid "_Kill" msgstr "_Bunuh" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "SekatanSessi" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "Lihat/Edit Sekatan" #: src/alleyoop.c:618 msgid "Skin" msgstr "Kulit" #: src/alleyoop.c:633 msgid "Run" msgstr "Laksana" #: src/alleyoop.c:633 msgid "Run Program" msgstr "Laksana Program" #: src/alleyoop.c:638 msgid "Kill" msgstr "Bunuh" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "Bunuh Program" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "Buka Fail Log" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "Simpan Fail log" #: src/main.c:47 msgid "Print version and exit" msgstr "Cetak versi dan keluar" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "Tambah ke senarai direktori untuk mencari fail sumber" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Secara rekursif tambah dan semua subdirektori ke senarai direktori " "untuk mencari fail sumber" #: src/main.c:52 msgid "skin" msgstr "kulit" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "Nyatakan kulit default (mod) untuk digunakan" #: src/main.c:124 msgid "Alleyoop" msgstr "Alleyoop" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "Keutamaan Alleyoop" #: src/prefs.c:165 msgid "Editor:" msgstr "Editor:" #: src/prefs.c:182 msgid "Preview" msgstr "Prebiu" #: src/prefs.c:195 #, fuzzy msgid "lines above and below the target line." msgstr "garisan di atas dan bawah garisan sasaran." #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Gagal mencipta paip ke '%s': %s" #: src/process.c:108 #, fuzzy, c-format msgid "Failed to create child process '%s': %s" msgstr "Gagal mencipta proses anak '%s': %s" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Siktaks pada tetapan tidak sah '%s'.\n" "Sila masukkan nilai dlm bentuk \",,\"." #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "Tindih tetapan default" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr "Masukkan ,,:" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "Cachegrind" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "Ralat mengandungi" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "Fungsi mengandungi" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "Objek mengandungi" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "Nama fail sumber mengandungi" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Ungkapan regular (regexp) tidak sah '%s': %s" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "Tatacara Sekatan Valgrind" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "Sekatan Valgrind" #: src/vgdefaultview.c:1220 msgid "Cu_t" msgstr "Po_tong" #: src/vgdefaultview.c:1221 msgid "_Copy" msgstr "_Salin" #: src/vgdefaultview.c:1222 msgid "_Paste" msgstr "_Tepek" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "Sekat" #: src/vgdefaultview.c:1226 msgid "Edit in GNU/Emacs" msgstr "Edit di GNU/Emacs" #: src/vgdefaultview.c:1227 msgid "Edit in XEmacs" msgstr "Edit di XEmacs" #: src/vgdefaultview.c:1228 msgid "Edit in GVim" msgstr "Edit di GVim" #: src/vgdefaultview.c:1229 msgid "Edit in Custom Editor" msgstr "Edit di Editor Sendiri" #: src/vggeneralprefs.c:158 msgid "General" msgstr "Umum" #: src/vggeneralprefs.c:164 msgid "Demangle c++ symbol names" msgstr "Demanglenama simbol c++" #: src/vggeneralprefs.c:172 msgid "Show" msgstr "Papar" #: src/vggeneralprefs.c:184 msgid "callers in stack trace" msgstr "pemanggil pada surihan tindanan" #: src/vggeneralprefs.c:191 msgid "Stop showing errors if there are too many" msgstr "Henti memapar rakat jika ianya terlalu banyak" #: src/vggeneralprefs.c:199 msgid "Round malloc sizes to next word" msgstr "Bundarkan saiz malloc ke perkataan berikutnya" #: src/vggeneralprefs.c:207 msgid "Trace any child processes forked off by the program being debugged" msgstr "Surih sebarang proses anak disepit oleh program yang dinyahpepijat" #: src/vggeneralprefs.c:215 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Panggil __libc_freeres() pada keluar sebelum memeriksa kebocoran memori" #: src/vggeneralprefs.c:223 msgid "Suppressions File:" msgstr "Fail Sekatan:" #: src/vggeneralprefs.c:228 msgid "Choose Valgrind Suppressions File..." msgstr "Pilih Fail Sekatan Valgrind..." #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "Helgrind" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "Aggap tindanan bebenang digunakan secara privet" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "Papar lokasi bagi akses perkataan terkahir pada ralat:" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "Memcheck" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "Kebocoran memori" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "Cari kebocoran memori sebelum keluar" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "Papar blok bolehjangkau pada pemeriksaan kebocoran" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "Resolusi kebocoran:" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "Biarkan hingga" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "byte pada giliran selepas di'free()'kan" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "Work around bugs dijanakan oleh gcc 2.96" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "Abaikan ralat dihasilkan oleh panggilan strlen() dalaman" #: src/vgrule-editor.c:133 msgid "Function" msgstr "Fungsi" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "Objek Terkongsi" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "Membesar" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "Mengecil" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "Nama tatacara:" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "Mesej sekatan bagi jenis:" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "Sekat bila menggunakan:" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "Panggilan sistem:" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "Rantaian panggilan:" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Ralat menyimpan fail sekatan '%s': %s" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "Anda lupa untuk menamakan taracara sekatan anda." #: src/vgrule-list.c:403 msgid "_Edit" msgstr "_Edit" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Tak dapat simpan tatacara sekatan: %s" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "Anda tak menetapkan fail sekatan pada tetapan anda." alleyoop-0.9.8/po/ml.po0000644000175000001440000001653611276130505011672 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FSF-India , 2003. # msgid "" msgstr "" "Project-Id-Version:alleyoop.HEAD\n" "POT-Creation-Date: 2003-06-06 03:38+0200\n" "PO-Revision-Date: 2003-07-05 10:29+0530\n" "Last-Translator: FSF-India \n" "Language-Team: Malayalam \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "" #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "" #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "" #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" #: src/alleyoop.c:565 msgid "_Run" msgstr "നടപ്പിലാക്കുക" #: src/alleyoop.c:567 msgid "_Kill" msgstr "അവസാനിപ്പിക്കുക" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "" #: src/alleyoop.c:618 msgid "Skin" msgstr "" #: src/alleyoop.c:633 msgid "Run" msgstr "പ്രവ‍ര്ത്തിപ്പിക്കുക" #: src/alleyoop.c:633 msgid "Run Program" msgstr "നിര്‍ദ്ദേശം നടപ്പിലാക്കുക" #: src/alleyoop.c:638 msgid "Kill" msgstr "അവസാനിപ്പിക്കുക" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "ജോലി അവസാനിപ്പിക്കുക" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "" #: src/main.c:47 msgid "Print version and exit" msgstr "" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" #: src/main.c:52 msgid "skin" msgstr "" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "" #: src/main.c:124 msgid "Alleyoop" msgstr "" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "" #: src/prefs.c:165 msgid "Editor:" msgstr "" #: src/prefs.c:182 msgid "Preview" msgstr "തിരനോട്ടം" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "" #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "" #: src/process.c:108 #, c-format msgid "Failed to create create child process '%s': %s" msgstr "" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr "" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "" #: src/vgdefaultview.c:181 msgid "Error contains" msgstr "" #: src/vgdefaultview.c:182 msgid "Function contains" msgstr "" #: src/vgdefaultview.c:183 msgid "Object contains" msgstr "" #: src/vgdefaultview.c:184 msgid "Source filename contains" msgstr "" #: src/vgdefaultview.c:221 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:679 msgid "Valgrind Suppression Rules" msgstr "" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:991 src/vgrule-list.c:116 msgid "Valgrind Suppression" msgstr "" #: src/vgdefaultview.c:1165 msgid "Cu_t" msgstr "മുറിപ്പ്" #: src/vgdefaultview.c:1166 msgid "_Copy" msgstr "പക‍ര്പ്പ്" #: src/vgdefaultview.c:1167 msgid "_Paste" msgstr "ഒട്ടിപ്പ്" #: src/vgdefaultview.c:1169 msgid "Suppress" msgstr "" #: src/vgdefaultview.c:1171 msgid "Edit in GNU/Emacs" msgstr "" #: src/vgdefaultview.c:1172 msgid "Edit in XEmacs" msgstr "" #: src/vgdefaultview.c:1173 msgid "Edit in GVim" msgstr "" #: src/vgdefaultview.c:1174 msgid "Edit in Custom Editor" msgstr "" #: src/vggeneralprefs.c:158 msgid "General" msgstr "സാര്‍വത്രികമായ" #: src/vggeneralprefs.c:164 msgid "Demangle c++ symbol names" msgstr "" #: src/vggeneralprefs.c:172 msgid "Show" msgstr "കാണിക്കുക" #: src/vggeneralprefs.c:184 msgid "callers in stack trace" msgstr "" #: src/vggeneralprefs.c:191 msgid "Stop showing errors if there are too many" msgstr "" #: src/vggeneralprefs.c:199 msgid "Round malloc sizes to next word" msgstr "" #: src/vggeneralprefs.c:207 msgid "Trace any child processes forked off by the program being debugged" msgstr "" #: src/vggeneralprefs.c:215 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" #: src/vggeneralprefs.c:223 msgid "Suppressions File:" msgstr "" #: src/vggeneralprefs.c:228 msgid "Choose Valgrind Suppressions File..." msgstr "" #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "" #: src/vgrule-editor.c:133 msgid "Function" msgstr "ധ‌ര്മ്മം" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "" #: src/vgrule-editor.c:549 src/vgrule-editor.c:564 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "" #: src/vgrule-list.c:158 src/vgrule-list.c:223 msgid "You have forgotten to name your suppression rule." msgstr "" #: src/vgrule-list.c:380 msgid "_Edit" msgstr "ചിട്ട" #: src/vgrule-list.c:625 #, c-format msgid "Cannot save suppression rules: %s" msgstr "" #: src/vgrule-list.c:627 msgid "You have not set a suppressions file in your settings." msgstr "" alleyoop-0.9.8/po/pt_BR.po0000644000175000001440000002631511376346304012273 00000000000000# Brazilian Portuguese translation of alleyoop # Copyright (C) 2004 Free Software Foundation, Inc. # This file is distributed under the same license as the alleyoop package. # Alexandre Folle de Menezes , 2003. # Raphael Higino , 2004. # based on the translation to Portuguese (pt) by # Duarte Loreto , 2003 # Raphael Higino , 2004 # Og Maciel , 2006 msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-05-15 21:41-0300\n" "PO-Revision-Date: 2010-05-08 18:53-0300\n" "Last-Translator: Daniel S. Koda \n" "Language-Team: Brazilian Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Executar um executável..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Digite o caminho para um executável e\n" "quaisquer argumentos que deseje passar." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Não foi possível carregar `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Carregar log do Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Não foi possível salvar em `%s': %s\n" "Sobrescrever?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Não foi possível salvar em `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Salvar log do Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "" "Alexandre Folle de Menezes \n" "Raphael Higino \n" "Og Maciel " #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" "Alleyoop é uma interface gráfica para o Valgrind para o ambiente GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "E_xecutar" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Matar" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Supressões" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Visualiza/Edita supressões" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Ferramenta" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Executar" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Executa um programa" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Matar" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Matar programa" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Abrir arquivo de log" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Salvar arquivo de log" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Exibe ajuda e sai" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Exibe a versão e sai" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" "Adiciona à lista de diretórios onde procurar por arquivos de código " "fonte" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Adiciona recursivamente e todos os seus subdiretórios à lista de " "diretórios onde procurar por arquivos de código fonte" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Especifica a ferramenta padrão para usar no Valgrind" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Preferências do Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Visualizar" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "linhas acima e abaixo da linha alvo." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Falha ao criar um pipe para '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Falha ao criar o processo filho '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Sintaxe inválida nas configurações '%s'.\n" "Por favor, digite um valor válido no formato \",," "\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Ignorar configurações padrão" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Digite ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "O erro contém" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "A função contém" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "O objeto contém" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "O nome do arquivo fonte contém" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Regras de supressão do Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Supressão do Valgrind" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Recor_tar" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Copiar" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "Co_lar" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Suprimir" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Editar no GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Editar no XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Editar no GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Editar em um editor personalizado" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Geral" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Decifrar nomes de símbolos c++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Mostrar" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "chamadores em rastreamento de pilha" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Parar de mostrar erros caso existam muitos" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Arredondar tamanhos do malloc para a próxima palavra" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Rastrear quaisquer processos filhos bifurcados pelo programa sendo depurado" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Localizar descritores de arquivos abertos" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Localizar origens de valores indefinidos" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Adicionar carimbo de hora ao log de mensagens" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Chamar __libc_freeres() ao sair antes de verificar vazamentos de memória" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Arquivo de supressões:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Selecione o arquivo de supressões Valgrind..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Considerar pontos de sincronização que já aconteceram:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Rastrear endereço:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Rastrear nível:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Verificar memória" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Vazamentos de memória" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Verificar vazamento de memória:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Mostrar blocos alcançáveis na verificação de vazamentos" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Resolução de vazamentos:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Manter até" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "bytes na fila após serem liberados (free())" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignorar intervalos de memória:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Preencher a memória alocada por malloc com:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Preencher memória liberada com:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Contornar bugs gerados pelo gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Função" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Objeto compartilhado" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Crescer" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Encolher" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Nome da regra:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Suprimir mensagens do tipo:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Suprimir ao usar:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Chamada de sistema:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Cadeia de chamadas:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Erro ao salvar no arquivo de supressões `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Você esqueceu de nomear sua regra de supressão." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Editar" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Não foi possível gravar regras de supressão: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Você não definiu um arquivo de supressões nas suas configurações." #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Expressão regular inválida: '%s': %s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "Assumir que pilhas de threads são usadas privativamente" #~ msgid "Show location of last word access on error:" #~ msgstr "" #~ "Mostrar a localização do último acesso a palavras ao ocorrer um erro:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Ignorar error produzidos por chamadas strlen() inline" #~ msgid "Skin" #~ msgstr "Skin" #~ msgid "skin" #~ msgstr "skin" #~ msgid "Search for memory leaks at exit" #~ msgstr "Procurar por perdas de memória ao sair" alleyoop-0.9.8/po/ar.po0000644000175000001440000002277211276130505011663 00000000000000# Arabic translations for THIS package. # Copyright (C) 2007 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as THIS package. # Automatically generated, 2007. # Djihed Afifi , 2007 msgid "" msgstr "" "Project-Id-Version: Arabic\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-04-21 22:51+0100\n" "PO-Revision-Date: 2007-04-14 18:49+0100\n" "Last-Translator: Djihed Afifi \n" "Language-Team: Arabeyes \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/alleyoop.c:172 #, fuzzy msgid "Run Executable..." msgstr "تنفيذي:" #: ../src/alleyoop.c:186 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" #: ../src/alleyoop.c:287 #, fuzzy, c-format msgid "Could not load `%s': %s" msgstr "تعذّر تحميل %s: %s" #: ../src/alleyoop.c:315 #, fuzzy msgid "Load Valgrind log..." msgstr "جاري التحميل..." #: ../src/alleyoop.c:353 #, fuzzy, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "تعذّر احصاء `%s': %s" #: ../src/alleyoop.c:368 #, fuzzy, c-format msgid "Could not save to `%s': %s" msgstr "تعذّر احصاء `%s': %s" #: ../src/alleyoop.c:414 #, fuzzy msgid "Save Valgrind log..." msgstr "احفظ كـ Vcard..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:542 msgid "Jeffrey Stedfast" msgstr "" #: ../src/alleyoop.c:552 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" #: ../src/alleyoop.c:564 msgid "_Run" msgstr "_شغّل" #: ../src/alleyoop.c:566 #, fuzzy msgid "_Kill" msgstr "اقتل" #: ../src/alleyoop.c:586 #, fuzzy msgid "Suppressions" msgstr "الجلسات" #: ../src/alleyoop.c:586 #, fuzzy msgid "View/Edit Suppressions" msgstr "حرّر أذون الموقع" #: ../src/alleyoop.c:617 msgid "Tool" msgstr "الأداة" #: ../src/alleyoop.c:632 msgid "Run" msgstr "شغّل" #: ../src/alleyoop.c:632 msgid "Run Program" msgstr "شغّل برنامج" #: ../src/alleyoop.c:637 msgid "Kill" msgstr "اقتل" #: ../src/alleyoop.c:637 #, fuzzy msgid "Kill Program" msgstr "البرنامج" #: ../src/alleyoop.c:640 #, fuzzy msgid "Open Log File" msgstr "افتح ملف" #: ../src/alleyoop.c:642 #, fuzzy msgid "Save Log File" msgstr "احفظ ملف" #: ../src/main.c:164 #, fuzzy msgid "Display help and quit" msgstr "اعرض الإصدار و اخرج" #: ../src/main.c:165 #, fuzzy msgid "Display version and quit" msgstr "اعرض الإصدار و اخرج" #: ../src/main.c:166 #, fuzzy msgid "Add to the list of directories to search for source files" msgstr "مجلّد إضافي للبحث عن ملفّات لوحات مفاتيح GOK" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" #: ../src/main.c:168 #, fuzzy msgid "Specify the default Valgrind tool to use" msgstr "تحديد البروتكول الافتراضى للاستخدام " #: ../src/main.c:205 #, fuzzy msgid "Alleyoop" msgstr "كل المفاتيح" #: ../src/prefs.c:154 #, fuzzy msgid "Alleyoop Preferences" msgstr "تفضيلات بريل" #: ../src/prefs.c:163 #, fuzzy msgid "Editor:" msgstr "المحرر" #: ../src/prefs.c:180 #, fuzzy msgid "Preview" msgstr "معاينات" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "" #: ../src/process.c:52 #, fuzzy, c-format msgid "Failed to create pipe to '%s': %s" msgstr "فشل إنشاء الملف '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "فشل إنشاء العمليّة الإبنة '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" #: ../src/vgcachegrindprefs.c:231 #, fuzzy msgid "Override default settings" msgstr "حمّل التعيينات الإفتراضية" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "" #: ../src/vgcachegrindprefs.c:275 #, fuzzy msgid "Cachegrind" msgstr "مُخزّن:" #: ../src/vgdefaultview.c:180 #, fuzzy msgid "Error contains" msgstr "خيارات الأخطاء" #: ../src/vgdefaultview.c:181 #, fuzzy msgid "Function contains" msgstr "دالة جيب تمام" #: ../src/vgdefaultview.c:182 #, fuzzy msgid "Object contains" msgstr "الموضوع يحتوي" #: ../src/vgdefaultview.c:183 #, fuzzy msgid "Source filename contains" msgstr "المرسِل يحتوي" #: ../src/vgdefaultview.c:220 #, fuzzy, c-format msgid "Invalid regular expression: '%s': %s" msgstr "تعبير بحث غير سليم." #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:704 msgid "Valgrind Suppression Rules" msgstr "" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1045 ../src/vgrule-list.c:131 #, fuzzy msgid "Valgrind Suppression" msgstr "جملة غير صالحة" #: ../src/vgdefaultview.c:1219 #, fuzzy msgid "Cu_t" msgstr "قص" #: ../src/vgdefaultview.c:1220 #, fuzzy msgid "_Copy" msgstr "ان_سخ" #: ../src/vgdefaultview.c:1221 #, fuzzy msgid "_Paste" msgstr "_توقّف مؤقّت" #: ../src/vgdefaultview.c:1223 #, fuzzy msgid "Suppress" msgstr "غير مضغوط" #: ../src/vgdefaultview.c:1225 msgid "Edit in GNU/Emacs" msgstr "" #: ../src/vgdefaultview.c:1226 #, fuzzy msgid "Edit in XEmacs" msgstr "تحرير مستخدم" #: ../src/vgdefaultview.c:1227 #, fuzzy msgid "Edit in GVim" msgstr "يجري التعديل" #: ../src/vgdefaultview.c:1228 #, fuzzy msgid "Edit in Custom Editor" msgstr "حرّر مُدخل القائمة" #: ../src/vggeneralprefs.c:165 #, fuzzy msgid "General" msgstr "_عامّ" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "اعرض" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "" #: ../src/vggeneralprefs.c:224 #, fuzzy msgid "Track open file descriptors" msgstr "خطاء فى اغلاق واصف الملف %s\n" #: ../src/vggeneralprefs.c:232 #, fuzzy msgid "Add time stamps to log messages" msgstr "أضِف خيارات الإرسال لرسائل جروبوايز" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" #: ../src/vggeneralprefs.c:248 #, fuzzy msgid "Suppressions File:" msgstr "الجلسة خامدة" #: ../src/vggeneralprefs.c:266 #, fuzzy msgid "Choose Valgrind Suppressions File..." msgstr "اختر تطبيقاً..." #: ../src/vghelgrindprefs.c:162 #, fuzzy msgid "Helgrind" msgstr "هولغوين" #: ../src/vghelgrindprefs.c:167 msgid "Assume thread stacks are used privately" msgstr "" #: ../src/vghelgrindprefs.c:176 msgid "Show location of last word access on error:" msgstr "" #: ../src/vgmemcheckprefs.c:186 #, fuzzy msgid "Memcheck" msgstr "تحقق املائي:" #: ../src/vgmemcheckprefs.c:191 #, fuzzy msgid "Memory leaks" msgstr "خرائط الذاكرة" #: ../src/vgmemcheckprefs.c:196 #, fuzzy msgid "Leak check:" msgstr "مربعات داكنة" #: ../src/vgmemcheckprefs.c:207 #, fuzzy msgid "Show reachable blocks in leak check" msgstr "اعرض مكان الن_زول" #: ../src/vgmemcheckprefs.c:215 #, fuzzy msgid "Leak resolution:" msgstr "كثافة X:" #: ../src/vgmemcheckprefs.c:233 #, fuzzy msgid "Keep up to" msgstr "الحفاظ على طبقة النتوءات" #: ../src/vgmemcheckprefs.c:245 msgid "bytes in the queue after being free()'d" msgstr "" #: ../src/vgmemcheckprefs.c:252 msgid "Work around bugs generated by gcc 2.96" msgstr "" #: ../src/vgmemcheckprefs.c:260 msgid "Ignore errors produced by inline strlen() calls" msgstr "" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "الوظيفة" #: ../src/vgrule-editor.c:135 #, fuzzy msgid "Shared Object" msgstr "مفتاح مشترَك" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "توسيع" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "تقليص" #: ../src/vgrule-editor.c:224 #, fuzzy msgid "Rule name:" msgstr "إسم القاعدة" #: ../src/vgrule-editor.c:234 #, fuzzy msgid "Suppress messages of type:" msgstr "نوع صندوق الرسالة" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "" #: ../src/vgrule-editor.c:257 #, fuzzy msgid "System call:" msgstr "نداءات النظام" #: ../src/vgrule-editor.c:268 #, fuzzy msgid "Call chain:" msgstr "مدة المكالمة" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, fuzzy, c-format msgid "Error saving to suppression file `%s': %s" msgstr "خطأ عند غلق ملف الجلسة '%s': %s\n" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "" #: ../src/vgrule-list.c:402 #, fuzzy msgid "_Edit" msgstr "_تحرير/" #: ../src/vgrule-list.c:647 #, fuzzy, c-format msgid "Cannot save suppression rules: %s" msgstr "تعذر فتح ملف البادرات (gestures): %s" #: ../src/vgrule-list.c:649 #, fuzzy msgid "You have not set a suppressions file in your settings." msgstr "اخترت %s لهذه الجلسة، لكن تعيينك الإفتراضي %s." alleyoop-0.9.8/po/tr.po0000644000175000001440000002262111276130505011677 00000000000000# translation of alleyoop.HEAD.po to Turkish # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Rıdvan CAN , 2003 # msgid "" msgstr "" "Project-Id-Version: alleyoop.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-12-28 21:33+0000\n" "PO-Revision-Date: 2003-09-18 01:27+0300\n" "Last-Translator: Rıdvan CAN \n" "Language-Team: Turkish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "Çalıştır Yürüt..." #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Çalıştırma için yolu girin ve\n" "hiç öğe yoksa istekleri geç." #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "'%s' yüklenemedi: %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "Valgrind günlüğünü yükle..." #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "'%s' kaydedilemedi: %s\n" "Üzerine yazılsın mı?" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "'%s' kaydedilemedi: %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "Valgrind günlüğünü kaydet..." #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "GNOME ortamı için Alleyoop bir Valgrind ön ucudur." #: src/alleyoop.c:565 msgid "_Run" msgstr "Çalıştı_r" #: src/alleyoop.c:567 msgid "_Kill" msgstr "Ö_ldür" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "Baskılar" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "Baskılar Görünüm/Düzenle" #: src/alleyoop.c:618 msgid "Skin" msgstr "Kabuk" #: src/alleyoop.c:633 msgid "Run" msgstr "Çalıştır" #: src/alleyoop.c:633 msgid "Run Program" msgstr "Program Çalıştır" #: src/alleyoop.c:638 msgid "Kill" msgstr "Öldür" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "Program Öldür" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "Günlük Dosyasını Aç" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "Günlük Dosyasını Kaydet" #: src/main.c:47 msgid "Print version and exit" msgstr "Uyarlamayı yazdır ve çık" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "Kaynak dosyalar için arama dizini listesine ekle" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" " özyinemeli ekle ve kaynak dosyalarını aramak için dizinlerin " "listesine tüm altdizinleri ekle" #: src/main.c:52 msgid "skin" msgstr "kabuk" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "Belirtilen öntanımlı kabuğu (kip) kullan" #: src/main.c:124 msgid "Alleyoop" msgstr "Alleyoop" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "Alleyoop Ayarları" #: src/prefs.c:165 msgid "Editor:" msgstr "Düzenleyici:" #: src/prefs.c:182 msgid "Preview" msgstr "Önizleme" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "satırların üstüne ve hedef satırın altına." #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "'%s' boru oluşturması başarız: %s" #: src/process.c:108 #, c-format msgid "Failed to create child process '%s': %s" msgstr "'%s' alt süreç oluşturması başarısız: %s" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "'%s' geçersiz sözdizimi ayarları.\\ Lütfen forma bir değer girin \"," ",\"." #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "Öntanımlı ayarları geçersiz kıl" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr ",, girin:" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "Cachegrind" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "Kapsamlar hatalı" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "İşlev kapsamları" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "Nesne kapsamları" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "Kapsamlar kaynak dosya ismi" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Geçersiz düzenli anlatım: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "Valgrind Baskı Kuralları" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "Valgrind Baskı" #: src/vgdefaultview.c:1220 msgid "Cu_t" msgstr "Ke_s" #: src/vgdefaultview.c:1221 msgid "_Copy" msgstr "_Kopyala" #: src/vgdefaultview.c:1222 msgid "_Paste" msgstr "_Yapıştır" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "Baskı" #: src/vgdefaultview.c:1226 msgid "Edit in GNU/Emacs" msgstr "GNU/Emacs'da Düzenle" #: src/vgdefaultview.c:1227 msgid "Edit in XEmacs" msgstr "XEmacs'da Düzenle" #: src/vgdefaultview.c:1228 msgid "Edit in GVim" msgstr "GVim'de Düzenle" #: src/vgdefaultview.c:1229 msgid "Edit in Custom Editor" msgstr "Özel Düzenleyicide Düzenle" #: src/vggeneralprefs.c:159 msgid "General" msgstr "Genel" #: src/vggeneralprefs.c:165 msgid "Demangle c++ symbol names" msgstr "Demangle c++ simge isimleri" #: src/vggeneralprefs.c:173 msgid "Show" msgstr "Göster" #: src/vggeneralprefs.c:185 msgid "callers in stack trace" msgstr "Yığın izinde arananlar" #: src/vggeneralprefs.c:192 msgid "Stop showing errors if there are too many" msgstr "Gösterim hatalarını durdur eğer birkaç tane varsa" #: src/vggeneralprefs.c:200 msgid "Round malloc sizes to next word" msgstr "Sonraki kelimeye dairede ayrılan toplam bellek boyutları" #: src/vggeneralprefs.c:208 msgid "Trace any child processes forked off by the program being debugged" msgstr "İzlenen alt işlemler çatallaşmış program hatalarını gider" #: src/vggeneralprefs.c:216 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Bellek çatlakları için çıkışta kontrol ederek __libc_freeres() arayınız" #: src/vggeneralprefs.c:224 msgid "Suppressions File:" msgstr "Baskı Dosyası:" #: src/vggeneralprefs.c:229 msgid "Choose Valgrind Suppressions File..." msgstr "Valgrind Baskı Dosyası Seç..." #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "Helgrind" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "" "Özel olarak yığınların kullanıldıkları iş parçacıkları olarak varsayınız" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "Son kelime erişimi hatasının konumunu göster:" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "Bellek denetimi" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "Bellek çatlakları" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "Çıkışta bellek çatlakları için ara" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "Çatlak denetimindeki reachable blokları göster" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "Çatlak çözümü:" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "Devam et" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "Başlamadan sonra kuruktaki baytları serbest bırak" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "İş etrafında gcc2.96 hataları meydana geldi" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "Satır içi strlen() çağrılarıyla üretilen hataları yoksay" #: src/vgrule-editor.c:133 msgid "Function" msgstr "İşlev" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "Paylaşılmış Nesne" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "Büyüme" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "Küçülme" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "Kural ismi:" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "Gizli mesajların türü:" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "Gizli mesaj kullanıldığında:" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "Sistem çağrısı:" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "Çağrı zinciri:" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "'%s' baskı dosyası kaydedilemiyor: %s" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "Baskı kuralınızı isimlendirmeyi unuttunuz" #: src/vgrule-list.c:403 msgid "_Edit" msgstr "_Düzenle" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Baskı kuralları kaydedilemiyor: %s" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "Ayarlarınızda bir baskı dosyası belirlemediniz" alleyoop-0.9.8/po/lv.po0000644000175000001440000002564711626207370011712 00000000000000# translation of alleyoop.HEADD.po to Latvian # translation of alleyoop.HEAD.po to Latvian # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # # Mikus , 2006. # Raivis Dejus , 2006. # Rūdofls Mazurs , 2011. msgid "" msgstr "" "Project-Id-Version: alleyoop.HEAD\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug." "cgi?product=alleyoop&component=general\n" "POT-Creation-Date: 2009-11-25 04:11+0000\n" "PO-Revision-Date: 2011-03-31 20:06+0300\n" "Last-Translator: Rūdofls Mazurs \n" "Language-Team: Latvian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.1\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " "2);\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Palaist izpildāmo failu..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Ievadīt ceļu uz izpildāmo un \n" "jebkurus argumentus kurus vēlaties tam nodot." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Nevar ielādēt `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Ielādēt Valgrind žurnālu..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Nevar saglabāt:`%s': %s\n" "Pārrakstīt?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Nevar saglabāt `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Saglabāt Valgrind žurnālu..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop ir Valgrind priekšpuse GNOME videi." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Palaist" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "No_kaut" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Apspiešanas" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Skats/rediģēt apspiešanas" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Rīks" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Palaist" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Palaist programmu" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Nokaut" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Nokaut programmu" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Atvērt žurnāla failu" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Saglabāt žurnāla failu" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Rādīt palīdzību un iziet" #: ../src/main.c:165 #| msgid "Print version and exit" msgid "Display version and quit" msgstr "Rādīt versiju un iziet" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Pievienot direktoriju sarakstam, lai meklētu avota failus" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Rekursīvi pievienot un visas direktoriju saraksta apakšdirektorijas, " "lai meklētu avota failus" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Norāda noklusēto lietojamo Valgrind rīku" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoop iestatījumi" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Redaktors:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Priekšskatījums" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "rindas virs un zem.mērķa līnijas." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Nevar izveidot konveijeru uz'%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Nevar izveidot bērnu procesu '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Nederīga sintakse iestatījumos '%s'.\n" "Lūdzu, ierakstiet vērtību sekojošā formā\",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Pārrakstīt noklusētos iestatījumus" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Ievadiet ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Kļūda satur" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funkcija satur" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objekts satur" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Avota failavārds satur" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Valgrind apspiešanas noteikumi" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind Apspiešana" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Izgiez_t" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Kopēt" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Ievietot" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Apspiešana" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Rediģēt ar GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Rediģēt ar XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Rediģēt ar GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Rediģēt ārējā redaktorā" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Vispārējs" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Atšķetināt c++ simbolu vārdus" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Rādīt" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "zvanītāji steka sekojumā" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Beigt rādīt kļūdas ja to ir pārāk daudz" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Noapaļot malloc izmērus līdz nākamajam vārdam" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Sekot līdz jebkuriem bērnu procesam, kas atzarojas programmu atkļūdošanas " "laikā" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Sekot līdzi failu atvēršanas aprakstiem" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Trasēt izcelsmes un nedefinētās vērtības" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Pievienot laika spiedolu žurnāla ierakstos" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Izsaukums __libc_freeres() izejot pirms pārbauda atmiņas noplūdes" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Apspriešanas fails:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Izvēlēties Valgrind apspiešanas Failu..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Apsvērt sinhronizēšanas punktus, kas gadījās iepriekš:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Izsekošanas adrese:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Izsekošanas līmenis:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Atmiņas noplūde" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Noplūde pārbaude:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Parādīt sasniedzamos blokus noplūdes pārbaudē" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Noplūdes atrisināšana:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Paturēt virs" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "baiti rindā pēc atbrīvošanas()'d" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignorēt atmiņas apgabalus:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Aizpildīt malloc atmiņu ar:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Aizpildīt free atmiņu ar:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Strādāt ar gcc 2.96 ģenerētajām kļūdām" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funkcija" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Koplietošanas objekts" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Pieaudzēt" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Sašaurināt" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Noteikuma vārds:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Apspiest šī tipa ziņas:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Apspiest kad tiek lietots:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Sistēmas izsaukums:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Izsaukuma secība:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Kļūda saglabājot apsiešanas failā `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Esat aizmirsis nosaukt savu apspiešanas noteikumu." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "R_ediģēt" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Nevar saglabāt apspiešanas noteikumu: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Jūs neesat uzstādījis noteikuma failu savos uzstādījumos." #~ msgid "tool" #~ msgstr "rīks" #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Nederīga regulārā izteiksme '%s': %s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "Pieņemtie steka pavedieni tiek lietoti privāti" #~ msgid "Show location of last word access on error:" #~ msgstr "Parādīt pēdējā vārda atrašanās vietu kļūdainai pieejai:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Ignorēt kļūdas veidotas pēc iekļautās strlen() izsaukuma" alleyoop-0.9.8/po/mk.po0000644000175000001440000002745611276130505011674 00000000000000# translation of mk.po to Macedonian # translation of alleyoop.HEAD.po to # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # # Ime Prezime , 2003. # Vladislav Bidikov , 2003. # Arangel Angov , 2006. msgid "" msgstr "" "Project-Id-Version: mk\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-08-04 18:00+0200\n" "PO-Revision-Date: 2006-08-05 00:16+0200\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" "X-Generator: KBabel 1.11.2\n" #: ../src/alleyoop.c:172 msgid "Run Executable..." msgstr "Изврши датотека..." #: ../src/alleyoop.c:186 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Внеси ја патеката за до извршната датотека и некои аргументи кои сакаш да ги " "префрлиш на неа" #: ../src/alleyoop.c:287 #, c-format msgid "Could not load `%s': %s" msgstr "Не може да се вчита `%s': %s" #: ../src/alleyoop.c:315 msgid "Load Valgrind log..." msgstr "Вчитување на Валгринд лог" #: ../src/alleyoop.c:353 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Не може да го зачува во `%s': %s\n" "Пребриши?" #: ../src/alleyoop.c:368 #, c-format msgid "Could not save to `%s': %s" msgstr "Не може да го зачува во `%s': %s" #: ../src/alleyoop.c:414 msgid "Save Valgrind log..." msgstr "Зачувај го Валгринд логот" #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:542 msgid "Jeffrey Stedfast" msgstr "Џефри Стедфаст" #: ../src/alleyoop.c:552 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop е преден дел на Valgrind за GNOME средина" #: ../src/alleyoop.c:564 msgid "_Run" msgstr "_Изврши" #: ../src/alleyoop.c:566 msgid "_Kill" msgstr "_Убиј" #: ../src/alleyoop.c:586 msgid "Suppressions" msgstr "Потиснувања" #: ../src/alleyoop.c:586 msgid "View/Edit Suppressions" msgstr "Види/Уреди потиснувања" #: ../src/alleyoop.c:617 msgid "Tool" msgstr "Алатка" #: ../src/alleyoop.c:632 msgid "Run" msgstr "Изврши" #: ../src/alleyoop.c:632 msgid "Run Program" msgstr "Изврши програма" #: ../src/alleyoop.c:637 msgid "Kill" msgstr "Убиј" #: ../src/alleyoop.c:637 msgid "Kill Program" msgstr "Убиј ја програмата" #: ../src/alleyoop.c:640 msgid "Open Log File" msgstr "Отвори лог датотека" #: ../src/alleyoop.c:642 msgid "Save Log File" msgstr "Зачувај лог датотека" #: ../src/main.c:46 msgid "Print version and exit" msgstr "Печати ја верзијата и излези" #: ../src/main.c:48 msgid "Add to the list of directories to search for source files" msgstr "Додади на листата на директориуми за да пребаруваш изворни датотеки" #: ../src/main.c:50 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Рекурзивно додади и сите субдиректориуми на листата на директориуми за " "да пребаруваш изворни датотеки " #: ../src/main.c:51 msgid "tool" msgstr "алатка" #: ../src/main.c:52 msgid "Specify the default Valgrind tool to use" msgstr "Изберете стандардна алатка за користење во Valgrind" #: ../src/main.c:123 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoop параметри" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Уредувач:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Преглед" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "линии над и под целната линија" #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Неуспеа да креира врска со '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Не успеа да создаде подпроцес '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Невалидна граматика во поставките '%s'.\n" "Те молам внеси вредност на формата \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Прескокни стандарните поставки" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Внеси ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Содржи грешка " #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Функцијата содржи" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Објектот содржи" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Изворното име на датотеката содржи" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Невалидно регуларно изразување: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:701 msgid "Valgrind Suppression Rules" msgstr "Valgrind правила на поттиснување" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1042 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind поттиснување" #: ../src/vgdefaultview.c:1216 msgid "Cu_t" msgstr "_Исечи" #: ../src/vgdefaultview.c:1217 msgid "_Copy" msgstr "_Копирај" #: ../src/vgdefaultview.c:1218 msgid "_Paste" msgstr "_Вметни" #: ../src/vgdefaultview.c:1220 msgid "Suppress" msgstr "Поттисни" #: ../src/vgdefaultview.c:1222 msgid "Edit in GNU/Emacs" msgstr "Уреди во GNU/Emacs" #: ../src/vgdefaultview.c:1223 msgid "Edit in XEmacs" msgstr "Уреди во XEmacs" #: ../src/vgdefaultview.c:1224 msgid "Edit in GVim" msgstr "Уреди во GVim" #: ../src/vgdefaultview.c:1225 msgid "Edit in Custom Editor" msgstr "Уреди во уредувач по избор" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "Генерално" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "Одреди ги ц++ имињата на симболите" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "Прикажи" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "повикувачи во пребарување на стак" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "Престани да покажуваш грешки доколку ѓи има премногу" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "Заобиколи ги малок величините до следниот збор" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "Следи секој подпроцес истакнат од програмата која се дебагира" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "Следи отворени опишувачи на датотека" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "Додавај време на логовите" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Повикај_libs_freeres() на излез пред проверувањето за мемориски недостатоци" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "Поттиснувачка датотека: " #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "Избери Valgrind поттиснувачка датотека..." #: ../src/vghelgrindprefs.c:162 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:167 msgid "Assume thread stacks are used privately" msgstr "Претпостави низата за стекот да се користи приватно" #: ../src/vghelgrindprefs.c:176 msgid "Show location of last word access on error:" msgstr "Прикажи локација на последниот пристапен збор со грешка" #: ../src/vgmemcheckprefs.c:186 msgid "Memcheck" msgstr "Проверка на Меморија" #: ../src/vgmemcheckprefs.c:191 msgid "Memory leaks" msgstr "Мемориски истекувања " #: ../src/vgmemcheckprefs.c:196 msgid "Leak check:" msgstr "Проверка на меморија:" #: ../src/vgmemcheckprefs.c:207 msgid "Show reachable blocks in leak check" msgstr "Прикажи достижни блокови при проверката на истекувањата" #: ../src/vgmemcheckprefs.c:215 msgid "Leak resolution:" msgstr "Резолуциски истекувања" #: ../src/vgmemcheckprefs.c:233 msgid "Keep up to" msgstr "Биди на ниво на " #: ../src/vgmemcheckprefs.c:245 msgid "bytes in the queue after being free()'d" msgstr "бајти во редица по ослободувањето ()'д" #: ../src/vgmemcheckprefs.c:252 msgid "Work around bugs generated by gcc 2.96" msgstr "Разреши ги баговите создадени од гцц 2.96" #: ../src/vgmemcheckprefs.c:260 msgid "Ignore errors produced by inline strlen() calls" msgstr "Негирај ги грешките создадени од внатрешни стрлен () повици" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Функција" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Делен објект" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Расти" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Пропаѓа" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Име на правилото: " #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Поттисни ги пораките од вид: " #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Потисни кога користиш" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Повик од системот: " #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Ланчен повик: " #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Зачувување на грешка во потисната датотека `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Заборавивте да го именувате вашето потиснато правило" #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Уреди" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Не може да ги зачува потиснатите правила: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Немате поставено потисната датотека во вашите поставки" alleyoop-0.9.8/po/mn.po0000644000175000001440000002464111276130505011670 00000000000000# translation of alleyoop[1].HEAD.po to Mongolian # translation of alleyoop.HEAD.po to Mongolian # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Dulmandakh Sukhbaatar , 2003. # Sanlig Badral , 2004. # msgid "" msgstr "" "Project-Id-Version: alleyoop[1].HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-10-21 14:57-0400\n" "PO-Revision-Date: 2004-01-07 22:38+0100\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" "X-Generator: KBabel 1.0.2\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "Гүйцэтгэгчийг ажиллуул..." #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Гүйцэтгэгчид хүрэх зам болон\n" "түүнд дамжуулах аргументаа оруулна уу." #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "`%s'-г ачааллаж чадсангүй: %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "Валгринд логийг ачаалла..." #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "`%s'-д хадгалж чадсангүй: %s\n" "Дарж бичих үү?" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "`%s'-д хадгалж чадсангүй: %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "Валгринд логийг хадгал..." #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "Жефри Стэдфаст" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "АлейҮүп нь ГНОМЕ орчинд зориулсан Валгриндын нүүр юм." #: src/alleyoop.c:565 msgid "_Run" msgstr "_Ажиллуул" #: src/alleyoop.c:567 msgid "_Kill" msgstr "_Ал" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "Хоригууд" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "Хоригуудыг үзэх/засварлах" #: src/alleyoop.c:618 msgid "Skin" msgstr "Арьс" #: src/alleyoop.c:633 msgid "Run" msgstr "Ажиллуул" #: src/alleyoop.c:633 msgid "Run Program" msgstr "Програмыг ажиллуул" #: src/alleyoop.c:638 msgid "Kill" msgstr "Ал" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "Програмыг ал" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "Лог файлыг нээ" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "Лог файлыг хадгал" #: src/main.c:47 msgid "Print version and exit" msgstr "Хувилбарыг хэвлээд гар" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "Эх файлуудыг хайхын тулд <хавтас>-г хавтаснуудын жагсаалтад нэм" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Эх файлуудыг хайхын тулд <хавтас> болон бүх дэд хавтаснуудыг хавтаснуудын " "жагсаалтад нэм " #: src/main.c:52 msgid "skin" msgstr "арьс" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "Ашиглах стандарт арьсаа (горим) оруул" #: src/main.c:124 msgid "Alleyoop" msgstr "АллейҮүп" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "АллейҮүп тохиргоонууд" #: src/prefs.c:165 msgid "Editor:" msgstr "Засварлагч:" #: src/prefs.c:182 msgid "Preview" msgstr "Урьдчилан үзэх" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "бай мөрийн дээд болон доод мөр." #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "'%s' руу хоолой үүсгэж чадсангүй: %s" #: src/process.c:108 #, c-format msgid "Failed to create child process '%s': %s" msgstr "'%s' хүү процесс үүсгэж чадсангүй: %s" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "'%s' тохиргоо өгүүлбэр зүйн алдаатай.\n" "Утгыг \"<бүхэл тоо>,<бүхэл тоо>,<бүхэл тоо>\" хэлбэрээр оруулна уу." #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "Стандарт тохиргоог алхас" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr "<хэмжээ>,,<мөрийн хэмжээ> оруул:" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "Кэшгринд" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "Алдаа агуулагдаж байна" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "Функц агуулагдаж байна" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "Обьект агуулагдаж байна" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "Эх файлын нэр агуулагдаж байна" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Алдаатай хэвийн илэрхийлэл: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "Валгринд хоригийн заалтууд" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "Валгринд хориг" #: src/vgdefaultview.c:1220 msgid "Cu_t" msgstr "Ха_чла" #: src/vgdefaultview.c:1221 msgid "_Copy" msgstr "_Хуул" #: src/vgdefaultview.c:1222 msgid "_Paste" msgstr "_" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "Хоригло" #: src/vgdefaultview.c:1226 msgid "Edit in GNU/Emacs" msgstr "GNU/Emacs-д засварла" #: src/vgdefaultview.c:1227 msgid "Edit in XEmacs" msgstr "XEmacs-д засварла" #: src/vgdefaultview.c:1228 msgid "Edit in GVim" msgstr "GVim-д засварла" #: src/vgdefaultview.c:1229 msgid "Edit in Custom Editor" msgstr "Өөр засварлагчаар засварла" #: src/vggeneralprefs.c:158 msgid "General" msgstr "Ерөнхий" #: src/vggeneralprefs.c:164 msgid "Demangle c++ symbol names" msgstr "Demangle c++ тэмдэгтийн нэрс" #: src/vggeneralprefs.c:172 msgid "Show" msgstr "Үзүүл" #: src/vggeneralprefs.c:184 msgid "callers in stack trace" msgstr "" #: src/vggeneralprefs.c:191 msgid "Stop showing errors if there are too many" msgstr "Хэт олон бол алдааг үзүүлэхээ зогсоо" #: src/vggeneralprefs.c:199 msgid "Round malloc sizes to next word" msgstr "" #: src/vggeneralprefs.c:207 msgid "Trace any child processes forked off by the program being debugged" msgstr "" #: src/vggeneralprefs.c:215 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" #: src/vggeneralprefs.c:223 msgid "Suppressions File:" msgstr "Хоригуудын файл:" #: src/vggeneralprefs.c:228 msgid "Choose Valgrind Suppressions File..." msgstr "Валгринд хоригийн файлыг сонго..." #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "Алдаан дахь хандах сүүлийн үгний байрлалыг үзүүл." #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "Ой шалгалт" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "Гарахдаа санах ойн шүүрэлтийг хай." #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "gcc 2.96 -р үүсгэгдсэн согогуудын орчинд ажиллах" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "strlen() функцын дуудалтад үүссэн алдаануудыг үл хэрэгсэх" #: src/vgrule-editor.c:133 msgid "Function" msgstr "Функц" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "Нээлттэй обьект" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "Өсгө" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "Багасгах" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "Журмын нэр:" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "Хоригийн мэдээний төрөл:" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "Ашиглаж байхад хоригло:" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "Системийн дуудалт:" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "Дуудалтын холбоо:" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Хоригийн файлыг `%s' руу хадгалж байхад алдаа гарлаа: %s" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "Та хоригийн заалтуудыг нэрлэхээ мартсан байна." #: src/vgrule-list.c:403 msgid "_Edit" msgstr "_Засварла" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Хоригийн заалтуудыг хадгалж чадсангүй: %s" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "Та өөрийнхөө тохиргоонд хоригийн файлыг суулгаагүй байна." alleyoop-0.9.8/po/gl.po0000644000175000001440000002445711376346304011674 00000000000000# Galician translation for alleyoop. # Copyright (C) 2009 alleyoop's COPYRIGHT HOLDER # This file is distributed under the same license as the alleyoop package. # Fran Diéguez , 2009, 2010. msgid "" msgstr "" "Project-Id-Version: alleyoop master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&component=general\n" "POT-Creation-Date: 2010-02-03 19:14+0000\n" "PO-Revision-Date: 2010-03-04 13:07+0100\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" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Iniciar executábel..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Insira o camiño ao executábel e\n" "calquera argumento que queira pasarlle." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Non é posíbel cargar `%s':%s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Cargar rexistro de Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Non é posíbel gardar en `%s':%s\n" "Quere sobrescribir?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Non é posíbel gardar en `%s':%s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Gardar o rexistro de Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Fran Diéguez" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop é un front-end para Valgrind na contorna GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Executar" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Matar" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Supresións" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Ver/Editar supresións" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Ferramenta" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Executar" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Executar programa" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Matar" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Matar programa" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Abrir ficheiro de rexistro" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Gardar ficheiro de rexistro" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Mostrar a axuda e saír" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Mostrar a versión e saír" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Engadir á lista de cartafoles onde buscar os ficheiros de orixe" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Engadir recursivamente e todos os subdirectorios á lista de cartafoles " "onde buscar os ficheiros de orixe" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Especifique a ferramenta Valgrind predefinida para empregar" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Preferenzas de Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Vista previa" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "liñas de arriba e abaixo á liña de destino." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Produciuse un fallo ao crear a tubería a '%s':%s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Produciuse un erro ao crear o proceso fillo '%s':%s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Sintaxe inválida nas configuracións '%s'.\n" "Insira un valor da forma \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Sobrescribir as preferenzas predefinidas" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Insira o ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Contén erros" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Contén funcións" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Contén obxectos" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Contén o nome de ficheiro de orixe" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Regras de supresión de Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Supresións de Valgrind" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Cor_tar" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Copiar" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Pegar" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Suprimir" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Editar en GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Editar en XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Editar en GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Editar nun editor personalizado" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Xeral" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Efectuar \"demangle\" dos nomes de símbolo c++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Mostrar" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "chamadores na pila de trazado" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Deter a mostra de erros se son demasiados" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Aproximar tamaños de malloc á seguinte palabra" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Trazar calquera proceso fillo ramificado polo programa que está sendo " "depurado" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Seguir os descritores de ficheiro abertos" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Seguir os orixes dos valores non definidos" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Engadir marca de tempo aos mensaxes de rexistro" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Chamar __libc_freeres() e saír antes de comprobar as perdas de memoria" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Ficheiro de supresións:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Seleccione o ficheiro de supresións de Valgrind..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Considere os puntos de sincronización que sucederon antes:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Enderezo de trazado:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Nivel de trazado:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Perdas de memoria" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Comprobar pérdida:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Mostrar os bloques accesibeis na comprobación da perda" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Resolución da perda:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Manter en" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "bytes na cola logo de aplicarlle a función free()" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignorar os rangos de memoria:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Rechear a memoria reservada con malloc con:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Rechear a memoria liberada con free con:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Solución aos bugs xerados por gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Función" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Obxecto compartido" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Expandir" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Reducir" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Nome da regra:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Suprimir mensaxe do tipo:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Suprimir ao empregar:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Chamada do sistema:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Cadena de chamadas:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Produciuse un erro ao gardar o ficheiro de supresión `%s':%s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Esqueceu o nome da regra de supresión." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Editar" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Non é posíbel gardar as regras de supresión: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Non ten un ficheiro de supresión estabelecido nas súas configuracións." alleyoop-0.9.8/po/es.po0000644000175000001440000002614311673145445011676 00000000000000# translation of alleyoop.HEAD.po to Español # This file is distributed under the same license as the alleyoop package. # Copyright (C) 2005 The Free Software Foundation # Francisco Javier F. Serrador , 2003-2005 # Jorge González , 2009. # Daniel Mustieles , 2011. # msgid "" msgstr "" "Project-Id-Version: alleyoop.HEAD.es\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&component=general\n" "POT-Creation-Date: 2009-12-17 08:01+0000\n" "PO-Revision-Date: 2011-09-15 11:08+0200\n" "Last-Translator: Daniel Mustieles \n" "Language-Team: Español \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0.1\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Ejecutar..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Introduzca la ruta al ejecutable y\n" "cualquier argumento que desee pasarle." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "No se pudo cargar «%s»: %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Cargar registro Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "No se pudo guardar «%s» %s\n" "¿Sobreescribir?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "No se puede guardar «%s»: %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Guardar registro Valgrind." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop es un entorno Valgrind para el entorno GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Ejecutar" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Matar" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Supresiones" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Ver/Editar supresiones" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Herramientas" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Ejecutar" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Ejecutar programa" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Matar" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Matar programa" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Abrir archivo de registro" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Guardar archivo de registro" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Mostrar ayuda y salir" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Mostrar versión y salir" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Añadir a la lista de carpetas para buscar archivos fuente" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Recursivamente añadir y todas las subcarpetas a la lista de " "carpetas para buscar archivos fuente" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Especificar la herramienta Valgrind predeterminada que se va a usar" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Preferencias Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Previsualizar" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "lineas arriba y abajo de la línea objetivo" #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Falló al crear pipe a |«%s»: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Falló al crear el proceso hijo «%s»: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Sintaxis inválida en configuración de «%s».\n" "Por favor, introduzca un valor con la forma \",," "\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Ignorar configuración preestablecida" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Introduzca ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "El error contiene" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "La función contiene" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "El objeto contiene" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "El nombre de archivo fuente contiene" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Reglas de supresión Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Supresión Valgrind" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Cor_tar" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Copiar" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Pegar" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Suprimir" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Editar en GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Editar en Xemacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Editar en GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Editar en editor personalizado" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "General" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Arreglar los nombres simbólicos c++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Mostrar" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "llamadas en la traza de pila" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Detener mostrando errores si hay demasiados" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Redondear tamaños de malloc a la siguiente palabra" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Trazar procesos hijos bifurcados fuera del programa que está siendo depurado" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Llevar la cuanta de descriptores de archivo abiertos" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Seguir el origen de los valores indefinidos" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Añadir marcas de tiempo a los mensajes de registro" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Call__libc__freeres() en la salida antes de verificar fugas de memoria" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Archivos de supresiones" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Escoger archivo de supresiones Valgrind" #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Considerar puntos de sincronización que suceden antes:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Dirección de la traza:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Nivel de la traza:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Verificar memoria" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Fugas de memoria" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Comprobar pérdidas:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Mostrar bloques alcanzables en verificación de fugas" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Resulución de fugas:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Conservar hasta" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "bytes en la cola después de haber sido liberados con free()'d" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ignorar rangos de memoria:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Llenar la memoria de «malloc» con:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Llenar la memoria de «free» con:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Arraglar errores generados por gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Función" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Objeto compartido" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Agrandar" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Achicar" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Nombre de la regla:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Suprimir mensajes de tipo:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Suprimir al usar:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Llamada de sistema:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Cadena de llamada:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Error al guardar a archivo de supresión «%s»: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Ha olvidado darle un nombre a su regla de supresión" #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Editar" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "No se pueden guardar las reglas de supresión: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "No ha especificado un archivo de supresiones en su configuración." #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Expresión regular inválida: «%s»: %s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "Asumir que las pilas de threads se usan separadamente" #~ msgid "Show location of last word access on error:" #~ msgstr "Mostrar dirección de la última pàlabra accedida en el error:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Ignorar errores producidos por llamadas en strlen() en línea" #~ msgid "tool" #~ msgstr "herramienta" #~ msgid "Skin" #~ msgstr "Piel" #~ msgid "skin" #~ msgstr "piel" #~ msgid "Search for memory leaks at exit" #~ msgstr "Buscar fugas de memoria y salir" alleyoop-0.9.8/po/hu.po0000644000175000001440000002517411333307120011665 00000000000000# Hungarian translation of alleyoop # This file is distributed under the same license as the alleyoop package. # Copyright (C) 2005, 2006, 2009, 2010, Free Software Foundation, Inc. # # Gabor Kelemen , 2005, 2006, 2009, 2010. msgid "" msgstr "" "Project-Id-Version: alleyoop master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-01-22 02:22+0100\n" "PO-Revision-Date: 2010-01-22 02:27+0100\n" "Last-Translator: Gabor Kelemen \n" "Language-Team: Hungarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Végrehajtható futtatása…" #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Adja meg egy végrehajtható fájl útvonalát \n" "és az átadandó argumentumokat." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "„%s” nem tölthető be: %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Valgrind napló betöltése…" #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Nem lehet menteni ide: „%s”: %s\n" "Felülírja?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Nem lehet menteni ide: „%s”: %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Valgrind napló mentése…" #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Kelemen Gábor " #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Az Alleyoop egy Valgrind előtét a GNOME környezethez." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Futtatás" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Kilövés" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Elnyomások" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Nézet/Szerkesztés elnyomások" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Eszköz" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Futtatás" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Program futtatása" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Kilövés" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Program kilövése" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Naplófájl megnyitása" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Naplófájl mentése" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Súgó megjelenítése és kilépés" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Verzió megjelenítése és kilépés" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" "A hozzáadása azon könyvtárak listájához, amelyekben a forrásfájlok " "keresendők" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "A és alkönyvtárainak rekurzív hozzáadása azon könyvtárak listájához, " "amelyekben a forrásfájlok keresendők" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Az alapértelmezetten használható Valgrind eszköz megadása" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Az Alleyoop beállításai" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Szerkesztő:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Előnézet" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "sor a célsor alatt és felett." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Nem sikerült csővezetéket létrehozni: „%s”: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Nem sikerült létrehozni a(z) „%s” gyermekfolyamatot: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Érvénytelen szintaxis a beállításokban „%s”.\n" "A következő formában adjon meg egy értéket: „,," "”." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Alapértelmezett beállítások felülbírálása" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Adja meg a ,, értékeit:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "A hiba tartalmazza" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "A függvény tartalmazza" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objektum tartalmazza" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Forrásfájlnév tartalmazza" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Valgrind elnyomási szabályok" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind elnyomások" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "_Kivágás" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Másolás" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Beillesztés" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Elnyomás" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Szerkesztés GNU/Emacs-ben" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Szerkesztés XEmacs-ben" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Szerkesztés GVim-ben" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Szerkesztés egyedi szerkesztőben" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Általános" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "c++ szimbólumnevek csonkításának megszüntetése" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Megjelenítés" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "hívók a veremnyomkövetésben" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Hibák megjelenítésének leállítása, ha túl sok van" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "A malloc méretek kerekítése a következő szóra" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "A hibakeresés alatt álló program által indított gyermekfolyamatok " "nyomkövetése" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Nyitott fájlleírók nyomkövetése" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Definiálatlan értékek eredetének követése" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Időbélyegek hozzáadása a naplóüzenetekhez" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "A __libc_freeres() meghívása kilépéskor memóriaszivárgások ellenőrzése előtt" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Elnyomások fájlja:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Válasszon egy Valgrind elnyomások fájlt…" #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Szinkronizálási pontok figyelembe vétele ez előtt:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Nyomkövetési cím:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Nyomkövetési szint:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Memória-ellenőrzés" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Memóriaszivárgások" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Szivárgás-ellenőrzés:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Elérhető blokkok megjelenítése a szivárgás-ellenőrzésben" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Szivárgásfelbontás:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Ennyi:" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "bájt sorban tartása a free() hívása után" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Memóriatartományok figyelmen kívül hagyása:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Lefoglalt memória keresése ezzel:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Felszabadított memória keresése ezzel:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "A gcc 2.96 által okozott hibák megkerülése" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Függvény" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Megosztott objektum" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Növelés" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Zsugorodás" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Szabály neve:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "A következő típusú üzenetek elnyomása:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Elnyomás a következő használatakor:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Rendszerhívás:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Hívási lánc:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Hiba a(z) „%s” elnyomási fájlba mentés közben: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Elfelejtette elnevezni az elnyomási szabályt." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "S_zerkesztés" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Nem lehet menteni az elnyomási szabályokat: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Nem állított be elnyomási fájlt a beállításokban." alleyoop-0.9.8/po/ru.po0000644000175000001440000003032411376346304011706 00000000000000# translation of alleyoop.master.ru.po to Russian # Copyright (C) 2003 # This file is distributed under the same license as the Alleyoop package. # # Valek Filippov , 2003. # Yuri Kozlov , 2010. msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-03-22 11:57+0200\n" "PO-Revision-Date: 2010-03-21 11:29+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Запустить программу" #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Введите путь к исполняемому файлу и\n" "любые аргументы, которые ему надо передать." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Не удалось загрузить \"%s\": %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Загрузить журнал Valgrind..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Не удалось сохранить в \"%s\": %s\n" "Перезаписать?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Не удалось сохранить в \"%s\": %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Сохранить журнал Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Валек Филиппов" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop - это оболочка к Valgrind для GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "Запустить" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "Уничтожить" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Подавления" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Просмотр/Правка подавлений" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Инструмент" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Запустить" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Запустить программу" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Уничтожить" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Уничтожить процесс" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Открыть файл журнала" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Сохранить файл журнала" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Показать справку и закончить работу" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Показать версию и закончить работу" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" "Добавить к списку каталогов, в которых производится поиск файлов исходных " "текстов" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Последовательно добавлять каталог и все его подкаталоги к списку поиска " "исходных файлов" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Указать используемый по умолчанию инструмент Valgrind" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Настройки Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Программа редактирования:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Предварительный просмотр" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "строк над и под целевой строкой." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Не удалось создать канал к \"%s\": %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Не удалось создать дочерний процесс \"%s\": %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Недопустимый синтаксис в настройках \"%s\".\n" "Введите значения в формате \"<целое>,<целое>,<целое>\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Переписать настройки по умолчанию" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Введите <размер>,<связь>,<размер строки>:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Ошибка содержит" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Функция содержит" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Объект содержит" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Имя файла исходного текста содержит" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Правила подавления Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Подавление Valgrind" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Вырезать" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "Скопировать" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "Вставить" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Подавить" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Правка в GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Правка в XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Правка в GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Правка в редакторе по выбору" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Общее" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Раскрывать имена символов C++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Показать" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "вызывающие функции в стеке" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Прекратить показывать ошибки если их слишком много" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Округлить размер выделенной памяти до слова" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Отслеживать выполнение дочерних процессов, порождённых отлаживаемой " "программой" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Отслеживать открытые файловые дескрипторы" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Отслеживать происхождение неопределённых значений" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Добавлять отметку времени к журналируемым сообщениям" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Выполнять __libc_freeres() при выходе при проверке утечек памяти" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Файл подавлений:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Выбрать файл подавлений Valgrind..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Учесть точки синхронизации, созданные ранее:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Адрес трассировки:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Уровень трассировки:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Утечки памяти" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Проверка утечки:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Показывать доступные блоки при проверке утечек" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Порог утечки:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Сохранять до" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "байт в очереди после освобождения памяти" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Игнорировать диапазоны памяти:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Заполнить память, выделенную malloc, значением:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Заполнить память, освобождённую free, значением:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Обойти ошибки создаваемые gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Функции" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Разделяемый объект" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Растянуть" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Сжать" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Название правила:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Подавлять сообщения типа:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Подавлять когда используется:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Системные вызовы:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Цепь вызовов:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Ошибка при сохранении файла подавлений \"%s\": %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Вы забыли назвать ваше правило подавлений." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "Правка" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Невозможно сохранить правила подавления: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Файл подавлений не указан в настройках." alleyoop-0.9.8/po/dz.po0000644000175000001440000003716011276130505011673 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: alleyoop.head.pot\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-02-07 03:44+0000\n" "PO-Revision-Date: 2007-02-09 16:17+0530\n" "Last-Translator: sonam pelden \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=2; plural=(n!=1);\n" "X-Poedit-Language: Dzongkha\n" "X-Poedit-Country: Bhutan\n" "X-Poedit-SourceCharset: utf-8\n" #: ../src/alleyoop.c:172 msgid "Run Executable..." msgstr "ལག་ལེན་འཐབ་བཏུབ་གཡོག་བཀོལ..." #: ../src/alleyoop.c:186 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "ལག་ལེན་འཐབ་བཏུབ་མི་ལུ་འགྲུལ་ལམ་འདི་དང་ \n" "ཁྱོད་ཀྱིས་སྒྲུབ་རྟགས་གང་རུང་བརྩི་སྤྲོད་དགོ་མནོཝ་ཅིག་ཐོ་བཀོད་འབད།" #: ../src/alleyoop.c:287 #, c-format msgid "Could not load `%s': %s" msgstr "`%s'མངོན་གསལ་འབད་མ་ཚུགས: %s" #: ../src/alleyoop.c:315 msgid "Load Valgrind log..." msgstr "བཱལ་གིརིནཌི་དྲན་དེབ་མངོན་གསལ་འབད..." #: ../src/alleyoop.c:353 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "`%s'ལུ་སྲུང་མ་ཚུགས: %s\n" "ཚབ་སྲུང་འབད་ག?" #: ../src/alleyoop.c:368 #, c-format msgid "Could not save to `%s': %s" msgstr "`%s'ལུ་སྲུང་མ་ཚུགས: %s" #: ../src/alleyoop.c:414 msgid "Save Valgrind log..." msgstr "བཱལ་གིརིནཌི་དྲན་དེབ་སྲུང་..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:542 msgid "Jeffrey Stedfast" msgstr "ཇེཕ་པིརི་སི་ཊིཌ་ཕསཊི་" #: ../src/alleyoop.c:552 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "ཨེ་ལི་ཡོཔ་འདི་ ཇི་ནོམ་མཁའ་འཁོར་གྱི་དོན་ལུ་བཱལ་གིརིནཌི་གདོང་ཁའི་མཇུག་ཨིན།" #: ../src/alleyoop.c:564 msgid "_Run" msgstr "གཡོག་བཀོལ། (_R)" #: ../src/alleyoop.c:566 msgid "_Kill" msgstr "གསད། (_K)" #: ../src/alleyoop.c:586 msgid "Suppressions" msgstr "མར་མནོན་འབད་ནི་" #: ../src/alleyoop.c:586 msgid "View/Edit Suppressions" msgstr "མར་མནོན་མཐོང་སྣང་/ཞུན་དག་འབད་" #: ../src/alleyoop.c:617 msgid "Tool" msgstr "ལག་ཆས་" #: ../src/alleyoop.c:632 msgid "Run" msgstr "གཡོག་བཀོལ་" #: ../src/alleyoop.c:632 msgid "Run Program" msgstr "ལས་རིམ་གཡོག་བཀོལ་" #: ../src/alleyoop.c:637 msgid "Kill" msgstr "གསད་" #: ../src/alleyoop.c:637 msgid "Kill Program" msgstr "ལས་རིམ་གསད་" #: ../src/alleyoop.c:640 msgid "Open Log File" msgstr "དྲན་དེབ་ཡིག་སྣོད་ཁ་ཕྱེ་" #: ../src/alleyoop.c:642 msgid "Save Log File" msgstr "དྲན་དེབ་ཡིག་སྣོད་སྲུང་" #: ../src/main.c:164 msgid "Display help and quit" msgstr "གྲོགས་རམ་བཀྲམ་སྟོན་འབད་ནི་དང་སྤང་" #: ../src/main.c:165 msgid "Display version and quit" msgstr "ཐོན་རིམ་བཀྲམ་སྟོན་འབད་ནི་དང་སྤང་" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "བྱུང་ཁུངས་ཡིག་སྣོད་ཚུ་གི་དོན་ལུ་འཚོལ་ཞིབ་འབད་ནི་ལུ་ ཁ་བྱང་ཐོ་དེབ་ཀྱི་ཐོ་ཡིག་ལུ་ཁ་སྐོང་བརྐྱབ་" #: ../src/main.c:167 msgid "Recursively add and all subdirectories to the list of directories to search for source files" msgstr "བྱུང་ཁུངས་ཡིག་སྣོད་ཚུ་གི་དོན་ལུ་འཚོལ་ཞིབ་འབད་ནི་ལུ་ ཁ་བྱང་ཐོ་དེབ་ཀྱི་ཐོ་ཡིག་ལུ་ དང་ཡན་ལག་ཁ་བྱང་ཐོ་དེབ་ཆ་མཉམ་ལོག་རིམ་སྦེ་ཁ་སྐོང་བརྐྱབ་" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "ལག་ལེན་འཐབ་ནི་ལུ་ སྔོན་སྒྲིག་བཱལ་གིརིནཌི་ལག་ཆས་འདི་གསལ་བཀོད་འབད་" #: ../src/main.c:205 msgid "Alleyoop" msgstr "ཨེ་ལི་ཡོཔ་" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "ཨེ་ལི་ཡོཔ་དགའ་གདམ་ཚུ་" #: ../src/prefs.c:163 msgid "Editor:" msgstr "ཞུན་དགཔ:" #: ../src/prefs.c:180 msgid "Preview" msgstr "སྔོན་ལྟ་" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "དམིགས་གཏད་གྲལ་ཐིག་གི་ལྟག་ལུ་དང་འོག་གི་གྲལ་ཐིག།" #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "'%s'ལུ་རྒྱུད་དུང་གསར་བསྐྲུན་འབད་མ་ཚུགས: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "'%s'ཆ་ལག་ལས་སྦྱོར་གསར་བསྐྲུན་འབད་མ་ཚུགས: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "'%s'སྒྲིག་སྟངས་ཚུ་ནང་ ནུས་ཅན་མེད་པའི་ཚིག་སྦྱོར།\n" "\",,\"རྣམ་པའི་གནས་གོང་ཅིག་ཐོ་བཀོད་འབད།" #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "སྔོན་སྒྲིག་སྒྲིག་སྟངས་ཚུ་ཚབ་བཙུགས་" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr ",,ཐོ་བཀོད་འབད:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "ཀེ་ཆི་གིརིནཌི་" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "འཛོལ་བ་ཡོདཔ་" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "ལས་འགན་ཡོདཔ་" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "དངོས་པོ་ཡོདཔ་" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "བྱུང་ཁུངས་ཡིག་སྣོད་མིང་ཡོདཔ་" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "ནུས་ཅན་མེད་པའི་དུས་རྒྱུན་གསལ་བརྗོད: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:701 msgid "Valgrind Suppression Rules" msgstr "བཱལ་གིརིནཌི་མར་མནོན་ནིའི་ལམ་ལུགས་ཚུ་" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1042 #: ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "བཱལ་གིརིནཌི་མར་མནོན་ནི་" #: ../src/vgdefaultview.c:1216 msgid "Cu_t" msgstr "བཏོག། (_t)" #: ../src/vgdefaultview.c:1217 msgid "_Copy" msgstr "འདྲ་བཤུས། (_C)" #: ../src/vgdefaultview.c:1218 msgid "_Paste" msgstr "སྦྱར། (_P)" #: ../src/vgdefaultview.c:1220 msgid "Suppress" msgstr "མར་མནོན་" #: ../src/vgdefaultview.c:1222 msgid "Edit in GNU/Emacs" msgstr "ཇི་ཨེན་ཡུ་/ཨི་མེཀསི་ནང་ཞུན་དག་འབད་" #: ../src/vgdefaultview.c:1223 msgid "Edit in XEmacs" msgstr "ཨེགསི་ཨི་མེཀསི་ནང་ཞུན་དག་འབད་" #: ../src/vgdefaultview.c:1224 msgid "Edit in GVim" msgstr "ཇི་བིམ་ནང་ཞུན་དག་འབད་" #: ../src/vgdefaultview.c:1225 msgid "Edit in Custom Editor" msgstr "སྲོལ་སྒྲིག་ཞུན་དགཔ་ནང་ཞུན་དག་འབད་" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "ཡོངས་ཁྱབ་" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "ཌི་མེན་གཱལ་ སི་++ བརྡ་མཚོན་པའི་མིང་ཚུ་" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "སྟོན་" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "བརྩེགས་བཤུལ་ནང་འབོ་མི་" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "ལེ་ཤ་ཡོད་པ་ཅིན་འཛོལ་བ་ཚུ་མ་སྟོན་" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "ཤུལ་མའི་མིང་ཚིག་ལུ་སྒོར་སྒོརམ་མེ་ལོཀ་ཚད་ཚུ་" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "རྐྱེན་སེལ་འབད་ཡོད་པའི་ལས་རིམ་གྱིས་ཁ་སྤེལ་ཡོད་པའི་ཆ་ལག་ལས་སྦྱོར་གང་རུང་བཤུལ་འཚོལ་" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "རྗེས་འཚོལ་ཁ་ཕྱེའི་ཡིག་སྣོད་འགྲེལ་བཤད་པ་ཚུ་" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "འཕྲིན་དོན་ཚུ་དྲན་དེབ་ལུ་ དུས་བཀོད་ཚུ་ཁ་སྐོང་བརྐྱབ་" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "དྲན་ཚད་གསང་བ་མ་ཤོར་ནིའི་དོན་ལུ་ཞིབ་དཔྱད་མ་འབད་བའི་ཧེ་མ་ __ཨེལ་ཨའི་བི་སི་ཕིརི་རེསི་ཀཱལ། (_f)" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "མར་མནོན་ཡིག་སྣོད:" #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "བཱལ་གིརིནཌི་མར་མནོན་པའི་ཡིག་སྣོད་གདམ་ཁ་བརྐྱབ..." #: ../src/vghelgrindprefs.c:162 msgid "Helgrind" msgstr "ཧེལ་གིརིནཌི་" #: ../src/vghelgrindprefs.c:167 msgid "Assume thread stacks are used privately" msgstr "ཐེ་རེཌི་འབད་ནིའི་བརྩེགས་ཕུང་ཚུ་གསང་བའི་ཐོག་ལས་ལག་ལེན་འཐབ་ཨིན་ཟེར་མནོ་དགོ་" #: ../src/vghelgrindprefs.c:176 msgid "Show location of last word access on error:" msgstr "མཇུག་གི་མིང་ཚིང་འཛུལ་སྤྱོད་ཀྱི་གནས་ཁོངས་འདི་འཛོལ་བའི་གུ་སྟོན:" #: ../src/vgmemcheckprefs.c:186 msgid "Memcheck" msgstr "མེམ་ཞིབ་དཔྱད་" #: ../src/vgmemcheckprefs.c:191 msgid "Memory leaks" msgstr "དྲན་ཚད་གསང་བ་ཤོར་ནི་ཚུ་" #: ../src/vgmemcheckprefs.c:196 msgid "Leak check:" msgstr "གསང་བཤོར་ཞིབ་དཔྱད:" #: ../src/vgmemcheckprefs.c:207 msgid "Show reachable blocks in leak check" msgstr "གསང་བཤོར་ཞིབ་དཔྱད་ནང་བདའ་ཟུན་པའི་སྡེབ་ཚན་ཚུ་སྟོན་" #: ../src/vgmemcheckprefs.c:215 msgid "Leak resolution:" msgstr "ཧུམ་ཆ་གསང་བཤོར:" #: ../src/vgmemcheckprefs.c:233 msgid "Keep up to" msgstr "འཕྲོ་མཐུད་ད་" #: ../src/vgmemcheckprefs.c:245 msgid "bytes in the queue after being free()'d" msgstr "རང་དབང་()'dཐོབ་པའི་ཤུལ་ལུ་ བཱའིཊིསི་མི་གྲལ་ནང་བཙུགས་" #: ../src/vgmemcheckprefs.c:252 msgid "Work around bugs generated by gcc 2.96" msgstr "gcc 2.96གིས་བཟོ་བཏོན་འབད་བའི་རྐྱེན་གྱི་མཐའ་འཁོར་ལཱ་འབད་" #: ../src/vgmemcheckprefs.c:260 msgid "Ignore errors produced by inline strlen() calls" msgstr "གྱལ་རིམ་ནང་ སི་ཊར་ལིན་ () བཀོད་རྒྱ་ཚུ་གིས་བཟོ་སྟོན་འབད་ཡོད་པའི་འཛོལ་བ་ཚུ་སྣང་མེད་བཞག་" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "ལས་འགན་" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "རུབ་སྤྱོད་འབད་ཡོད་པའི་དངོས་པོ་" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "ཡར་བསྐྱེད་" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "བསྐུམ་" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "མིང་ལམ་ལུགས:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "དབྱེ་བའི་འཕྲིན་དོན་ཚུ་མར་མནོན་འབད:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "ལག་ལེན་འཐབ་པའི་བསྒང་མར་མནོན་འབད:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "རིམ་ལུགས་བཀོད་རྒྱ:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "ཀཱལ་རྒྱུན་ཐག:" #: ../src/vgrule-editor.c:526 #: ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "`%s'མར་མནོན་ཡིག་སྣོད་ལུ་སྲུང་བཞག་འབདཝ་ད་འཛོལ་བ: %s" #: ../src/vgrule-list.c:173 #: ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "ཁྱོད་ཀྱིས་ཁྱོད་རའི་མར་མནོན་ལམ་ལུགས་མིང་བཏགས་ནི་ལུ་བརྗེད་ཡོདཔ།" #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "ཞུན་དག། (_E)" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "མར་མནོན་ལམ་ལུགས་ཚུ་སྲུང་མ་ཚུགས: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "ཁྱོད་ཀྱིས་མར་མནོན་ཡིག་སྣོད་ཚུ་ ཁྱོད་རའི་སྒྲིག་སྟངས་ཚུ་ནང་གཞི་སྒྲིག་མ་འབད་བས།" alleyoop-0.9.8/po/eu.po0000644000175000001440000002427111376346304011675 00000000000000# translation of eu.po to Basque # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Iñaki Larrañaga Murgoitio , 2008, 2009, 2010. msgid "" msgstr "" "Project-Id-Version: eu\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-03-17 16:09+0100\n" "PO-Revision-Date: 2010-03-17 16:09+0100\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" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Exekutatu..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Sartu exekutagarriaren bide-izena eta\n" "hari pasa nahi dizkiozun argumentu guztiak." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Ezin izan da '%s' kargatu: %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Kargatu Valgrind-en egunkaria..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Ezin izan da '%s'(e)n gorde: %s\n" "Gainidatzi?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Ezin izan da '%s'(e)n gorde: %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Gorde Valgrind-en egunkaria..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Hizkuntza Politikarako Sailburuordetza hizkpol@ej-gv.es" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Valgrind-en interfaze bat da Alleyoop, GNOME ingurunerako." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Exekutatu" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Hil" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Ezabapenak" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Ikusi/Editatu ezabapenak" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Tresna" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Exekutatu" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Exekutatu programa" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Hil" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Hil programa" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Ireki egunkari-fitxategia" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Gorde egunkari-fitxategia" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Bistaratu laguntza, eta irten" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Bistaratu bertsioa, eta irten" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Gehitu , iturburu-fitxategiak bilatzeko direktorioen zerrendari" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Errekurtsiboki gehitu eta azpidirektorio guztiak, iturburu-fitxategiak " "bilatzeko direktorioen zerrendari" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Zehaztu erabili behar den Valgrind tresna lehenetsia" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoop-en hobespenak" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editorea:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Aurrez ikusi helburuko lerroaren gaineko eta azpiko" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "lerro." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Huts egin du '%s'(e)ren kanalizazioa sortzean: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Huts egin du '%s' prozesu umea sortzean: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Sintaxi baliogabea '%s' ezarpenetan.\n" "Sartu forma hau duen balio bat: \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Ez egin jaramonik ezarpen lehenetsiei" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Sartu ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Erroreak hau dauka:" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funtzioak hau dauka:" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objektuak hau dauka:" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Iturburuko fitxategi-izenak hau dauka:" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Valgrind ezabapen-arauak" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind ezabapena" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "_Ebaki" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Kopiatu" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Itsatsi" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Ezabatu" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Editatu GNU/Emacs-en" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Editatu XEmacs-en" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Editatu GVim-en" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Editatu editore pertsonalizatuan" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Orokorra" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Deszifratu C++ ikurren izenak" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Erakutsi" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "dei-egileak pila-aztarnan" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Ez bistaratu erroreak, errore gehiegi daudenean" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Biribildu malloc-en tamainak hurrengo hitzera" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "Jarraitu arazten ari zaren programatik adarkatutako prozesu umeen aztarnari" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Jarraitu fitxategi-deskriptore irekien aztarnari" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Jarraitu definitu gabeko balioen jatorriak" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Gehitu ordu-/data-zigilua egunkari-mezuei" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Deitu _libc_freeres()-i irtetean, memoria-galerarik dagoen begiratu aurretik" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Ezabapenen fitxategia:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Aukeratu Valgrind ezabapen-fitxategia..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Hartu kontutan honen aurreko sink. puntuak:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Aztarnaren helbidea:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Aztarnaren maila:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Memoria-egiaztapena" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Memoria-galerak" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Galera-kontrola:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Erakutsi bloke eskuragarriak galera-kontrolean" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Galera-bereizmena:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Mantendu honaino: " #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "byte ilaran, free()-rekin askatu ondoren" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Ezikusi egin memoria barrutiak:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Bete alokatutako memoria honekin:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Bete memoria librea honekin:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Konpondu gcc 2.96ak sortutako akatsak" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funtzioa" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Objektu partekatua" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Handitu" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Txikitu" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Arauaren izena:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Ezabatu mota honetako mezuak:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Ezabatu hau(ek) erabiltzean:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Sistema-deia:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Dei-katea:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Errorea gertatu da '%s' ezabapenen fitxategian gordetzean: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Ahaztu egin zaizu ezabapen-arauari izena jartzea." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Editatu" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Ezin dira ezabapen-arauak gorde: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Ez duzu ezarri ezabapenen fitxategi bat zure ezarpenetan." alleyoop-0.9.8/po/nl.po0000644000175000001440000002421511276130505011664 00000000000000# Alleyoop Dutch translation # # This file is distributed under the same license as the Alleyoop package. # Jan-Willem Harmanny , 2003. # Tino Meinen , 2004, 2005 # Wouter Bolsterlee , 2006" # msgid "" msgstr "" "Project-Id-Version: Alleyoop cvs\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-10-27 11:09+0200\n" "PO-Revision-Date: 2006-10-27 11:09+0200 \n" "Last-Translator: Wouter Bolsterlee \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/alleyoop.c:172 msgid "Run Executable..." msgstr "Programma uitvoeren..." #: ../src/alleyoop.c:186 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Geef het pad naar een uitvoerbaar bestand\n" "en eventuele argumenten om eraan mee te geven." #: ../src/alleyoop.c:287 #, c-format msgid "Could not load `%s': %s" msgstr "Kan '%s' niet laden: %s" #: ../src/alleyoop.c:315 msgid "Load Valgrind log..." msgstr "Valgrind log laden..." #: ../src/alleyoop.c:353 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Kan niet opslaan naar '%s': %s\n" "Overschrijven?" #: ../src/alleyoop.c:368 #, c-format msgid "Could not save to `%s': %s" msgstr "Kan niet opslaan naar '%s': %s" #: ../src/alleyoop.c:414 msgid "Save Valgrind log..." msgstr "Valgrind log opslaan..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:542 msgid "Jeffrey Stedfast" msgstr "Jan-Willem Harmanny" #: ../src/alleyoop.c:552 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop is een Valgrind front-end voor de GNOME omgeving." #: ../src/alleyoop.c:564 msgid "_Run" msgstr "_Uitvoeren" #: ../src/alleyoop.c:566 msgid "_Kill" msgstr "_Beëindigen" #: ../src/alleyoop.c:586 msgid "Suppressions" msgstr "Onderdrukkingen" #: ../src/alleyoop.c:586 msgid "View/Edit Suppressions" msgstr "Weergeven/bewerken van onderdrukkingen" # gereedschap/tool/hulp/toepassing #: ../src/alleyoop.c:617 msgid "Tool" msgstr "Tool" #: ../src/alleyoop.c:632 msgid "Run" msgstr "Uitvoeren" #: ../src/alleyoop.c:632 msgid "Run Program" msgstr "Programma uitvoeren" #: ../src/alleyoop.c:637 msgid "Kill" msgstr "Beëindigen" #: ../src/alleyoop.c:637 msgid "Kill Program" msgstr "Programma beëindigen" #: ../src/alleyoop.c:640 msgid "Open Log File" msgstr "Logbestand openen" #: ../src/alleyoop.c:642 msgid "Save Log File" msgstr "Logbestand opslaan" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Hulp tonen en afsluiten" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Versie tonen en afsluiten" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr " toevoegen aan de te doorzoeken lijst mappen voor bronbestanden" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" " met al zijn submappen recursief toevoegen aan de te doorzoeken lijst " "mappen voor bronbestanden" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Specificeer de standaard te gebruiken Valgrind-tool" #: ../src/main.c:205 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoop voorkeuren" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Voorbeeld" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "regels boven en onder de doel-regel." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Aanmaken van pijp naar '%s' mislukt: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Aanmaken van kind-proces '%s' mislukt: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Ongeldige syntax in instellingen '%s'.\n" "Geef een waarde van de vorm \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Standaardinstellingen vervangen" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Geef ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Fout bevat" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Functie bevat" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Object bevat" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Bron bestandsnaam bevat" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Ongeldige reguliere expressie: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:701 msgid "Valgrind Suppression Rules" msgstr "Valgrind onderdrukkingsregels" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1042 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind onderdrukking" #: ../src/vgdefaultview.c:1216 msgid "Cu_t" msgstr "K_nippen" #: ../src/vgdefaultview.c:1217 msgid "_Copy" msgstr "_Kopiëren" #: ../src/vgdefaultview.c:1218 msgid "_Paste" msgstr "_Plakken" #: ../src/vgdefaultview.c:1220 msgid "Suppress" msgstr "Onderdrukken" #: ../src/vgdefaultview.c:1222 msgid "Edit in GNU/Emacs" msgstr "Bewerken in GNU/Emacs" #: ../src/vgdefaultview.c:1223 msgid "Edit in XEmacs" msgstr "Bewerken in XEmacs" #: ../src/vgdefaultview.c:1224 msgid "Edit in GVim" msgstr "Bewerken in GVim" #: ../src/vgdefaultview.c:1225 msgid "Edit in Custom Editor" msgstr "Bewerken in aangepaste editor" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "Algemeen" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "C++ symboolnamen ontwarren" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "Weergeven" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "callers in stack trace" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "Stoppen met fouten weergeven als het er te veel zijn" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "malloc afmetingen afronden naar volgende woord" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Kind processen opsporen die door het gedebugde programma af worden geforked" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "Geopende 'file descriptors' volgen" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "Time stamps toevoegen om berichten te loggen" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "__libc_freeres() aanroepen bij afsluiten voordat er wordt gezocht naar " "geheugenlekken" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "Onderdrukkingenbestand:" #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "Kies een Valgrind onderdrukkingenbestand..." #: ../src/vghelgrindprefs.c:162 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:167 msgid "Assume thread stacks are used privately" msgstr "Aannemen dat thread stacks privé worden gebruikt" #: ../src/vghelgrindprefs.c:176 msgid "Show location of last word access on error:" msgstr "De locatie van de laatste woord toegang bij de fout weergeven:" #: ../src/vgmemcheckprefs.c:186 msgid "Memcheck" msgstr "Geheugencontrole" #: ../src/vgmemcheckprefs.c:191 msgid "Memory leaks" msgstr "Geheugenlekken" #: ../src/vgmemcheckprefs.c:196 msgid "Leak check:" msgstr "Geheugencontrole:" #: ../src/vgmemcheckprefs.c:207 msgid "Show reachable blocks in leak check" msgstr "Bereikbare blokken weergeven in lek-controle" #: ../src/vgmemcheckprefs.c:215 msgid "Leak resolution:" msgstr "Lekresolutie:" #: ../src/vgmemcheckprefs.c:233 msgid "Keep up to" msgstr "Bijhouden tot" #: ../src/vgmemcheckprefs.c:245 msgid "bytes in the queue after being free()'d" msgstr "bytes in de wachtrij na te zijn ge-free()'d" #: ../src/vgmemcheckprefs.c:252 msgid "Work around bugs generated by gcc 2.96" msgstr "Bugs die door gcc 2.96 zijn gegenereerd, omzeilen" #: ../src/vgmemcheckprefs.c:260 msgid "Ignore errors produced by inline strlen() calls" msgstr "Fouten die door inline strlen() aanroepen worden geproduceerd, negeren" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Functie" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Gedeeld object" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Groeien" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Krimpen" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Regelnaam:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Berichten onderdrukken van type:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Onderdrukken bij gebruik van:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Systeemaanroep:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Call chain:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Fout bij opslaan naar onderdrukkingen bestand '%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "U bent vergeten om uw onderdrukkingsregel te benoemen." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "Be_werken" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Kan onderdrukkingsregels niet opslaan: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "U hebt geen onderdrukkingen bestand gekozen in uw instellingen." #~ msgid "tool" #~ msgstr "tool" #~ msgid "Skin" #~ msgstr "Skin" #~ msgid "skin" #~ msgstr "skin" #~ msgid "Search for memory leaks at exit" #~ msgstr "Zoek naar geheugenlekken bij afsluiten" alleyoop-0.9.8/po/oc.po0000644000175000001440000002001711276130505011650 00000000000000# Translation of oc.po to Occitan # Occitan translation of alleyoop. # Copyright (C) 2003-2006, 2007 Free Software Foundation, Inc. # This file is distributed under the same license as the alleyoop package. # # Yannig Marchegay (Kokoyaya) , 2006-2008 msgid "" msgstr "" "Project-Id-Version: oc\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2008-07-02 08:55+0200\n" "PO-Revision-Date: 2007-12-22 22:29+0100\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" #: ../src/alleyoop.c:172 msgid "Run Executable..." msgstr "Aviar l'executable..." #: ../src/alleyoop.c:186 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" #: ../src/alleyoop.c:287 #, c-format msgid "Could not load `%s': %s" msgstr "Impossible de cargar '%s' : %s" #: ../src/alleyoop.c:315 msgid "Load Valgrind log..." msgstr "" #: ../src/alleyoop.c:353 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Impossible d'enregistrar dins `%s' : %s\n" "Remplaçar ?" #: ../src/alleyoop.c:368 #, c-format msgid "Could not save to `%s': %s" msgstr "Impossible d'enregistrar dins `%s' : %s" #: ../src/alleyoop.c:414 msgid "Save Valgrind log..." msgstr "" #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:542 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: ../src/alleyoop.c:552 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" #: ../src/alleyoop.c:564 msgid "_Run" msgstr "_Executar" #: ../src/alleyoop.c:566 msgid "_Kill" msgstr "_Tuar" #: ../src/alleyoop.c:586 msgid "Suppressions" msgstr "Supressions" #: ../src/alleyoop.c:586 msgid "View/Edit Suppressions" msgstr "Visualizar/modificar las supressions" #: ../src/alleyoop.c:617 msgid "Tool" msgstr "Esplech" #: ../src/alleyoop.c:632 msgid "Run" msgstr "Executar" #: ../src/alleyoop.c:632 msgid "Run Program" msgstr "Aviar lo programa" #: ../src/alleyoop.c:637 msgid "Kill" msgstr "Tuar" #: ../src/alleyoop.c:637 msgid "Kill Program" msgstr "Tuar lo programa" #: ../src/alleyoop.c:640 msgid "Open Log File" msgstr "Dobrir lo jornal" #: ../src/alleyoop.c:642 msgid "Save Log File" msgstr "" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Visualizar l'ajuda e sortir" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Visualizar la version e sortir" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "" #: ../src/main.c:205 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Preferéncias d'Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor :" #: ../src/prefs.c:180 msgid "Preview" msgstr "Ulhada" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "" #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "L'error conten" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "La foncion conten" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:704 msgid "Valgrind Suppression Rules" msgstr "" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1045 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "" #: ../src/vgdefaultview.c:1219 msgid "Cu_t" msgstr "_Copar" #: ../src/vgdefaultview.c:1220 msgid "_Copy" msgstr "_Copiar" #: ../src/vgdefaultview.c:1221 msgid "_Paste" msgstr "_Pegar" #: ../src/vgdefaultview.c:1223 msgid "Suppress" msgstr "Suprimir" #: ../src/vgdefaultview.c:1225 msgid "Edit in GNU/Emacs" msgstr "Modificar dins GNU/Emacs" #: ../src/vgdefaultview.c:1226 msgid "Edit in XEmacs" msgstr "Modificar dins XEmacs" #: ../src/vgdefaultview.c:1227 msgid "Edit in GVim" msgstr "Modificar dins GVim" #: ../src/vgdefaultview.c:1228 msgid "Edit in Custom Editor" msgstr "Modificar dins un editor personalizat" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "General" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "Visualizar" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "" #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "" #: ../src/vghelgrindprefs.c:162 msgid "Helgrind" msgstr "" #: ../src/vghelgrindprefs.c:167 msgid "Assume thread stacks are used privately" msgstr "" #: ../src/vghelgrindprefs.c:176 msgid "Show location of last word access on error:" msgstr "" #: ../src/vgmemcheckprefs.c:186 msgid "Memcheck" msgstr "" #: ../src/vgmemcheckprefs.c:191 msgid "Memory leaks" msgstr "" #: ../src/vgmemcheckprefs.c:196 msgid "Leak check:" msgstr "" #: ../src/vgmemcheckprefs.c:207 msgid "Show reachable blocks in leak check" msgstr "" #: ../src/vgmemcheckprefs.c:215 msgid "Leak resolution:" msgstr "" #: ../src/vgmemcheckprefs.c:233 msgid "Keep up to" msgstr "" #: ../src/vgmemcheckprefs.c:245 msgid "bytes in the queue after being free()'d" msgstr "" #: ../src/vgmemcheckprefs.c:252 msgid "Work around bugs generated by gcc 2.96" msgstr "" #: ../src/vgmemcheckprefs.c:260 msgid "Ignore errors produced by inline strlen() calls" msgstr "" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Foncion" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Reduire" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Nom de la règla :" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "" #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Edicion" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "" alleyoop-0.9.8/po/rw.po0000644000175000001440000003523711276130505011711 00000000000000# translation of alleyoop to Kinyarwanda. # Copyright (C) 2005 Free Software Foundation, Inc. # This file is distributed under the same license as the alleyoop 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: alleyoop HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-10-21 14:57-0400\n" "PO-Revision-Date: 2005-03-31 20:55-0700\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" "ULL NAME \n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "" #: src/alleyoop.c:189 #, fuzzy msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "i Inzira Kuri ingingo Kuri Kuri" #: src/alleyoop.c:290 #, fuzzy, c-format msgid "Could not load `%s': %s" msgstr "OYA Ibirimo" #: src/alleyoop.c:318 #, fuzzy msgid "Load Valgrind log..." msgstr "LOG" #: src/alleyoop.c:356 #, fuzzy, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "OYA Kubika Kuri Gusimbuza" #: src/alleyoop.c:371 #, fuzzy, c-format msgid "Could not save to `%s': %s" msgstr "OYA Kubika Kuri" #: src/alleyoop.c:417 #, fuzzy msgid "Save Valgrind log..." msgstr "Kubika LOG" #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "" #: src/alleyoop.c:553 #, fuzzy msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "ni a Imbere Impera kugirango i" # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\basidesh.src:RID_BASICIDE_OBJECTBAR.SID_BASICRUN.text # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\macrodlg.src:RID_STR_RUN.text #: src/alleyoop.c:565 #, fuzzy msgid "_Run" msgstr "Gukoresha" #: src/alleyoop.c:567 msgid "_Kill" msgstr "" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "" #: src/alleyoop.c:618 msgid "Skin" msgstr "" # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\basidesh.src:RID_BASICIDE_OBJECTBAR.SID_BASICRUN.text # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\macrodlg.src:RID_STR_RUN.text #: src/alleyoop.c:633 msgid "Run" msgstr "Gukoresha" #: src/alleyoop.c:633 #, fuzzy msgid "Run Program" msgstr "Gutangiza porogaramu" #: src/alleyoop.c:638 msgid "Kill" msgstr "" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "" #: src/alleyoop.c:641 #, fuzzy msgid "Open Log File" msgstr "Idosiye" #: src/alleyoop.c:643 #, fuzzy msgid "Save Log File" msgstr "Kubika Idosiye" #: src/main.c:47 #, fuzzy msgid "Print version and exit" msgstr "Verisiyo Na Gusohoka" #: src/main.c:49 #, fuzzy msgid "Add to the list of directories to search for source files" msgstr "" "Kuri i Urutonde Bya ububiko bw'amaderese Kuri Gushaka kugirango Inkomoko " "Idosiye" #: src/main.c:51 #, fuzzy msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Kongeramo Na Byose Ububiko bwungirije Kuri i Urutonde Bya ububiko " "bw'amaderese Kuri Gushaka kugirango Inkomoko Idosiye" #: src/main.c:52 msgid "skin" msgstr "" #: src/main.c:53 #, fuzzy msgid "Specify the default skin (mode) to use" msgstr "i Mburabuzi Ubwoko Kuri Gukoresha" #: src/main.c:124 msgid "Alleyoop" msgstr "" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "" #: src/prefs.c:165 #, fuzzy msgid "Editor:" msgstr "Muhinduzi" #: src/prefs.c:182 msgid "Preview" msgstr "Igaragazambere" #: src/prefs.c:195 #, fuzzy msgid "lines above and below the target line." msgstr "Imirongo hejuru Na munsi i Intego Umurongo" #: src/process.c:55 #, fuzzy, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Kuri Kurema Kuri" #: src/process.c:108 #, fuzzy, c-format msgid "Failed to create child process '%s': %s" msgstr "Kuri Kurema" #: src/vgcachegrindprefs.c:196 #, fuzzy, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "in Amagenamiterere Injiza a Agaciro Bya i Ifishi Umubare wuzuye Umubare " "wuzuye Umubare wuzuye" #: src/vgcachegrindprefs.c:233 #, fuzzy msgid "Override default settings" msgstr "Mburabuzi Amagenamiterere" #: src/vgcachegrindprefs.c:243 #, fuzzy msgid "Enter ,,:" msgstr "Ingano" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "" #: src/vgdefaultview.c:183 #, fuzzy msgid "Error contains" msgstr "Kirimo" #: src/vgdefaultview.c:184 #, fuzzy msgid "Function contains" msgstr "Kirimo" #: src/vgdefaultview.c:185 #, fuzzy msgid "Object contains" msgstr "Kirimo" #: src/vgdefaultview.c:186 #, fuzzy msgid "Source filename contains" msgstr "Izina ry'idosiye: Kirimo" #: src/vgdefaultview.c:223 #, fuzzy, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Ibisanzwe imvugo" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "" # dbaccess/source/ui/inc/toolbox.hrc:MID_SBA_QRY_CUT.text #: src/vgdefaultview.c:1220 #, fuzzy msgid "Cu_t" msgstr "Gukata" # dbaccess/source/ui/inc/toolbox.hrc:MID_SBA_QRY_COPY.text #: src/vgdefaultview.c:1221 #, fuzzy msgid "_Copy" msgstr "Gukoporora" # dbaccess/source/ui/inc/toolbox.hrc:MID_SBA_QRY_PASTE.text #: src/vgdefaultview.c:1222 #, fuzzy msgid "_Paste" msgstr "Komeka" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "" #: src/vgdefaultview.c:1226 #, fuzzy msgid "Edit in GNU/Emacs" msgstr "in" #: src/vgdefaultview.c:1227 #, fuzzy msgid "Edit in XEmacs" msgstr "in" #: src/vgdefaultview.c:1228 #, fuzzy msgid "Edit in GVim" msgstr "in" #: src/vgdefaultview.c:1229 #, fuzzy msgid "Edit in Custom Editor" msgstr "in Kugena" # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# #: src/vggeneralprefs.c:158 msgid "General" msgstr "Rusange" #: src/vggeneralprefs.c:164 #, fuzzy msgid "Demangle c++ symbol names" msgstr "C IKIMENYETSO Amazina" # basctl/source\basicide\objdlg.src:RID_BASICIDE_OBJCAT.RID_TB_TOOLBOX.TBITEM_SHOW.text #: src/vggeneralprefs.c:172 msgid "Show" msgstr "Garagaza" #: src/vggeneralprefs.c:184 #, fuzzy msgid "callers in stack trace" msgstr "in" #: src/vggeneralprefs.c:191 #, fuzzy msgid "Stop showing errors if there are too many" msgstr "Amakosa NIBA" #: src/vggeneralprefs.c:199 #, fuzzy msgid "Round malloc sizes to next word" msgstr "Kuri Komeza>> ijambo" #: src/vggeneralprefs.c:207 #, fuzzy msgid "Trace any child processes forked off by the program being debugged" msgstr "Bidakora ku i Porogaramu" #: src/vggeneralprefs.c:215 #, fuzzy msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "ku Gusohoka Mbere kugirango Ububiko" #: src/vggeneralprefs.c:223 #, fuzzy msgid "Suppressions File:" msgstr "Idosiye" #: src/vggeneralprefs.c:228 #, fuzzy msgid "Choose Valgrind Suppressions File..." msgstr "Idosiye" #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "" #: src/vghelgrindprefs.c:168 #, fuzzy msgid "Assume thread stacks are used privately" msgstr "Urudodo" #: src/vghelgrindprefs.c:177 #, fuzzy msgid "Show location of last word access on error:" msgstr "Ahantu Bya Iheruka ijambo ku Ikosa" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "" #: src/vgmemcheckprefs.c:197 #, fuzzy msgid "Search for memory leaks at exit" msgstr "kugirango Ububiko ku Gusohoka" #: src/vgmemcheckprefs.c:205 #, fuzzy msgid "Show reachable blocks in leak check" msgstr "in Kugenzura..." #: src/vgmemcheckprefs.c:213 #, fuzzy msgid "Leak resolution:" msgstr "Imikemurire" #: src/vgmemcheckprefs.c:231 #, fuzzy msgid "Keep up to" msgstr "Hejuru Kuri" #: src/vgmemcheckprefs.c:243 #, fuzzy msgid "bytes in the queue after being free()'d" msgstr "Bayite in i Umurongo Nyuma Kigenga D" #: src/vgmemcheckprefs.c:250 #, fuzzy msgid "Work around bugs generated by gcc 2.96" msgstr "ku 2." #: src/vgmemcheckprefs.c:258 #, fuzzy msgid "Ignore errors produced by inline strlen() calls" msgstr "Amakosa ku Mumurongo Amahamagara:" # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\dbgui\pvfundlg.src:RID_SCDLG_PIVOTSUBT.STR_DATAFUNC.text # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\scfuncs.src:RID_SC_FUNCTION_DESCRIPTIONS1.SC_OPCODE_SUB_TOTAL.2.text # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\toolbox.src:SCSTR_QHELP_BTNEQUAL.text #: src/vgrule-editor.c:133 msgid "Function" msgstr "Umumaro" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "" # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\dbgui\consdlg.src:RID_SCDLG_CONSOLIDATE.RB_DATA_AREA.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\dbgui\consdlg.src:RID_SCDLG_CONSOLIDATE.RB_DEST_AREA.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\dbgui\pivot.src:RID_SCDLG_PIVOT_LAYOUT.RB_OUTAREA.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\formdlg\parawin.src:RB_ARGBLOCK(_y_).quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\pagedlg\pagedlg.src:RID_SCDLG_AREAS.RB_PRINTAREA.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\pagedlg\pagedlg.src:RID_SCDLG_AREAS.RB_REPEATROW.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\pagedlg\pagedlg.src:RID_SCDLG_AREAS.RB_REPEATCOL.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\chartdlg.src:RID_SCDLG_CHARTRANGE.RB_RANGE.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\condfrmt.src:RID_SCDLG_CONDFORMAT.RB_COND1_1.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\condfrmt.src:RID_SCDLG_CONDFORMAT.RB_COND1_2.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\condfrmt.src:RID_SCDLG_CONDFORMAT.RB_COND2_1.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\condfrmt.src:RID_SCDLG_CONDFORMAT.RB_COND2_2.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\condfrmt.src:RID_SCDLG_CONDFORMAT.RB_COND3_1.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\condfrmt.src:RID_SCDLG_CONDFORMAT.RB_COND3_2.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\crnrdlg.src:RID_SCDLG_COLROWNAMERANGES.RB_AREA.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\crnrdlg.src:RID_SCDLG_COLROWNAMERANGES.RB_DATA.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\dbnamdlg.src:RID_SCDLG_DBNAMES.RB_DBAREA.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\filter.src:RID_SCDLG_FILTER.RB_COPY_AREA.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\filter.src:RID_SCDLG_SPEC_FILTER.RB_CRITERIA_AREA.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\filter.src:RID_SCDLG_SPEC_FILTER.RB_COPY_AREA.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\namedlg.src:RID_SCDLG_NAMES.RB_ASSIGN.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\simpref.src:RID_SCDLG_SIMPLEREF.RB_ASSIGN.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\solvrdlg.src:RID_SCDLG_SOLVER.RB_FORMULACELL.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\solvrdlg.src:RID_SCDLG_SOLVER.RB_VARCELL.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\tabopdlg.src:RID_SCDLG_TABOP.RB_FORMULARANGE.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\tabopdlg.src:RID_SCDLG_TABOP.RB_ROWCELL.quickhelptext # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\tabopdlg.src:RID_SCDLG_TABOP.RB_COLCELL.quickhelptext #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "Kugabanuka" #: src/vgrule-editor.c:227 #, fuzzy msgid "Rule name:" msgstr "Izina:" #: src/vgrule-editor.c:237 #, fuzzy msgid "Suppress messages of type:" msgstr "Ubutumwa Bya Ubwoko" #: src/vgrule-editor.c:247 #, fuzzy msgid "Suppress when using:" msgstr "Ryari: ikoresha" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, fuzzy, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Mu kubika Kuri IDOSIYE" #: src/vgrule-list.c:176 src/vgrule-list.c:243 #, fuzzy msgid "You have forgotten to name your suppression rule." msgstr "Kuri Izina:" # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\basidesh.src:RID_BASICMENU.MN_EDIT.text # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\basidesh.src:RID_BASICPLUGINMENU.MN_PLEDIT.text # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\macrodlg.src:RID_MACROCHOOSER.RID_PB_EDIT.text # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\moduldlg.src:RID_TP_MODULS.RID_PB_EDIT.text # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\moduldlg.src:RID_TP_LIBS.RID_PB_EDIT.text #: src/vgrule-list.c:403 #, fuzzy msgid "_Edit" msgstr "Guhindura" #: src/vgrule-list.c:648 #, fuzzy, c-format msgid "Cannot save suppression rules: %s" msgstr "Kubika" #: src/vgrule-list.c:650 #, fuzzy msgid "You have not set a suppressions file in your settings." msgstr "OYA Gushyiraho a IDOSIYE in Amagenamiterere" #, fuzzy #~ msgid "Track open file descriptors" #~ msgstr "Gufungura IDOSIYE" alleyoop-0.9.8/po/POTFILES.in0000644000175000001440000000042211276130505012462 00000000000000# List of source files containing translatable strings. src/alleyoop.c src/main.c src/prefs.c src/process.c src/vgcachegrindprefs.c src/vgdefaultview.c src/vggeneralprefs.c src/vghelgrindprefs.c src/vgmemcheckprefs.c src/vgrule-editor.c src/vgrule-list.c src/vgsearchbar.c alleyoop-0.9.8/po/sk.po0000644000175000001440000002535311626207370011700 00000000000000# Slovak translation for alleyoop. # Copyright (C) 2004, 2005, 2011 Free Software Foundation, Inc. # This file is distributed under the same license as the alleyoop package. # Marcel Telka , 2004, 2005, 2011. # msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&component=general\n" "POT-Creation-Date: 2010-12-06 20:08+0000\n" "PO-Revision-Date: 2011-03-17 00:28+0100\n" "Last-Translator: Marcel Telka \n" "Language-Team: Slovak \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Spustiť program..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Zadajte cestu k programu a parametre,\n" "ktoré mu chcete odovzdať." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Nepodarilo sa načítať `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Načítať Valgrind záznamy..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Nepodarilo sa zapísať do `%s': %s\n" "Prepísať?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Nepodarilo sa zapísať do `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Uložiť Valgrind záznamy..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Marcel Telka" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop je rozhranie pre Valgrind pre prostredie GNOME." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Spustiť" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Zabiť" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Potlačenia" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Zobraziť/Upraviť potlačenia" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Nástroj" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Spustiť" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Spustiť program" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Zabiť" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Zabiť program" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Otvoriť súbor záznamov" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Uložiť súbor záznamov" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Zobraziť pomocníka a skončiť" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Zobraziť verziu a skončiť" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Pridať do zoznamu adresárov, v ktorých vyhľadať zdrojové súbory" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Rekurzívne pridať a všetky podadresáre do zoznamu adresárov, v ktorých " "vyhľadať zdrojové súbory" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Zadať predvolený nástroj Valgrind, ktorý bude použitý" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoop predvoľby" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Náhľad" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "riadky nad a pod cieľovým riadkom." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Vytvorenie rúry k '%s' zlyhalo: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Vytvorenie detského procesu '%s' zlyhalo: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Neplatná syntax v nastaveniach '%s'.\n" "Prosím zadajte hodnotu v tvare \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Prekryť predvolené nastavenia" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Zadajte ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Chyba obsahuje" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funkcia obsahuje" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objekt obsahuje" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Zdrojový názov súboru obsahuje" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Valgrind pravidlá potlačenia" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind potlačenia" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "Vys_trihnúť" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Kopírovať" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Vložiť" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Potlačiť" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Upraviť v GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Upraviť v XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Upraviť v GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Upraviť vo vlastnom editore" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Všeobecné" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Obnoviť názvy symbolov c++" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Zobraziť" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "volajúce funkcie na zásobníku" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Ukončiť zobrazovanie chýb, ak ich je príliš veľa" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Zaokrúhľovať veľkosti pri malloc na nasledujúce slovo" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "Sledovať detské procesy vzniknuté z programu, ktorý je ladený" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Sledovať otvorený deskriptory súborov" #: ../src/vggeneralprefs.c:233 ../src/vgmemcheckprefs.c:414 msgid "Track origins of undefined values" msgstr "Sledovať pôvod nedefinovaných hodnôt" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Pridať časové značky do správ záznamu" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Zavolať __libc_freeres() pri ukončení pred kontrolou strát pamäti" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Súbor s potlačeniami:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Vybrať Valgrind súbor s potlačeniami..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Vziať do úvahy okamihy synchronizácie, ktore boli pred:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Sledovať adresu:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Sledovať úroveň:" #: ../src/vgmemcheckprefs.c:295 msgid "Memcheck" msgstr "Kontrola pamäte" #: ../src/vgmemcheckprefs.c:300 msgid "Memory leaks" msgstr "Straty pamäte" #: ../src/vgmemcheckprefs.c:306 msgid "Leak check:" msgstr "Kontrola straty:" #: ../src/vgmemcheckprefs.c:318 msgid "Show reachable blocks in leak check" msgstr "Zobraziť dosiahnuteľné bloky pri kontrole strát" #: ../src/vgmemcheckprefs.c:327 msgid "Leak resolution:" msgstr "Riešenie strát:" #: ../src/vgmemcheckprefs.c:346 msgid "Keep up to" msgstr "Zachovať až do" #: ../src/vgmemcheckprefs.c:358 msgid "bytes in the queue after being free()'d" msgstr "bajtov v rade po uvoľnení pomocou free()" #: ../src/vgmemcheckprefs.c:366 msgid "Ignore memory ranges:" msgstr "Ignorovať pamäťové rozsahy:" #: ../src/vgmemcheckprefs.c:382 msgid "Fill malloc'd memory with:" msgstr "Vyplniť alokovanú pamäť s:" #: ../src/vgmemcheckprefs.c:398 msgid "Fill free'd memory with:" msgstr "Vyplniť dealokovanú pamäť s:" #: ../src/vgmemcheckprefs.c:423 msgid "Work around bugs generated by gcc 2.96" msgstr "Obísť chyby generované gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funkcia" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Zdieľaný objekt" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Rásť" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Zmenšiť" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Názov pravidla:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Potlačiť správy typu:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Potlačiť pri použití:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Systémové volanie:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Postupnosť volaní:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Chyba pri ukladaní do súboru potlačení `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Zabudli ste pomenovať vaše pravidlo potlačenia." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Upraviť" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Nepodarilo sa uložiť pravidlá potláčania: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Nenastavili ste si súbor s potláčaniami vo vašich nastaveniach." #~ msgid "tool" #~ msgstr "nástroj" #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Neplatný regulárny výraz: '%s': %s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "Predpokladať, že zásobníky vláken sú použité privátne" #~ msgid "Show location of last word access on error:" #~ msgstr "Ukázať umiestnenie posledného prístupu k slovu pri chybe:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Ignorovať chyby spôsobené volaniami strlen() v riadku" alleyoop-0.9.8/po/sr.po0000644000175000001440000003361111626207370011703 00000000000000# Serbian translation of alleyoop # Courtesy of Prevod.org team (http://www.prevod.org/) -- 2003. # This file is distributed under the same license as the alleyoop package. # Maintainer: Игор Несторовић # Мирослав Николић , 2011. msgid "" msgstr "" "Project-Id-Version: alleyoop-0.7.1\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2011-05-05 13:49+0000\n" "PO-Revision-Date: 2011-07-21 12:02+0200\n" "Last-Translator: Мирослав Николић \n" "Language-Team: gnom@prevod.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sr\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-Generator: Virtaal 0.7.0\n" "X-Project-Style: gnome\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Покрени извршну..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Унесите путању до извршне датотеке и све\n" "аргументе које желите да јој проследите." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Не могу да учитам „%s“: %s" # Уздржао сам се од превода израза "Valgrind", јер ми није познат #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Учитавам дневник Валгринда..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Не могу да сачувам у „%s“: %s\n" "Да препишем?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Не могу да сачувам у „%s“: %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Сачувај дневник Валгринда..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Мирослав Николић" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Алејуп је маска Валгринда за Гном окружење." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Покрени" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Убиj" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Потискивања" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Прегледај/измени потискивања" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Алат" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Покрени" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Покрени програм" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Убиј" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Убиј програм" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Отвори датотеку дневника" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Сачувај датотеку дневника" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Приказује помоћ и излази" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Штампа издање и излази" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" "Додаје на списак директоријума за претрагу датотека са изворним кодом" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Редом додаје и све ниже директоријуме на списак директоријума за " "претрагу датотека са изворним кодом" #: ../src/main.c:168 #, fuzzy #| msgid "Specify the default skin (mode) to use" msgid "Specify the default Valgrind tool to use" msgstr "Одређује основни алат Валгринда за коришћење" # Име програма, нема уопште превод на српски језик. #: ../src/main.c:209 msgid "Alleyoop" msgstr "Алејуп" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Подешавања Алејупа" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Уређивач:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Прглед" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "линије изнад и испод циљне линије." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Нисам успео да направим спојку ка „%s“: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Нисам успео да створим подређени процес „%s“: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Неправилна синтакса у подешавањима „%s“.\n" "Молим унесите вредност облика „,,“." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Препиши основна подешавања" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Унеси ,,:" # Овај појам ми је непознат. #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Кешгринд" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Грешка садржи" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Функција садржи" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Објекат садржи" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Назив датотеке са изворним кодом садржи" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Валгриндова правила потискивања" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Валгриндово потискивање" # Појам ми није познат. #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "_Исеци" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Умножи" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Убаци" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Потисни" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Уреди у ГНУ/Емаксу" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Уреди у Х-Емаксу" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Уреди у ГВиму" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Уреди у уређивачу по избору" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Опште" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Састави ц++ имена симбола" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Покажи" # Ово би требало да се детаљније испита. #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "позивачи у рути штека" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Заустави приказивање грешака ако их има много" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Заокружи остављене величине на следећу реч" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Прати сваки садржани процес којег је можда програм који се проверава за " "грешке поделио" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Прати описнике отворене датотеке" #: ../src/vggeneralprefs.c:233 ../src/vgmemcheckprefs.c:414 msgid "Track origins of undefined values" msgstr "Прати порекла недефинисаних вредности" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Додај датум и време порукама дневника" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Позови „__libc_freeres()“ на излазу пре провере цурења меморије" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Датотека потискивања:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Изабери Валгриндову датотеку потискивања..." # Појам ми није познат. #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Хелгринд" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Обухвати тачке усаглашавања које су се догодиле раније:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Адреса праћења:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Ниво праћења:" #: ../src/vgmemcheckprefs.c:295 msgid "Memcheck" msgstr "Провера меморије" #: ../src/vgmemcheckprefs.c:300 msgid "Memory leaks" msgstr "Цурење меморије" #: ../src/vgmemcheckprefs.c:306 msgid "Leak check:" msgstr "Провера цурења:" #: ../src/vgmemcheckprefs.c:318 msgid "Show reachable blocks in leak check" msgstr "Покажи доступне блокове приликом провере цурења" #: ../src/vgmemcheckprefs.c:327 msgid "Leak resolution:" msgstr "Решење цурења:" #: ../src/vgmemcheckprefs.c:346 msgid "Keep up to" msgstr "Задржи до" #: ../src/vgmemcheckprefs.c:358 msgid "bytes in the queue after being free()'d" msgstr "бајтова у реду након ослобађања" #: ../src/vgmemcheckprefs.c:366 msgid "Ignore memory ranges:" msgstr "Занемари опсеге меморије:" #: ../src/vgmemcheckprefs.c:382 msgid "Fill malloc'd memory with:" msgstr "Попуни остављену меморију са:" #: ../src/vgmemcheckprefs.c:398 msgid "Fill free'd memory with:" msgstr "Попуни ослобођену меморију са:" #: ../src/vgmemcheckprefs.c:423 msgid "Work around bugs generated by gcc 2.96" msgstr "Заобилажење грешки које је створио „gcc 2.96“" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Функције" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Дељени објекат" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Увећање" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Умањење" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Назив правила:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Потисни поруке типа:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Потисни када користи:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Системски позив:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Ланац позива:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Грешка приликом чувања у датотеку потискивања „%s“: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Заборавили сте да именујете ваше правило потискивања." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Уреди" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Не могу да сачувам правила потискивања: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Нисте подесили датотеку потискивања у вашим подешавањима." # Чини ми се да је боље "Skin" превести као "омот" него као кошуљица. #~ msgid "Skin" #~ msgstr "Омот" #~ msgid "skin" #~ msgstr "омот" #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Неправилан регуларан израз: '%s': %s" # Појам "stack" сам оставио непреведен, док се превод не усагласи. #~ msgid "Assume thread stacks are used privately" #~ msgstr "Претпостави да стекови нити нису јавни" # Појам ми није познат. Овај превод није одговарајући. #~ msgid "Show location of last word access on error:" #~ msgstr "" #~ "Покажи место речи којој је последње приступљено када се догоди грешка:" #~ msgid "Search for memory leaks at exit" #~ msgstr "Потражи да ли је цурела меморија на излазу" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Игнориши грешке које стварају inline strlen() позиви" alleyoop-0.9.8/po/nb.po0000644000175000001440000002177511276130505011662 00000000000000# Norwegian bokmål translation of alleyoop # Copyright (C) 2003-2004 # This file is distributed under the same license as the alleyoop package. # Kjartan Maraas , 2003-2006. # msgid "" msgstr "" "Project-Id-Version: alleyoop 0.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-01-24 15:04+0100\n" "PO-Revision-Date: 2007-01-24 15:06+0100\n" "Last-Translator: Kjartan Maraas \n" "Language-Team: Norwegian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/alleyoop.c:172 msgid "Run Executable..." msgstr "Kjør binærfil..." #: ../src/alleyoop.c:186 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Skriv inn sti til en kjørbar fil og\n" "eventuelle argumenter du vil bruke." #: ../src/alleyoop.c:287 #, c-format msgid "Could not load `%s': %s" msgstr "Kunne ikke laste «%s»: %s" #: ../src/alleyoop.c:315 msgid "Load Valgrind log..." msgstr "Last logg fra Valgrind..." #: ../src/alleyoop.c:353 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Kunne ikke lagre til «%s»: %s\n" "Overskriv?" #: ../src/alleyoop.c:368 #, c-format msgid "Could not save to `%s': %s" msgstr "Kunne ikke lagre til «%s»: %s" #: ../src/alleyoop.c:414 msgid "Save Valgrind log..." msgstr "Lagre logg fra Valgrind..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:542 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: ../src/alleyoop.c:552 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop er et GNOME brukergrensesnitt for Valgrind." #: ../src/alleyoop.c:564 msgid "_Run" msgstr "_Kjør" #: ../src/alleyoop.c:566 msgid "_Kill" msgstr "_Terminer" #: ../src/alleyoop.c:586 msgid "Suppressions" msgstr "Unntak" #: ../src/alleyoop.c:586 msgid "View/Edit Suppressions" msgstr "Vis rediger unntak" #: ../src/alleyoop.c:617 msgid "Tool" msgstr "Verktøy" #: ../src/alleyoop.c:632 msgid "Run" msgstr "Kjør" #: ../src/alleyoop.c:632 msgid "Run Program" msgstr "Kjør program" #: ../src/alleyoop.c:637 msgid "Kill" msgstr "Terminer" #: ../src/alleyoop.c:637 msgid "Kill Program" msgstr "Terminer program" #: ../src/alleyoop.c:640 msgid "Open Log File" msgstr "Åpne loggfil" #: ../src/alleyoop.c:642 msgid "Save Log File" msgstr "Lagre loggfil" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Vis hjelp og avslutt" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Skriv ut versjon og avslutt" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" "Legg til i listen over kataloger som skal gjennomsøkes etter " "kildefiler" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Oppgi forvalgt verktøy som Valgrind skal bruke" #: ../src/main.c:205 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Brukervalg for Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Redigering:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Forhåndsvisning" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "linjer over og under mållinjen." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Kunne ikke opprette rør til «%s»: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Kunne ikke opprette underprosess «%s»: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Ugyldig syntaks i innstilling «%s».\n" "Vennligst oppgi en verdi på formen «,,heltall»." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Overstyr forvalgte innstillinger" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Oppgi ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Feil innegolder" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funksjon inneholder" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objekt inneholder" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Kildefilnavn inneholder" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Ugyldig regulært uttrykk: «%s»: %s" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:701 msgid "Valgrind Suppression Rules" msgstr "Regler for unntak i Valgrind" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1042 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind unntak" #: ../src/vgdefaultview.c:1216 msgid "Cu_t" msgstr "K_lipp ut" #: ../src/vgdefaultview.c:1217 msgid "_Copy" msgstr "_Kopier" #: ../src/vgdefaultview.c:1218 msgid "_Paste" msgstr "_Lim inn" #: ../src/vgdefaultview.c:1220 msgid "Suppress" msgstr "Unnta" #: ../src/vgdefaultview.c:1222 msgid "Edit in GNU/Emacs" msgstr "Rediger i GNU/Emacs" #: ../src/vgdefaultview.c:1223 msgid "Edit in XEmacs" msgstr "Rediger i XEmacs" #: ../src/vgdefaultview.c:1224 msgid "Edit in GVim" msgstr "Rediger i GVim" #: ../src/vgdefaultview.c:1225 msgid "Edit in Custom Editor" msgstr "Rediger i egendefinert redigeringsprogram" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "Generelt" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "Vis" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "Ikke vis feil hvis det er for mange av dem" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "Avrund størrelser for malloc til neste ord" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "Spor åpne filhåndtak" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "Fil for unntak:" #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "Velg fil for unntak i Valgrind..." #: ../src/vghelgrindprefs.c:162 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:167 msgid "Assume thread stacks are used privately" msgstr "Anta at trådstakker brukes privat" #: ../src/vghelgrindprefs.c:176 msgid "Show location of last word access on error:" msgstr "Vis lokasjon for siste ord-aksess ved feil:" #: ../src/vgmemcheckprefs.c:186 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:191 msgid "Memory leaks" msgstr "Minnelekkasjer" #: ../src/vgmemcheckprefs.c:196 msgid "Leak check:" msgstr "Sjekk av minnelekkasje:" #: ../src/vgmemcheckprefs.c:207 msgid "Show reachable blocks in leak check" msgstr "Vis blokker som kan nås i sjekk for minnelekkasjer" #: ../src/vgmemcheckprefs.c:215 msgid "Leak resolution:" msgstr "Oppløsning for lekkasjer:" #: ../src/vgmemcheckprefs.c:233 msgid "Keep up to" msgstr "Behold opp til" #: ../src/vgmemcheckprefs.c:245 msgid "bytes in the queue after being free()'d" msgstr "" #: ../src/vgmemcheckprefs.c:252 msgid "Work around bugs generated by gcc 2.96" msgstr "" #: ../src/vgmemcheckprefs.c:260 msgid "Ignore errors produced by inline strlen() calls" msgstr "" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funksjon" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Delt objekt" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Øk" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Krymp" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Regelnavn:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Undertrykk meldinger av type:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Systemkall:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Kallkjede:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "" #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "R_ediger" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "" alleyoop-0.9.8/po/pl.po0000644000175000001440000002224611276130505011670 00000000000000# Copyright (C) 2001-2002 Free Software Foundation, Inc. # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Aktualną wersję tego pliku możesz odnaleźć w repozytorium cvs.gnome.pl # (:pserver:anonymous@cvs.gnome.pl:/home/cvs, puste hasło) # Jeśli masz jakiekolwiek uwagi odnoszące się do tłumaczenia lub chcesz # pomóc w jego rozwijaniu i pielęgnowaniu, napisz do nas na adres: # translators@gnome.pl # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-10-21 14:57-0400\n" "PO-Revision-Date: 2003-07-DA 11:31+0100\n" "Last-Translator: GNOME PL Team \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "Uruchomienie programu..." #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Podaj ścieżkę do pliku wykonywalnego\n" "wraz z argumentami wejściowymi." #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "Nie można wczytać \"%s\": %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "Wczytanie dziennika programu Valgrind..." #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Nie można zapisać do \"%s\": %s\n" "Czy chcesz nadpisać?" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "Nie można zapisać do \"%s\": %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "Zapis dziennika programu Valgrind..." #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "GNOME PL Team " #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" "Alleyoop jest nakładką graficzną programu Valgrind dla środowiska GNOME" #: src/alleyoop.c:565 msgid "_Run" msgstr "_Uruchom" #: src/alleyoop.c:567 msgid "_Kill" msgstr "_Zabij" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "Blokady" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "Widok/modyfikacja blokad" #: src/alleyoop.c:618 msgid "Skin" msgstr "Skórka" #: src/alleyoop.c:633 msgid "Run" msgstr "Uruchom" #: src/alleyoop.c:633 msgid "Run Program" msgstr "Uruchamia program" #: src/alleyoop.c:638 msgid "Kill" msgstr "Zabij" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "Zabija program" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "Otwiera plik dziennika" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "Zapisuje plik dziennika" #: src/main.c:47 msgid "Print version and exit" msgstr "Wypisuje wersję i kończy" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" #: src/main.c:52 msgid "skin" msgstr "skórka" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "Określ domyślnie używaną skórkę (tryb)" #: src/main.c:124 msgid "Alleyoop" msgstr "Alleyoop" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "Preferencje alleyoop" #: src/prefs.c:165 msgid "Editor:" msgstr "Edytor:" #: src/prefs.c:182 msgid "Preview" msgstr "Podgląd" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "linii ponad i pod linią docelową." #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Niepowodzenie podczas tworzenia potoku do \"%s\": %s" #: src/process.c:108 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Niepowodzenie podczas tworzenia procesu potomnego \"%s\": %s" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Nipoprawna składnia w ustawieniach \"%s\".\n" "Wprowadź wartość w formie \",,\"." #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "Nadpisanie domyślnych ustawień" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr "" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "Błąd zawiera" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "Funkcja zawiera" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "Obiekt zawiera" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "Nazwa pliku źródłowego zawiera" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Niepoprawne wyrażenie regularne: \"%s\": %s" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "Reguły blokad Valgrind" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "Blokady Valgrind" #: src/vgdefaultview.c:1220 msgid "Cu_t" msgstr "Wy_tnij" #: src/vgdefaultview.c:1221 msgid "_Copy" msgstr "S_kopiuj" #: src/vgdefaultview.c:1222 msgid "_Paste" msgstr "_Wklej" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "Blokuj" #: src/vgdefaultview.c:1226 msgid "Edit in GNU/Emacs" msgstr "Edycja za pomocą GNU/Emacs" #: src/vgdefaultview.c:1227 msgid "Edit in XEmacs" msgstr "Edycja za pomocą XEmacs" #: src/vgdefaultview.c:1228 msgid "Edit in GVim" msgstr "Edycja za pomocą GVim" #: src/vgdefaultview.c:1229 msgid "Edit in Custom Editor" msgstr "Edycja za pomocą dowolnego edytora" #: src/vggeneralprefs.c:158 msgid "General" msgstr "Ogólne" #: src/vggeneralprefs.c:164 msgid "Demangle c++ symbol names" msgstr "" #: src/vggeneralprefs.c:172 msgid "Show" msgstr "Wyświetlanie" #: src/vggeneralprefs.c:184 msgid "callers in stack trace" msgstr "wywoływaczy w stanie stosu" #: src/vggeneralprefs.c:191 msgid "Stop showing errors if there are too many" msgstr "Zaprzestanie wyświetlania błędów przy zbyt dużej ich ilości" #: src/vggeneralprefs.c:199 msgid "Round malloc sizes to next word" msgstr "Zaokrąglanie rozmiarów malloc do następnego słowa" #: src/vggeneralprefs.c:207 msgid "Trace any child processes forked off by the program being debugged" msgstr "Śledzenie każdego odłączonego procesu potomnego debugowanego programu" #: src/vggeneralprefs.c:215 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Wywołanie __libc_freeres() przy zakończeniu, przed sprawdzeniem wycieków " "pamięci" #: src/vggeneralprefs.c:223 msgid "Suppressions File:" msgstr "Plik blokad:" #: src/vggeneralprefs.c:228 msgid "Choose Valgrind Suppressions File..." msgstr "" #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "Wycieki pamięci" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "Wyszukiwanie wycieków pamięci przy zakończeniu" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "Obejście błędów generowanych przez gcc 2.96" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "Ignorowanie błędów powodowanych przez wywołania inline strlen()" #: src/vgrule-editor.c:133 msgid "Function" msgstr "Funkcja" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "Obiekt współdzielony" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "Nazwa reguły:" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "Blokowanie komunikatów typu:" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "Blokowanie podczas użycia:" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "Wywołanie systemowe:" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Błąd zapisu do pliku blokady: \"%s\": \"%s\"" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "Należy nadać nazwę regule blokady." #: src/vgrule-list.c:403 msgid "_Edit" msgstr "_Edycja" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Nie można zapisać reguł blokad: %s" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "Nie podano nazwy pliku blokady w ustawieniach." alleyoop-0.9.8/po/en_GB.po0000644000175000001440000002424611276130505012231 00000000000000# English (British) translation. # Copyright (C) 2004 THE alleyoop'S COPYRIGHT HOLDER # This file is distributed under the same licence as the alleyoop package. # Gareth Owen , 2004. # Jen Ockwell , 2009. # David Lodge , 2009. # # msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&component=general\n" "POT-Creation-Date: 2009-03-19 12:37+0000\n" "PO-Revision-Date: 2009-03-20 19:00+0000\n" "Last-Translator: Jen Ockwell \n" "Language-Team: British English \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Run Executable..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Could not load `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Load Valgrind log..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Could not save to `%s': %s\n" "Overwrite?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Could not save to `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Save Valgrind log..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop is a Valgrind front-end for the GNOME environment." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Run" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Kill" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Suppressions" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "View/Edit Suppressions" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Tool" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Run" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Run Program" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Kill" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Kill Program" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Open Log File" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Save Log File" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Display help and quit" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Display version and quit" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Add to the list of directories to search for source files" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Recursively add and all subdirectories to the list of directories to " "search for source files" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Specify the default Valgrind tool to use" #: ../src/main.c:205 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoop Preferences" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Editor:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Preview" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "lines above and below the target line." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Failed to create pipe to '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Failed to create child process '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Override default settings" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Enter ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Error contains" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Function contains" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Object contains" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Source filename contains" #: ../src/vgdefaultview.c:220 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Invalid regular expression: '%s': %s" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:704 msgid "Valgrind Suppression Rules" msgstr "Valgrind Suppression Rules" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1024 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind Suppression" #: ../src/vgdefaultview.c:1198 msgid "Cu_t" msgstr "Cu_t" #: ../src/vgdefaultview.c:1199 msgid "_Copy" msgstr "_Copy" #: ../src/vgdefaultview.c:1200 msgid "_Paste" msgstr "_Paste" #: ../src/vgdefaultview.c:1202 msgid "Suppress" msgstr "Suppress" #: ../src/vgdefaultview.c:1204 msgid "Edit in GNU/Emacs" msgstr "Edit in GNU/Emacs" #: ../src/vgdefaultview.c:1205 msgid "Edit in XEmacs" msgstr "Edit in XEmacs" #: ../src/vgdefaultview.c:1206 msgid "Edit in GVim" msgstr "Edit in GVim" #: ../src/vgdefaultview.c:1207 msgid "Edit in Custom Editor" msgstr "Edit in Custom Editor" #: ../src/vggeneralprefs.c:165 msgid "General" msgstr "General" #: ../src/vggeneralprefs.c:171 msgid "Demangle c++ symbol names" msgstr "Demangle C++ symbol names" #: ../src/vggeneralprefs.c:179 msgid "Show" msgstr "Show" #: ../src/vggeneralprefs.c:191 msgid "callers in stack trace" msgstr "callers in stack trace" #: ../src/vggeneralprefs.c:198 msgid "Stop showing errors if there are too many" msgstr "Stop showing errors if there are too many" #: ../src/vggeneralprefs.c:207 msgid "Round malloc sizes to next word" msgstr "Round malloc sizes to next word" #: ../src/vggeneralprefs.c:216 msgid "Trace any child processes forked off by the program being debugged" msgstr "Trace any child processes forked off by the program being debugged" #: ../src/vggeneralprefs.c:224 msgid "Track open file descriptors" msgstr "Track open file descriptors" #: ../src/vggeneralprefs.c:232 msgid "Add time stamps to log messages" msgstr "Add time stamps to log messages" #: ../src/vggeneralprefs.c:240 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Call __libc_freeres() at exit before checking for memory leaks" #: ../src/vggeneralprefs.c:248 msgid "Suppressions File:" msgstr "Suppressions File:" #: ../src/vggeneralprefs.c:266 msgid "Choose Valgrind Suppressions File..." msgstr "Choose Valgrind Suppressions File..." #: ../src/vghelgrindprefs.c:222 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:228 msgid "Consider sync points that happen before:" msgstr "Consider sync points that happen before:" #: ../src/vghelgrindprefs.c:240 msgid "Trace address:" msgstr "Trace address:" #: ../src/vghelgrindprefs.c:261 msgid "Trace level:" msgstr "Trace level:" #: ../src/vgmemcheckprefs.c:293 msgid "Memcheck" msgstr "Memcheck" #: ../src/vgmemcheckprefs.c:298 msgid "Memory leaks" msgstr "Memory leaks" #: ../src/vgmemcheckprefs.c:304 msgid "Leak check:" msgstr "Leak check:" #: ../src/vgmemcheckprefs.c:316 msgid "Show reachable blocks in leak check" msgstr "Show reachable blocks in leak check" #: ../src/vgmemcheckprefs.c:325 msgid "Leak resolution:" msgstr "Leak resolution:" #: ../src/vgmemcheckprefs.c:344 msgid "Keep up to" msgstr "Keep up to" #: ../src/vgmemcheckprefs.c:356 msgid "bytes in the queue after being free()'d" msgstr "bytes in the queue after being free()d" #: ../src/vgmemcheckprefs.c:364 msgid "Ignore memory ranges:" msgstr "Ignore memory ranges:" #: ../src/vgmemcheckprefs.c:380 msgid "Fill malloc'd memory with:" msgstr "Fill malloc()d memory with:" #: ../src/vgmemcheckprefs.c:396 msgid "Fill free'd memory with:" msgstr "Fill free()d memory with:" #: ../src/vgmemcheckprefs.c:412 msgid "Work around bugs generated by gcc 2.96" msgstr "Work around bugs generated by gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Function" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Shared Object" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Grow" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Shrink" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Rule name:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Suppress messages of type:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Suppress when using:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "System call:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Call chain:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Error saving to suppression file `%s': %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "You have forgotten to name your suppression rule." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Edit" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Cannot save suppression rules: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "You have not set a suppressions file in your settings." #~ msgid "Assume thread stacks are used privately" #~ msgstr "Assume thread stacks are used privately" #~ msgid "Show location of last word access on error:" #~ msgstr "Show location of last word access on error:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Ignore errors produced by inline strlen() calls" #, fuzzy #~ msgid "Skin" #~ msgstr "Shrink" #~ msgid "tool" #~ msgstr "tool" alleyoop-0.9.8/po/sr@latin.po0000644000175000001440000002702411626207370013034 00000000000000# Serbian translation of alleyoop # Courtesy of Prevod.org team (http://www.prevod.org/) -- 2003. # This file is distributed under the same license as the alleyoop package. # Maintainer: Igor Nestorović # Miroslav Nikolić , 2011. msgid "" msgstr "" "Project-Id-Version: alleyoop-0.7.1\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2011-05-05 13:49+0000\n" "PO-Revision-Date: 2011-07-21 12:02+0200\n" "Last-Translator: Miroslav Nikolić \n" "Language-Team: gnom@prevod.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sr\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-Generator: Virtaal 0.7.0\n" "X-Project-Style: gnome\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Pokreni izvršnu..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Unesite putanju do izvršne datoteke i sve\n" "argumente koje želite da joj prosledite." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Ne mogu da učitam „%s“: %s" # Uzdržao sam se od prevoda izraza "Valgrind", jer mi nije poznat #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Učitavam dnevnik Valgrinda..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Ne mogu da sačuvam u „%s“: %s\n" "Da prepišem?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Ne mogu da sačuvam u „%s“: %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Sačuvaj dnevnik Valgrinda..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Miroslav Nikolić" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alejup je maska Valgrinda za Gnom okruženje." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Pokreni" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Ubij" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Potiskivanja" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Pregledaj/izmeni potiskivanja" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Alat" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Pokreni" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Pokreni program" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Ubij" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Ubij program" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Otvori datoteku dnevnika" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Sačuvaj datoteku dnevnika" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Prikazuje pomoć i izlazi" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Štampa izdanje i izlazi" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "" "Dodaje na spisak direktorijuma za pretragu datoteka sa izvornim kodom" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Redom dodaje i sve niže direktorijume na spisak direktorijuma za " "pretragu datoteka sa izvornim kodom" #: ../src/main.c:168 #, fuzzy #| msgid "Specify the default skin (mode) to use" msgid "Specify the default Valgrind tool to use" msgstr "Određuje osnovni alat Valgrinda za korišćenje" # Ime programa, nema uopšte prevod na srpski jezik. #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alejup" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Podešavanja Alejupa" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Uređivač:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Prgled" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "linije iznad i ispod ciljne linije." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Nisam uspeo da napravim spojku ka „%s“: %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Nisam uspeo da stvorim podređeni proces „%s“: %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Nepravilna sintaksa u podešavanjima „%s“.\n" "Molim unesite vrednost oblika „,,“." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Prepiši osnovna podešavanja" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Unesi ,,:" # Ovaj pojam mi je nepoznat. #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Kešgrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Greška sadrži" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funkcija sadrži" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Objekat sadrži" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Naziv datoteke sa izvornim kodom sadrži" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Valgrindova pravila potiskivanja" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrindovo potiskivanje" # Pojam mi nije poznat. #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "_Iseci" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Umnoži" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Ubaci" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Potisni" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Uredi u GNU/Emaksu" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Uredi u H-Emaksu" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Uredi u GVimu" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Uredi u uređivaču po izboru" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Opšte" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Sastavi c++ imena simbola" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Pokaži" # Ovo bi trebalo da se detaljnije ispita. #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "pozivači u ruti šteka" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Zaustavi prikazivanje grešaka ako ih ima mnogo" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Zaokruži ostavljene veličine na sledeću reč" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Prati svaki sadržani proces kojeg je možda program koji se proverava za " "greške podelio" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Prati opisnike otvorene datoteke" #: ../src/vggeneralprefs.c:233 ../src/vgmemcheckprefs.c:414 msgid "Track origins of undefined values" msgstr "Prati porekla nedefinisanih vrednosti" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Dodaj datum i vreme porukama dnevnika" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Pozovi „__libc_freeres()“ na izlazu pre provere curenja memorije" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Datoteka potiskivanja:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Izaberi Valgrindovu datoteku potiskivanja..." # Pojam mi nije poznat. #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Obuhvati tačke usaglašavanja koje su se dogodile ranije:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Adresa praćenja:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Nivo praćenja:" #: ../src/vgmemcheckprefs.c:295 msgid "Memcheck" msgstr "Provera memorije" #: ../src/vgmemcheckprefs.c:300 msgid "Memory leaks" msgstr "Curenje memorije" #: ../src/vgmemcheckprefs.c:306 msgid "Leak check:" msgstr "Provera curenja:" #: ../src/vgmemcheckprefs.c:318 msgid "Show reachable blocks in leak check" msgstr "Pokaži dostupne blokove prilikom provere curenja" #: ../src/vgmemcheckprefs.c:327 msgid "Leak resolution:" msgstr "Rešenje curenja:" #: ../src/vgmemcheckprefs.c:346 msgid "Keep up to" msgstr "Zadrži do" #: ../src/vgmemcheckprefs.c:358 msgid "bytes in the queue after being free()'d" msgstr "bajtova u redu nakon oslobađanja" #: ../src/vgmemcheckprefs.c:366 msgid "Ignore memory ranges:" msgstr "Zanemari opsege memorije:" #: ../src/vgmemcheckprefs.c:382 msgid "Fill malloc'd memory with:" msgstr "Popuni ostavljenu memoriju sa:" #: ../src/vgmemcheckprefs.c:398 msgid "Fill free'd memory with:" msgstr "Popuni oslobođenu memoriju sa:" #: ../src/vgmemcheckprefs.c:423 msgid "Work around bugs generated by gcc 2.96" msgstr "Zaobilaženje greški koje je stvorio „gcc 2.96“" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funkcije" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Deljeni objekat" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Uvećanje" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Umanjenje" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Naziv pravila:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Potisni poruke tipa:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Potisni kada koristi:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Sistemski poziv:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Lanac poziva:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Greška prilikom čuvanja u datoteku potiskivanja „%s“: %s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Zaboravili ste da imenujete vaše pravilo potiskivanja." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Uredi" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Ne mogu da sačuvam pravila potiskivanja: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Niste podesili datoteku potiskivanja u vašim podešavanjima." # Čini mi se da je bolje "Skin" prevesti kao "omot" nego kao košuljica. #~ msgid "Skin" #~ msgstr "Omot" #~ msgid "skin" #~ msgstr "omot" #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Nepravilan regularan izraz: '%s': %s" # Pojam "stack" sam ostavio nepreveden, dok se prevod ne usaglasi. #~ msgid "Assume thread stacks are used privately" #~ msgstr "Pretpostavi da stekovi niti nisu javni" # Pojam mi nije poznat. Ovaj prevod nije odgovarajući. #~ msgid "Show location of last word access on error:" #~ msgstr "" #~ "Pokaži mesto reči kojoj je poslednje pristupljeno kada se dogodi greška:" #~ msgid "Search for memory leaks at exit" #~ msgstr "Potraži da li je curela memorija na izlazu" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Ignoriši greške koje stvaraju inline strlen() pozivi" alleyoop-0.9.8/po/hr.po0000644000175000001440000002303611276130505011664 00000000000000# Translation of alleyoop to Croatiann # Copyright (C) Croatiann team # Translators: Antun Krasic ,Automatski Prijevod <>,Danijel Studen ,Hrvoje Spoljar ,Ivan Jankovic ,Nikola Planinac <>,pr pr ,Robert Sedak ,Vedran Vyroubal , msgid "" msgstr "" "Project-Id-Version: alleyoop 0\n" "POT-Creation-Date: 2003-10-21 14:57-0400\n" "PO-Revision-Date: 2004-03-20 14:41+CET\n" "Last-Translator: auto\n" "Language-Team: Croatian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: TransDict server\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "Izvrši izvršnu naredbu..." #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Upišite putanju do izvršne naredbe i\n" "bilo koji argument koji želite prosljediti." #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "Nisam mogao učitati \"%s\": %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "Učitaj dnevnik Valgrinda..." #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Nisam mogao spremiti u \"%s\": %s\n" "Da prepišem?" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "Nisam mogao spremiti u \"%s\": %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "Spremi dnevnik Valgrinda..." #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "Jeffrey Stedfast" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop je Valgrind dront-end za GNOME okruženje." #: src/alleyoop.c:565 msgid "_Run" msgstr "_Pokreni" #: src/alleyoop.c:567 msgid "_Kill" msgstr "_Ubij" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "Potiskivanja" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "Pregled/Uredi potiskivanja" #: src/alleyoop.c:618 msgid "Skin" msgstr "Koža" #: src/alleyoop.c:633 msgid "Run" msgstr "Pokreni" #: src/alleyoop.c:633 msgid "Run Program" msgstr "Pokreni program" #: src/alleyoop.c:638 msgid "Kill" msgstr "Ubij" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "Prekini program" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "Otvori datoteku dnevnika" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "Spremi datoteku dnevnika" #: src/main.c:47 msgid "Print version and exit" msgstr "Ispiši inačicu i završi" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "Dodajte >dir> popisu direktorija za traženje za izvorne datoteke." #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" "Rekurzivno dodaj i sve podmape u popis mapa za pretragu datoteka sa " "izvornim kodom" #: src/main.c:52 msgid "skin" msgstr "koza" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "Odredi uobičajeni izgled (način) za uporabu" #: src/main.c:124 msgid "Alleyoop" msgstr "Alleyoop" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "Postavke Alleyoop-a" #: src/prefs.c:165 msgid "Editor:" msgstr "Uređivač:" #: src/prefs.c:182 msgid "Preview" msgstr "Pregled" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "rerci iznad i ispod ciljne linije." #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Neuspjelo stvaranje veze ka '%s': %s" #: src/process.c:108 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Nije uspjelo stvaranje nasljednog procesa \"%s\": %s" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Nepravilna sintaksa u postavkama '%s'.\n" "Molim, upišite vrijednost forme \",,\"." #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "Piši preko uobičajenih postavki" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr "Upiši ,,:" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "Cachegrind" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "Greška sadrži" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "Funkcija sadrži" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "Objekt sadrži" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "Naziv datoteke sa izvornim kodom sadrži" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "Neispravni regularni izraz: \"%s\": %s" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "Pravila Valgrind potiskivanja" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "Valgrind potiskivanje" #: src/vgdefaultview.c:1220 msgid "Cu_t" msgstr "Iz_reži" #: src/vgdefaultview.c:1221 msgid "_Copy" msgstr "_Kopiraj" #: src/vgdefaultview.c:1222 msgid "_Paste" msgstr "_Zaljepi" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "Potisni" #: src/vgdefaultview.c:1226 msgid "Edit in GNU/Emacs" msgstr "Uredi u GNU/Emacs" #: src/vgdefaultview.c:1227 msgid "Edit in XEmacs" msgstr "Uredi u XEmacs" #: src/vgdefaultview.c:1228 msgid "Edit in GVim" msgstr "Uredi u GVim" #: src/vgdefaultview.c:1229 msgid "Edit in Custom Editor" msgstr "Uredi u uređivaču po odabiru" #: src/vggeneralprefs.c:158 msgid "General" msgstr "Općenito" #: src/vggeneralprefs.c:164 msgid "Demangle c++ symbol names" msgstr "Sastavi c++ imena simbola" #: src/vggeneralprefs.c:172 msgid "Show" msgstr "Pokaži" #: src/vggeneralprefs.c:184 msgid "callers in stack trace" msgstr "callers in stack trace" #: src/vggeneralprefs.c:191 msgid "Stop showing errors if there are too many" msgstr "Ne pokazuj greške ako ih ima previše" #: src/vggeneralprefs.c:199 msgid "Round malloc sizes to next word" msgstr "Zaokruži veličine malloc na sljedeću riječ" #: src/vggeneralprefs.c:207 msgid "Trace any child processes forked off by the program being debugged" msgstr "" "Prati svaki nasljedni proces kojeg je program, koji se provjerava za greške, " "pokrenuo" #: src/vggeneralprefs.c:215 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" "Pozovi __libc_freeres() na izlazu prije provjere je li memorija curjela" #: src/vggeneralprefs.c:223 msgid "Suppressions File:" msgstr "Datoteka s potiskivanjima:" #: src/vggeneralprefs.c:228 msgid "Choose Valgrind Suppressions File..." msgstr "Izaberi Valgrind datoteku sa potiskivanjima..." #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "Helgrind" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "Pretpostavi da se međumemorija niti privatno koristi " #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "Prikaži mjesto riječi kojoj je pristupljeno kada se dogodila greška:" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "Provjera memorije" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "Gubljenje memorije" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "Ispitaj je li se dogodio gubitak memorije pri završetku programa" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "" "Pokaži blokove koji mogu biti provjereni prilikom provere gubljenja memorije" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "Intezitet gubljenja:" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "Čuvati do" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "bajtovu u nizu nakon oslobađanja naredbom free()" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "Zaobilaženje grešaka koje je stvorio gcc 2.96" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "Zanemari greške koje stvaraju inline strlen() pozivi" #: src/vgrule-editor.c:133 msgid "Function" msgstr "Funkcija" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "Dijeljeni objekt" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "Povećanje" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "Smanji" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "Naziv pravila:" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "Potisni poruke sljedeće vrste:" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "Potisni kada se koristi:" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "Pozivi sustava:" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "Lanac poziva:" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Greška pri spremanju datoteke potiskivanja \"%s\": %s" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "Zaboravili ste imenovati vaše pravilo potiskivanja." #: src/vgrule-list.c:403 msgid "_Edit" msgstr "_Uredi" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Ne mogu sačuvati pravila potiskivanja: %s" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "Niste postavili datoteku potiskivanja u vašim postavkama." alleyoop-0.9.8/po/sl.po0000644000175000001440000002622511376346304011703 00000000000000# Slovenian translation of alleyoop. # Copyright (C) 2002-2010 Free Software Foundation, Inc. # This file is distributed under the same license as the alleyoop package. # # Matej Urbančič , 2006 - 2010. # msgid "" msgstr "" "Project-Id-Version: alleyoop HEAD\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=alleyoop&component=general\n" "POT-Creation-Date: 2009-12-10 22:53+0000\n" "PO-Revision-Date: 2010-04-18 19:31+0100\n" "Last-Translator: Matej Urbančič \n" "Language-Team: Slovenian GNOME Translation Team \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-Poedit-Country: SLOVENIA\n" "X-Poedit-Language: Slovenian\n" "X-Poedit-SourceCharset: utf-8\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "Zaženi izvedljivo datoteko ..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "Vnesite pot do izvedljive datoteke\n" "in argumente, ki jih želite uporabiti." #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "Ni mogoče naložiti `%s': %s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "Naloži Valgrind dnevnik ..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "Ni mogoče shraniti na `%s': %s\n" "Ali naj bo datoteka prepisana?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "Ni mogoče shraniti na `%s': %s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "Shrani Valgrind dnevnik ..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Matej Urbančič" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop je uporabniški vmesnik Valgrind za GNOME okolje." #: ../src/alleyoop.c:560 msgid "_Run" msgstr "_Zaženi" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "_Uniči" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "Preprečevanja" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "Poglej/Uredi preprečevanja" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "Orodje" #: ../src/alleyoop.c:628 msgid "Run" msgstr "Zaženi" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "Zaženi program" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "Uniči" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "Uniči program" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "Odpri dnevniško datoteko" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "Shrani dnevniško datoteko" #: ../src/main.c:164 msgid "Display help and quit" msgstr "Pokaži pomoč in končaj program" #: ../src/main.c:165 msgid "Display version and quit" msgstr "Pokaži podatke različice in končaj program" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "Dodaj na seznam map, v katerih naj poteka iskanje izvornih datotek" #: ../src/main.c:167 msgid "Recursively add and all subdirectories to the list of directories to search for source files" msgstr "Dodaj in vse podrejene mape na seznam map za iskanje izvornih datotek." #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "Določitev privzetega Valgrind orodja" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Možnosti Alleyoop" #: ../src/prefs.c:163 msgid "Editor:" msgstr "Urejevalnik:" #: ../src/prefs.c:180 msgid "Preview" msgstr "Predogled" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "vrstice nad in pod ciljno vrstico." #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Napaka med ustvarjanjem cevi v '%s': %s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "Napaka med ustvarjanjem podrejenega opravila '%s': %s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "Neveljavna skladnja med nastavitvami '%s'.\n" "Vnesite vrednost v obliki \"<število>,<število>,<število>\"." #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "Prepiši privzete nastavitve" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "Vnesite ,,:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "Napaka vsebuje" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "Funkcija vsebuje" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "Predmet vsebuje" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "Izvorno ime datoteke vsebuje" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Valgrind pravila preprečevanja" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 #: ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind preprečevanje" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "I_zreži" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "_Kopiraj" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "_Prilepi" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "Prepreči" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "Uredi v GNU/Emacs" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "Uredi v XEmacs" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "Uredi v GVim" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "Uredi v privzetem urejevalniku" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "Splošno" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Razločevanje imen C++ simbolov" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "Pokaži" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "klicniki v zaznanem skladu" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "Prekini prikazovanje napak, kadar je teh preveč" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "Zaokroži malloc velikosti do naslednje besede" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "Zaznavanje podrejenih opravil odločenih med razhroščevanjem programa" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "Sledi opisovalcem odprtih datotek" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "Sledi izvoru nedoločenih vrednosti" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "Dodaj časovni žig sporočilom dnevnika" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "Zaženi __libc_freeres() ob izhodu pred preverjanjem uhajanja pomnilnika" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "Datoteka preprečevanja:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "Izbor Valgrind datoteke preprečevanja ..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "Upoštevaj uskladitvene točke, ki so bile že uporabljene:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "Naslov zaznave:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "Raven zaznave:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "Preverjanje pomnilnika" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "Uhajanje pomnilnika" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "Preverjanje uhajanja:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "Pokaži dostopne bloke med preverjanjem uhajanja" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "Ločljivost uhajanja:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "Ohrani na" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "bajti v vrsti po sprostitvi - free()'d" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "Prezri območja pomnilnika:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "Napolni malloc'd pomnilnik z:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "Napolni free'd pomnilnik z:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "Ustvarjanje obhodov hroščev preko gcc 2.96" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "Funkcija" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "Souporabljeni predmeti" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "Razširi" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "Skrči" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "Ime pravila:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "Prepreči sporočila vrste:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "Prepreči med uporabo:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "Sistemski klic:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "Klicna veriga:" #: ../src/vgrule-editor.c:526 #: ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "Napaka med pisanjem v datoteko preprečevanja `%s': %s" #: ../src/vgrule-list.c:173 #: ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "Pravilo preprečevanja mora biti poimenovano." #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "_Uredi" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "Ni mogoče shraniti pravil preprečevanja: %s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "Med nastavitvami ni nastavljenih pravil preprečevanja." #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "Neveljaven logični izraz: '%s': %s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "Predvidi, da so niti skladov uporabljene zasebno" #~ msgid "Show location of last word access on error:" #~ msgstr "Pokaži položaj dostopa do zadnje besede ob napaki:" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "Prezri napake medvrstičnih strlen() klicev" alleyoop-0.9.8/po/ChangeLog0000644000175000001440000003401411276130505012463 000000000000002009-04-14 Petr Kovar * cs.po: Updated Czech translation by Lucas Lommer. 2009-03-25 Philip Withnall * en_GB.po: Updated British English translation by Jen Ockwell . 2009-03-25 Takeshi AIHANA * ja.po: Updated Japanese translation. 2009-03-19 Jorge Gonzalez * es.po: Updated Spanish translation. 2009-03-10 Inaki Larranaga Murgoitio * eu.po: Updated Basque translation. 2009-02-12 Inaki Larranaga Murgoitio * LINGUAS: Added 'eu' (Basque) entry. * eu.po: Add Basque translation. 2008-11-28 Mario Blättermann * de.po: Updated German Translation 2008-07-31 Djihed Afifi * ar.po: Updated Arabic Translation by Djihed Afifi. 2008-07-31 Djihed Afifi * ar.po: Updated Arabic Translation by Djihed Afifi. 2008-07-02 Yannig Marchegay * oc.po: Updated Occitan translation. 2008-02-19 Gil Forcada * ca.po: updated Catalan translation. 2008-02-14 Pawan Chitrakar * ne.po: Updated Nepali Translation. 2008-01-18 Gil Forcada * LINGUAS: Added tr, mk, po and ml. 2007-12-31 Yannig Marchegay * oc.po: Updated Occitan translation. 2007-09-30 Takeshi AIHANA * ja.po: Updated Japanese translation. 2007-06-18 Yannig Marchegay * oc.po: Updated Occitan translation 2007-04-22 Djihed Afifi * ar.po: Updated Arabic Translation by Djihed Afifi. 2007-03-21 Laurent Dhima * sq.po: Updated Albanian translation. 2007-02-12 Pema Geyleg * dz.po:Added Dzongkha Translation. * LINGUAS:Added dz to the list of languages. 2007-01-24 Kjartan Maraas * nb.po: Updated Norwegian bokmål translation. 2007-01-13 Matic Zgur * sl.po: Added Slovenian translation. * LINGUAS: Added sl to the list of languages. 2006-12-28 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2006-12-13 Lucas Rocha * pt_BR.po: Updated Brazilian Portuguese translation by Og Maciel 2006-11-20 Djihed Afifi" * ar.po: Added Arabic Translation. * LINGUAS: Added ar. 2006-10-27 Wouter Bolsterlee * nl.po: Dutch translation updated by Wouter Bolsterlee. 2006-10-19 Josep Puigdemont i Casamajó * ca.po: Updated Catalan translation by Jordi Sayol Salomó . 2006-09-25 Pawan Chitrakar * ne.po: Updated Nepali Translation 2006-09-12 Kostas Papadimas * el.po: Fixed typos by Dimitris Glezos 2006-09-11 David Lodge * en_GB.po: Updated British (English) translation. 2006-09-02 Daniel Nylander * sv.po: Updated Swedish translation. 2006-08-28 Christophe Merlet * fr.po: Updated French translation from Robert-André Mauchin . 2006-08-21 Clytie Siddall * vi.po: Updated Vietnamese translation. 2006-08-19 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2006-08-16 Ilkka Tuohela * fi.po: Updated Finnish translation. 2006-08-16 Gabor Kelemen * hu.po: Translation updated. 2006-07-25 Christophe Merlet * fr.po: Updated French translation from Jonathan Ernst . 2006-07-06 Nickolay V. Shmyrev * ru.po: Updated Russian translation by Valek Filippov . 2006-06-21 Raivis Dejus * lv.po: Added Latvian translation. * LINGUAS: Added 'lv' LAtvian entry 2006-06-15 Hendrik Richter * de.po: Updated German translation. 2006-04-17 Kjartan Maraas * nb.po: Updated Norwegian bokmål translation. * no.po: Removed obsolete duplicate. 2006-04-12 Daniel Nylander * sv.po: Updated Swedish translation 2006-01-03 Gabor Kelemen * hu.po: Hungarian translation added. 2005-10-29 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2005-09-16 Clytie Siddall * vi.po: Updated Vietnamese translation. 2005-09-04 Josep Puigdemont * ca.po: Updated Catalan translation. 2005-08-11 Clytie Siddall * vi.po: Updated Vietnamese translation. 2005-08-01 Ahmad Riza H Nst * id.po: Added Indonesian Translation, done by Imam Musthaqim 2005-07-09 Vincent van Adrighem * nl.po: Translation updated by Tino Meinen. 2005-07-04 Hendrik Richter * de.po: Fixed German translation by Jens Seidel . 2005-06-09 Pauli Virtanen * fi.po: Added Finnish translation by Lauri Nurmi. 2005-05-27 Pawan Chitrakar * ne.po: Updated Nepali translation 2005-05-26 Takeshi AIHANA * ja.po: Updated Japanese translation. 2005-05-24 Pawan Chitrakar * ne.po: Added Nepali translation 2005-05-20 Frank Arnold * de.po: Updated German translation. 2005-05-13 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-05-12 Marcel Telka * sk.po: Updated Slovak translation. 2005-05-06 Miloslav Trmac * cs.po: Updated Czech translation. 2005-04-30 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2005-04-17 Christopher Orr * en_GB.po: Updated British English translation. 2005-04-13 Frank Arnold * de.po: Updated German translation. 2005-04-10 Marcel Telka * sk.po: Updated Slovak translation. 2005-04-09 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-04-09 Miloslav Trmac * cs.po: Updated Czech translation. 2005-04-01 Steve Murphy * rw.po: Added Kinyarwanda translation. 2005-03-16 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-02-18 Kjartan Maraas * nb.po: Update * no.po: Update 2005-01-10 Frank Arnold * de.po: Updated German translation. 2004-10-13 Marcel Telka * sk.po: Updated Slovak translation. 2004-09-29 Kjartan Maraas * nb.po: Add this. 2004-09-09 Ankit Patel * gu.po: Added Gujarati Translation. 2004-08-20 Laurent Dhima * sq.po: Updated Albanian translation. 2004-08-18 Laurent Dhima * sq.po: Updated Albanian translation. 2004-08-16 Duarte Loreto * pt.po: Updated and revised Portuguese translation. 2004-07-28 Laurent Dhima * sq.po: Updated Albanian translation. 2004-07-05 Laurent Dhima * sq.po: Updated Albanian translation. 2004-06-28 Laurent Dhima * sq.po: Translation updated. 2004-06-25 Laurent Dhima * sq.po: Updated Albanian translation. 2004-06-13 Vincent van Adrighem * nl.po: Translation updated by Tino Meinen. 2004-05-09 Marcel Telka * sk.po: Updated Slovak translation. 2004-04-30 Adam Weinberger * en_CA.po: Added Canadian English translation. 2004-04-13 Gustavo Maciel Dias Vieira * pt_BR.po: Updated Brazilian Portuguese translation done by Raphael Higino . 2004-04-12 Christian Rose * sv.po: Updated Swedish translation. 2004-04-10 Francisco Javier F. Serrador * es.po: Updated Spansih translation. 2004-04-09 Laurent Dhima * sq.po: Updated Albanian translation. 2004-04-08 Yuriy Syrota * uk.po: Added Ukrainian translation. 2004-04-07 Miloslav Trmac * cs.po: Updated Czech translation. 2004-04-05 Takeshi AIHANA * ja.po: Updated Japanese translation. 2004-04-04 Gareth Owen * en_GB.po: Added British English translation 2004-03-22 Wang Jian * zh_CN.po: Added Simplified Chinese translation by Fan Zhang . 2004-03-20 Robert Sedak * hr.po: Updated Croatian translation. 2004-03-10 Alastair McKinstry * ga.po: Added Irish translation. 2004-03-10 Kjartan Maraas * no.po: Updated Norwegian translation. 2004-02-01 Robert Sedak * hr.po: Updated Croatian translation. 2004-01-31 Laurent Dhima * sq.po: Updated Albanian translation. 2004-01-28 Miloslav Trmac * cs.po: Fixed Czech translation. 2004-01-24 Marcel Telka * sk.po: Added Slovak translation. 2004-01-13 Laurent Dhima * sq.po: Added Albanian translation. 2004-01-07 Sanlig Badral * mn.po: Added Mongolian translation. 2003-10-25 Metin Amiroff * az.po: Updated Azerbaijani translation. 2003-10-17 Vincent van Adrighem * nl.po: Dutch translation updated by Vincent van Adrighem. 2003-09-18 Kostas Papadimas * el.po: Added Greek translation 2003-09-17 Artur Flinta * pl.po: Updated Polish translation. 2003-09-10 Jordi Mallach * ca.po: Updated Catalan translation. 2003-09-01 Metin Amiroff * az.po: Added Azerbaijani translation. 2003-08-15 Christophe Merlet * fr.po: Added French translation from Didier Conchaudron . 2003-08-13 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-08-03 Takeshi AIHANA * ja.po: Updated Japanese translation. 2003-08-02 Christian Rose * sv.po: Updated Swedish translation. 2003-07-29 Pablo Gonzalo del Campo * es.po: Updated Spanish translation from Francisco Javier Fernandez . 2003-07-28 Duarte Loreto * pt.po: Updated Portuguese translation. 2003-07-28 Miloslav Trmac * cs.po: Updated Czech translation. 2003-07-27 Alessio Frusciante * it.po: Added Italian translation. 2003-07-26 Hasbullah Bin Pit * ms.po: Added Malay translation. 2003-07-25 Artur Flinta * pl.po: Updated Polish translation. 2003-07-09 Christian Neumair * de.po: Added German translation. 2003-06-26 Valek Filippov * ru.po: Added russian translation. 2003-06-21 Vincent van Adrighem * nl.po: Dutch translation added by Jan-Willem Harmanny. 2003-06-09 Pablo Gonzalo del Campo * es.po: Updated Spanish translation from Francisco Javier Fernandez . 2003-06-06 Pablo Gonzalo del Campo * es.po: Added Spanish translation from Francisco Javier Fernandez . 2003-05-24 Duarte Loreto * pt.po: Updated Portuguese translation. 2003-05-23 Takeshi AIHANA * ja.po: Updated Japanese translation. 2003-05-22 Miloslav Trmac * cs.po: Updated Czech translation. 2003-05-22 Christian Rose * sv.po: Updated Swedish translation. 2003-05-16 Jordi Mallach * ca.po: Added Catalan translation from Maika Vicente. 2003-05-09 Miloslav Trmac * cs.po: Updated Czech translation. 2003-05-09 Christian Rose * sv.po: Updated Swedish translation. 2003-05-07 Danilo Šegan * sr.po, sr@Latn.po: Added Serbian translation. 2003-04-30 Miloslav Trmac * cs.po: Updated Czech translation. 2003-04-30 Christian Rose * sv.po: Updated Swedish translation. 2003-04-29 Kjartan Maraas * no.po: Added Norwegian translation. 2003-04-28 Takeshi AIHANA * ja.po: Updated Japanese translation. 2003-04-27 Duarte Loreto * pt.po: Updated Portuguese translation. 2003-04-26 Evandro Fernandes Giovanini * pt_BR.po: Added Brazilian Portuguese translation from Alexandre Folle de Menezes . 2003-04-25 Miloslav Trmac * cs.po: Added Czech translation. 2003-04-25 Christian Rose * sv.po: Updated Swedish translation (completed). 2003-04-25 Jeffrey Stedfast * POTFILES.in: Added vghelgrindprefs.c 2003-04-24 Takeshi AIHANA * ja.po: Updated Japanese translation. 2003-04-23 Duarte Loreto * pt.po: New Portuguese translation. 2003-04-23 Christian Rose * .cvsignore: Added more entries. * sv.po: Added Swedish translation (not complete yet). 2003-04-22 Jeffrey Stedfast * POTFILES.in: Updated - thanks to Christian Rose for the bug reports about missing files/etc. * POTFILES.skip: Added 2003-04-19 Jeffrey Stedfast * ja.po: Added. Thanks to Takeshi AIHANA. alleyoop-0.9.8/po/zh_CN.po0000644000175000001440000002442011503266166012260 00000000000000# Simplified Chinese translation for alleyoop. # Copyright (C) 2004 Free Software Foundation, Inc. # # Fan Zhang , 2004, 2010. msgid "" msgstr "" "Project-Id-Version: alleyoop\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alleyoop&component=general\n" "POT-Creation-Date: 2010-06-26 10:18+0000\n" "PO-Revision-Date: 2010-07-30 18:31+0800\n" "Last-Translator: Aron Xu \n" "Language-Team: Chinese (simplified) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/alleyoop.c:168 msgid "Run Executable..." msgstr "运行可执行程序..." #: ../src/alleyoop.c:182 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" "输入执行程序的路径和任何\n" "您希望传递给它的参数。" #: ../src/alleyoop.c:283 #, c-format msgid "Could not load `%s': %s" msgstr "无法载入“%s”:%s" #: ../src/alleyoop.c:311 msgid "Load Valgrind log..." msgstr "载入 Valgrind 日志..." #: ../src/alleyoop.c:349 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" "无法保存到“%s”:%s\n" "覆盖吗?" #: ../src/alleyoop.c:364 #, c-format msgid "Could not save to `%s': %s" msgstr "无法保存到“%s”:%s" #: ../src/alleyoop.c:410 msgid "Save Valgrind log..." msgstr "保存 Valgrind 日志..." #. This string should be replaced with the name of the translator #: ../src/alleyoop.c:538 msgid "Jeffrey Stedfast" msgstr "Fan Zhang" #: ../src/alleyoop.c:548 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "Alleyoop 是一个 GNOME 环境下的 Valgrind 前端。" #: ../src/alleyoop.c:560 msgid "_Run" msgstr "运行(_R)" #: ../src/alleyoop.c:562 msgid "_Kill" msgstr "杀死(_K)" #: ../src/alleyoop.c:582 msgid "Suppressions" msgstr "抑制" #: ../src/alleyoop.c:582 msgid "View/Edit Suppressions" msgstr "查看/编辑 抑制" #: ../src/alleyoop.c:613 msgid "Tool" msgstr "工具" #: ../src/alleyoop.c:628 msgid "Run" msgstr "运行" #: ../src/alleyoop.c:628 msgid "Run Program" msgstr "运行程序" #: ../src/alleyoop.c:633 msgid "Kill" msgstr "杀死" #: ../src/alleyoop.c:633 msgid "Kill Program" msgstr "杀死程序" #: ../src/alleyoop.c:636 msgid "Open Log File" msgstr "打开日志文件" #: ../src/alleyoop.c:638 msgid "Save Log File" msgstr "保存日志文件" #: ../src/main.c:164 msgid "Display help and quit" msgstr "显示帮助然后退出" #: ../src/main.c:165 msgid "Display version and quit" msgstr "显示版本并退出" #: ../src/main.c:166 msgid "Add to the list of directories to search for source files" msgstr "添加 <目录> 到目录列表中以便搜索源文件" #: ../src/main.c:167 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "把 <目录> 和所有子目录递归添加到目录列表中以便搜索源文件" #: ../src/main.c:168 msgid "Specify the default Valgrind tool to use" msgstr "指定要使用的默认 Valgrind 工具" #: ../src/main.c:209 msgid "Alleyoop" msgstr "Alleyoop" #: ../src/prefs.c:154 msgid "Alleyoop Preferences" msgstr "Alleyoop 首选项" #: ../src/prefs.c:163 msgid "Editor:" msgstr "编辑器:" #: ../src/prefs.c:180 msgid "Preview" msgstr "预览" #: ../src/prefs.c:193 msgid "lines above and below the target line." msgstr "在目标行以上或以下的行。" #: ../src/process.c:52 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "无法创建到“%s”的管道:%s" #: ../src/process.c:107 #, c-format msgid "Failed to create child process '%s': %s" msgstr "无法创建子进程“%s”:%s" #: ../src/vgcachegrindprefs.c:194 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" "设置“%s”中无效的语法。\n" "请输入一个值,它的格式为 “<整数>,<整数>,<整数>”。" #: ../src/vgcachegrindprefs.c:231 msgid "Override default settings" msgstr "覆盖默认设置" #: ../src/vgcachegrindprefs.c:241 msgid "Enter ,,:" msgstr "输入 <大小>,<关联>,<行字数>:" #: ../src/vgcachegrindprefs.c:275 msgid "Cachegrind" msgstr "Cachegrind" #: ../src/vgdefaultview.c:180 msgid "Error contains" msgstr "错误包含" #: ../src/vgdefaultview.c:181 msgid "Function contains" msgstr "函数包含" #: ../src/vgdefaultview.c:182 msgid "Object contains" msgstr "对象包含" #: ../src/vgdefaultview.c:183 msgid "Source filename contains" msgstr "源代码文件名称包含" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:711 msgid "Valgrind Suppression Rules" msgstr "Valgrind 抑制规则" #. FIXME: we should really get this title from somewhere else? #: ../src/vgdefaultview.c:1031 ../src/vgrule-list.c:131 msgid "Valgrind Suppression" msgstr "Valgrind 抑制" #: ../src/vgdefaultview.c:1205 msgid "Cu_t" msgstr "剪切(_T)" #: ../src/vgdefaultview.c:1206 msgid "_Copy" msgstr "复制(_C)" #: ../src/vgdefaultview.c:1207 msgid "_Paste" msgstr "粘贴(_P)" #: ../src/vgdefaultview.c:1209 msgid "Suppress" msgstr "抑制" #: ../src/vgdefaultview.c:1211 msgid "Edit in GNU/Emacs" msgstr "用 GUN/Emacs 编辑" #: ../src/vgdefaultview.c:1212 msgid "Edit in XEmacs" msgstr "用 XEmacs 编辑" #: ../src/vgdefaultview.c:1213 msgid "Edit in GVim" msgstr "用 GVim 编辑" #: ../src/vgdefaultview.c:1214 msgid "Edit in Custom Editor" msgstr "用定制编辑器编辑" #: ../src/vggeneralprefs.c:166 msgid "General" msgstr "常规" #: ../src/vggeneralprefs.c:172 msgid "Demangle c++ symbol names" msgstr "Demangle c++ 符号名称" #: ../src/vggeneralprefs.c:180 msgid "Show" msgstr "显示" #: ../src/vggeneralprefs.c:192 msgid "callers in stack trace" msgstr "在堆栈记录里的调用程序" #: ../src/vggeneralprefs.c:199 msgid "Stop showing errors if there are too many" msgstr "如果有太多的错误,停止显示错误信息" #: ../src/vggeneralprefs.c:208 msgid "Round malloc sizes to next word" msgstr "传递 malloc 字节数给下一个单词" #: ../src/vggeneralprefs.c:217 msgid "Trace any child processes forked off by the program being debugged" msgstr "记录任何被此正被调试的程序派生出来的子进程" #: ../src/vggeneralprefs.c:225 msgid "Track open file descriptors" msgstr "跟踪打开文件的描述符" #: ../src/vggeneralprefs.c:233 msgid "Track origins of undefined values" msgstr "跟踪未定义值的来源" #: ../src/vggeneralprefs.c:241 msgid "Add time stamps to log messages" msgstr "向日志消息添加时间戳" #: ../src/vggeneralprefs.c:249 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "在退出并在检查内存泄漏之前,调用 __libc_freeres()" #: ../src/vggeneralprefs.c:257 msgid "Suppressions File:" msgstr "抑制文件:" #: ../src/vggeneralprefs.c:275 msgid "Choose Valgrind Suppressions File..." msgstr "选择 Valgrind 抑制文件..." #: ../src/vghelgrindprefs.c:223 msgid "Helgrind" msgstr "Helgrind" #: ../src/vghelgrindprefs.c:229 msgid "Consider sync points that happen before:" msgstr "考虑先前发生的同步点:" #: ../src/vghelgrindprefs.c:241 msgid "Trace address:" msgstr "跟踪地址:" #: ../src/vghelgrindprefs.c:262 msgid "Trace level:" msgstr "跟踪级别:" #: ../src/vgmemcheckprefs.c:294 msgid "Memcheck" msgstr "内存检查" #: ../src/vgmemcheckprefs.c:299 msgid "Memory leaks" msgstr "内存泄漏" #: ../src/vgmemcheckprefs.c:305 msgid "Leak check:" msgstr "内存泄漏检查:" #: ../src/vgmemcheckprefs.c:317 msgid "Show reachable blocks in leak check" msgstr "显示泄漏检查中可获得的块" #: ../src/vgmemcheckprefs.c:326 msgid "Leak resolution:" msgstr "泄漏分析:" #: ../src/vgmemcheckprefs.c:345 msgid "Keep up to" msgstr "保持" #: ../src/vgmemcheckprefs.c:357 msgid "bytes in the queue after being free()'d" msgstr "被 free() 后在队列里的字节" #: ../src/vgmemcheckprefs.c:365 msgid "Ignore memory ranges:" msgstr "忽略内存范围:" #: ../src/vgmemcheckprefs.c:381 msgid "Fill malloc'd memory with:" msgstr "添加 malloc 的内存,使用:" #: ../src/vgmemcheckprefs.c:397 msgid "Fill free'd memory with:" msgstr "添加 free 的内存,使用:" #: ../src/vgmemcheckprefs.c:413 msgid "Work around bugs generated by gcc 2.96" msgstr "gcc 2.96 临时解决方案所产生的错误" #: ../src/vgrule-editor.c:130 msgid "Function" msgstr "函数" #: ../src/vgrule-editor.c:135 msgid "Shared Object" msgstr "共享对象" #: ../src/vgrule-editor.c:194 msgid "Grow" msgstr "生长" #: ../src/vgrule-editor.c:198 msgid "Shrink" msgstr "收缩" #: ../src/vgrule-editor.c:224 msgid "Rule name:" msgstr "规则名称:" #: ../src/vgrule-editor.c:234 msgid "Suppress messages of type:" msgstr "抑制消息的类型:" #: ../src/vgrule-editor.c:244 msgid "Suppress when using:" msgstr "抑制, 当使用:" #: ../src/vgrule-editor.c:257 msgid "System call:" msgstr "系统调用:" #: ../src/vgrule-editor.c:268 msgid "Call chain:" msgstr "调用链:" #: ../src/vgrule-editor.c:526 ../src/vgrule-editor.c:541 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "保存到抑制文件“%s”出错:%s" #: ../src/vgrule-list.c:173 ../src/vgrule-list.c:242 msgid "You have forgotten to name your suppression rule." msgstr "您忘记了命名您的抑制规则。" #: ../src/vgrule-list.c:402 msgid "_Edit" msgstr "编辑(_E)" #: ../src/vgrule-list.c:647 #, c-format msgid "Cannot save suppression rules: %s" msgstr "无法保存抑制规则:%s" #: ../src/vgrule-list.c:649 msgid "You have not set a suppressions file in your settings." msgstr "您尚未在您的设置中设定一个抑制文件。" #~ msgid "Skin" #~ msgstr "皮肤" #~ msgid "skin" #~ msgstr "皮肤" #~ msgid "Invalid regular expression: '%s': %s" #~ msgstr "无效的正则表达式:“%s”:%s" #~ msgid "Assume thread stacks are used privately" #~ msgstr "假定多线程堆栈是被私自使用" #~ msgid "Show location of last word access on error:" #~ msgstr "显示错误中被访问的最后单词的地址:" #~ msgid "Search for memory leaks at exit" #~ msgstr "在退出时搜索内存泄漏" #~ msgid "Ignore errors produced by inline strlen() calls" #~ msgstr "忽略行内 strlen() 调用所产生的错误" alleyoop-0.9.8/po/ga.po0000644000175000001440000001656711276130505011655 00000000000000# Irish (gaeilge) translations for alleyoop # Copyright (C) 2004 Alastair McKinstry # This file is distributed under the same license as the PACKAGE package. # Alastair McKinstry , 2004. # msgid "" msgstr "" "Project-Id-Version: alleyoop HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2003-10-21 14:57-0400\n" "PO-Revision-Date: 2004-03-10 07:30+0000\n" "Last-Translator: Alastair McKinstry \n" "Language-Team: Irish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/alleyoop.c:175 msgid "Run Executable..." msgstr "" #: src/alleyoop.c:189 msgid "" "Enter the path to an executable and\n" "any arguments you wish to pass to it." msgstr "" #: src/alleyoop.c:290 #, c-format msgid "Could not load `%s': %s" msgstr "Teip ag lódáil '%s': %s" #: src/alleyoop.c:318 msgid "Load Valgrind log..." msgstr "Lódáil log Valgrind..." #: src/alleyoop.c:356 #, c-format msgid "" "Could not save to `%s': %s\n" "Overwrite?" msgstr "" #: src/alleyoop.c:371 #, c-format msgid "Could not save to `%s': %s" msgstr "Earraidh ag sábháil do '%s': %s" #: src/alleyoop.c:417 msgid "Save Valgrind log..." msgstr "Sábháil log Valgrind..." #. This string should be replaced with the name of the translator #: src/alleyoop.c:543 msgid "Jeffrey Stedfast" msgstr "Alastair McKinstry" #: src/alleyoop.c:553 msgid "Alleyoop is a Valgrind front-end for the GNOME environment." msgstr "" #: src/alleyoop.c:565 msgid "_Run" msgstr "_Rith" #: src/alleyoop.c:567 msgid "_Kill" msgstr "" #: src/alleyoop.c:587 msgid "Suppressions" msgstr "" #: src/alleyoop.c:587 msgid "View/Edit Suppressions" msgstr "" #: src/alleyoop.c:618 msgid "Skin" msgstr "" #: src/alleyoop.c:633 msgid "Run" msgstr "Rith" #: src/alleyoop.c:633 msgid "Run Program" msgstr "Rith Ríomhchlár" #: src/alleyoop.c:638 msgid "Kill" msgstr "" #: src/alleyoop.c:638 msgid "Kill Program" msgstr "" #: src/alleyoop.c:641 msgid "Open Log File" msgstr "Oscail Comhad Log" #: src/alleyoop.c:643 msgid "Save Log File" msgstr "Sábháil Comhad Log" #: src/main.c:47 msgid "Print version and exit" msgstr "Taispeán leagan agus éirigh as" #: src/main.c:49 msgid "Add to the list of directories to search for source files" msgstr "" #: src/main.c:51 msgid "" "Recursively add and all subdirectories to the list of directories to " "search for source files" msgstr "" #: src/main.c:52 msgid "skin" msgstr "cuma" #: src/main.c:53 msgid "Specify the default skin (mode) to use" msgstr "" #: src/main.c:124 msgid "Alleyoop" msgstr "Alleyoop" #: src/prefs.c:156 msgid "Alleyoop Preferences" msgstr "Roghnachais do Alleyoop" #: src/prefs.c:165 msgid "Editor:" msgstr "Eagarthóir:" #: src/prefs.c:182 msgid "Preview" msgstr "Reamhtaispeántas" #: src/prefs.c:195 msgid "lines above and below the target line." msgstr "" #: src/process.c:55 #, c-format msgid "Failed to create pipe to '%s': %s" msgstr "Teip ag cruthaigh piopa do '%s': %s" #: src/process.c:108 #, c-format msgid "Failed to create child process '%s': %s" msgstr "" #: src/vgcachegrindprefs.c:196 #, c-format msgid "" "Invalid syntax in settings '%s'.\n" "Please enter a value of the form \",,\"." msgstr "" #: src/vgcachegrindprefs.c:233 msgid "Override default settings" msgstr "" #: src/vgcachegrindprefs.c:243 msgid "Enter ,,:" msgstr "" #: src/vgcachegrindprefs.c:277 msgid "Cachegrind" msgstr "Cachegrind" #: src/vgdefaultview.c:183 msgid "Error contains" msgstr "" #: src/vgdefaultview.c:184 msgid "Function contains" msgstr "" #: src/vgdefaultview.c:185 msgid "Object contains" msgstr "" #: src/vgdefaultview.c:186 msgid "Source filename contains" msgstr "" #: src/vgdefaultview.c:223 #, c-format msgid "Invalid regular expression: '%s': %s" msgstr "" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:705 msgid "Valgrind Suppression Rules" msgstr "" #. FIXME: we should really get this title from somewhere else? #: src/vgdefaultview.c:1046 src/vgrule-list.c:134 msgid "Valgrind Suppression" msgstr "" #: src/vgdefaultview.c:1220 msgid "Cu_t" msgstr "_Gearr" #: src/vgdefaultview.c:1221 msgid "_Copy" msgstr "_Cóip" #: src/vgdefaultview.c:1222 msgid "_Paste" msgstr "Gre_amaigh" #: src/vgdefaultview.c:1224 msgid "Suppress" msgstr "" #: src/vgdefaultview.c:1226 msgid "Edit in GNU/Emacs" msgstr "Eagar san GNU/Emacs" #: src/vgdefaultview.c:1227 msgid "Edit in XEmacs" msgstr "Eagar san XEMacs" #: src/vgdefaultview.c:1228 msgid "Edit in GVim" msgstr "Eagar san GVim" #: src/vgdefaultview.c:1229 msgid "Edit in Custom Editor" msgstr "Eagar san Eagarthóir féindheanamh" #: src/vggeneralprefs.c:158 msgid "General" msgstr "Gineréal" #: src/vggeneralprefs.c:164 msgid "Demangle c++ symbol names" msgstr "" #: src/vggeneralprefs.c:172 msgid "Show" msgstr "Taispeán" #: src/vggeneralprefs.c:184 msgid "callers in stack trace" msgstr "" #: src/vggeneralprefs.c:191 msgid "Stop showing errors if there are too many" msgstr "" #: src/vggeneralprefs.c:199 msgid "Round malloc sizes to next word" msgstr "" #: src/vggeneralprefs.c:207 msgid "Trace any child processes forked off by the program being debugged" msgstr "" #: src/vggeneralprefs.c:215 msgid "Call __libc_freeres() at exit before checking for memory leaks" msgstr "" #: src/vggeneralprefs.c:223 msgid "Suppressions File:" msgstr "" #: src/vggeneralprefs.c:228 msgid "Choose Valgrind Suppressions File..." msgstr "" #: src/vghelgrindprefs.c:163 msgid "Helgrind" msgstr "" #: src/vghelgrindprefs.c:168 msgid "Assume thread stacks are used privately" msgstr "" #: src/vghelgrindprefs.c:177 msgid "Show location of last word access on error:" msgstr "" #: src/vgmemcheckprefs.c:187 msgid "Memcheck" msgstr "" #: src/vgmemcheckprefs.c:192 msgid "Memory leaks" msgstr "" #: src/vgmemcheckprefs.c:197 msgid "Search for memory leaks at exit" msgstr "" #: src/vgmemcheckprefs.c:205 msgid "Show reachable blocks in leak check" msgstr "" #: src/vgmemcheckprefs.c:213 msgid "Leak resolution:" msgstr "" #: src/vgmemcheckprefs.c:231 msgid "Keep up to" msgstr "" #: src/vgmemcheckprefs.c:243 msgid "bytes in the queue after being free()'d" msgstr "" #: src/vgmemcheckprefs.c:250 msgid "Work around bugs generated by gcc 2.96" msgstr "" #: src/vgmemcheckprefs.c:258 msgid "Ignore errors produced by inline strlen() calls" msgstr "" #: src/vgrule-editor.c:133 msgid "Function" msgstr "" #: src/vgrule-editor.c:138 msgid "Shared Object" msgstr "" #: src/vgrule-editor.c:197 msgid "Grow" msgstr "" #: src/vgrule-editor.c:201 msgid "Shrink" msgstr "" #: src/vgrule-editor.c:227 msgid "Rule name:" msgstr "" #: src/vgrule-editor.c:237 msgid "Suppress messages of type:" msgstr "" #: src/vgrule-editor.c:247 msgid "Suppress when using:" msgstr "" #: src/vgrule-editor.c:260 msgid "System call:" msgstr "" #: src/vgrule-editor.c:271 msgid "Call chain:" msgstr "" #: src/vgrule-editor.c:530 src/vgrule-editor.c:545 #, c-format msgid "Error saving to suppression file `%s': %s" msgstr "" #: src/vgrule-list.c:176 src/vgrule-list.c:243 msgid "You have forgotten to name your suppression rule." msgstr "" #: src/vgrule-list.c:403 msgid "_Edit" msgstr "_Eagar" #: src/vgrule-list.c:648 #, c-format msgid "Cannot save suppression rules: %s" msgstr "" #: src/vgrule-list.c:650 msgid "You have not set a suppressions file in your settings." msgstr "" alleyoop-0.9.8/configure0000755000175000001440000102404711673145624012221 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.68. # # # 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 about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: 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'" 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= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= PACKAGE_URL= ac_unique_file="configure.in" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS GNOME_LIBS GNOME_CFLAGS DISABLE_DEPRECATED GCONF_SCHEMAS_INSTALL_FALSE GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMA_CONFIG_SOURCE GCONFTOOL GLIB_MKENUMS GOBJECT_QUERY GLIB_GENMARSHAL GLIB_LIBS GLIB_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG GVIM XEMACS EMACS EMACSCLIENT LDD VALGRIND ALL_LINGUAS INTLTOOL_PERL MSGMERGE 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_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE MKINSTALLDIRS POSUB POFILES PO_IN_DATADIR_FALSE PO_IN_DATADIR_TRUE INTLLIBS INSTOBJEXT GMOFILES DATADIRNAME CATOBJEXT CATALOGS XGETTEXT GMSGFMT MSGFMT_OPTS MSGFMT USE_NLS GETTEXT_PACKAGE LN_S EGREP GREP CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC host_os host_vendor host_cpu host build_os build_vendor build_cpu build MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_maintainer_mode enable_dependency_tracking enable_nls enable_glibtest with_gconf_source with_gconf_schema_file_dir enable_schemas_install enable_deprecated enable_vgstrpool ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR GNOME_CFLAGS GNOME_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}' 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 this package 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/PACKAGE] --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 cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --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-glibtest do not try to compile and run a test GLIB program --disable-schemas-install Disable the schemas installation --disable-deprecated Disable the usage of deprecated Gtk/GNOME widgets --enable-vgstrpool Enable the use of string pools. Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gconf-source=sourceaddress Config database for installing schema files. --with-gconf-schema-file-dir=dir Directory for installing schema files. 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 GNOME_CFLAGS C compiler flags for GNOME, overriding pkg-config GNOME_LIBS linker flags for GNOME, 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 the package provider. _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 configure 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_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 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, 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 # 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 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 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=alleyoop VERSION=0.9.8 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. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE ac_config_headers="$ac_config_headers config.h" # 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 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='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= 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 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 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'. 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 ;; 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 $as_echo_n "checking for library containing strerror... " >&6; } if ${ac_cv_search_strerror+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char strerror (); int main () { return strerror (); ; return 0; } _ACEOF for ac_lib in '' cposix; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_strerror=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_strerror+:} false; then : break fi done if ${ac_cv_search_strerror+:} false; then : else ac_cv_search_strerror=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 $as_echo "$ac_cv_search_strerror" >&6; } ac_res=$ac_cv_search_strerror if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 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 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 { $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 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'. 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 ;; 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 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 { $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 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'. 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 ;; 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 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc 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" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; 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, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi { $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 GETTEXT_PACKAGE=alleyoop cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in locale.h do : ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" if test "x$ac_cv_header_locale_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LOCALE_H 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 $as_echo_n "checking for LC_MESSAGES... " >&6; } if ${am_cv_val_LC_MESSAGES+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_val_LC_MESSAGES=yes else am_cv_val_LC_MESSAGES=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 $as_echo "$am_cv_val_LC_MESSAGES" >&6; } if test $am_cv_val_LC_MESSAGES = yes; then $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" if test "x$ac_cv_header_libintl_h" = xyes; then : gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 $as_echo_n "checking for ngettext in libc... " >&6; } if ${gt_cv_func_ngettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_ngettext_libc=yes else gt_cv_func_ngettext_libc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 $as_echo "$gt_cv_func_ngettext_libc" >&6; } if test "$gt_cv_func_ngettext_libc" = "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 $as_echo_n "checking for dgettext in libc... " >&6; } if ${gt_cv_func_dgettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_dgettext_libc=yes else gt_cv_func_dgettext_libc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 $as_echo "$gt_cv_func_dgettext_libc" >&6; } fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF fi done fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } if ${ac_cv_lib_intl_bindtextdomain+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char bindtextdomain (); int main () { return bindtextdomain (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_bindtextdomain=yes else ac_cv_lib_intl_bindtextdomain=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if ${ac_cv_lib_intl_ngettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_ngettext=yes else ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 $as_echo_n "checking for dgettext in -lintl... " >&6; } if ${ac_cv_lib_intl_dgettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dgettext (); int main () { return dgettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_dgettext=yes else ac_cv_lib_intl_dgettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } if test "x$ac_cv_lib_intl_dgettext" = xyes; then : gt_cv_func_dgettext_libintl=yes fi fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 $as_echo "" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if ${ac_cv_lib_intl_ngettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_ngettext=yes else ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 $as_echo_n "checking for dcgettext in -lintl... " >&6; } if ${ac_cv_lib_intl_dcgettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dcgettext (); int main () { return dcgettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_dcgettext=yes else ac_cv_lib_intl_dcgettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else : fi else : fi fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF fi done LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h # 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. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; 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 if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do : ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" if test "x$ac_cv_func_dcgettext" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DCGETTEXT 1 _ACEOF fi done MSGFMT_OPTS= { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 $as_echo_n "checking if msgfmt accepts -c... " >&6; } cat >conftest.foo <<_ACEOF msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" _ACEOF if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then MSGFMT_OPTS=-c; { $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; } echo "$as_me: failed input was:" >&5 sed 's/^/| /' conftest.foo >&5 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 # 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. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi 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 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 : CATOBJEXT=.gmo 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 : CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi fi if test "$gt_cv_have_gettext" = "yes" ; then $as_echo "#define ENABLE_NLS 1" >>confdefs.h fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po ac_config_commands="$ac_config_commands default-1" for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 $as_echo_n "checking for catalogs to be installed... " >&6; } NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; 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 NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 $as_echo "$LINGUAS" >&6; } fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES { $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 if test -n "0.35.0"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5 $as_echo_n "checking for intltool >= 0.35.0... " >&6; } INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | 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; }'` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 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 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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) ; LC_ALL=C $(INTLTOOL_MERGE) -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 # Extract the first word of "valgrind", so it can be a program name with args. set dummy valgrind; 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_VALGRIND+:} false; then : $as_echo_n "(cached) " >&6 else case $VALGRIND in [\\/]* | ?:[\\/]*) ac_cv_path_VALGRIND="$VALGRIND" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /usr/bin $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_VALGRIND="$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_VALGRIND" && ac_cv_path_VALGRIND="not-found" ;; esac fi VALGRIND=$ac_cv_path_VALGRIND if test -n "$VALGRIND"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 $as_echo "$VALGRIND" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$VALGRIND" == "xnot-found"; then as_fn_error $? "You need valgrind installed in order to build Alleyoop." "$LINENO" 5 fi cat >>confdefs.h <<_ACEOF #define VALGRIND_PATH "$VALGRIND" _ACEOF # Extract the first word of "ldd", so it can be a program name with args. set dummy ldd; 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_LDD+:} false; then : $as_echo_n "(cached) " >&6 else case $LDD in [\\/]* | ?:[\\/]*) ac_cv_path_LDD="$LDD" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /usr/bin $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_LDD="$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_LDD" && ac_cv_path_LDD="not-found" ;; esac fi LDD=$ac_cv_path_LDD if test -n "$LDD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5 $as_echo "$LDD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$LDD" == "xnot-found"; then as_fn_error $? "You need ldd installed in order to build Alleyoop." "$LINENO" 5 fi cat >>confdefs.h <<_ACEOF #define LDD_PATH "$LDD" _ACEOF # Extract the first word of "emacsclient", so it can be a program name with args. set dummy emacsclient; 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_EMACSCLIENT+:} false; then : $as_echo_n "(cached) " >&6 else case $EMACSCLIENT in [\\/]* | ?:[\\/]*) ac_cv_path_EMACSCLIENT="$EMACSCLIENT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /usr/bin $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_EMACSCLIENT="$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_EMACSCLIENT" && ac_cv_path_EMACSCLIENT="emacsclient" ;; esac fi EMACSCLIENT=$ac_cv_path_EMACSCLIENT if test -n "$EMACSCLIENT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACSCLIENT" >&5 $as_echo "$EMACSCLIENT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi cat >>confdefs.h <<_ACEOF #define EMACSCLIENT_PATH "$EMACSCLIENT" _ACEOF # Extract the first word of "emacs", so it can be a program name with args. set dummy emacs; 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_EMACS+:} false; then : $as_echo_n "(cached) " >&6 else case $EMACS in [\\/]* | ?:[\\/]*) ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /usr/bin $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_EMACS="$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_EMACS" && ac_cv_path_EMACS="emacs" ;; esac fi EMACS=$ac_cv_path_EMACS if test -n "$EMACS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5 $as_echo "$EMACS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi cat >>confdefs.h <<_ACEOF #define EMACS_PATH "$EMACS" _ACEOF # Extract the first word of "xemacs", so it can be a program name with args. set dummy xemacs; 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_XEMACS+:} false; then : $as_echo_n "(cached) " >&6 else case $XEMACS in [\\/]* | ?:[\\/]*) ac_cv_path_XEMACS="$XEMACS" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /usr/bin $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_XEMACS="$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_XEMACS" && ac_cv_path_XEMACS="xemacs" ;; esac fi XEMACS=$ac_cv_path_XEMACS if test -n "$XEMACS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XEMACS" >&5 $as_echo "$XEMACS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi cat >>confdefs.h <<_ACEOF #define XEMACS_PATH "$XEMACS" _ACEOF # Extract the first word of "gvim", so it can be a program name with args. set dummy gvim; 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_GVIM+:} false; then : $as_echo_n "(cached) " >&6 else case $GVIM in [\\/]* | ?:[\\/]*) ac_cv_path_GVIM="$GVIM" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /usr/bin $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_GVIM="$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_GVIM" && ac_cv_path_GVIM="gvim" ;; esac fi GVIM=$ac_cv_path_GVIM if test -n "$GVIM"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GVIM" >&5 $as_echo "$GVIM" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi cat >>confdefs.h <<_ACEOF #define GVIM_PATH "$GVIM" _ACEOF # Check whether --enable-glibtest was given. if test "${enable_glibtest+set}" = set; then : enableval=$enable_glibtest; else enable_glibtest=yes fi pkg_config_args=glib-2.0 for module in . do case "$module" in gmodule) pkg_config_args="$pkg_config_args gmodule-2.0" ;; gmodule-no-export) pkg_config_args="$pkg_config_args gmodule-no-export-2.0" ;; gobject) pkg_config_args="$pkg_config_args gobject-2.0" ;; gthread) pkg_config_args="$pkg_config_args gthread-2.0" ;; gio*) pkg_config_args="$pkg_config_args $module-2.0" ;; esac done if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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 no_glib="" if test "x$PKG_CONFIG" = x ; then no_glib=yes PKG_CONFIG=no fi min_glib_version=2.0.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; } if test x$PKG_CONFIG != xno ; then ## don't try to run the test against uninstalled libtool libs if $PKG_CONFIG --uninstalled $pkg_config_args; then echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH" enable_glibtest=no fi if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then : else no_glib=yes fi fi if test x"$no_glib" = x ; then GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0` GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args` GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args` glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` if test "x$enable_glibtest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$GLIB_LIBS $LIBS" rm -f conf.glibtest if test "$cross_compiling" = yes; then : echo $ac_n "cross compiling; assumed OK... $ac_c" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { unsigned int major, minor, micro; char *tmp_version; fclose (fopen ("conf.glibtest", "w")); /* HP/UX 9 (%@#!) writes to sscanf strings */ tmp_version = g_strdup("$min_glib_version"); if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "$min_glib_version"); exit(1); } if ((glib_major_version != $glib_config_major_version) || (glib_minor_version != $glib_config_minor_version) || (glib_micro_version != $glib_config_micro_version)) { printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, glib_major_version, glib_minor_version, glib_micro_version); printf ("*** was found! If pkg-config was correct, then it is best\n"); printf ("*** to remove the old version of GLib. You may also be able to fix the error\n"); printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** required on your system.\n"); printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); printf("*** to point to the correct configuration files\n"); } else if ((glib_major_version != GLIB_MAJOR_VERSION) || (glib_minor_version != GLIB_MINOR_VERSION) || (glib_micro_version != GLIB_MICRO_VERSION)) { printf("*** GLIB header files (version %d.%d.%d) do not match\n", GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); printf("*** library (version %d.%d.%d)\n", glib_major_version, glib_minor_version, glib_micro_version); } else { if ((glib_major_version > major) || ((glib_major_version == major) && (glib_minor_version > minor)) || ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) { return 0; } else { printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n", glib_major_version, glib_minor_version, glib_micro_version); printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n", major, minor, micro); printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); printf("***\n"); printf("*** If you have already installed a sufficiently new version, this error\n"); printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n"); printf("*** correct copy of pkg-config. (In this case, you will have to\n"); printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); } } return 1; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else no_glib=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_glib" = x ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; } : else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if test "$PKG_CONFIG" = "no" ; then echo "*** A new enough version of pkg-config was not found." echo "*** See http://www.freedesktop.org/software/pkgconfig/" else if test -f conf.glibtest ; then : else echo "*** Could not run GLIB test program, checking why..." ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$LIBS $GLIB_LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GLIB or finding the wrong" echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" else echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means GLIB is incorrectly installed." fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi GLIB_CFLAGS="" GLIB_LIBS="" GLIB_GENMARSHAL="" GOBJECT_QUERY="" GLIB_MKENUMS="" : fi rm -f conf.glibtest # Extract the first word of "gconftool-2", so it can be a program name with args. set dummy gconftool-2; 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_GCONFTOOL+:} false; then : $as_echo_n "(cached) " >&6 else case $GCONFTOOL in [\\/]* | ?:[\\/]*) ac_cv_path_GCONFTOOL="$GCONFTOOL" # 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_GCONFTOOL="$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_GCONFTOOL" && ac_cv_path_GCONFTOOL="no" ;; esac fi GCONFTOOL=$ac_cv_path_GCONFTOOL if test -n "$GCONFTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5 $as_echo "$GCONFTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$GCONFTOOL" = "xno"; then as_fn_error $? "gconftool-2 executable not found in your path - should be installed with GConf" "$LINENO" 5 fi if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` else GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE fi # Check whether --with-gconf-source was given. if test "${with_gconf_source+set}" = set; then : withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; } if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' fi # Check whether --with-gconf-schema-file-dir was given. if test "${with_gconf_schema_file_dir+set}" = set; then : withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; } # Check whether --enable-schemas-install was given. if test "${enable_schemas_install+set}" = set; then : enableval=$enable_schemas_install; case ${enableval} in yes|no) ;; *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;; esac fi if test "$enable_schemas_install" != no; then GCONF_SCHEMAS_INSTALL_TRUE= GCONF_SCHEMAS_INSTALL_FALSE='#' else GCONF_SCHEMAS_INSTALL_TRUE='#' GCONF_SCHEMAS_INSTALL_FALSE= fi # Check whether --enable-deprecated was given. if test "${enable_deprecated+set}" = set; then : enableval=$enable_deprecated; else enable_deprecated="yes" fi if test "x$enable_deprecated" = "xno"; then DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED" else DISABLE_DEPRECATED="" fi # Check whether --enable-vgstrpool was given. if test "${enable_vgstrpool+set}" = set; then : enableval=$enable_vgstrpool; else enable_vgstrpool="yes" fi if test "x$enable_vgstrpool" = "xyes"; then $as_echo "#define ENABLE_STRPOOL 1" >>confdefs.h fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5 $as_echo_n "checking for GNOME... " >&6; } if test -n "$GNOME_CFLAGS"; then pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GNOME_LIBS"; then pkg_cv_GNOME_LIBS="$GNOME_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0" 2>/dev/null` 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 GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0" 2>&1` else GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GNOME_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0) were not met: $GNOME_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 GNOME_CFLAGS and GNOME_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 GNOME_CFLAGS and GNOME_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 GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS GNOME_LIBS=$pkg_cv_GNOME_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi CFLAGS="$CFLAGS -fno-strict-aliasing" ac_config_files="$ac_config_files Makefile src/Makefile 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 -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. 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 -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 -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 ac_config_commands="$ac_config_commands po/stamp-it" if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -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 $as_me, 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 the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ config.status 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" _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" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 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 } ;; "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; "po/stamp-it":C) if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 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 alleyoop-0.9.8/src/0000755000175000001440000000000011673145660011151 500000000000000alleyoop-0.9.8/src/vgio.c0000644000175000001440000000265111276130505012174 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include ssize_t vg_read (int fd, char *buf, size_t n) { ssize_t nread; do { nread = read (fd, buf, n); } while (nread == -1 && errno == EINTR); return nread; } ssize_t vg_write (int fd, const char *buf, size_t n) { size_t nwritten = 0; ssize_t w; do { do { w = write (fd, buf + nwritten, n - nwritten); } while (w == -1 && errno == EINTR); if (w == -1) return -1; nwritten += w; } while (nwritten < n); return nwritten; } alleyoop-0.9.8/src/vgmarshal.list0000644000175000001440000000004011276130505013733 00000000000000NONE:NONE NONE:INT NONE:POINTER alleyoop-0.9.8/src/prefs.h0000644000175000001440000000414611276130505012355 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __ALLEYOOP_PREFS_H__ #define __ALLEYOOP_PREFS_H__ #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define ALLEYOOP_TYPE_PREFS (alleyoop_prefs_get_type ()) #define ALLEYOOP_PREFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ALLEYOOP_TYPE_PREFS, AlleyoopPrefs)) #define ALLEYOOP_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ALLEYOOP_TYPE_PREFS, AlleyoopPrefsClass)) #define IS_ALLEYOOP_PREFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ALLEYOOP_TYPE_PREFS)) #define IS_ALLEYOOP_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ALLEYOOP_TYPE_PREFS)) #define ALLEYOOP_PREFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ALLEYOOP_TYPE_PREFS, AlleyoopPrefsClass)) typedef struct _AlleyoopPrefs AlleyoopPrefs; typedef struct _AlleyoopPrefsClass AlleyoopPrefsClass; struct _AlleyoopPrefs { GtkDialog parent_object; GtkEntry *editor; GtkSpinButton *numlines; GtkWidget *pages[4]; }; struct _AlleyoopPrefsClass { GtkDialogClass parent_class; }; GType alleyoop_prefs_get_class (void); GtkWidget *alleyoop_prefs_new (void); GPtrArray *alleyoop_prefs_create_argv (AlleyoopPrefs *prefs, const char *tool); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __ALLEYOOP_PREFS_H__ */ alleyoop-0.9.8/src/vgdefaultview.h0000644000175000001440000000446211303120215014077 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_DEFAULT_VIEW_H__ #define __VG_DEFAULT_VIEW_H__ #include #include #include #include "vgtoolview.h" #include "vgerror.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_DEFAULT_VIEW (vg_default_view_get_type ()) #define VG_DEFAULT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_DEFAULT_VIEW, VgDefaultView)) #define VG_DEFAULT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_DEFAULT_VIEW, VgDefaultViewClass)) #define VG_IS_DEFAULT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_DEFAULT_VIEW)) #define VG_IS_DEFAULT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_DEFAULT_VIEW)) #define VG_DEFAULT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_DEFAULT_VIEW, VgDefaultViewClass)) typedef struct _VgDefaultView VgDefaultView; typedef struct _VgDefaultViewClass VgDefaultViewClass; struct _VgDefaultView { VgToolView parent_object; GConfClient *gconf; GtkWidget *table; GtkWidget *rule_list; GPtrArray *errors; VgErrorParser *parser; GPtrArray *suppressions; GRegex *search_regex; int search_id; guint rules_id; int srclines; guint lines_id; }; struct _VgDefaultViewClass { VgToolViewClass parent_class; }; GType vg_default_view_get_type (void); GtkWidget *vg_default_view_new (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_DEFAULT_VIEW_H__ */ alleyoop-0.9.8/src/process.h0000644000175000001440000000241311276130505012707 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __PROCESS_H__ #define __PROCESS_H__ #include #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ pid_t process_fork (const char *path, char **argv, gboolean redirect, int ignfd, int *infd, int *outfd, int *errfd, GError **err); int process_wait (pid_t pid); int process_kill (pid_t pid); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __PROCESS_H__ */ alleyoop-0.9.8/src/Makefile.am0000644000175000001440000000362411333307120013112 00000000000000## Process this file with automake to produce Makefile.in INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ -DPACKAGE_GLADE_DIR=\""$(gladedir)"\" \ @DISABLE_DEPRECATED@ \ @GNOME_CFLAGS@ bin_PROGRAMS=alleyoop alleyoop_SOURCES = \ alleyoop.c \ alleyoop.h \ getopts.c \ getopts.h \ legolas.c \ legolas.h \ list.c \ list.h \ menu-utils.c \ menu-utils.h \ parser.c \ parser.h \ prefs.c \ prefs.h \ process.c \ process.h \ vgcachegrindprefs.c \ vgcachegrindprefs.h \ vgdefaultview.c \ vgdefaultview.h \ vgerror.c \ vgerror.h \ vggeneralprefs.c \ vggeneralprefs.h \ vghelgrindprefs.c \ vghelgrindprefs.h \ vgio.c \ vgio.h \ vgmarshal.c \ vgmarshal.h \ vgmemcheckprefs.c \ vgmemcheckprefs.h \ vgrule.c \ vgrule.h \ vgrule-editor.c \ vgrule-editor.h \ vgrule-list.c \ vgrule-list.h \ vgrulepattern.c \ vgrulepattern.h \ vgsearchbar.c \ vgsearchbar.h \ vgstrpool.c \ vgstrpool.h \ vgtoolprefs.c \ vgtoolprefs.h \ vgtoolview.c \ vgtoolview.h \ main.c alleyoop_LDADD = @GNOME_LIBS@ $(INTLLIBS) vgmarshal.h: vgmarshal.list ( @GLIB_GENMARSHAL@ --prefix=vg_marshal $(srcdir)/vgmarshal.list --header > vgmarshal.h.tmp \ && mv vgmarshal.h.tmp vgmarshal.h ) \ || ( rm -f vgmarshal.h.tmp && exit 1 ) vgmarshal.c: vgmarshal.h ( @GLIB_GENMARSHAL@ --prefix=vg_marshal $(srcdir)/vgmarshal.list --body > vgmarshal.c.tmp \ && mv vgmarshal.c.tmp vgmarshal.c ) \ || ( rm -f vgmarshal.c.tmp && exit 1 ) MARSHAL_GENERATED = vgmarshal.c vgmarshal.h schemadir = @GCONF_SCHEMA_FILE_DIR@ schema_DATA = alleyoop.schemas install-data-local: GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA) EXTRA_DIST = \ $(schema_DATA) \ vgmarshal.list BUILT_SOURCES = $(MARSHAL_GENERATED) CLEANFILES = $(BUILT_SOURCES) alleyoop-0.9.8/src/vgrule-editor.c0000644000175000001440000003612211276130505014020 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include "vgrule-editor.h" static void vg_rule_editor_class_init (VgRuleEditorClass *klass); static void vg_rule_editor_init (VgRuleEditor *editor); static void vg_rule_editor_destroy (GtkObject *obj); static void vg_rule_editor_finalize (GObject *obj); static GtkVBoxClass *parent_class = NULL; GType vg_rule_editor_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (VgRuleEditorClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) vg_rule_editor_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (VgRuleEditor), 0, /* n_preallocs */ NULL /*(GInstanceInitFunc) vg_rule_editor_init*/, }; type = g_type_register_static (GTK_TYPE_VBOX, "VgRuleEditor", &info, 0); } return type; } static void vg_rule_editor_class_init (VgRuleEditorClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); parent_class = g_type_class_ref (GTK_TYPE_VBOX); object_class->finalize = vg_rule_editor_finalize; gtk_object_class->destroy = vg_rule_editor_destroy; } static void type_menu_changed (GtkMenuItem *item, gpointer user_data) { VgRuleEditor *editor = user_data; vgrule_t type; type = GPOINTER_TO_INT (g_object_get_data ((GObject *) item, "vgrule_t")); gtk_widget_set_sensitive ((GtkWidget *) editor->syscall, type == VG_RULE_PARAM); } static GtkWidget * rule_type_menu_new (VgRuleEditor *editor) { GtkWidget *omenu, *menu, *item; int i; omenu = gtk_option_menu_new (); menu = gtk_menu_new (); for (i = 0; i < VG_RULE_LAST; i++) { item = gtk_menu_item_new_with_label (vg_rule_type_to_name (i)); g_object_set_data ((GObject *) item, "vgrule_t", GINT_TO_POINTER (i)); g_signal_connect (item, "activate", G_CALLBACK (type_menu_changed), editor); gtk_widget_show (item); gtk_menu_shell_append ((GtkMenuShell *) menu, item); editor->types[i] = item; } gtk_widget_show (menu); gtk_option_menu_set_menu ((GtkOptionMenu *) omenu, menu); return omenu; } static GtkWidget * call_stack_frame_new (vgcaller_t type, const char *name) { GtkWidget *hbox, *omenu, *entry; GtkWidget *menu, *item; hbox = gtk_hbox_new (FALSE, 6); omenu = gtk_option_menu_new (); menu = gtk_menu_new (); item = gtk_menu_item_new_with_label (_("Function")); gtk_widget_show (item); gtk_menu_shell_append ((GtkMenuShell *) menu, item); g_object_set_data ((GObject *) item, "vgcaller_t", GINT_TO_POINTER (VG_CALLER_FUNCTION)); item = gtk_menu_item_new_with_label (_("Shared Object")); gtk_widget_show (item); gtk_menu_shell_append ((GtkMenuShell *) menu, item); g_object_set_data ((GObject *) item, "vgcaller_t", GINT_TO_POINTER (VG_CALLER_OBJECT)); gtk_widget_show (menu); gtk_option_menu_set_menu ((GtkOptionMenu *) omenu, menu); gtk_option_menu_set_history ((GtkOptionMenu *) omenu, (int) type); gtk_widget_show (omenu); gtk_box_pack_start (GTK_BOX (hbox), omenu, FALSE, FALSE, 0); entry = gtk_entry_new (); gtk_entry_set_text ((GtkEntry *) entry, name ? name : ""); gtk_widget_show (entry); gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, TRUE, 0); g_object_set_data ((GObject *) hbox, "omenu", omenu); g_object_set_data ((GObject *) hbox, "entry", entry); return hbox; } static void grow_cb (GtkButton *button, VgRuleEditor *editor) { GtkWidget *caller; int len; len = editor->callers->len; caller = call_stack_frame_new (0, NULL); g_ptr_array_add (editor->callers, caller); gtk_widget_show (caller); gtk_box_pack_start (editor->call_stack, caller, FALSE, FALSE, 0); } static void shrink_cb (GtkButton *button, VgRuleEditor *editor) { int i; if (editor->callers->len == 1) return; i = editor->callers->len - 1; gtk_widget_destroy (editor->callers->pdata[i]); g_ptr_array_remove_index (editor->callers, editor->callers->len - 1); } static GtkWidget * call_stack_new (VgRuleEditor *editor) { GtkWidget *vbox, *hbox, *button; GtkWidget *widget; int i; vbox = gtk_vbox_new (FALSE, 3); hbox = gtk_hbox_new (FALSE, 6); button = gtk_button_new_with_label (_("Grow")); gtk_widget_show (button); gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0); g_signal_connect (button, "clicked", G_CALLBACK (grow_cb), editor); button = gtk_button_new_with_label (_("Shrink")); gtk_widget_show (button); gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0); g_signal_connect (button, "clicked", G_CALLBACK (shrink_cb), editor); gtk_widget_show (hbox); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); for (i = 0; i < editor->callers->len; i++) { widget = editor->callers->pdata[i]; gtk_widget_show (widget); gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE, FALSE, 0); } return vbox; } static void vg_rule_editor_init (VgRuleEditor *editor) { GtkWidget *vbox, *hbox, *label; GtkWidget *widget; vbox = (GtkWidget *) editor; gtk_box_set_spacing ((GtkBox *) vbox, 6); hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Rule name:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); editor->name = (GtkEntry *) (widget = gtk_entry_new ()); gtk_widget_show (widget); gtk_box_pack_start (GTK_BOX (hbox), widget, TRUE, TRUE, 0); gtk_widget_show (hbox); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Suppress messages of type:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); editor->type = (GtkOptionMenu *) (widget = rule_type_menu_new (editor)); gtk_widget_show (widget); gtk_box_pack_start (GTK_BOX (hbox), widget, TRUE, TRUE, 0); gtk_widget_show (hbox); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Suppress when using:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); editor->addrcheck = (GtkToggleButton *) (widget = gtk_check_button_new_with_label ("Addrcheck")); gtk_widget_show (widget); gtk_box_pack_start (GTK_BOX (hbox), widget, FALSE, FALSE, 0); editor->memcheck = (GtkToggleButton *) (widget = gtk_check_button_new_with_label ("Memcheck")); gtk_widget_show (widget); gtk_box_pack_start (GTK_BOX (hbox), widget, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("System call:")); gtk_misc_set_alignment ((GtkMisc *) label, 1.0, 0.5); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); editor->syscall = (GtkEntry *) (widget = gtk_entry_new ()); gtk_widget_show (widget); gtk_widget_set_sensitive (widget, FALSE); gtk_box_pack_start (GTK_BOX (hbox), widget, TRUE, TRUE, 0); gtk_widget_show (hbox); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); label = gtk_label_new (_("Call chain:")); gtk_misc_set_alignment ((GtkMisc *) label, 0.0, 0.5); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0); /*editor->callers = g_ptr_array_new (); g_ptr_array_add (editor->callers, call_stack_frame_new (0, NULL));*/ editor->call_stack = (GtkBox *) (widget = call_stack_new (editor)); gtk_widget_show (widget); gtk_box_pack_start (GTK_BOX (vbox), widget, TRUE, TRUE, 0); } static void vg_rule_editor_finalize (GObject *obj) { G_OBJECT_CLASS (parent_class)->finalize (obj); } static void vg_rule_editor_destroy (GtkObject *obj) { GTK_OBJECT_CLASS (parent_class)->destroy (obj); } GtkWidget * vg_rule_editor_new (void) { VgRuleEditor *editor; editor = g_object_new (VG_TYPE_RULE_EDITOR, NULL); editor->callers = g_ptr_array_new (); g_ptr_array_add (editor->callers, call_stack_frame_new (0, NULL)); vg_rule_editor_init (editor); gtk_toggle_button_set_active (editor->addrcheck, TRUE); gtk_toggle_button_set_active (editor->memcheck, TRUE); return (GtkWidget *) editor; } GtkWidget * vg_rule_editor_new_from_rule (VgRule *rule) { VgRuleEditor *editor; VgCaller *caller; VgTool *tool; editor = g_object_new (VG_TYPE_RULE_EDITOR, NULL); editor->callers = g_ptr_array_new (); caller = rule->callers; while (caller != NULL) { g_ptr_array_add (editor->callers, call_stack_frame_new (caller->type, caller->name)); caller = caller->next; } if (editor->callers->len == 0) g_ptr_array_add (editor->callers, call_stack_frame_new (0, NULL)); vg_rule_editor_init (editor); vg_rule_editor_set_type (editor, rule->type); vg_rule_editor_set_name (editor, rule->name); vg_rule_editor_set_syscall (editor, rule->syscall); tool = rule->tools; while (tool != NULL) { if (!strcasecmp (tool->name, "core")) { /* special case... */ g_object_set_data ((GObject *) editor, "core", GINT_TO_POINTER (TRUE)); } else if (!strcasecmp (tool->name, "Addrcheck")) { gtk_toggle_button_set_active (editor->addrcheck, TRUE); } else if (!strcasecmp (tool->name, "Memcheck")) { gtk_toggle_button_set_active (editor->memcheck, TRUE); } tool = tool->next; } return (GtkWidget *) editor; } GtkWidget * vg_rule_editor_new_from_summary (VgErrorSummary *summary) { VgRuleEditor *editor; VgErrorStack *stack; GString *rule_name; vgrule_t rtype; char *syscall; editor = g_object_new (VG_TYPE_RULE_EDITOR, NULL); editor->callers = g_ptr_array_new (); rule_name = g_string_new (""); stack = summary->frames; while (stack != NULL) { const char *name = NULL; const char *basename; vgcaller_t ctype = 0; /* if we can get a symbol, use it - otherwise try and use the shared object */ if (stack->symbol) { name = stack->symbol; ctype = VG_CALLER_FUNCTION; g_string_append (rule_name, name); } else if (stack->type == VG_STACK_OBJECT) { name = stack->info.object; ctype = VG_CALLER_OBJECT; if (!(basename = strrchr (name, '/'))) basename = name; else basename++; g_string_append (rule_name, basename); } if (stack->next) g_string_append_c (rule_name, '/'); g_ptr_array_add (editor->callers, call_stack_frame_new (ctype, name)); stack = stack->next; } if (editor->callers->len == 0) g_ptr_array_add (editor->callers, call_stack_frame_new (0, NULL)); vg_rule_editor_init (editor); gtk_toggle_button_set_active (editor->addrcheck, TRUE); gtk_toggle_button_set_active (editor->memcheck, TRUE); syscall = NULL; if (vg_rule_type_from_report (summary->report, &rtype, &syscall)) { vg_rule_editor_set_type (editor, rtype); if (syscall != NULL) { vg_rule_editor_set_syscall (editor, syscall); g_free (syscall); } g_string_append_c (rule_name, '('); g_string_append (rule_name, vg_rule_type_to_name (rtype)); g_string_append_c (rule_name, ')'); } vg_rule_editor_set_name (editor, rule_name->str); g_string_free (rule_name, TRUE); return (GtkWidget *) editor; } const char * vg_rule_editor_get_name (VgRuleEditor *editor) { return gtk_entry_get_text (editor->name); } void vg_rule_editor_set_name (VgRuleEditor *editor, const char *name) { gtk_entry_set_text (editor->name, name ? name : ""); } void vg_rule_editor_set_type (VgRuleEditor *editor, vgrule_t type) { gtk_option_menu_set_history (editor->type, (int) type); g_signal_emit_by_name (editor->types[type], "activate", editor); } void vg_rule_editor_set_syscall (VgRuleEditor *editor, const char *syscall) { gtk_entry_set_text (editor->syscall, syscall ? syscall : ""); } void vg_rule_editor_add_caller (VgRuleEditor *editor, vgcaller_t type, const char *name) { GtkWidget *caller; int len; len = editor->callers->len; caller = call_stack_frame_new (0, NULL); g_ptr_array_add (editor->callers, caller); gtk_widget_show (caller); gtk_box_pack_start (editor->call_stack, caller, FALSE, FALSE, 0); } VgRule * vg_rule_editor_get_rule (VgRuleEditor *editor) { GtkWidget *omenu, *entry; VgCaller *caller, *tail; const char *name; VgRule *rule; int type, i; name = gtk_entry_get_text (editor->name); type = gtk_option_menu_get_history (editor->type); rule = vg_rule_new (type, name); if (type == VG_RULE_PARAM) rule->syscall = g_strdup (gtk_entry_get_text (editor->syscall)); if (gtk_toggle_button_get_active (editor->addrcheck)) vg_rule_add_tool (rule, "Addrcheck"); if (gtk_toggle_button_get_active (editor->memcheck)) vg_rule_add_tool (rule, "Memcheck"); if (!rule->tools && g_object_get_data ((GObject *) editor, "core")) { /* this means we are editing a valgrind 1.9.x versioned supp file which needs at least 1 'tool' specified to suppress */ vg_rule_add_tool (rule, "core"); } tail = (VgCaller *) &rule->callers; for (i = 0; i < editor->callers->len; i++) { omenu = g_object_get_data ((GObject *) editor->callers->pdata[i], "omenu"); entry = g_object_get_data ((GObject *) editor->callers->pdata[i], "entry"); name = gtk_entry_get_text ((GtkEntry *) entry); type = gtk_option_menu_get_history ((GtkOptionMenu *) omenu); caller = vg_caller_new (type, name); tail->next = caller; tail = caller; } return rule; } void vg_rule_editor_save (VgRuleEditor *editor, const char *filename) { GtkWindow *parent; GtkWidget *dialog; VgRule *rule; off_t offset; int fd; parent = (GtkWindow *) gtk_widget_get_toplevel ((GtkWidget *) editor); if ((fd = open (filename, O_WRONLY | O_APPEND, 0666)) == -1) { dialog = gtk_message_dialog_new (parent, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Error saving to suppression file `%s': %s"), filename, g_strerror (errno)); gtk_dialog_run ((GtkDialog *) dialog); gtk_widget_destroy (dialog); return; } rule = vg_rule_editor_get_rule (editor); /* find out where we currently are */ offset = lseek (fd, 0, SEEK_END); if (vg_suppressions_file_append_rule (fd, rule) == -1 || fsync (fd) == -1) { dialog = gtk_message_dialog_new (parent, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Error saving to suppression file `%s': %s"), filename, g_strerror (errno)); gtk_dialog_run ((GtkDialog *) dialog); gtk_widget_destroy (dialog); ftruncate (fd, offset); } vg_rule_free (rule); close (fd); } alleyoop-0.9.8/src/vgerror.h0000644000175000001440000000713211276130505012722 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_ERROR_H__ #define __VG_ERROR_H__ #include #include #include #include "list.h" #include "parser.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ typedef enum { VG_WHERE_AT, VG_WHERE_BY, } vgwhere_t; typedef enum { VG_STACK_EMPTY, VG_STACK_SOURCE, VG_STACK_OBJECT, } vgstack_t; #define VG_STACK_ADDR_UNKNOWN ((unsigned int) -1) typedef struct _VgError VgError; typedef struct _VgErrorStack VgErrorStack; typedef struct _VgErrorSummary VgErrorSummary; typedef struct _VgErrorParser VgErrorParser; struct _VgErrorStack { struct _VgErrorStack *next; /* next stack frame */ struct _VgErrorSummary *summary; /* parent summary */ vgwhere_t where; /* "at", "by" */ unsigned int addr; /* symbol address */ vgstack_t type; /* func/obj */ char *symbol; /* symbol name */ union { struct { char *filename; size_t lineno; } src; char *object; } info; }; struct _VgErrorSummary { struct _VgErrorSummary *next; struct _VgErrorStack *frames; struct _VgError *parent; char *report; }; typedef unsigned long vgthread_t; enum { TIMESTAMP_FORMAT_NONE, TIMESTAMP_FORMAT_2_4_0, TIMESTAMP_FORMAT_3_1_0, }; typedef struct { uint32_t year; uint8_t month; uint8_t day; uint8_t hour; uint8_t min; uint8_t sec; uint16_t msec; } timestamp24_t; typedef struct { uint32_t days; uint8_t hours; uint8_t mins; uint8_t secs; uint16_t msecs; } timestamp31_t; typedef struct { uint8_t format; union { timestamp24_t ts24; timestamp31_t ts31; } ts; } timestamp_t; #define ts_year ts.ts24.year #define ts_month ts.ts24.month #define ts_day ts.ts24.day #define ts_hour ts.ts24.hour #define ts_min ts.ts24.min #define ts_sec ts.ts24.sec #define ts_msec ts.ts24.msec #define ts_days ts.ts31.days #define ts_hours ts.ts31.hours #define ts_mins ts.ts31.mins #define ts_secs ts.ts31.secs #define ts_msecs ts.ts31.msecs struct _VgError { VgErrorSummary *summary; /* first summary is the error, additional summary nodes are just more specifics */ timestamp_t stamp; vgthread_t thread; pid_t pid; }; typedef void (*VgErrorCallback) (VgErrorParser *parser, VgError *err, void *user_data); struct _VgErrorParser { Parser parser; GHashTable *pid_hash; List errlist; VgErrorCallback error_cb; void *user_data; }; VgErrorParser *vg_error_parser_new (int fd, VgErrorCallback error_cb, void *user_data); void vg_error_parser_free (VgErrorParser *parser); int vg_error_parser_step (VgErrorParser *parser); void vg_error_parser_flush (VgErrorParser *parser); void vg_error_free (VgError *err); void vg_error_to_string (VgError *err, GString *str); #ifdef _cplusplus } #endif /* __cplusplus */ #endif /* __VG_ERROR_H__ */ alleyoop-0.9.8/src/process.c0000644000175000001440000000746011276130505012711 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include "process.h" #define d(x) pid_t process_fork (const char *path, char **argv, gboolean redirect, int ignfd, int *infd, int *outfd, int *errfd, GError **err) { int errnosav, fds[6], i; pid_t pid; for (i = 0; i < 6; i++) fds[i] = -1; for (i = 0; i < 6; i += 2) { if (pipe (fds + i) == -1) { errnosav = errno; g_set_error (err, g_quark_from_string ("process"), errno, _("Failed to create pipe to '%s': %s"), argv[0], g_strerror (errno)); for (i = 0; i < 6; i++) { if (fds[i] == -1) break; close (fds[i]); } errno = errnosav; return -1; } } #if d(!)0 fprintf (stderr, "exec()'ing %s\n", path); for (i = 0; argv[i]; i++) fprintf (stderr, "%s ", argv[i]); fprintf (stderr, "\n"); #endif if (!(pid = fork ())) { /* child process */ int maxfd, nullfd = -1; if (!redirect) { if (!infd || !outfd || !errfd) nullfd = open ("/dev/null", O_WRONLY); if (dup2 (infd ? fds[0] : nullfd, STDIN_FILENO) == -1) _exit (255); if (dup2 (outfd ? fds[3] : nullfd, STDOUT_FILENO) == -1) _exit (255); if (dup2 (errfd ? fds[5] : nullfd, STDERR_FILENO) == -1) _exit (255); } setsid (); if ((maxfd = sysconf (_SC_OPEN_MAX)) > 0) { int fd; for (fd = 3; fd < maxfd; fd++) { if (fd != ignfd) fcntl (fd, F_SETFD, FD_CLOEXEC); } } execv (path, argv); _exit (255); } else if (pid == -1) { g_set_error (err, g_quark_from_string ("process"), errno, _("Failed to create child process '%s': %s"), argv[0], g_strerror (errno)); return -1; } /* parent process */ close (fds[0]); close (fds[3]); close (fds[5]); if (infd) *infd = fds[1]; else close (fds[1]); if (outfd) *outfd = fds[2]; else close (fds[2]); if (errfd) *errfd = fds[4]; else close (fds[4]); return pid; } int process_wait (pid_t pid) { sigset_t mask, omask; int status; pid_t r; sigemptyset (&mask); sigaddset (&mask, SIGALRM); sigprocmask (SIG_BLOCK, &mask, &omask); alarm (1); r = waitpid (pid, &status, 0); alarm (0); sigprocmask (SIG_SETMASK, &omask, NULL); if (r == (pid_t) -1 && errno == EINTR) { kill (pid, SIGTERM); sleep (1); r = waitpid (pid, &status, WNOHANG); if (r == (pid_t) 0) { kill (pid, SIGKILL); sleep (1); r = waitpid (pid, &status, WNOHANG); } } if (r != (pid_t) -1 && WIFEXITED (status)) return WEXITSTATUS (status); else return -1; } int process_kill (pid_t pid) { int status; pid_t r; kill (pid, SIGTERM); sleep (1); r = waitpid (pid, &status, WNOHANG); if (r == (pid_t) 0) { kill (pid, SIGKILL); sleep (1); r = waitpid (pid, &status, WNOHANG); } if (r != (pid_t) -1 && WIFEXITED (status)) return WEXITSTATUS (status); else return -1; } alleyoop-0.9.8/src/getopts.h0000644000175000001440000001333611276130505012724 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __GETOPTS_H__ #define __GETOPTS_H__ #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ typedef struct _GetOptsContext GetOptsContext; typedef enum { GETOPTS_NO_ARG = 0, GETOPTS_OPTIONAL_ARG = (1 << 0), GETOPTS_REQUIRED_ARG = (1 << 1), GETOPTS_ARG_IN_SHORT = (1 << 4), /* for e.g. -Wall "all" is in the short option, -W */ #define GETOPTS_FLAG_MASK 0x000000ff GETOPTS_ARG_NONE = 0, GETOPTS_ARG_BOOL = (1 << 8), GETOPTS_ARG_INT8 = (1 << 9), GETOPTS_ARG_UINT8 = (1 << 10), GETOPTS_ARG_INT16 = (1 << 11), GETOPTS_ARG_UINT16 = (1 << 12), GETOPTS_ARG_INT32 = (1 << 13), GETOPTS_ARG_UINT32 = (1 << 14), GETOPTS_ARG_INT64 = (1 << 15), GETOPTS_ARG_UINT64 = (1 << 16), GETOPTS_ARG_FLOAT = (1 << 17), GETOPTS_ARG_DOUBLE = (1 << 18), GETOPTS_ARG_STRING = (1 << 19), GETOPTS_ARG_CUSTOM = (1 << 20), #define GETOPTS_ARG_MASK 0xffffff00 } GetOptsArgFlags; /* convenience macros */ #define GETOPTS_ARG_CHAR GETOPTS_ARG_INT8 #define GETOPTS_ARG_INT GETOPTS_ARG_INT32 #define GETOPTS_OPTIONAL_BOOL_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_BOOL) #define GETOPTS_OPTIONAL_CHAR_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_CHAR) #define GETOPTS_OPTIONAL_INT8_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_INT8) #define GETOPTS_OPTIONAL_UINT8_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_UINT8) #define GETOPTS_OPTIONAL_INT16_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_INT16) #define GETOPTS_OPTIONAL_UINT16_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_UINT16) #define GETOPTS_OPTIONAL_INT_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_INT) #define GETOPTS_OPTIONAL_INT32_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_INT32) #define GETOPTS_OPTIONAL_UINT32_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_UINT32) #define GETOPTS_OPTIONAL_INT64_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_INT64) #define GETOPTS_OPTIONAL_UINT64_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_UINT64) #define GETOPTS_OPTIONAL_FLOAT_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_FLOAT) #define GETOPTS_OPTIONAL_DOUBLE_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_DOUBLE) #define GETOPTS_OPTIONAL_STRING_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_STRING) #define GETOPTS_OPTIONAL_CUSTOM_ARG (GETOPTS_OPTIONAL_ARG | GETOPTS_ARG_CUSTOM) #define GETOPTS_REQUIRED_BOOL_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_BOOL) #define GETOPTS_REQUIRED_CHAR_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_CHAR) #define GETOPTS_REQUIRED_INT8_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_INT8) #define GETOPTS_REQUIRED_UINT8_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_UINT8) #define GETOPTS_REQUIRED_INT16_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_INT16) #define GETOPTS_REQUIRED_UINT16_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_UINT16) #define GETOPTS_REQUIRED_INT_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_INT) #define GETOPTS_REQUIRED_INT32_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_INT32) #define GETOPTS_REQUIRED_UINT32_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_UINT32) #define GETOPTS_REQUIRED_INT64_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_INT64) #define GETOPTS_REQUIRED_UINT64_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_UINT64) #define GETOPTS_REQUIRED_FLOAT_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_FLOAT) #define GETOPTS_REQUIRED_DOUBLE_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_DOUBLE) #define GETOPTS_REQUIRED_STRING_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_STRING) #define GETOPTS_REQUIRED_CUSTOM_ARG (GETOPTS_REQUIRED_ARG | GETOPTS_ARG_CUSTOM) typedef enum { GETOPTS_FLAG_ALLOW_SINGLE_DASH = (1 << 0), GETOPTS_FLAG_BREAK_ON_FIRST_NONARG = (1 << 1), } GetOptsFlags; typedef struct _GetOptsOption GetOptsOption; /* return 0 on success or -1 on error */ typedef int (* GetOptsCustomArgFunc) (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *user_data); #define GETOPTS_COMPLETE -1 #define GETOPTS_ERROR_BAD_OPTION -2 #define GETOPTS_ERROR_MISSING_ARG -3 #define GETOPTS_ERROR_INVALID_ARG -4 struct _GetOptsOption { const char *long_name; char short_name; GetOptsArgFlags flags; const char *description; const char *arg_descrip; int id; GetOptsCustomArgFunc custom; void *value; }; #define GETOPTS_TABLE_END { NULL, '\0', 0, NULL, NULL, 0, NULL, NULL } GetOptsContext *getopts_context_new (int argc, char **argv, GetOptsOption *options, GetOptsFlags flags); void getopts_context_free (GetOptsContext *ctx, int freeargs); void getopts_context_reset (GetOptsContext *ctx); void getopts_print_help (GetOptsContext *ctx); int getopts_get_next_opt (GetOptsContext *ctx); const char *getopts_get_opt_arg (GetOptsContext *ctx); void getopts_parse_args (GetOptsContext *ctx); int getopts_get_next_index (GetOptsContext *ctx); const char **getopts_get_args (GetOptsContext *ctx, int *nargs); void getopts_perror (GetOptsContext *ctx, int err); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __GETOPTS_H__ */ alleyoop-0.9.8/src/Makefile.in0000644000175000001440000005250011673145625013141 00000000000000# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = alleyoop$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(schemadir)" PROGRAMS = $(bin_PROGRAMS) am_alleyoop_OBJECTS = alleyoop.$(OBJEXT) getopts.$(OBJEXT) \ legolas.$(OBJEXT) list.$(OBJEXT) menu-utils.$(OBJEXT) \ parser.$(OBJEXT) prefs.$(OBJEXT) process.$(OBJEXT) \ vgcachegrindprefs.$(OBJEXT) vgdefaultview.$(OBJEXT) \ vgerror.$(OBJEXT) vggeneralprefs.$(OBJEXT) \ vghelgrindprefs.$(OBJEXT) vgio.$(OBJEXT) vgmarshal.$(OBJEXT) \ vgmemcheckprefs.$(OBJEXT) vgrule.$(OBJEXT) \ vgrule-editor.$(OBJEXT) vgrule-list.$(OBJEXT) \ vgrulepattern.$(OBJEXT) vgsearchbar.$(OBJEXT) \ vgstrpool.$(OBJEXT) vgtoolprefs.$(OBJEXT) vgtoolview.$(OBJEXT) \ main.$(OBJEXT) alleyoop_OBJECTS = $(am_alleyoop_OBJECTS) am__DEPENDENCIES_1 = alleyoop_DEPENDENCIES = $(am__DEPENDENCIES_1) 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) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(alleyoop_SOURCES) DIST_SOURCES = $(alleyoop_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' DATA = $(schema_DATA) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMACS = @EMACS@ EMACSCLIENT = @EMACSCLIENT@ EXEEXT = @EXEEXT@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ GLIB_LIBS = @GLIB_LIBS@ GLIB_MKENUMS = @GLIB_MKENUMS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GOBJECT_QUERY = @GOBJECT_QUERY@ GREP = @GREP@ GVIM = @GVIM@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ LDD = @LDD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ 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@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ XEMACS = @XEMACS@ XGETTEXT = @XGETTEXT@ 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@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ 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@ INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ -DPACKAGE_GLADE_DIR=\""$(gladedir)"\" \ @DISABLE_DEPRECATED@ \ @GNOME_CFLAGS@ alleyoop_SOURCES = \ alleyoop.c \ alleyoop.h \ getopts.c \ getopts.h \ legolas.c \ legolas.h \ list.c \ list.h \ menu-utils.c \ menu-utils.h \ parser.c \ parser.h \ prefs.c \ prefs.h \ process.c \ process.h \ vgcachegrindprefs.c \ vgcachegrindprefs.h \ vgdefaultview.c \ vgdefaultview.h \ vgerror.c \ vgerror.h \ vggeneralprefs.c \ vggeneralprefs.h \ vghelgrindprefs.c \ vghelgrindprefs.h \ vgio.c \ vgio.h \ vgmarshal.c \ vgmarshal.h \ vgmemcheckprefs.c \ vgmemcheckprefs.h \ vgrule.c \ vgrule.h \ vgrule-editor.c \ vgrule-editor.h \ vgrule-list.c \ vgrule-list.h \ vgrulepattern.c \ vgrulepattern.h \ vgsearchbar.c \ vgsearchbar.h \ vgstrpool.c \ vgstrpool.h \ vgtoolprefs.c \ vgtoolprefs.h \ vgtoolview.c \ vgtoolview.h \ main.c alleyoop_LDADD = @GNOME_LIBS@ $(INTLLIBS) MARSHAL_GENERATED = vgmarshal.c vgmarshal.h schemadir = @GCONF_SCHEMA_FILE_DIR@ schema_DATA = alleyoop.schemas EXTRA_DIST = \ $(schema_DATA) \ vgmarshal.list BUILT_SOURCES = $(MARSHAL_GENERATED) CLEANFILES = $(BUILT_SOURCES) all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(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) alleyoop$(EXEEXT): $(alleyoop_OBJECTS) $(alleyoop_DEPENDENCIES) @rm -f alleyoop$(EXEEXT) $(LINK) $(alleyoop_OBJECTS) $(alleyoop_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alleyoop.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopts.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/legolas.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menu-utils.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parser.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgcachegrindprefs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgdefaultview.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgerror.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vggeneralprefs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vghelgrindprefs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgio.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgmarshal.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgmemcheckprefs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgrule-editor.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgrule-list.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgrule.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgrulepattern.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgsearchbar.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgstrpool.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgtoolprefs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgtoolview.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` install-schemaDATA: $(schema_DATA) @$(NORMAL_INSTALL) test -z "$(schemadir)" || $(MKDIR_P) "$(DESTDIR)$(schemadir)" @list='$(schema_DATA)'; test -n "$(schemadir)" || 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)$(schemadir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(schemadir)" || exit $$?; \ done uninstall-schemaDATA: @$(NORMAL_UNINSTALL) @list='$(schema_DATA)'; test -n "$(schemadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(schemadir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(schemadir)" && rm -f $$files ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(PROGRAMS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(schemadir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -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." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) 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-data-local install-schemaDATA 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 uninstall-schemaDATA .MAKE: all check install 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-data-local 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-schemaDATA install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags uninstall uninstall-am uninstall-binPROGRAMS \ uninstall-schemaDATA vgmarshal.h: vgmarshal.list ( @GLIB_GENMARSHAL@ --prefix=vg_marshal $(srcdir)/vgmarshal.list --header > vgmarshal.h.tmp \ && mv vgmarshal.h.tmp vgmarshal.h ) \ || ( rm -f vgmarshal.h.tmp && exit 1 ) vgmarshal.c: vgmarshal.h ( @GLIB_GENMARSHAL@ --prefix=vg_marshal $(srcdir)/vgmarshal.list --body > vgmarshal.c.tmp \ && mv vgmarshal.c.tmp vgmarshal.c ) \ || ( rm -f vgmarshal.c.tmp && exit 1 ) install-data-local: GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA) # 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: alleyoop-0.9.8/src/vgtoolprefs.c0000644000175000001440000000603511276130505013602 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include "vgtoolprefs.h" static void vg_tool_prefs_class_init (VgToolPrefsClass *klass); static void vg_tool_prefs_init (VgToolPrefs *prefs); static void vg_tool_prefs_destroy (GtkObject *obj); static void vg_tool_prefs_finalize (GObject *obj); static void tool_prefs_apply (VgToolPrefs *prefs); static void tool_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv); static GtkVBoxClass *parent_class = NULL; GType vg_tool_prefs_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (VgToolPrefsClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) vg_tool_prefs_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (VgToolPrefs), 0, /* n_preallocs */ (GInstanceInitFunc) vg_tool_prefs_init, }; type = g_type_register_static (GTK_TYPE_VBOX, "VgToolPrefs", &info, 0); } return type; } static void vg_tool_prefs_class_init (VgToolPrefsClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); parent_class = g_type_class_ref (GTK_TYPE_VBOX); object_class->finalize = vg_tool_prefs_finalize; gtk_object_class->destroy = vg_tool_prefs_destroy; /* virtual methods */ klass->apply = tool_prefs_apply; klass->get_argv = tool_prefs_get_argv; } static void vg_tool_prefs_init (VgToolPrefs *prefs) { ; } static void vg_tool_prefs_finalize (GObject *obj) { G_OBJECT_CLASS (parent_class)->finalize (obj); } static void vg_tool_prefs_destroy (GtkObject *obj) { GTK_OBJECT_CLASS (parent_class)->destroy (obj); } static void tool_prefs_apply (VgToolPrefs *prefs) { ; } void vg_tool_prefs_apply (VgToolPrefs *prefs) { g_return_if_fail (VG_IS_TOOL_PREFS (prefs)); VG_TOOL_PREFS_GET_CLASS (prefs)->apply (prefs); } static void tool_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv) { ; } void vg_tool_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv) { g_return_if_fail (VG_IS_TOOL_PREFS (prefs)); g_return_if_fail (argv != NULL); VG_TOOL_PREFS_GET_CLASS (prefs)->get_argv (prefs, tool, argv); } alleyoop-0.9.8/src/vgstrpool.h0000644000175000001440000000313011276130505013265 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_STRPOOL_H__ #define __VG_STRPOOL_H__ #include #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #ifdef ENABLE_STRPOOL void vg_strpool_init (void); void vg_strpool_shutdown (void); char *vg_strpool_add (char *string, int own); char *vg_strdup (const char *string); char *vg_strndup (const char *string, size_t n); void vg_strfree (char *string); #else #define vg_strpool_init() #define vg_strpool_shutdown() #define vg_strpool_add(str,own) (own ? str : g_strdup (str)) #define vg_strdup(str) g_strdup (str) #define vg_strndup(str, n) g_strndup (str, n) #define vg_strfree(str) g_free (str) #endif /* ENABLE_STRPOOL */ #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_STRPOOL_H__ */ alleyoop-0.9.8/src/vgtoolview.c0000644000175000001440000001570311276130505013437 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include "vgtoolview.h" static void vg_tool_view_class_init (VgToolViewClass *klass); static void vg_tool_view_init (VgToolView *view); static void vg_tool_view_destroy (GtkObject *obj); static void vg_tool_view_finalize (GObject *obj); static void tool_view_clear (VgToolView *view); static void tool_view_reset (VgToolView *view); static void tool_view_connect (VgToolView *view, int sockfd); static int tool_view_step (VgToolView *view); static void tool_view_disconnect (VgToolView *view); static int tool_view_save_log (VgToolView *view, int fd); static void tool_view_cut (VgToolView *view); static void tool_view_copy (VgToolView *view); static void tool_view_paste (VgToolView *view); static void tool_view_show_rules (VgToolView *view); static GtkVBoxClass *parent_class = NULL; GType vg_tool_view_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (VgToolViewClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) vg_tool_view_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (VgToolView), 0, /* n_preallocs */ (GInstanceInitFunc) vg_tool_view_init, }; type = g_type_register_static (GTK_TYPE_VBOX, "VgToolView", &info, 0); } return type; } static void vg_tool_view_class_init (VgToolViewClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); parent_class = g_type_class_ref (GTK_TYPE_VBOX); object_class->finalize = vg_tool_view_finalize; gtk_object_class->destroy = vg_tool_view_destroy; /* virtual methods */ klass->clear = tool_view_clear; klass->reset = tool_view_reset; klass->connect = tool_view_connect; klass->step = tool_view_step; klass->disconnect = tool_view_disconnect; klass->save_log = tool_view_save_log; klass->cut = tool_view_cut; klass->copy = tool_view_copy; klass->paste = tool_view_paste; klass->show_rules = tool_view_show_rules; } static void vg_tool_view_init (VgToolView *view) { view->argv = NULL; view->srcdir = NULL; view->rules = NULL; } static void vg_tool_view_finalize (GObject *obj) { G_OBJECT_CLASS (parent_class)->finalize (obj); } static void vg_tool_view_destroy (GtkObject *obj) { GTK_OBJECT_CLASS (parent_class)->destroy (obj); } void vg_tool_view_set_argv (VgToolView *view, const char **argv) { g_return_if_fail (VG_IS_TOOL_VIEW (view)); view->argv = argv; } void vg_tool_view_set_srcdir (VgToolView *view, const char **srcdir) { g_return_if_fail (VG_IS_TOOL_VIEW (view)); view->srcdir = srcdir; } static void tool_view_clear (VgToolView *view) { ; } void vg_tool_view_clear (VgToolView *view) { g_return_if_fail (VG_IS_TOOL_VIEW (view)); VG_TOOL_VIEW_GET_CLASS (view)->clear (view); } static void tool_view_reset (VgToolView *view) { ; } void vg_tool_view_reset (VgToolView *view) { g_return_if_fail (VG_IS_TOOL_VIEW (view)); VG_TOOL_VIEW_GET_CLASS (view)->reset (view); } static void tool_view_connect (VgToolView *view, int sockfd) { ; } void vg_tool_view_connect (VgToolView *view, int sockfd) { g_return_if_fail (VG_IS_TOOL_VIEW (view)); VG_TOOL_VIEW_GET_CLASS (view)->connect (view, sockfd); } static int tool_view_step (VgToolView *view) { return -1; } int vg_tool_view_step (VgToolView *view) { g_return_val_if_fail (VG_IS_TOOL_VIEW (view), -1); return VG_TOOL_VIEW_GET_CLASS (view)->step (view); } static void tool_view_disconnect (VgToolView *view) { ; } void vg_tool_view_disconnect (VgToolView *view) { g_return_if_fail (VG_IS_TOOL_VIEW (view)); VG_TOOL_VIEW_GET_CLASS (view)->disconnect (view); } static int tool_view_save_log (VgToolView *view, int fd) { errno = ENOTSUP; return -1; } int vg_tool_view_save_log (VgToolView *view, int fd) { g_return_val_if_fail (VG_IS_TOOL_VIEW (view), -1); return VG_TOOL_VIEW_GET_CLASS (view)->save_log (view, fd); } static void tool_view_cut (VgToolView *view) { ; } void vg_tool_view_cut (VgToolView *view) { g_return_if_fail (VG_IS_TOOL_VIEW (view)); VG_TOOL_VIEW_GET_CLASS (view)->cut (view); } static void tool_view_copy (VgToolView *view) { ; } void vg_tool_view_copy (VgToolView *view) { g_return_if_fail (VG_IS_TOOL_VIEW (view)); VG_TOOL_VIEW_GET_CLASS (view)->copy (view); } static void tool_view_paste (VgToolView *view) { ; } void vg_tool_view_paste (VgToolView *view) { g_return_if_fail (VG_IS_TOOL_VIEW (view)); VG_TOOL_VIEW_GET_CLASS (view)->paste (view); } static void tool_view_show_rules (VgToolView *view) { if (view->rules == NULL) return; if (GTK_WIDGET_MAPPED (view->rules)) gdk_window_raise (view->rules->window); else gtk_widget_show (view->rules); } void vg_tool_view_show_rules (VgToolView *view) { g_return_if_fail (VG_IS_TOOL_VIEW (view)); VG_TOOL_VIEW_GET_CLASS (view)->show_rules (view); } static char * path_concat (const char *dirname, int dirlen, const char *basename, int baselen) { char *path, *p; p = path = g_malloc (dirlen + baselen + 2); memcpy (path, dirname, dirlen); p += dirlen; *p++ = '/'; memcpy (p, basename, baselen); p[baselen] = '\0'; return path; } static gboolean path_is_rx (const char *path) { struct stat st; if (stat (path, &st) != -1 && S_ISREG (st.st_mode)) { if (access (path, R_OK | X_OK) != -1) return TRUE; } return FALSE; } char * vg_tool_view_scan_path (const char *program) { const char *pathenv, *path, *p; char *filename; int len; if (program[0] == '/') { if (path_is_rx (program)) return g_strdup (program); return NULL; } if (!(pathenv = getenv ("PATH"))) return NULL; path = pathenv; len = strlen (program); while ((p = strchr (path, ':'))) { if (p > path) { filename = path_concat (path, (p - path), program, len); if (path_is_rx (filename)) return filename; g_free (filename); } path = p + 1; } if (path[0] != '\0') { filename = g_strdup_printf ("%s/%s", path, program); if (path_is_rx (filename)) return filename; g_free (filename); } return NULL; } alleyoop-0.9.8/src/vgcachegrindprefs.c0000644000175000001440000002151711276130505014716 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include "vgcachegrindprefs.h" static const char *cache_labels[] = { "I1 Cache", "D1 Cache", "L2 Cache" }; static const char *override_keys[] = { "/apps/alleyoop/valgrind/cachegrind/I1/override", "/apps/alleyoop/valgrind/cachegrind/D1/override", "/apps/alleyoop/valgrind/cachegrind/L2/override" }; static const char *cache_keys[] = { "/apps/alleyoop/valgrind/cachegrind/I1/settings", "/apps/alleyoop/valgrind/cachegrind/D1/settings", "/apps/alleyoop/valgrind/cachegrind/L2/settings" }; static void vg_cachegrind_prefs_class_init (VgCachegrindPrefsClass *klass); static void vg_cachegrind_prefs_init (VgCachegrindPrefs *prefs); static void vg_cachegrind_prefs_destroy (GtkObject *obj); static void vg_cachegrind_prefs_finalize (GObject *obj); static void cachegrind_prefs_apply (VgToolPrefs *prefs); static void cachegrind_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv); static VgToolPrefsClass *parent_class = NULL; GType vg_cachegrind_prefs_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (VgCachegrindPrefsClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) vg_cachegrind_prefs_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (VgCachegrindPrefs), 0, /* n_preallocs */ (GInstanceInitFunc) vg_cachegrind_prefs_init, }; type = g_type_register_static (VG_TYPE_TOOL_PREFS, "VgCachegrindPrefs", &info, 0); } return type; } static void vg_cachegrind_prefs_class_init (VgCachegrindPrefsClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); VgToolPrefsClass *tool_class = VG_TOOL_PREFS_CLASS (klass); parent_class = g_type_class_ref (VG_TYPE_TOOL_PREFS); object_class->finalize = vg_cachegrind_prefs_finalize; gtk_object_class->destroy = vg_cachegrind_prefs_destroy; /* virtual methods */ tool_class->apply = cachegrind_prefs_apply; tool_class->get_argv = cachegrind_prefs_get_argv; } static void toggle_button_toggled (GtkToggleButton *toggle, const char *key) { GConfClient *gconf; GtkWidget *hbox; gboolean bool; gconf = gconf_client_get_default (); bool = gtk_toggle_button_get_active (toggle); gconf_client_set_bool (gconf, key, bool, NULL); g_object_unref (gconf); hbox = g_object_get_data ((GObject *) toggle, "hbox"); gtk_widget_set_sensitive (hbox, bool); } static const char * cache_settings_get (GtkEntry *entry) { register const char *inptr; gboolean fixed = FALSE; const char *settings; char *out, *outptr; GtkWidget *parent; GtkWidget *dialog; int offset, i; inptr = settings = gtk_entry_get_text (entry); outptr = out = g_malloc (strlen (settings) + 1); if (*inptr == '\0') { g_free (out); return settings; } for (i = 0; i < 3; i++) { while (*inptr == ' ' || *inptr == '\t') { fixed = TRUE; inptr++; } if (!(*inptr >= '0' && *inptr < '9')) { if (i == 0 && *inptr == '\0') { gtk_entry_set_text (entry, ""); g_free (out); return ""; } goto invalid; } while (*inptr >= '0' && *inptr <= '9') *outptr++ = *inptr++; while (*inptr == ' ' || *inptr == '\t') { fixed = TRUE; inptr++; } if ((i < 2 && *inptr != ',') || (i == 2 && *inptr != '\0')) goto invalid; *outptr++ = *inptr++; } if (fixed) gtk_entry_set_text (entry, out); g_free (out); return fixed ? gtk_entry_get_text (entry) : settings; invalid: offset = outptr - out; while (*inptr) *outptr++ = *inptr++; *outptr = '\0'; if (fixed) gtk_entry_set_text (entry, out); gtk_editable_select_region ((GtkEditable *) entry, offset, offset + 1); parent = gtk_widget_get_toplevel ((GtkWidget *) entry); parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; dialog = gtk_message_dialog_new ((GtkWindow *) parent, GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Invalid syntax in settings '%s'.\nPlease enter a value " "of the form \",,\"."), out); g_free (out); g_signal_connect_swapped (dialog, "response", G_CALLBACK (gtk_widget_destroy), dialog); gtk_widget_show (dialog); return NULL; } static gboolean entry_focus_out (GtkEntry *entry, GdkEventFocus *event, const char *key) { const char *settings; GConfClient *gconf; gconf = gconf_client_get_default (); if ((settings = cache_settings_get (entry))) gconf_client_set_string (gconf, key, settings, NULL); g_object_unref (gconf); return FALSE; } static GtkWidget * cache_settings_new (VgCachegrindPrefs *prefs, const char *name, int index, gboolean override, const char *settings) { GtkWidget *frame, *vbox, *hbox; GtkWidget *widget, *label; frame = gtk_frame_new (name); vbox = gtk_vbox_new (FALSE, 6); widget = gtk_check_button_new_with_label (_("Override default settings")); prefs->cache[index].override = (GtkToggleButton *) widget; gtk_toggle_button_set_active ((GtkToggleButton *) widget, override); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), (void *) override_keys[index]); gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget,FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 6); g_object_set_data ((GObject *) prefs->cache[index].override, "hbox", hbox); label = gtk_label_new (_("Enter ,,:")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); widget = gtk_entry_new (); prefs->cache[index].settings = (GtkEntry *) widget; gtk_entry_set_text ((GtkEntry *) widget, settings ? settings : ""); g_signal_connect (widget, "focus-out-event", G_CALLBACK (entry_focus_out), (void *) cache_keys[index]); gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, TRUE, TRUE, 0); gtk_widget_show (hbox); gtk_widget_set_sensitive (hbox, override); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); gtk_container_set_border_width ((GtkContainer *) vbox, 6); gtk_widget_show (vbox); gtk_container_add ((GtkContainer *) frame, vbox); return frame; } static void vg_cachegrind_prefs_init (VgCachegrindPrefs *prefs) { GConfClient *gconf; GtkWidget *widget; gboolean override; char *settings; int i; gconf = gconf_client_get_default (); ((VgToolPrefs *) prefs)->label = _("Cachegrind"); gtk_box_set_spacing ((GtkBox *) prefs, 6); for (i = 0; i < 3; i++) { override = gconf_client_get_bool (gconf, override_keys[i], NULL); settings = gconf_client_get_string (gconf, cache_keys[i], NULL); widget = cache_settings_new (prefs, cache_labels[i], i, override, settings); g_free (settings); gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) prefs, widget, FALSE, FALSE, 0); } g_object_unref (gconf); } static void vg_cachegrind_prefs_finalize (GObject *obj) { G_OBJECT_CLASS (parent_class)->finalize (obj); } static void vg_cachegrind_prefs_destroy (GtkObject *obj) { GTK_OBJECT_CLASS (parent_class)->destroy (obj); } static void cachegrind_prefs_apply (VgToolPrefs *prefs) { ; } static struct { const char *arg; char *buf; } cachegrind_args[] = { { "--I1", NULL }, { "--D1", NULL }, { "--L2", NULL } }; static void cachegrind_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv) { GConfClient *gconf; char *str; int i; gconf = gconf_client_get_default (); for (i = 0; i < 3; i++) { const char *arg = cachegrind_args[i].arg; g_free (cachegrind_args[i].buf); if (gconf_client_get_bool (gconf, override_keys[i], NULL)) { if (!(str = gconf_client_get_string (gconf, cache_keys[i], NULL)) || *str == '\0') { cachegrind_args[i].buf = NULL; g_free (str); continue; } cachegrind_args[i].buf = g_strdup_printf ("%s=%s", arg, str); g_free (str); g_ptr_array_add (argv, cachegrind_args[i].buf); } else { cachegrind_args[i].buf = NULL; } } g_object_unref (gconf); } alleyoop-0.9.8/src/vghelgrindprefs.c0000644000175000001440000002336411503266166014433 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include "vghelgrindprefs.h" #define HAPPENS_BEFORE_KEY "/apps/alleyoop/valgrind/helgrind/happens-before" #define ENABLE_TRACE_ADDR_KEY "/apps/alleyoop/valgrind/helgrind/enable-trace-addr" #define TRACE_ADDR_KEY "/apps/alleyoop/valgrind/helgrind/trace-addr" #define TRACE_LEVEL_KEY "/apps/alleyoop/valgrind/helgrind/trace-level" static void vg_helgrind_prefs_class_init (VgHelgrindPrefsClass *klass); static void vg_helgrind_prefs_init (VgHelgrindPrefs *prefs); static void vg_helgrind_prefs_destroy (GtkObject *obj); static void vg_helgrind_prefs_finalize (GObject *obj); static void helgrind_prefs_apply (VgToolPrefs *prefs); static void helgrind_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv); static VgToolPrefsClass *parent_class = NULL; GType vg_helgrind_prefs_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (VgHelgrindPrefsClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) vg_helgrind_prefs_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (VgHelgrindPrefs), 0, /* n_preallocs */ (GInstanceInitFunc) vg_helgrind_prefs_init, }; type = g_type_register_static (VG_TYPE_TOOL_PREFS, "VgHelgrindPrefs", &info, 0); } return type; } static void vg_helgrind_prefs_class_init (VgHelgrindPrefsClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); VgToolPrefsClass *tool_class = VG_TOOL_PREFS_CLASS (klass); parent_class = g_type_class_ref (VG_TYPE_TOOL_PREFS); object_class->finalize = vg_helgrind_prefs_finalize; gtk_object_class->destroy = vg_helgrind_prefs_destroy; /* virtual methods */ tool_class->apply = helgrind_prefs_apply; tool_class->get_argv = helgrind_prefs_get_argv; } static void enable_trace_addr_toggled (GtkToggleButton *toggle, VgHelgrindPrefs *prefs) { GConfClient *gconf; gboolean bool; gconf = gconf_client_get_default (); bool = gtk_toggle_button_get_active (toggle); gconf_client_set_bool (gconf, ENABLE_TRACE_ADDR_KEY, bool, NULL); gtk_widget_set_sensitive ((GtkWidget *) prefs->trace_level, bool); gtk_widget_set_sensitive ((GtkWidget *) prefs->trace_addr, bool); g_object_unref (gconf); } static char * decode_hex_value (const char *text) { unsigned long int retval; char *inend; retval = strtoul (text, &inend, 16); if (inend == text) return NULL; return g_strdup_printf ("0x%lX", retval); } static gboolean entry_focus_out (GtkEntry *entry, GdkEventFocus *event, const char *key) { GConfClient *gconf; const char *text; char *str; gconf = gconf_client_get_default (); if ((text = gtk_entry_get_text (entry))) { str = decode_hex_value (text); } else { str = NULL; } if (str != NULL) { gconf_client_set_string (gconf, key, str, NULL); gtk_entry_set_text (entry, str); g_free (str); } else { gconf_client_unset (gconf, key, NULL); gtk_entry_set_text (entry, ""); } g_object_unref (gconf); return FALSE; } static void menu_item_activated (GtkMenuItem *item, const char *key) { GConfClient *gconf; const char *str; int val; gconf = gconf_client_get_default (); str = g_object_get_data ((GObject *) item, "value"); if (!strcmp (key, TRACE_LEVEL_KEY)) { val = strtol (str, NULL, 10); gconf_client_set_int (gconf, key, val, NULL); } else { gconf_client_set_string (gconf, key, str, NULL); } g_object_unref (gconf); } static const char *happens_before_opts[] = { "none", "threads", "all" }; static const char *trace_level_opts[] = { "0", "1", "2" }; static GtkWidget * option_menu_new (GConfClient *gconf, const char **opts, int nopts, const char *key) { GtkWidget *omenu, *menu, *item; int history, i; char *str; if (!strcmp (key, TRACE_LEVEL_KEY)) { history = gconf_client_get_int (gconf, key, NULL); str = NULL; } else { str = gconf_client_get_string (gconf, key, NULL); history = 0; } menu = gtk_menu_new (); for (i = 0; i < nopts; i++) { if (str && !strcmp (opts[i], str)) history = i; item = gtk_menu_item_new_with_label (opts[i]); g_object_set_data ((GObject *) item, "value", (char *) opts[i]); g_signal_connect (item, "activate", G_CALLBACK (menu_item_activated), (char *) key); gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); } gtk_widget_show (menu); omenu = gtk_option_menu_new (); gtk_option_menu_set_menu ((GtkOptionMenu *) omenu, menu); gtk_option_menu_set_history ((GtkOptionMenu *) omenu, history); g_free (str); return omenu; } static void vg_helgrind_prefs_init (VgHelgrindPrefs *prefs) { gboolean enable_trace_addr; GtkWidget *widget, *hbox; GConfClient *gconf; char *str; gconf = gconf_client_get_default (); ((VgToolPrefs *) prefs)->label = _("Helgrind"); gtk_box_set_spacing ((GtkBox *) prefs, 6); /* --happens-before */ hbox = gtk_hbox_new (FALSE, 6); widget = gtk_label_new (_("Consider sync points that happen before:")); gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); widget = option_menu_new (gconf, happens_before_opts, G_N_ELEMENTS (happens_before_opts), HAPPENS_BEFORE_KEY); prefs->happens_before = (GtkOptionMenu *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) prefs, hbox, FALSE, FALSE, 0); /* --trace-addr */ hbox = gtk_hbox_new (FALSE, 6); widget = gtk_check_button_new_with_label (_("Trace address:")); enable_trace_addr = gconf_client_get_bool (gconf, ENABLE_TRACE_ADDR_KEY, NULL); gtk_toggle_button_set_active ((GtkToggleButton *) widget, enable_trace_addr); g_signal_connect (widget, "toggled", G_CALLBACK (enable_trace_addr_toggled), prefs); prefs->enable_trace_addr = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); str = gconf_client_get_string (gconf, TRACE_ADDR_KEY, NULL); widget = gtk_entry_new (); gtk_entry_set_text ((GtkEntry *) widget, str ? str : ""); g_signal_connect (widget, "focus-out-event", G_CALLBACK (entry_focus_out), TRACE_ADDR_KEY); prefs->trace_addr = (GtkEntry *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); gtk_widget_set_sensitive (widget, enable_trace_addr); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) prefs, hbox, FALSE, FALSE, 0); g_free (str); /* --trace-level */ hbox = gtk_hbox_new (FALSE, 6); widget = gtk_label_new (_("Trace level:")); gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); widget = option_menu_new (gconf, trace_level_opts, G_N_ELEMENTS (trace_level_opts), TRACE_LEVEL_KEY); prefs->trace_level = (GtkOptionMenu *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) prefs, hbox, FALSE, FALSE, 0); gtk_widget_set_sensitive (widget, enable_trace_addr); g_object_unref (gconf); } static void vg_helgrind_prefs_finalize (GObject *obj) { G_OBJECT_CLASS (parent_class)->finalize (obj); } static void vg_helgrind_prefs_destroy (GtkObject *obj) { GTK_OBJECT_CLASS (parent_class)->destroy (obj); } static void helgrind_prefs_apply (VgToolPrefs *prefs) { ; } enum { ARG_TYPE_INT, ARG_TYPE_STRING }; static struct { const char *key; const char *arg; gboolean depends; char *buf; int type; } helgrind_args[] = { { HAPPENS_BEFORE_KEY, "--happens-before", FALSE, NULL, ARG_TYPE_STRING }, { TRACE_ADDR_KEY, "--trace-addr", TRUE, NULL, ARG_TYPE_STRING }, { TRACE_LEVEL_KEY, "--trace-level", TRUE, NULL, ARG_TYPE_INT }, }; static void helgrind_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv) { gboolean enable_trace_addr; GConfClient *gconf; char *str; int val; int i; gconf = gconf_client_get_default (); enable_trace_addr = gconf_client_get_bool (gconf, ENABLE_TRACE_ADDR_KEY, NULL); for (i = 0; i < G_N_ELEMENTS (helgrind_args); i++) { const char *arg = helgrind_args[i].arg; const char *key = helgrind_args[i].key; g_free (helgrind_args[i].buf); helgrind_args[i].buf = NULL; if (helgrind_args[i].depends && !enable_trace_addr) continue; if (helgrind_args[i].type == ARG_TYPE_STRING) { if (!(str = gconf_client_get_string (gconf, key, NULL)) || *str == '\0') { if (!strcmp (key, TRACE_ADDR_KEY)) enable_trace_addr = FALSE; g_free (str); continue; } helgrind_args[i].buf = g_strdup_printf ("%s=%s", arg, str); g_free (str); } else if (helgrind_args[i].type == ARG_TYPE_INT) { val = gconf_client_get_int (gconf, key, NULL); helgrind_args[i].buf = g_strdup_printf ("%s=%d", arg, val); } g_ptr_array_add (argv, helgrind_args[i].buf); } g_object_unref (gconf); } alleyoop-0.9.8/src/vgmarshal.h0000644000175000001440000000115511302525037013215 00000000000000 #ifndef __vg_marshal_MARSHAL_H__ #define __vg_marshal_MARSHAL_H__ #include G_BEGIN_DECLS /* NONE:NONE (./vgmarshal.list:1) */ #define vg_marshal_VOID__VOID g_cclosure_marshal_VOID__VOID #define vg_marshal_NONE__NONE vg_marshal_VOID__VOID /* NONE:INT (./vgmarshal.list:2) */ #define vg_marshal_VOID__INT g_cclosure_marshal_VOID__INT #define vg_marshal_NONE__INT vg_marshal_VOID__INT /* NONE:POINTER (./vgmarshal.list:3) */ #define vg_marshal_VOID__POINTER g_cclosure_marshal_VOID__POINTER #define vg_marshal_NONE__POINTER vg_marshal_VOID__POINTER G_END_DECLS #endif /* __vg_marshal_MARSHAL_H__ */ alleyoop-0.9.8/src/alleyoop.schemas0000644000175000001440000002633011503266166014263 00000000000000 /schemas/apps/alleyoop/editor /apps/alleyoop/editor alleyoop string emacsclient -n +${lineno} "${filename}" Editor command-line /schemas/apps/alleyoop/num-lines /apps/alleyoop/num-lines alleyoop int 2 Show X-number of lines above and below target line /schemas/apps/alleyoop/valgrind/general/demangle /apps/alleyoop/valgrind/general/demangle alleyoop bool true Demangle c++ symbols automatically /schemas/apps/alleyoop/valgrind/general/num-callers /apps/alleyoop/valgrind/general/num-callers alleyoop int 4 Number of callers on the stack to show /schemas/apps/alleyoop/valgrind/general/error-limit /apps/alleyoop/valgrind/general/error-limit alleyoop bool true Limit the number of errors to show /schemas/apps/alleyoop/valgrind/general/sloppy-malloc /apps/alleyoop/valgrind/general/sloppy-malloc alleyoop bool false Round malloc sizes to next word /schemas/apps/alleyoop/valgrind/general/alignment /apps/alleyoop/valgrind/general/alignment alleyoop int 8 Set minimum alignment of allocations /schemas/apps/alleyoop/valgrind/general/trace-children /apps/alleyoop/valgrind/general/trace-children alleyoop bool false Trace child processes /schemas/apps/alleyoop/valgrind/general/track-fds /apps/alleyoop/valgrind/general/track-fds alleyoop bool false Track open file descriptors /schemas/apps/alleyoop/valgrind/general/track-origins /apps/alleyoop/valgrind/general/track-origins alleyoop bool false Track origins of undefined values /schemas/apps/alleyoop/valgrind/general/time-stamp /apps/alleyoop/valgrind/general/time-stamp alleyoop bool false Add time stamps to log messages /schemas/apps/alleyoop/valgrind/general/suppressions /apps/alleyoop/valgrind/general/suppressions alleyoop string Suppress errors described in suppresions file /schemas/apps/alleyoop/valgrind/general/run-libc-freeres /apps/alleyoop/valgrind/general/run-libc-freeres alleyoop bool true Call __libc_freeres() at exit before checking for memory leaks /schemas/apps/alleyoop/valgrind/memcheck/leak-check /apps/alleyoop/valgrind/memcheck/leak-check alleyoop string no Search for memory leaks at exit /schemas/apps/alleyoop/valgrind/memcheck/show-reachable /apps/alleyoop/valgrind/memcheck/show-reachable alleyoop bool false Show reachable blocks in leak check /schemas/apps/alleyoop/valgrind/memcheck/leak-resolution /apps/alleyoop/valgrind/memcheck/leak-resolution alleyoop string low Amount of bt merging in leak check /schemas/apps/alleyoop/valgrind/memcheck/freelist-vol /apps/alleyoop/valgrind/memcheck/freelist-vol alleyoop int 1000000 Volume of freed blocks queue /schemas/apps/alleyoop/valgrind/memcheck/ignore-ranges /apps/alleyoop/valgrind/memcheck/ignore-ranges alleyoop string Assume given addresses are OK /schemas/apps/alleyoop/valgrind/memcheck/malloc-fill /apps/alleyoop/valgrind/memcheck/malloc-fill alleyoop string Fill malloc()'d areas with the given value /schemas/apps/alleyoop/valgrind/memcheck/free-fill /apps/alleyoop/valgrind/memcheck/free-fill alleyoop string Fill free()'d areas with the given value /schemas/apps/alleyoop/valgrind/memcheck/track-origins /apps/alleyoop/valgrind/memcheck/track-origins alleyoop bool false Track origins of undefined values /schemas/apps/alleyoop/valgrind/memcheck/workaround-gcc296-bugs /apps/alleyoop/valgrind/memcheck/workaround-gcc296-bugs alleyoop bool false Work around gcc 2.96 bugs /schemas/apps/alleyoop/valgrind/cachegrind/I1/override /apps/alleyoop/valgrind/cachegrind/I1/override alleyoop bool false Override I1 cache settings /schemas/apps/alleyoop/valgrind/cachegrind/I1/settings /apps/alleyoop/valgrind/cachegrind/I1/settings alleyoop string I1 cache settings to use in place of the defaults /schemas/apps/alleyoop/valgrind/cachegrind/D1/override /apps/alleyoop/valgrind/cachegrind/D1/override alleyoop bool false Override D1 cache settings /schemas/apps/alleyoop/valgrind/cachegrind/D1/settings /apps/alleyoop/valgrind/cachegrind/D1/settings alleyoop string D1 cache settings to use in place of the defaults /schemas/apps/alleyoop/valgrind/cachegrind/L2/override /apps/alleyoop/valgrind/cachegrind/L2/override alleyoop bool false Override L2 cache settings /schemas/apps/alleyoop/valgrind/cachegrind/L2/settings /apps/alleyoop/valgrind/cachegrind/L2/settings alleyoop string L2 cache settings to use in place of the defaults /schemas/apps/alleyoop/valgrind/helgrind/happens-before /apps/alleyoop/valgrind/helgrind/happens-before alleyoop string all Events to consider as sync events /schemas/apps/alleyoop/valgrind/helgrind/enable-trace-addr /apps/alleyoop/valgrind/helgrind/enable-trace-addr alleyoop bool false Enable the --trace-addr option /schemas/apps/alleyoop/valgrind/helgrind/trace-addr /apps/alleyoop/valgrind/helgrind/trace-addr alleyoop string Address to trace /schemas/apps/alleyoop/valgrind/helgrind/trace-level /apps/alleyoop/valgrind/helgrind/trace-level alleyoop int 1 Logging verbosity level alleyoop-0.9.8/src/vgerror.c0000644000175000001440000005167511276130505012730 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include "vgerror.h" #include "vgstrpool.h" #define d(x) #define w(x) x /* timestamp format used in Valgrind 2.4.0: "YY-MM-DD HH:MM:SS:MS" - based on date */ #define VG_2_4_0_TIME_STAMP_FORMAT "%u-%.2u-%.2u %.2u:%.2u:%.2u.%.3u" /* timestamp format used in Valgrind 3.1.0: "DD:HH:MM:SS.MS" - based on time elapsed since program start */ #define VG_3_1_0_TIME_STAMP_FORMAT "%.2u:%.2u:%.2u:%.2u.%.3u" enum { VG_ERROR_PARSER_STATE_INIT, VG_ERROR_PARSER_STATE_NEW_ERROR, VG_ERROR_PARSER_STATE_PARTIAL_ERROR, VG_ERROR_PARSER_STATE_WARNING = (1 << 8) }; typedef struct _VgErrorListNode { struct _VgErrorListNode *next; struct _VgErrorListNode *prev; int state; pid_t pid; VgError *err_cur; VgErrorSummary *summ_cur; VgErrorSummary *summ_tail; VgErrorStack *stack_tail; } VgErrorListNode; VgErrorParser * vg_error_parser_new (int fd, VgErrorCallback error_cb, void *user_data) { VgErrorParser *parser; parser = g_new (VgErrorParser, 1); parser_init ((Parser *) parser, fd); parser->pid_hash = g_hash_table_new (g_direct_hash, g_direct_equal); list_init (&parser->errlist); parser->error_cb = error_cb; parser->user_data = user_data; return parser; } void vg_error_parser_free (VgErrorParser *parser) { VgErrorListNode *n; if (parser == NULL) return; g_hash_table_destroy (parser->pid_hash); while (!list_is_empty (&parser->errlist)) { n = (VgErrorListNode *) list_unlink_head (&parser->errlist); if (n->err_cur) vg_error_free (n->err_cur); g_free (n); } g_free (parser); } static int vg_error_get_state (VgErrorParser *parser, pid_t pid) { VgErrorListNode *n; if (!(n = g_hash_table_lookup (parser->pid_hash, GINT_TO_POINTER (pid)))) return VG_ERROR_PARSER_STATE_INIT; return n->state; } static void vg_error_set_state (VgErrorParser *parser, pid_t pid, int state) { VgErrorListNode *n; if (!(n = g_hash_table_lookup (parser->pid_hash, GINT_TO_POINTER (pid)))) { d(fprintf (stderr, "VgErrorParser setting state on unknown pid??\n")); return; } n->state = state; } static VgError * vg_error_new (VgErrorParser *parser, pid_t pid, timestamp_t *stamp) { VgErrorListNode *n; VgError *err; if (!(n = g_hash_table_lookup (parser->pid_hash, GINT_TO_POINTER (pid)))) { n = g_new (VgErrorListNode, 1); n->pid = pid; list_append_node (&parser->errlist, (ListNode *) n); g_hash_table_insert (parser->pid_hash, GINT_TO_POINTER (pid), n); } else if (n->state == VG_ERROR_PARSER_STATE_NEW_ERROR) { return n->err_cur; } err = g_new (VgError, 1); memcpy (&err->stamp, stamp, sizeof (err->stamp)); err->pid = pid; err->thread = (vgthread_t) -1; err->summary = NULL; n->err_cur = err; n->summ_cur = NULL; n->summ_tail = (VgErrorSummary *) &err->summary; n->stack_tail = NULL; n->state = VG_ERROR_PARSER_STATE_NEW_ERROR; return err; } static void vg_error_pop (VgErrorParser *parser, pid_t pid) { VgErrorListNode *n; if (!(n = g_hash_table_lookup (parser->pid_hash, GINT_TO_POINTER (pid)))) return; if (n->err_cur) { if (n->err_cur->summary) { parser->error_cb (parser, n->err_cur, parser->user_data); } else { d(fprintf (stderr, "Incomplete valgrind error being popped??\n")); g_free (n->err_cur); } } else { d(fprintf (stderr, "VgErrorParser stack underflow??\n")); } n->state = VG_ERROR_PARSER_STATE_INIT; n->err_cur = NULL; n->summ_cur = NULL; n->summ_tail = NULL; n->stack_tail = NULL; } static void vg_error_pop_all (VgErrorParser *parser) { VgErrorListNode *n; n = (VgErrorListNode *) parser->errlist.head; while (n->next != NULL) { vg_error_pop (parser, n->pid); n = n->next; } } static void vg_error_summary_append (VgErrorParser *parser, pid_t pid, const char *report, int len) { VgErrorSummary *summary; VgErrorListNode *n; if (!(n = g_hash_table_lookup (parser->pid_hash, GINT_TO_POINTER (pid)))) { d(fprintf (stderr, "VgErrorParser appending summary to non-existant error report??\n")); return; } summary = g_new (VgErrorSummary, 1); summary->next = NULL; summary->parent = n->err_cur; summary->frames = NULL; summary->report = vg_strndup (report, len); n->summ_cur = summary; n->summ_tail->next = summary; n->summ_tail = summary; n->stack_tail = (VgErrorStack *) &summary->frames; } static VgErrorStack * vg_error_stack_new (VgErrorParser *parser, pid_t pid) { VgErrorStack *stack; VgErrorListNode *n; if (!(n = g_hash_table_lookup (parser->pid_hash, GINT_TO_POINTER (pid)))) { d(fprintf (stderr, "VgErrorParser appending stack frame to non-existant error report??\n")); return NULL; } stack = g_new (VgErrorStack, 1); stack->next = NULL; stack->summary = n->summ_cur; stack->where = VG_WHERE_AT; stack->addr = VG_STACK_ADDR_UNKNOWN; stack->type = VG_STACK_EMPTY; stack->symbol = NULL; stack->info.src.filename = NULL; stack->info.src.lineno = 0; stack->info.object = NULL; n->stack_tail->next = stack; n->stack_tail = stack; return stack; } static int decode_timestamp_uint (unsigned char **in, size_t inlen, unsigned char expect, int min, int max, const char *version, const char *token) { register unsigned char *inptr = *in; unsigned char *inend = *in + inlen; int val = 0; while (inptr < inend && (*inptr >= '0' && *inptr <= '9')) { if (((val * 10) + (*inptr - '0')) < val) { val = -ERANGE; break; } val = (val * 10) + (*inptr - '0'); inptr++; } if (inptr == *in) { w(fprintf (stderr, "Expected Valgrind %s timestamp %s token: '%.*s'\n", version, token, inlen, *in)); return -1; } if (!(val >= min && val <= max)) { #if w(!)0 if (val == -ERANGE) { while (*inptr >= '0' && *inptr <= '9') inptr++; } fprintf (stderr, "Value out of range for Valgrind %s timestamp %s token: '%.*s'\n", version, token, inptr - *in, *in); #endif return -1; } if (*inptr != expect) { w(fprintf (stderr, "Expected '%c' after Valgrind %s timestamp %s token: '%.*s'\n", expect, version, token, inend - inptr, inptr)); return -1; } *in = inptr; return val; } static unsigned int decode_uint (unsigned char **in, size_t inlen) { register unsigned char *inptr = *in; unsigned char *inend = *in + inlen; unsigned int val = 0; while (inptr < inend && (*inptr >= '0' && *inptr <= '9')) { if (((val * 10) + (*inptr - '0')) < val) { errno = ERANGE; return 0; } val = (val * 10) + (*inptr - '0'); inptr++; } *in = inptr; errno = 0; return val; } static gboolean decode_timestamp_and_pid (timestamp_t *stamp, pid_t *pid, unsigned char **in, size_t inlen) { unsigned char *inend = *in + inlen; unsigned char *inptr = *in; unsigned char *start = *in; unsigned int uval; int val; /* extract a uint */ uval = decode_uint (&inptr, inlen); if (inptr == *in) { w(fprintf (stderr, "Expected pid or timestamp token: '%.*s'\n", inend - inptr, inptr)); return FALSE; } switch (*inptr) { case '-': /* Valgrind 2.4.0 timestamp */ inptr = *in; stamp->format = TIMESTAMP_FORMAT_2_4_0; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), '-', 0, INT_MAX, "2.4.0", "year")) == -1) return FALSE; stamp->ts_year = val; inptr++; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), '-', 1, 12, "2.4.0", "month")) == -1) return FALSE; stamp->ts_month = val; inptr++; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), ' ', 1, 31, "2.4.0", "day")) == -1) return FALSE; stamp->ts_day = val; inptr++; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), ':', 0, 23, "2.4.0", "hour")) == -1) return FALSE; stamp->ts_hour = val; inptr++; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), ':', 0, 59, "2.4.0", "minute")) == -1) return FALSE; stamp->ts_min = val; inptr++; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), ':', 0, 59, "2.4.0", "second")) == -1) return FALSE; stamp->ts_sec = val; inptr++; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), ' ', 0, 999, "2.4.0", "millisecond")) == -1) return FALSE; stamp->ts_msec = val; inptr++; break; case ':': /* Valgrind 3.1.0 timestamp */ inptr = *in; stamp->format = TIMESTAMP_FORMAT_3_1_0; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), ':', 0, INT_MAX, "3.1.0", "days")) == -1) return FALSE; stamp->ts_days = val; inptr++; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), ':', 0, 23, "3.1.0", "hours")) == -1) return FALSE; stamp->ts_hours = val; inptr++; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), ':', 0, 59, "3.1.0", "minutes")) == -1) return FALSE; stamp->ts_mins = val; inptr++; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), '.', 0, 59, "3.1.0", "seconds")) == -1) return FALSE; stamp->ts_secs = val; inptr++; if ((val = decode_timestamp_uint (&inptr, (inend - inptr), ' ', 0, 999, "3.1.0", "milliseconds")) == -1) return FALSE; stamp->ts_msecs = val; inptr++; break; default: stamp->format = TIMESTAMP_FORMAT_NONE; goto pid; } start = inptr; uval = decode_uint (&inptr, inend - inptr); if (inptr == start) { w(fprintf (stderr, "Expected pid token: '%.*s'\n", inend - inptr, inptr)); return FALSE; } pid: if (uval == 0) { w(fprintf (stderr, "Invalid pid received from valgrind: '%.*s'\n", inptr - start, start)); return FALSE; } *pid = (pid_t) uval; *in = inptr; return TRUE; } int vg_error_parser_step (VgErrorParser *parser) { register unsigned char *inptr; unsigned char *start, *end; timestamp_t stamp; vgthread_t thread; int state, ret; VgError *err; Parser *priv; pid_t pid; priv = (Parser *) parser; if ((ret = parser_fill (priv)) == 0) { vg_error_pop_all (parser); return 0; } else if (ret == -1) { return -1; } start = inptr = priv->inptr; while (inptr < priv->inend) { *priv->inend = '\n'; while (*inptr != '\n') inptr++; if (inptr == priv->inend) break; d(fprintf (stderr, "parser_step: '%.*s'\n", inptr - start, start)); if (start[0] != '=' || start[1] != '=') { w(fprintf (stderr, "Unexpected data received from valgrind: '%.*s'\n", inptr - start, start)); inptr++; start = inptr; continue; } start += 2; memset (&stamp, 0, sizeof (timestamp_t)); if (!decode_timestamp_and_pid (&stamp, &pid, &start, inptr - start)) { inptr++; start = inptr; continue; } if (start[0] != '=' || start[1] != '=' || start[2] != ' ') { w(fprintf (stderr, "Unexpected data received from valgrind: '%.*s'\n", (inptr - start) + 2, start - 2)); inptr++; start = inptr; continue; } start += 3; *inptr = '\0'; if ((state = vg_error_get_state (parser, pid)) & VG_ERROR_PARSER_STATE_WARNING) { /* eat indenting */ while (*start == ' ') start++; if (strcmp (start, "your program may misbehave as a result") == 0) { /* this marks the end of the Valgrind warning spewage */ vg_error_set_state (parser, pid, state & ~VG_ERROR_PARSER_STATE_WARNING); } inptr++; start = inptr; continue; } if (state != VG_ERROR_PARSER_STATE_PARTIAL_ERROR) { /* brand new error - first line is the general report or thread-id (1.9.6 and later) */ err = vg_error_new (parser, pid, &stamp); if (start[0] == ' ') { /* there should not be any additional error indenting here... */ w(fprintf (stderr, "Unexpected SPACE received from valgrind: '%.*s'\n", inptr - start, start)); while (*start == ' ') start++; } if (start < inptr) { if (strncmp (start, "discard syms in ", 16) == 0) { /* "discard syms in /path/to/lib/libfoo.so" */ d(fprintf (stderr, "dropping 'discard syms in' spewage\n")); } else if (strstr (start, "IGNORED call to:") != NULL) { d(fprintf (stderr, "dropping ignored call notification\n")); } else if (strstr (start, "KLUDGED call to:") != NULL) { /* "valgrind's libpthread.so: KLUDGED call to: pthread_getschedparam" */ d(fprintf (stderr, "dropping kludged call notification\n")); } else if (strncmp (start, "warning: ", 9) == 0) { /* "warning: Valgrind's pthread_getschedparam is incomplete" */ d(fprintf (stderr, "dropping warning message\n")); vg_error_set_state (parser, pid, state | VG_ERROR_PARSER_STATE_WARNING); } else if (strncmp (start, "Thread ", 7) == 0) { start += 7; thread = strtoul (start, (char **) &end, 10); if (*end != ':') { start -= 7; vg_error_summary_append (parser, pid, start, inptr - start); vg_error_set_state (parser, pid, VG_ERROR_PARSER_STATE_PARTIAL_ERROR); } else { err->thread = thread; } } else { vg_error_summary_append (parser, pid, start, inptr - start); vg_error_set_state (parser, pid, VG_ERROR_PARSER_STATE_PARTIAL_ERROR); } } } else { /* another summary, a new stack frame, or end-of-info (ie. a blank line) */ while (*start == ' ') start++; if (start < inptr) { if (!strncmp (start, "discard syms in ", 16)) { /* "discard syms in /path/to/lib/libfoo.so" */ d(fprintf (stderr, "dropping 'discard syms in' spew received from Valgrind\n")); } else if (strstr (start, "IGNORED call to:") != NULL) { d(fprintf (stderr, "dropping ignored call notification\n")); } else if (strstr (start, "KLUDGED call to:") != NULL) { /* "valgrind's libpthread.so: KLUDGED call to: pthread_getschedparam" */ d(fprintf (stderr, "dropping kludged call notification\n")); } else if (strncmp (start, "warning: ", 9) == 0) { /* "warning: Valgrind's pthread_getschedparam is incomplete" */ d(fprintf (stderr, "dropping warning message\n")); vg_error_set_state (parser, pid, state | VG_ERROR_PARSER_STATE_WARNING); } else if (strncmp (start, "at ", 3) != 0 && strncmp (start, "by ", 3) != 0) { /* another summary report */ vg_error_summary_append (parser, pid, start, inptr - start); } else { VgErrorStack *stack; stack = vg_error_stack_new (parser, pid); stack->where = *start == 'a' ? VG_WHERE_AT : VG_WHERE_BY; start += 3; if (*start == '<') { /* unknown address */ stack->addr = VG_STACK_ADDR_UNKNOWN; while (start < inptr && *start != '>') start++; if (*start == '>') start++; } else { /* symbol address in hex */ stack->addr = strtoul (start, (char **) &end, 16); start = end; if (*start == ':') start++; } if (*start == ' ') start++; if (!strncmp (start, "???", 3) && (start[3] == ' ' || start[3] == '\0')) { stack->symbol = NULL; start += 3; } else if (*start == '(') { /* not a c/c++ program, hence no symbol */ stack->symbol = NULL; } else { /* symbol name */ end = start; while (end < inptr && *end != ' ' && *end != '(') end++; if (*end == '(') { /* symbol name has a param list - probably a c++ symbol */ while (end < inptr && *end != ')') end++; if (*end == ')') end++; } stack->symbol = vg_strndup (start, end - start); start = end; } if (*start == ' ') start++; if (*start == '(') { start++; /* if we have "([with]in foo)" then foo is an object... */ if (strncmp (start, "within ", 7) == 0) { /* (within /usr/bin/emacs) */ stack->type = VG_STACK_OBJECT; start += 7; } else if (strncmp (start, "in ", 3) == 0) { /* (in /lib/foo.so) */ stack->type = VG_STACK_OBJECT; start += 3; } else { stack->type = VG_STACK_SOURCE; } end = start; while (end < inptr && *end != ':' && *end != ')') end++; /* src filename or shared object */ if (stack->type == VG_STACK_SOURCE) { stack->info.src.filename = vg_strndup (start, end - start); start = end; if (*start++ == ':') stack->info.src.lineno = strtoul (start, (char **) &end, 10); else stack->info.src.lineno = 0; } else { stack->info.object = vg_strndup (start, end - start); } start = end; } } } else { /* end-of-info (ie. a blank line) */ vg_error_pop (parser, pid); } } inptr++; start = inptr; } priv->inptr = start; return 1; } void vg_error_parser_flush (VgErrorParser *parser) { VgErrorListNode *n; n = (VgErrorListNode *) parser->errlist.head; while (n->next != NULL) { if (n->err_cur) { if (n->state == VG_ERROR_PARSER_STATE_PARTIAL_ERROR) { vg_error_pop (parser, n->pid); } else { g_free (n->err_cur); n->err_cur = NULL; } } n = n->next; } } static void vg_error_stack_free (VgErrorStack *stack) { vg_strfree (stack->symbol); if (stack->type == VG_STACK_SOURCE) vg_strfree (stack->info.src.filename); else vg_strfree (stack->info.object); g_free (stack); } static void vg_error_summary_free (VgErrorSummary *summary) { VgErrorStack *frame, *next; vg_strfree (summary->report); frame = summary->frames; while (frame != NULL) { next = frame->next; vg_error_stack_free (frame); frame = next; } g_free (summary); } void vg_error_free (VgError *err) { VgErrorSummary *summary, *next; if (err == NULL) return; summary = err->summary; while (summary != NULL) { next = summary->next; vg_error_summary_free (summary); summary = next; } g_free (err); } static void vg_error_timestamp_to_string (const timestamp_t *stamp, GString *str) { switch (stamp->format) { case TIMESTAMP_FORMAT_2_4_0: g_string_append_printf (str, VG_2_4_0_TIME_STAMP_FORMAT " ", stamp->ts_year, stamp->ts_month, stamp->ts_day, stamp->ts_hour, stamp->ts_min, stamp->ts_sec, stamp->ts_msec); break; case TIMESTAMP_FORMAT_3_1_0: g_string_append_printf (str, VG_3_1_0_TIME_STAMP_FORMAT " ", stamp->ts_days, stamp->ts_hours, stamp->ts_mins, stamp->ts_secs, stamp->ts_msecs); break; default: break; } } static void vg_error_stack_to_string (VgErrorStack *stack, GString *str) { timestamp_t *stamp = &stack->summary->parent->stamp; pid_t pid = stack->summary->parent->pid; int in; g_string_append (str, "=="); vg_error_timestamp_to_string (stamp, str); g_string_append_printf (str, "%u== %s ", pid, stack->where == VG_WHERE_AT ? "at" : "by"); if (stack->addr != VG_STACK_ADDR_UNKNOWN) g_string_append_printf (str, "0x%.8x: ", stack->addr); else g_string_append (str, " "); g_string_append (str, stack->symbol ? stack->symbol : "???"); switch (stack->type) { case VG_STACK_EMPTY: /* Stack generated by the Mono JIT (or similar)? */ g_string_append_c (str, '\n'); break; case VG_STACK_SOURCE: g_string_append_printf (str, " (%s:%u)\n", stack->info.src.filename, stack->info.src.lineno); break; case VG_STACK_OBJECT: in = !strcmp (stack->info.object + strlen (stack->info.object) - 3, ".so"); in = in || strstr (stack->info.object, ".so.") != NULL; g_string_append_printf (str, " (%s %s)\n", in ? "in" : "within", stack->info.object); break; } } static void vg_error_summary_to_string (VgErrorSummary *summary, int indent, GString *str) { timestamp_t *stamp = &summary->parent->stamp; VgErrorStack *s; g_string_append (str, "=="); vg_error_timestamp_to_string (stamp, str); g_string_append_printf (str, "%u== %s", summary->parent->pid, indent ? " " : ""); g_string_append (str, summary->report); g_string_append_c (str, '\n'); s = summary->frames; while (s != NULL) { vg_error_stack_to_string (s, str); s = s->next; } } void vg_error_to_string (VgError *err, GString *str) { timestamp_t *stamp = &err->stamp; VgErrorSummary *s; int indent = 0; if (err->thread != (vgthread_t) -1) { g_string_append (str, "=="); vg_error_timestamp_to_string (stamp, str); g_string_append_printf (str, "%u== Thread %d:\n", err->pid, err->thread); } s = err->summary; while (s != NULL) { vg_error_summary_to_string (s, indent, str); indent = indent || s->frames; s = s->next; } g_string_append (str, "=="); vg_error_timestamp_to_string (stamp, str); g_string_append_printf (str, "%u==\n", err->pid); } alleyoop-0.9.8/src/vgsearchbar.c0000644000175000001440000001264111276130505013517 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include "vgsearchbar.h" #include "vgmarshal.h" enum { SEARCH, CLEAR, LAST_SIGNAL }; static int search_bar_signals[LAST_SIGNAL] = { 0, }; static void vg_search_bar_class_init (VgSearchBarClass *klass); static void vg_search_bar_init (VgSearchBar *bar); static void vg_search_bar_destroy (GtkObject *obj); static void vg_search_bar_finalize (GObject *obj); static void search_bar_set_menu_items (VgSearchBar *bar, VgSearchBarItem *items); static GtkHBoxClass *parent_class = NULL; GType vg_search_bar_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (VgSearchBarClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) vg_search_bar_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (VgSearchBar), 0, /* n_preallocs */ (GInstanceInitFunc) vg_search_bar_init, }; type = g_type_register_static (GTK_TYPE_HBOX, "VgSearchBar", &info, 0); } return type; } static void vg_search_bar_class_init (VgSearchBarClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); parent_class = g_type_class_ref (GTK_TYPE_VBOX); object_class->finalize = vg_search_bar_finalize; gtk_object_class->destroy = vg_search_bar_destroy; /* virtual methods */ klass->set_menu_items = search_bar_set_menu_items; /* signals */ search_bar_signals[SEARCH] = g_signal_new ("search", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (VgSearchBarClass, search), NULL, NULL, vg_marshal_NONE__INT, G_TYPE_NONE, 1, G_TYPE_INT); search_bar_signals[CLEAR] = g_signal_new ("clear", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (VgSearchBarClass, clear), NULL, NULL, vg_marshal_NONE__NONE, G_TYPE_NONE, 0); } static void entry_activate (GtkEntry *entry, VgSearchBar *bar) { g_signal_emit (bar, search_bar_signals[SEARCH], 0, bar->item_id); } static void clear_clicked (GtkWidget *widget, VgSearchBar *bar) { gtk_entry_set_text (bar->entry, ""); gtk_option_menu_set_history (bar->menu, 0); g_signal_emit (bar, search_bar_signals[CLEAR], 0); } static void vg_search_bar_init (VgSearchBar *bar) { GtkWidget *widget; gtk_box_set_spacing ((GtkBox *) bar, 6); bar->item_id = -1; bar->menu = (GtkOptionMenu *) (widget = gtk_option_menu_new ()); gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) bar, widget, FALSE, FALSE, 0); bar->entry = (GtkEntry *) (widget = gtk_entry_new ()); gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) bar, widget, TRUE, TRUE, 0); g_signal_connect (bar->entry, "activate", G_CALLBACK (entry_activate), bar); bar->clear = widget = gtk_button_new_from_stock (GTK_STOCK_CLEAR); gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) bar, widget, FALSE, FALSE, 0); g_signal_connect (bar->clear, "clicked", G_CALLBACK (clear_clicked), bar); } static void vg_search_bar_finalize (GObject *obj) { G_OBJECT_CLASS (parent_class)->finalize (obj); } static void vg_search_bar_destroy (GtkObject *obj) { GTK_OBJECT_CLASS (parent_class)->destroy (obj); } GtkWidget * vg_search_bar_new (void) { return g_object_new (VG_TYPE_SEARCH_BAR, NULL); } static void item_activate (GtkMenuItem *item, VgSearchBar *bar) { bar->item_id = GPOINTER_TO_INT (g_object_get_data ((GObject *) item, "item_id")); } static void search_bar_set_menu_items (VgSearchBar *bar, VgSearchBarItem *items) { GtkWidget *menu, *item; int i; g_return_if_fail (VG_IS_SEARCH_BAR (bar)); g_return_if_fail (items != NULL); menu = gtk_menu_new (); bar->item_id = items->id; for (i = 0; items[i].label != NULL; i++) { item = gtk_menu_item_new_with_label (_(items[i].label)); g_object_set_data ((GObject *) item, "item_id", GINT_TO_POINTER (items[i].id)); g_signal_connect (item, "activate", G_CALLBACK (item_activate), bar); gtk_widget_show (item); gtk_menu_shell_append ((GtkMenuShell *) menu, item); } gtk_option_menu_set_menu (bar->menu, menu); gtk_option_menu_set_history (bar->menu, 0); } void vg_search_bar_set_menu_items (VgSearchBar *bar, VgSearchBarItem *items) { g_return_if_fail (VG_IS_SEARCH_BAR (bar)); g_return_if_fail (items != NULL); VG_SEARCH_BAR_GET_CLASS (bar)->set_menu_items (bar, items); } const char * vg_search_bar_get_text (VgSearchBar *bar) { g_return_val_if_fail (VG_IS_SEARCH_BAR (bar), NULL); return gtk_entry_get_text (bar->entry); } alleyoop-0.9.8/src/parser.c0000644000175000001440000000431711276130505012525 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include "parser.h" #include "vgio.h" void parser_init (Parser *parser, int fd) { parser->inbuf = parser->realbuf + PARSER_SCAN_HEAD; parser->inptr = parser->inbuf; parser->inend = parser->inbuf; parser->fd = fd; } ssize_t parser_fill (Parser *parser) { unsigned char *inbuf, *inptr, *inend; ssize_t nread; size_t inlen; inbuf = parser->inbuf; inptr = parser->inptr; inend = parser->inend; inlen = inend - inptr; g_assert (inptr <= inend); /* attempt to align 'inend' with realbuf + PARSER_SCAN_HEAD */ if (inptr >= inbuf) { inbuf -= inlen < PARSER_SCAN_HEAD ? inlen : PARSER_SCAN_HEAD; memmove (inbuf, inptr, inlen); inptr = inbuf; inbuf += inlen; } else if (inptr > parser->realbuf) { size_t shift; shift = MIN (inptr - parser->realbuf, inend - inbuf); memmove (inptr - shift, inptr, inlen); inptr -= shift; inbuf = inptr + inlen; } else { /* we can't shift... */ inbuf = inend; } parser->inptr = inptr; parser->inend = inbuf; inend = parser->realbuf + PARSER_SCAN_HEAD + PARSER_SCAN_BUF - 1; if ((nread = vg_read (parser->fd, inbuf, inend - inbuf)) == -1) return -1; parser->inend += nread; return parser->inend - parser->inptr; } alleyoop-0.9.8/src/vgmemcheckprefs.h0000644000175000001440000000440211503266166014410 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_MEMCHECK_PREFS_H__ #define __VG_MEMCHECK_PREFS_H__ #include "vgtoolprefs.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_MEMCHECK_PREFS (vg_memcheck_prefs_get_type ()) #define VG_MEMCHECK_PREFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_MEMCHECK_PREFS, VgMemcheckPrefs)) #define VG_MEMCHECK_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_MEMCHECK_PREFS, VgMemcheckPrefsClass)) #define VG_IS_MEMCHECK_PREFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_MEMCHECK_PREFS)) #define VG_IS_MEMCHECK_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_MEMCHECK_PREFS)) #define VG_MEMCHECK_PREFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_MEMCHECK_PREFS, VgMemcheckPrefsClass)) typedef struct _VgMemcheckPrefs VgMemcheckPrefs; typedef struct _VgMemcheckPrefsClass VgMemcheckPrefsClass; struct _VgMemcheckPrefs { VgToolPrefs parent_object; GtkOptionMenu *leak_check; GtkOptionMenu *leak_resolution; GtkToggleButton *show_reachable; GtkSpinButton *freelist_vol; GtkEntry *ignore_ranges; GtkEntry *malloc_fill; GtkEntry *free_fill; GtkToggleButton *track_origins; GtkToggleButton *workaround_gcc296_bugs; }; struct _VgMemcheckPrefsClass { VgToolPrefsClass parent_class; }; GType vg_memcheck_prefs_get_type (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_MEMCHECK_PREFS_H__ */ alleyoop-0.9.8/src/vgcachegrindprefs.h0000644000175000001440000000415611276130505014723 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_CACHEGRIND_PREFS_H__ #define __VG_CACHEGRIND_PREFS_H__ #include "vgtoolprefs.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_CACHEGRIND_PREFS (vg_cachegrind_prefs_get_type ()) #define VG_CACHEGRIND_PREFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_CACHEGRIND_PREFS, VgCachegrindPrefs)) #define VG_CACHEGRIND_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_CACHEGRIND_PREFS, VgCachegrindPrefsClass)) #define VG_IS_CACHEGRIND_PREFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_CACHEGRIND_PREFS)) #define VG_IS_CACHEGRIND_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_CACHEGRIND_PREFS)) #define VG_CACHEGRIND_PREFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_CACHEGRIND_PREFS, VgCachegrindPrefsClass)) typedef struct _VgCachegrindPrefs VgCachegrindPrefs; typedef struct _VgCachegrindPrefsClass VgCachegrindPrefsClass; struct _VgCachegrindPrefs { VgToolPrefs parent_object; struct { GtkToggleButton *override; GtkEntry *settings; } cache[3]; }; struct _VgCachegrindPrefsClass { VgToolPrefsClass parent_class; }; GType vg_cachegrind_prefs_get_type (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_CACHEGRIND_PREFS_H__ */ alleyoop-0.9.8/src/menu-utils.c0000644000175000001440000000664611276130505013342 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "menu-utils.h" #if 0 static void make_item (GtkMenu *menu, GtkMenuItem *item, const char *name, GtkWidget *pixmap) { GtkWidget *label; if (*name == '\0') return; /* * Ugh. This needs to go into Gtk+ */ label = gtk_label_new_with_mnemonic (name); gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); gtk_widget_show (label); gtk_container_add (GTK_CONTAINER (item), label); if (pixmap && GTK_IS_IMAGE_MENU_ITEM (item)){ gtk_widget_show (pixmap); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), pixmap); } } #endif void menu_utils_construct_menu (GtkWidget *menu, struct _MenuItem *items, guint32 disable_mask, void *user_data) { GtkWidget *item, *image; GSList *group = NULL; int i; for (i = 0; items[i].label; i++) { const char *label, *stock_id; label = items[i].label; stock_id = items[i].stock_id; if (items[i].is_stock) { item = gtk_image_menu_item_new_with_mnemonic (label); image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_MENU); gtk_widget_show (image); gtk_image_menu_item_set_image ((GtkImageMenuItem *) item, image); /*item = gtk_image_menu_item_new_from_stock (stock_id, NULL);*/ } else if (strcmp (label, "") != 0) { if (items[i].is_toggle) item = gtk_check_menu_item_new_with_mnemonic (label); else if (items[i].is_radio) item = gtk_radio_menu_item_new_with_mnemonic (group, label); else if (items[i].stock_id) item = gtk_image_menu_item_new_with_mnemonic (label); else item = gtk_menu_item_new_with_mnemonic (label); if (items[i].is_toggle || items[i].is_radio) gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), items[i].is_active); if (items[i].is_radio) group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (item)); if (items[i].stock_id) { if (stock_id[0] != '/') image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_MENU); else image = gtk_image_new_from_file (stock_id); gtk_widget_show (image); gtk_image_menu_item_set_image ((GtkImageMenuItem *) item, image); } } else { item = gtk_separator_menu_item_new (); } if (items[i].callback) g_signal_connect (item, "activate", items[i].callback, user_data); else if (strcmp (label, "") != 0) { /* unimplemented menu item? */ gtk_widget_set_sensitive (item, FALSE); } if (items[i].disable_mask & disable_mask) gtk_widget_set_sensitive (item, FALSE); gtk_widget_show (item); gtk_menu_shell_append ((GtkMenuShell *) menu, item); } } alleyoop-0.9.8/src/vgrule.h0000644000175000001440000000565011276130505012543 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_RULE_H__ #define __VG_RULE_H__ #include "parser.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ typedef enum { VG_CALLER_FUNCTION, VG_CALLER_OBJECT, VG_CALLER_LAST } vgcaller_t; typedef struct _VgCaller { struct _VgCaller *next; vgcaller_t type; char *name; } VgCaller; typedef struct _VgTool { struct _VgTool *next; char *name; } VgTool; typedef enum { VG_RULE_ADDR1, VG_RULE_ADDR2, VG_RULE_ADDR4, VG_RULE_ADDR8, VG_RULE_COND, VG_RULE_FREE, VG_RULE_LEAK, VG_RULE_PARAM, VG_RULE_PTHREAD, VG_RULE_VALUE1, VG_RULE_VALUE2, VG_RULE_VALUE4, VG_RULE_VALUE8, VG_RULE_LAST } vgrule_t; typedef struct _VgRule { char *name; VgTool *tools; vgrule_t type; char *syscall; VgCaller *callers; } VgRule; const char *vg_caller_type_to_name (vgcaller_t type); vgcaller_t vg_caller_type_from_name (const char *name); VgCaller *vg_caller_new (vgcaller_t type, const char *name); void vg_caller_free (VgCaller *caller); const char *vg_rule_type_to_name (vgrule_t type); vgrule_t vg_rule_type_from_name (const char *name); int vg_rule_type_from_report (const char *report, vgrule_t *type, char **syscall); VgRule *vg_rule_new (vgrule_t type, const char *name); void vg_rule_add_tool (VgRule *rule, const char *tool); void vg_rule_free (VgRule *rule); typedef struct _VgRuleParser VgRuleParser; typedef void (* VgRuleParserRuleCallback) (VgRuleParser *parser, VgRule *rule, void *user_data); struct _VgRuleParser { Parser parser; unsigned char *linebuf; unsigned char *lineptr; unsigned int lineleft; VgRule *current; VgCaller *tail; VgRuleParserRuleCallback rule_cb; void *user_data; int state; }; VgRuleParser *vg_rule_parser_new (int fd, VgRuleParserRuleCallback rule_cb, void *user_data); void vg_rule_parser_free (VgRuleParser *parser); int vg_rule_parser_step (VgRuleParser *parser); void vg_rule_parser_flush (VgRuleParser *parser); int vg_suppressions_file_write_header (int fd, const char *summary); int vg_suppressions_file_append_rule (int fd, VgRule *rule); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_RULE_H__ */ alleyoop-0.9.8/src/alleyoop.c0000644000175000001440000005210511276130505013053 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include "vgdefaultview.h" #include "menu-utils.h" #include "alleyoop.h" #include "process.h" #include "prefs.h" enum { VALGRIND_TOOL_MEMCHECK, VALGRIND_TOOL_ADDRCHECK, VALGRIND_TOOL_CACHEGRIND, VALGRIND_TOOL_HELGRIND, }; static struct { const char *name; int tool; } valgrind_tools[] = { { "memcheck", VALGRIND_TOOL_MEMCHECK }, { "addrcheck", VALGRIND_TOOL_ADDRCHECK }, { "cachegrind", VALGRIND_TOOL_CACHEGRIND }, { "helgrind", VALGRIND_TOOL_HELGRIND }, { NULL, VALGRIND_TOOL_MEMCHECK }, }; static void alleyoop_class_init (AlleyoopClass *klass); static void alleyoop_init (Alleyoop *alleyoop); static void alleyoop_destroy (GtkObject *obj); static void alleyoop_finalize (GObject *obj); /*static void tree_row_expanded (GtkTreeView *treeview, GtkTreeIter *root, GtkTreePath *path, gpointer user_data); static gboolean tree_button_press (GtkWidget *treeview, GdkEventButton *event, gpointer user_data);*/ static gboolean io_ready_cb (GIOChannel *gio, GIOCondition condition, gpointer user_data); static GnomeAppClass *parent_class = NULL; GType alleyoop_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (AlleyoopClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) alleyoop_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (Alleyoop), 0, /* n_preallocs */ (GInstanceInitFunc) alleyoop_init, }; type = g_type_register_static (GNOME_TYPE_APP, "Alleyoop", &info, 0); } return type; } static void alleyoop_class_init (AlleyoopClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); parent_class = g_type_class_ref (GNOME_TYPE_APP); object_class->finalize = alleyoop_finalize; gtk_object_class->destroy = alleyoop_destroy; } static void alleyoop_init (Alleyoop *grind) { grind->argv = NULL; grind->srcdir = NULL; grind->view = NULL; grind->gio = NULL; grind->watch_id = 0; grind->pid = (pid_t) -1; grind->toolbar_run = NULL; grind->toolbar_kill = NULL; grind->about = NULL; grind->prefs = NULL; } static void alleyoop_finalize (GObject *obj) { Alleyoop *grind = (Alleyoop *) obj; if (grind->gio) g_io_channel_unref (grind->gio); G_OBJECT_CLASS (parent_class)->finalize (obj); } static void alleyoop_destroy (GtkObject *obj) { Alleyoop *grind = (Alleyoop *) obj; if (grind->prefs) { gtk_widget_destroy (grind->prefs); grind->prefs = NULL; } GTK_OBJECT_CLASS (parent_class)->destroy (obj); } static char ** run_prompt_argv (Alleyoop *grind) { GtkWidget *vbox, *hbox, *entry; GtkWidget *dialog, *widget; GError *err = NULL; const char *command; char **argv = NULL; int argc; dialog = gtk_dialog_new_with_buttons (_("Run Executable..."), (GtkWindow *) grind, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_EXECUTE, GTK_RESPONSE_OK, NULL); vbox = gtk_vbox_new (FALSE, 6); gtk_container_set_border_width ((GtkContainer *) vbox, 6); hbox = gtk_hbox_new (FALSE, 6); widget = gtk_image_new_from_stock (GTK_STOCK_DIALOG_QUESTION, GTK_ICON_SIZE_DIALOG); gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); widget = gtk_label_new (_("Enter the path to an executable and\nany arguments you wish to pass to it.")); gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); /* FIXME: use a GnomeFileEntry instead? */ entry = gtk_entry_new (); gtk_widget_show (entry); gtk_box_pack_start ((GtkBox *) vbox, entry, FALSE, FALSE, 0); gtk_widget_show (vbox); gtk_box_pack_start ((GtkBox *) ((GtkDialog *) dialog)->vbox, vbox, FALSE, FALSE, 0); reprompt: if (gtk_dialog_run ((GtkDialog *) dialog) == GTK_RESPONSE_OK) { command = gtk_entry_get_text ((GtkEntry *) entry); if (!g_shell_parse_argv (command, &argc, &argv, &err)) { GtkWidget *msg; msg = gtk_message_dialog_new ((GtkWindow *) dialog, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", err->message); g_error_free (err); err = NULL; gtk_dialog_run ((GtkDialog *) msg); gtk_widget_destroy (msg); argv = NULL; goto reprompt; } } gtk_widget_destroy (dialog); return argv; } static void file_run_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = user_data; GError *err = NULL; GtkWidget *dialog; if (grind->argv == NULL) { char **argv; if (!(argv = run_prompt_argv (grind))) return; g_object_set_data_full ((GObject *) grind, "argv", argv, (GDestroyNotify) g_strfreev); grind->argv = (const char **) argv; } alleyoop_run (grind, &err); if (err != NULL) { dialog = gtk_message_dialog_new ((GtkWindow *) grind, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", err->message); gtk_dialog_run ((GtkDialog *) dialog); gtk_widget_destroy (dialog); g_error_free (err); } } static void file_kill_cb (GtkWidget *widget, gpointer user_data) { alleyoop_kill (user_data); } static void open_ok_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = user_data; const char *filename; GtkWidget *filesel; int fd; filesel = g_object_get_data ((GObject *) grind, "open_filesel"); filename = gtk_file_selection_get_filename ((GtkFileSelection *) filesel); if (filename != NULL) { if ((fd = open (filename, O_RDONLY)) != -1) { vg_tool_view_connect ((VgToolView *) grind->view, fd); grind->pid = (pid_t) -1; grind->gio = g_io_channel_unix_new (fd); grind->watch_id = g_io_add_watch (grind->gio, G_IO_IN | G_IO_HUP, io_ready_cb, grind); gtk_widget_set_sensitive (grind->toolbar_run, FALSE); gtk_widget_set_sensitive (grind->toolbar_kill, TRUE); } else { GtkWidget *dialog; dialog = gtk_message_dialog_new ((GtkWindow *) grind, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Could not load `%s': %s"), filename, g_strerror (errno)); g_signal_connect_swapped (dialog, "response", G_CALLBACK (gtk_widget_destroy), dialog); gtk_widget_show (dialog); } } gtk_widget_destroy (filesel); } static void open_notify_cb (Alleyoop *grind, GObject *deadbeef) { g_object_set_data ((GObject *) grind, "open_filesel", NULL); } static void file_open_cb (GtkWidget *widget, gpointer user_data) { GtkFileSelection *filesel; if ((filesel = g_object_get_data ((GObject *) user_data, "open_filesel"))) { gdk_window_raise (((GtkWidget *) filesel)->window); return; } filesel = (GtkFileSelection *) gtk_file_selection_new (_("Load Valgrind log...")); g_signal_connect (filesel->ok_button, "clicked", G_CALLBACK (open_ok_cb), user_data); g_object_set_data ((GObject *) user_data, "open_filesel", filesel); g_signal_connect_swapped (filesel->cancel_button, "clicked", G_CALLBACK (gtk_widget_destroy), (gpointer) filesel); g_object_weak_ref ((GObject *) filesel, (GWeakNotify) open_notify_cb, user_data); gtk_widget_show ((GtkWidget *) filesel); } static void save_valgrind_log (Alleyoop *grind, const char *filename, int flags) { GtkWidget *dialog; int response; int fd; flags |= O_WRONLY | O_CREAT | O_TRUNC; retry: if ((fd = open (filename, flags, 0666)) != -1) { int errnosav; if (vg_tool_view_save_log ((VgToolView *) grind->view, fd) == -1) { errnosav = errno; close (fd); unlink (filename); errno = errnosav; goto exception; } close (fd); } else if (flags & O_EXCL && errno == EEXIST) { dialog = gtk_message_dialog_new ((GtkWindow *) grind, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, _("Could not save to `%s': %s\nOverwrite?"), filename, g_strerror (errno)); response = gtk_dialog_run ((GtkDialog *) dialog); gtk_widget_destroy (dialog); if (response == GTK_RESPONSE_YES) { flags &= ~O_EXCL; goto retry; } } else { exception: dialog = gtk_message_dialog_new ((GtkWindow *) grind, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Could not save to `%s': %s"), filename, g_strerror (errno)); g_signal_connect_swapped (dialog, "response", G_CALLBACK (gtk_widget_destroy), dialog); gtk_widget_show (dialog); } } static void save_ok_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = user_data; const char *filename; GtkWidget *filesel; filesel = g_object_get_data ((GObject *) grind, "save_filesel"); filename = gtk_file_selection_get_filename ((GtkFileSelection *) filesel); if (filename != NULL) { g_free (g_object_get_data ((GObject *) grind, "save_filename")); g_object_set_data_full ((GObject *) grind, "save_filename", g_strdup (filename), (GDestroyNotify) g_free); } save_valgrind_log (grind, filename, O_EXCL); gtk_widget_destroy (filesel); } static void save_notify_cb (Alleyoop *grind, GObject *deadbeef) { g_object_set_data ((GObject *) grind, "save_filesel", NULL); } static void file_save_as_cb (GtkWidget *widget, gpointer user_data) { GtkFileSelection *filesel; if ((filesel = g_object_get_data ((GObject *) user_data, "save_filesel"))) { gdk_window_raise (((GtkWidget *) filesel)->window); return; } filesel = (GtkFileSelection *) gtk_file_selection_new (_("Save Valgrind log...")); g_signal_connect (filesel->ok_button, "clicked", G_CALLBACK (save_ok_cb), user_data); g_object_set_data ((GObject *) user_data, "save_filesel", filesel); g_signal_connect_swapped (filesel->cancel_button, "clicked", G_CALLBACK (gtk_widget_destroy), (gpointer) filesel); g_object_weak_ref ((GObject *) filesel, (GWeakNotify) save_notify_cb, user_data); gtk_widget_show ((GtkWidget *) filesel); } static void file_save_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = user_data; const char *filename; filename = g_object_get_data ((GObject *) grind, "save_filename"); if (filename != NULL) save_valgrind_log (grind, filename, 0); else file_save_as_cb (widget, user_data); } static void file_quit_cb (GtkWidget *widget, gpointer user_data) { gtk_main_quit (); } static void edit_cut_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = user_data; vg_tool_view_cut ((VgToolView *) grind->view); } static void edit_copy_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = user_data; vg_tool_view_copy ((VgToolView *) grind->view); } static void edit_paste_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = user_data; vg_tool_view_paste ((VgToolView *) grind->view); } static void edit_clear_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = user_data; vg_tool_view_clear ((VgToolView *) grind->view); } static void edit_prefs_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = (Alleyoop *) user_data; gtk_widget_show (grind->prefs); } static void edit_rules_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = (Alleyoop *) user_data; vg_tool_view_show_rules ((VgToolView *) grind->view); } static void tools_default_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = (Alleyoop *) user_data; grind->tool = NULL; } static void tools_addrcheck_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = (Alleyoop *) user_data; grind->tool = "addrcheck"; } #if 0 static void tools_cachegrind_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = (Alleyoop *) user_data; grind->tool = "cachegrind"; } #endif static void tools_helgrind_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind = (Alleyoop *) user_data; grind->tool = "helgrind"; } static void about_destroy (GObject *obj, GObject *deadbeef) { Alleyoop *grind = (Alleyoop *) obj; grind->about = NULL; } static const char *authors[] = { "Jeffrey Stedfast ", NULL }; /* This string should be replaced with the name of the translator */ static const char translation[] = N_("Jeffrey Stedfast"); static void help_about_cb (GtkWidget *widget, gpointer user_data) { Alleyoop *grind; grind = (Alleyoop *) user_data; if (grind->about == NULL) { grind->about = gnome_about_new ("Alleyoop", VERSION, "Copyright 2003-2009 Jeffrey Stedfast ", _("Alleyoop is a Valgrind front-end for the GNOME environment."), (const char **) authors, NULL, _(translation), NULL); g_object_weak_ref ((GObject *) grind->about, (GWeakNotify) about_destroy, grind); gtk_widget_show (grind->about); } gdk_window_raise (grind->about->window); } static GnomeUIInfo file_menu[] = { { GNOME_APP_UI_ITEM, N_("_Run"), NULL, G_CALLBACK (file_run_cb), NULL, NULL, GNOME_APP_PIXMAP_STOCK, GTK_STOCK_EXECUTE, 'r', GDK_CONTROL_MASK, NULL }, { GNOME_APP_UI_ITEM, N_("_Kill"), NULL, G_CALLBACK (file_kill_cb), NULL, NULL, GNOME_APP_PIXMAP_STOCK, GTK_STOCK_CANCEL, 'k', GDK_CONTROL_MASK, NULL }, GNOMEUIINFO_MENU_OPEN_ITEM (G_CALLBACK (file_open_cb), NULL), GNOMEUIINFO_MENU_SAVE_ITEM (G_CALLBACK (file_save_cb), NULL), GNOMEUIINFO_MENU_SAVE_AS_ITEM (G_CALLBACK (file_save_as_cb), NULL), GNOMEUIINFO_SEPARATOR, GNOMEUIINFO_MENU_QUIT_ITEM (G_CALLBACK (file_quit_cb), NULL), GNOMEUIINFO_END }; static GnomeUIInfo edit_menu[] = { GNOMEUIINFO_MENU_CUT_ITEM (G_CALLBACK (edit_cut_cb), NULL), GNOMEUIINFO_MENU_COPY_ITEM (G_CALLBACK (edit_copy_cb), NULL), GNOMEUIINFO_MENU_PASTE_ITEM (G_CALLBACK (edit_paste_cb), NULL), GNOMEUIINFO_MENU_CLEAR_ITEM (G_CALLBACK (edit_clear_cb), NULL), GNOMEUIINFO_END }; static GnomeUIInfo settings_menu[] = { GNOMEUIINFO_MENU_PREFERENCES_ITEM (G_CALLBACK (edit_prefs_cb), NULL), { GNOME_APP_UI_ITEM, N_("Suppressions"), N_("View/Edit Suppressions"), G_CALLBACK (edit_rules_cb), NULL, NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, 0, NULL }, GNOMEUIINFO_END }; static GnomeUIInfo tools_menu_items[] = { { GNOME_APP_UI_ITEM, "Memcheck", NULL, G_CALLBACK (tools_default_cb), NULL, NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, 0, NULL }, { GNOME_APP_UI_ITEM, "Addrcheck", NULL, G_CALLBACK (tools_addrcheck_cb), NULL, NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, 0, NULL }, /*{ GNOME_APP_UI_ITEM, "Cachegrind", NULL, G_CALLBACK (tools_cachegrind_cb), NULL, NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, 0, NULL },*/ { GNOME_APP_UI_ITEM, "Helgrind", NULL, G_CALLBACK (tools_helgrind_cb), NULL, NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, 0, NULL }, GNOMEUIINFO_END }; static GnomeUIInfo tools_menu[] = { GNOMEUIINFO_RADIOLIST (tools_menu_items), GNOMEUIINFO_END }; static GnomeUIInfo help_menu[] = { GNOMEUIINFO_MENU_ABOUT_ITEM (G_CALLBACK (help_about_cb), NULL), GNOMEUIINFO_END }; static GnomeUIInfo alleyoop_menu[] = { GNOMEUIINFO_MENU_FILE_TREE (file_menu), GNOMEUIINFO_MENU_EDIT_TREE (edit_menu), GNOMEUIINFO_MENU_SETTINGS_TREE (settings_menu), GNOMEUIINFO_SUBTREE (N_("Tool"), tools_menu), GNOMEUIINFO_MENU_HELP_TREE (help_menu), GNOMEUIINFO_END }; static GtkWidget * alleyoop_toolbar_new (Alleyoop *grind) { GtkWidget *toolbar, *image; GtkToolbarChild *child; toolbar = gtk_toolbar_new (); image = gtk_image_new_from_stock (GTK_STOCK_EXECUTE, GTK_ICON_SIZE_LARGE_TOOLBAR); gtk_widget_show (image); gtk_toolbar_append_item ((GtkToolbar *) toolbar, _("Run"), _("Run Program"), NULL, image, G_CALLBACK (file_run_cb), grind); image = gtk_image_new_from_stock (GTK_STOCK_CANCEL, GTK_ICON_SIZE_LARGE_TOOLBAR); gtk_widget_show (image); gtk_toolbar_append_item ((GtkToolbar *) toolbar, _("Kill"), _("Kill Program"), NULL, image, G_CALLBACK (file_kill_cb), grind); gtk_toolbar_insert_stock ((GtkToolbar *) toolbar, GTK_STOCK_OPEN, _("Open Log File"), NULL, G_CALLBACK (file_open_cb), grind, 2); gtk_toolbar_insert_stock ((GtkToolbar *) toolbar, GTK_STOCK_SAVE, _("Save Log File"), NULL, G_CALLBACK (file_save_cb), grind, 3); gtk_widget_show (toolbar); child = ((GtkToolbar *) toolbar)->children->data; grind->toolbar_run = child->widget; child = ((GtkToolbar *) toolbar)->children->next->data; grind->toolbar_kill = child->widget; return toolbar; } static void prefs_response_cb (GtkDialog *dialog, int response, gpointer user_data) { Alleyoop *grind = user_data; gtk_widget_hide (grind->prefs); } static gboolean prefs_delete_event (GtkWidget *widget, gpointer user_data) { gtk_widget_hide (widget); return TRUE; } GtkWidget * alleyoop_new (const char *tool, const char **argv, const char **srcdir) { GtkWidget *widget; Alleyoop *grind; char *title; int i; grind = g_object_new (ALLEYOOP_TYPE, NULL); if (argv && argv[0] != NULL) title = g_strdup_printf ("Alleyoop - [%s]", argv[0]); else title = g_strdup ("Alleyoop"); gnome_app_construct ((GnomeApp *) grind, "alleyoop", title); gtk_window_set_default_size ((GtkWindow *) grind, 300, 400); gnome_app_enable_layout_config ((GnomeApp *) grind, TRUE); g_free (title); grind->tool = tool; grind->argv = argv; grind->srcdir = srcdir; /* now construct the UI */ gnome_app_create_menus_with_data ((GnomeApp *) grind, alleyoop_menu, grind); if (tool != NULL) { widget = NULL; for (i = 0; valgrind_tools[i].name != NULL; i++) { if (!strcmp (valgrind_tools[i].name, tool)) { widget = tools_menu_items[i].widget; break; } } if (widget != NULL) gtk_check_menu_item_set_active ((GtkCheckMenuItem *) widget, TRUE); } widget = alleyoop_toolbar_new (grind); gnome_app_set_toolbar ((GnomeApp *) grind, (GtkToolbar *) widget); gtk_widget_set_sensitive (grind->toolbar_run, TRUE); gtk_widget_set_sensitive (grind->toolbar_kill, FALSE); grind->view = widget = vg_default_view_new (); vg_tool_view_set_argv ((VgToolView *) widget, argv); vg_tool_view_set_srcdir ((VgToolView *) widget, srcdir); gtk_widget_show (widget); gnome_app_set_contents ((GnomeApp *) grind, widget); /* create the prefs dialog (we just don't display it) */ grind->prefs = alleyoop_prefs_new (); g_signal_connect (grind->prefs, "response", G_CALLBACK (prefs_response_cb), grind); g_signal_connect (grind->prefs, "delete-event", G_CALLBACK (prefs_delete_event), grind); return (GtkWidget *) grind; } static gboolean io_ready_cb (GIOChannel *gio, GIOCondition condition, gpointer user_data) { Alleyoop *grind = user_data; if ((condition & G_IO_IN) && vg_tool_view_step ((VgToolView *) grind->view) <= 0) { alleyoop_kill (grind); grind->watch_id = 0; return FALSE; } if (condition & G_IO_HUP) { alleyoop_kill (grind); grind->watch_id = 0; return FALSE; } return TRUE; } void alleyoop_run (Alleyoop *grind, GError **err) { char logfd_arg[30]; GPtrArray *args; int logfd[2]; char **argv; int i; if (!grind->argv || !grind->argv[0]) return; if (grind->pid != (pid_t) -1) return; if (pipe (logfd) == -1) return; args = alleyoop_prefs_create_argv ((AlleyoopPrefs *) grind->prefs, grind->tool); sprintf (logfd_arg, "--log-fd=%d", logfd[1]); g_ptr_array_add (args, logfd_arg); g_ptr_array_add (args, "--"); for (i = 0; grind->argv[i] != NULL; i++) g_ptr_array_add (args, (char *) grind->argv[i]); g_ptr_array_add (args, NULL); argv = (char **) args->pdata; grind->pid = process_fork (argv[0], argv, TRUE, logfd[1], NULL, NULL, NULL, err); if (grind->pid == (pid_t) -1) { close (logfd[0]); close (logfd[1]); return; } g_ptr_array_free (args, TRUE); close (logfd[1]); vg_tool_view_connect ((VgToolView *) grind->view, logfd[0]); grind->gio = g_io_channel_unix_new (logfd[0]); grind->watch_id = g_io_add_watch (grind->gio, G_IO_IN | G_IO_HUP, io_ready_cb, grind); gtk_widget_set_sensitive (grind->toolbar_run, FALSE); gtk_widget_set_sensitive (grind->toolbar_kill, TRUE); } void alleyoop_kill (Alleyoop *grind) { vg_tool_view_disconnect ((VgToolView *) grind->view); if (grind->gio) { g_io_channel_close (grind->gio); g_io_channel_unref (grind->gio); grind->watch_id = 0; grind->gio = NULL; } if (grind->pid != (pid_t) -1) { process_kill (grind->pid); grind->pid = (pid_t) -1; } gtk_widget_set_sensitive (grind->toolbar_run, TRUE); gtk_widget_set_sensitive (grind->toolbar_kill, FALSE); } alleyoop-0.9.8/src/vgmemcheckprefs.c0000644000175000001440000004012011503266166014400 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include "vgmemcheckprefs.h" #define LEAK_CHECK_KEY "/apps/alleyoop/valgrind/memcheck/leak-check" #define SHOW_REACHABLE_KEY "/apps/alleyoop/valgrind/memcheck/show-reachable" #define LEAK_RESOLUTION_KEY "/apps/alleyoop/valgrind/memcheck/leak-resolution" #define FREELIST_VOL_KEY "/apps/alleyoop/valgrind/memcheck/freelist-vol" //#define ENABLE_IGNORE_RANGES_KEY "/apps/alleyoop/valgrind/memcheck/enable-ignore-ranges" #define IGNORE_RANGES_KEY "/apps/alleyoop/valgrind/memcheck/ignore-ranges" //#define ENABLE_MALLOC_FILL_KEY "/apps/alleyoop/valgrind/memcheck/enable-malloc-fill" #define MALLOC_FILL_KEY "/apps/alleyoop/valgrind/memcheck/malloc-fill" //#define ENABLE_FREE_FILL_KEY "/apps/alleyoop/valgrind/memcheck/enable-free-fill" #define FREE_FILL_KEY "/apps/alleyoop/valgrind/memcheck/free-fill" #define WORKAROUND_GCC296_BUGS_KEY "/apps/alleyoop/valgrind/memcheck/workaround-gcc296-bugs" #define TRACK_ORIGINS_KEY "/apps/alleyoop/valgrind/memcheck/track-origins" static void vg_memcheck_prefs_class_init (VgMemcheckPrefsClass *klass); static void vg_memcheck_prefs_init (VgMemcheckPrefs *prefs); static void vg_memcheck_prefs_destroy (GtkObject *obj); static void vg_memcheck_prefs_finalize (GObject *obj); static void memcheck_prefs_apply (VgToolPrefs *prefs); static void memcheck_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv); static VgToolPrefsClass *parent_class = NULL; GType vg_memcheck_prefs_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (VgMemcheckPrefsClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) vg_memcheck_prefs_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (VgMemcheckPrefs), 0, /* n_preallocs */ (GInstanceInitFunc) vg_memcheck_prefs_init, }; type = g_type_register_static (VG_TYPE_TOOL_PREFS, "VgMemcheckPrefs", &info, 0); } return type; } static void vg_memcheck_prefs_class_init (VgMemcheckPrefsClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); VgToolPrefsClass *tool_class = VG_TOOL_PREFS_CLASS (klass); parent_class = g_type_class_ref (VG_TYPE_TOOL_PREFS); object_class->finalize = vg_memcheck_prefs_finalize; gtk_object_class->destroy = vg_memcheck_prefs_destroy; /* virtual methods */ tool_class->apply = memcheck_prefs_apply; tool_class->get_argv = memcheck_prefs_get_argv; } static void toggle_button_toggled (GtkToggleButton *toggle, const char *key) { GConfClient *gconf; gboolean bool; gconf = gconf_client_get_default (); bool = gtk_toggle_button_get_active (toggle); gconf_client_set_bool (gconf, key, bool, NULL); g_object_unref (gconf); } static void menu_item_activated (GtkMenuItem *item, const char *key) { GConfClient *gconf; const char *str; gconf = gconf_client_get_default (); str = g_object_get_data ((GObject *) item, "value"); gconf_client_set_string (gconf, key, str, NULL); g_object_unref (gconf); } static gboolean spin_focus_out (GtkSpinButton *spin, GdkEventFocus *event, const char *key) { GConfClient *gconf; int num; gconf = gconf_client_get_default (); num = gtk_spin_button_get_value_as_int (spin); gconf_client_set_int (gconf, key, num, NULL); g_object_unref (gconf); return FALSE; } static char * decode_hex_range (const char *text) { const char *inptr, *inend; unsigned long int retval; char *str, next = ','; int range_start = 0; GString *output; output = g_string_new (""); inptr = text; while (isspace ((int) ((unsigned char) *inptr))) inptr++; while (*inptr) { retval = strtoul (inptr, (char **) &inend, 16); if (inend == inptr) break; g_string_append_printf (output, "0x%X", retval); if (next == '-') { range_start = output->len; next = ','; } else { next = '-'; } inptr = inend; while (isspace ((int) ((unsigned char) *inptr))) inptr++; if (*inptr != next) break; g_string_append_c (output, next); inptr++; while (isspace ((int) ((unsigned char) *inptr))) inptr++; } if (range_start == 0) { g_string_free (output, TRUE); return NULL; } g_string_set_size (output, range_start); str = output->str; g_string_free (output, FALSE); return str; } static char * decode_hex_value (const char *text) { unsigned long int retval; const char *inend; retval = strtoul (text, (char **) &inend, 16); if (inend == text) return NULL; return g_strdup_printf ("0x%X", retval); } static gboolean entry_focus_out (GtkEntry *entry, GdkEventFocus *event, const char *key) { GConfClient *gconf; const char *text; char *str; gconf = gconf_client_get_default (); if ((text = gtk_entry_get_text (entry))) { if (!strcmp (key, IGNORE_RANGES_KEY)) str = decode_hex_range (text); else str = decode_hex_value (text); } else { str = NULL; } if (str != NULL) { gconf_client_set_string (gconf, key, str, NULL); gtk_entry_set_text (entry, str); g_free (str); } else { gconf_client_unset (gconf, key, NULL); gtk_entry_set_text (entry, ""); } g_object_unref (gconf); return FALSE; } static GtkWidget * option_menu_new (GConfClient *gconf, char *key, char **values, int n, int def) { GtkWidget *omenu, *menu, *item; int history = def; char *str; int i; str = gconf_client_get_string (gconf, key, NULL); menu = gtk_menu_new (); for (i = 0; i < n; i++) { if (str && !strcmp (values[i], str)) history = i; item = gtk_menu_item_new_with_label (values[i]); g_object_set_data ((GObject *) item, "value", values[i]); g_signal_connect (item, "activate", G_CALLBACK (menu_item_activated), key); gtk_widget_show (item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); } gtk_widget_show (menu); omenu = gtk_option_menu_new (); gtk_option_menu_set_menu ((GtkOptionMenu *) omenu, menu); gtk_option_menu_set_history ((GtkOptionMenu *) omenu, history); g_free (str); return omenu; } static char *leak_checks[] = { "no", "summary", "full" }; static char *leak_resolutions[] = { "low", "med", "high" }; static void vg_memcheck_prefs_init (VgMemcheckPrefs *prefs) { GtkWidget *vbox, *hbox, *label, *frame; GConfClient *gconf; GtkWidget *widget; gboolean bool; char *str; int num; gconf = gconf_client_get_default (); ((VgToolPrefs *) prefs)->label = _("Memcheck"); vbox = (GtkWidget *) prefs; gtk_box_set_spacing ((GtkBox *) vbox, 6); frame = gtk_frame_new (_("Memory leaks")); vbox = gtk_vbox_new (FALSE, 6); gtk_container_set_border_width ((GtkContainer *) vbox, 6); /* --leak-check */ hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Leak check:")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); widget = option_menu_new (gconf, LEAK_CHECK_KEY, leak_checks, G_N_ELEMENTS (leak_checks), 1); prefs->leak_check = (GtkOptionMenu *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); /* --show-reachable */ bool = gconf_client_get_bool (gconf, SHOW_REACHABLE_KEY, NULL); widget = gtk_check_button_new_with_label (_("Show reachable blocks in leak check")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), SHOW_REACHABLE_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->show_reachable = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); /* --leak-resolution */ hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Leak resolution:")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); widget = option_menu_new (gconf, LEAK_RESOLUTION_KEY, leak_resolutions, G_N_ELEMENTS (leak_resolutions), 0); prefs->leak_resolution = (GtkOptionMenu *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); gtk_widget_show (vbox); gtk_container_add ((GtkContainer *) frame, vbox); vbox = (GtkWidget *) prefs; gtk_widget_show (frame); gtk_box_pack_start ((GtkBox *) vbox, frame, FALSE, FALSE, 0); /* --freelist-vol */ hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Keep up to")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); num = gconf_client_get_int (gconf, FREELIST_VOL_KEY, NULL); widget = gtk_spin_button_new_with_range (0, (gdouble) INT_MAX, 4); gtk_widget_show (widget); prefs->freelist_vol = (GtkSpinButton *) widget; gtk_spin_button_set_digits (prefs->freelist_vol, 0); gtk_spin_button_set_numeric (prefs->freelist_vol, TRUE); gtk_spin_button_set_value (prefs->freelist_vol, (gdouble) num); g_signal_connect (widget, "focus-out-event", G_CALLBACK (spin_focus_out), FREELIST_VOL_KEY); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); label = gtk_label_new (_("bytes in the queue after being free()'d")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); /* --ignore-ranges */ hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Ignore memory ranges:")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); str = gconf_client_get_string (gconf, IGNORE_RANGES_KEY, NULL); widget = gtk_entry_new (); gtk_entry_set_text ((GtkEntry *) widget, str ? str : ""); gtk_widget_show (widget); prefs->ignore_ranges = (GtkEntry *) widget; g_signal_connect (widget, "focus-out-event", G_CALLBACK (entry_focus_out), IGNORE_RANGES_KEY); gtk_box_pack_start ((GtkBox *) hbox, widget, TRUE, TRUE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); g_free (str); /* --malloc-fill */ hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Fill malloc'd memory with:")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); str = gconf_client_get_string (gconf, MALLOC_FILL_KEY, NULL); widget = gtk_entry_new (); gtk_entry_set_text ((GtkEntry *) widget, str ? str : ""); gtk_widget_show (widget); prefs->malloc_fill = (GtkEntry *) widget; g_signal_connect (widget, "focus-out-event", G_CALLBACK (entry_focus_out), MALLOC_FILL_KEY); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); g_free (str); /* --free-fill */ hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Fill free'd memory with:")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); str = gconf_client_get_string (gconf, FREE_FILL_KEY, NULL); widget = gtk_entry_new (); gtk_entry_set_text ((GtkEntry *) widget, str ? str : ""); gtk_widget_show (widget); prefs->free_fill = (GtkEntry *) widget; g_signal_connect (widget, "focus-out-event", G_CALLBACK (entry_focus_out), FREE_FILL_KEY); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); g_free (str); /* --track-origins */ bool = gconf_client_get_bool (gconf, TRACK_ORIGINS_KEY, NULL); widget = gtk_check_button_new_with_label (_("Track origins of undefined values")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), TRACK_ORIGINS_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->track_origins = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); /* --workaround-gcc296-bugs */ bool = gconf_client_get_bool (gconf, WORKAROUND_GCC296_BUGS_KEY, NULL); widget = gtk_check_button_new_with_label (_("Work around bugs generated by gcc 2.96")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), WORKAROUND_GCC296_BUGS_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->workaround_gcc296_bugs = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); g_object_unref (gconf); } static void vg_memcheck_prefs_finalize (GObject *obj) { G_OBJECT_CLASS (parent_class)->finalize (obj); } static void vg_memcheck_prefs_destroy (GtkObject *obj) { GTK_OBJECT_CLASS (parent_class)->destroy (obj); } static void memcheck_prefs_apply (VgToolPrefs *prefs) { ; } enum { ARG_TYPE_BOOL, ARG_TYPE_INT, ARG_TYPE_STRING }; enum { ADDRCHECK = 1, MEMCHECK = 2, BOTH = 3 }; static struct { const char *key; const char *arg; unsigned int mask; char *buf; int type; int dval; } memcheck_args[] = { { LEAK_CHECK_KEY, "--leak-check", BOTH, NULL, ARG_TYPE_STRING, 0 }, { SHOW_REACHABLE_KEY, "--show-reachable", BOTH, NULL, ARG_TYPE_BOOL, 0 }, { LEAK_RESOLUTION_KEY, "--leak-resolution", BOTH, NULL, ARG_TYPE_STRING, 0 }, { FREELIST_VOL_KEY, "--freelist-vol", BOTH, NULL, ARG_TYPE_INT, 1000000 }, { IGNORE_RANGES_KEY, "--ignore-ranges", MEMCHECK, NULL, ARG_TYPE_STRING, 0 }, { MALLOC_FILL_KEY, "--malloc-fill", MEMCHECK, NULL, ARG_TYPE_STRING, 0 }, { FREE_FILL_KEY, "--free-fill", MEMCHECK, NULL, ARG_TYPE_STRING, 0 }, { TRACK_ORIGINS_KEY, "--track-origins", MEMCHECK, NULL, ARG_TYPE_BOOL, 0, }, { WORKAROUND_GCC296_BUGS_KEY, "--workaround-gcc296-bugs", BOTH, NULL, ARG_TYPE_BOOL, 0 }, }; static void memcheck_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv) { GConfClient *gconf; unsigned int mode; int bool, num, i; char *str; if (tool != NULL && !strcmp (tool, "addrcheck")) mode = ADDRCHECK; else mode = MEMCHECK; gconf = gconf_client_get_default (); for (i = 0; i < G_N_ELEMENTS (memcheck_args); i++) { const char *arg = memcheck_args[i].arg; const char *key = memcheck_args[i].key; g_free (memcheck_args[i].buf); if (memcheck_args[i].mask & mode) { if (memcheck_args[i].type == ARG_TYPE_INT) { /* integer value */ num = gconf_client_get_int (gconf, key, NULL); if (num == memcheck_args[i].dval) continue; memcheck_args[i].buf = g_strdup_printf ("%s=%d", arg, num); } else if (memcheck_args[i].type == ARG_TYPE_BOOL) { /* boolean value */ bool = gconf_client_get_bool (gconf, key, NULL) ? 1 : 0; if (bool == memcheck_args[i].dval) continue; memcheck_args[i].buf = g_strdup_printf ("%s=%s", arg, bool ? "yes" : "no"); } else { /* string value */ if (!(str = gconf_client_get_string (gconf, key, NULL)) || *str == '\0') { memcheck_args[i].buf = NULL; g_free (str); continue; } memcheck_args[i].buf = g_strdup_printf ("%s=%s", arg, str); g_free (str); } g_ptr_array_add (argv, memcheck_args[i].buf); } else { memcheck_args[i].buf = NULL; } } g_object_unref (gconf); } alleyoop-0.9.8/src/vgmarshal.c0000644000175000001440000000516611302525037013216 00000000000000 #include #ifdef G_ENABLE_DEBUG #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) #define g_marshal_value_peek_char(v) g_value_get_char (v) #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) #define g_marshal_value_peek_int(v) g_value_get_int (v) #define g_marshal_value_peek_uint(v) g_value_get_uint (v) #define g_marshal_value_peek_long(v) g_value_get_long (v) #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) #define g_marshal_value_peek_enum(v) g_value_get_enum (v) #define g_marshal_value_peek_flags(v) g_value_get_flags (v) #define g_marshal_value_peek_float(v) g_value_get_float (v) #define g_marshal_value_peek_double(v) g_value_get_double (v) #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) #define g_marshal_value_peek_param(v) g_value_get_param (v) #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) #define g_marshal_value_peek_object(v) g_value_get_object (v) #else /* !G_ENABLE_DEBUG */ /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. * Do not access GValues directly in your code. Instead, use the * g_value_get_*() functions */ #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int #define g_marshal_value_peek_char(v) (v)->data[0].v_int #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint #define g_marshal_value_peek_int(v) (v)->data[0].v_int #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint #define g_marshal_value_peek_long(v) (v)->data[0].v_long #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 #define g_marshal_value_peek_enum(v) (v)->data[0].v_long #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong #define g_marshal_value_peek_float(v) (v)->data[0].v_float #define g_marshal_value_peek_double(v) (v)->data[0].v_double #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer #endif /* !G_ENABLE_DEBUG */ /* NONE:NONE (./vgmarshal.list:1) */ /* NONE:INT (./vgmarshal.list:2) */ /* NONE:POINTER (./vgmarshal.list:3) */ alleyoop-0.9.8/src/main.c0000644000175000001440000001454311302635446012163 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include "getopts.h" #include "alleyoop.h" #include "vgstrpool.h" static gboolean alleyoop_close (GtkWidget *widget, gpointer user_data) { gtk_main_quit (); return FALSE; } static void add_subdirs (GPtrArray *srcdir, GPtrArray *gc, const char *topsrcdir) { struct dirent *dent; GPtrArray *subdirs; struct stat st; char *path; DIR *dir; int i; if (!(dir = opendir (topsrcdir))) return; subdirs = g_ptr_array_new (); while ((dent = readdir (dir))) { if (dent->d_name[0] == '.') continue; path = g_strdup_printf ("%s/%s", topsrcdir, dent->d_name); if (stat (path, &st) != -1 && S_ISDIR (st.st_mode)) { g_ptr_array_add (subdirs, path); } else { g_free (path); } } closedir (dir); for (i = 0; i < subdirs->len; i++) { path = subdirs->pdata[i]; g_ptr_array_add (srcdir, path); g_ptr_array_add (gc, path); add_subdirs (srcdir, gc, path); } g_ptr_array_free (subdirs, TRUE); } static const char *tool = NULL; static GPtrArray *srcdir, *gc; static void shutdown (void) { size_t i; for (i = 0; i < gc->len; i++) g_free (gc->pdata[i]); g_ptr_array_free (gc, TRUE); g_ptr_array_free (srcdir, TRUE); } static int display_help (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { printf ("Usage: %s [OPTIONS...] [program [options]]\n\n", PACKAGE); getopts_print_help (ctx); shutdown (); exit (0); return 0; } static int display_version (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { fputs (PACKAGE " " VERSION "\n", stdout); shutdown (); exit (0); return 0; } static int include_dir (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { g_ptr_array_add (srcdir, (char *) arg); return 0; } static int recurse_dir (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { g_ptr_array_add (srcdir, (char *) arg); add_subdirs (srcdir, gc, arg); return 0; } static int use_tool (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { if (!g_ascii_strcasecmp (arg, "memcheck")) { /* default */ tool = NULL; } else if (!g_ascii_strcasecmp (arg, "addrcheck")) { tool = "addrcheck"; } else if (!g_ascii_strcasecmp (arg, "cachegrind")) { /*tool = "cachegrind";*/ fprintf (stderr, "%s is currently an unsupported tool\n", arg); } else if (!g_ascii_strcasecmp (arg, "helgrind")) { /*tool = "helgrind";*/ fprintf (stderr, "%s is currently an unsupported tool\n", arg); } else { fprintf (stderr, "Unknown tool: %s\n", arg); shutdown (); exit (0); } return 0; } #define HELP_TEXT N_("Display help and quit") #define VERSION_TEXT N_("Display version and quit") #define INCLUDE_TEXT N_("Add to the list of directories to search for source files") #define RECURSIVE_TEXT N_("Recursively add and all subdirectories to the list of directories to search for source files") #define TOOL_TEXT N_("Specify the default Valgrind tool to use") static GetOptsOption options[] = { { "help", 'h', GETOPTS_NO_ARG | GETOPTS_ARG_CUSTOM, HELP_TEXT, NULL, 'h', display_help, NULL }, { "version", 'v', GETOPTS_NO_ARG | GETOPTS_ARG_CUSTOM, VERSION_TEXT, NULL, 'v', display_version, NULL }, { "include", 'I', GETOPTS_REQUIRED_CUSTOM_ARG, INCLUDE_TEXT, "", 'I', include_dir, NULL }, { "recursive", 'R', GETOPTS_REQUIRED_CUSTOM_ARG, RECURSIVE_TEXT, "", 'R', recurse_dir, NULL }, { "tool", '\0', GETOPTS_REQUIRED_CUSTOM_ARG, TOOL_TEXT, "", 't', use_tool, NULL }, GETOPTS_TABLE_END }; int main (int argc, char **argv) { GnomeProgram *program; GetOptsContext *ctx; GtkWidget *alleyoop; const char **args; char *srcdir_env; int i, n; #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); #endif gc = g_ptr_array_new (); srcdir = g_ptr_array_new (); for (i = 0; i < G_N_ELEMENTS (options); i++) options[i].description = _(options[i].description); ctx = getopts_context_new (argc, argv, options, GETOPTS_FLAG_ALLOW_SINGLE_DASH | GETOPTS_FLAG_BREAK_ON_FIRST_NONARG); getopts_parse_args (ctx); args = getopts_get_args (ctx, &n); /* if there are no args, set args to NULL so that the Run command will prompt. */ if (n == 0) args = NULL; program = gnome_program_init (PACKAGE, VERSION, LIBGNOMEUI_MODULE, argc, argv, GNOME_PARAM_HUMAN_READABLE_NAME, _("Alleyoop"), GNOME_PARAM_APP_DATADIR, PACKAGE_DATA_DIR, NULL); if ((srcdir_env = getenv ("ALLEYOOP_INCLUDE_PATH"))) { /* add our environment to the list of srcdir paths */ char *path, *p; path = srcdir_env = g_strdup (srcdir_env); do { if ((p = strchr (path, ':'))) { *p++ = '\0'; if (path[0] != '\0') g_ptr_array_add (srcdir, path); } else { g_ptr_array_add (srcdir, path); break; } path = p; } while (path != NULL); } g_ptr_array_add (srcdir, NULL); glade_init (); vg_strpool_init (); alleyoop = alleyoop_new (tool, args, (const char **) srcdir->pdata); g_signal_connect (alleyoop, "delete-event", G_CALLBACK (alleyoop_close), NULL); gtk_widget_show (alleyoop); gtk_main (); getopts_context_free (ctx, TRUE); g_object_unref (program); vg_strpool_shutdown (); g_free (srcdir_env); shutdown (); return 0; } alleyoop-0.9.8/src/getopts.c0000644000175000001440000006447111276130505012725 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include "getopts.h" struct _GetOptsContext { GetOptsOption *options; GetOptsFlags flags; char **argv; int argc; /* unused args */ char **args; int nargs; int index; int subindex; int argindex; int lastopt; int err; const char *arg; }; static const char * basename (const char *path) { const char *p; if ((p = strrchr (path, '/'))) return p + 1; return path; } GetOptsContext * getopts_context_new (int argc, char **argv, GetOptsOption *options, GetOptsFlags flags) { GetOptsContext *ctx; if (!(ctx = malloc (sizeof (GetOptsContext)))) return NULL; if (!(ctx->args = malloc (sizeof (char *) * (argc + 1)))) { free (ctx); return NULL; } ctx->options = options; ctx->flags = flags; ctx->argv = argv; ctx->argc = argc; ctx->nargs = 0; ctx->index = 0; ctx->subindex = 0; ctx->argindex = 0; ctx->lastopt = 0; ctx->err = 0; ctx->arg = NULL; return ctx; } void getopts_context_free (GetOptsContext *ctx, int freeargs) { if (freeargs) free (ctx->args); free (ctx); } void getopts_context_reset (GetOptsContext *ctx) { ctx->nargs = 0; ctx->index = 0; ctx->subindex = 0; ctx->argindex = 0; ctx->lastopt = 0; ctx->err = 0; ctx->arg = NULL; } enum { HAS_NO_OPTS = 0x0, HAS_SHORT_OPTS = 0x1, HAS_LONG_OPTS = 0x2, HAS_BOTH_OPTS = 0x3, }; static void get_widths (GetOptsOption *options, uint32_t *hasp, size_t *opts_width, size_t *desc_width) { uint32_t has = HAS_NO_OPTS; size_t n, max = 0; uint32_t flags; int i; for (i = 0; options[i].id != 0; i++) { flags = options[i].flags & GETOPTS_FLAG_MASK; if (options[i].short_name) { if (options[i].arg_descrip && !options[i].long_name) { n = strlen (options[i].arg_descrip); if (options[i].flags & GETOPTS_OPTIONAL_ARG) n += 2; if (!(options[i].flags & GETOPTS_ARG_IN_SHORT)) n++; /* compensate for the fact that the * short_name column ends 2 chars * before long_name column begins */ n = n >= 4 ? n - 4 : 0; max = n > max ? n : max; } has |= HAS_SHORT_OPTS; } if (options[i].long_name) { n = strlen (options[i].long_name); if (options[i].arg_descrip && flags && !(flags & GETOPTS_ARG_IN_SHORT)) { if (flags & GETOPTS_REQUIRED_ARG) n += strlen (options[i].arg_descrip) + 1; else n += strlen (options[i].arg_descrip) + 3; } max = n > max ? n : max; has |= HAS_LONG_OPTS; } } n = 0; if (has != 0) { n = 2; /* left margin */ if (has & HAS_SHORT_OPTS) n += 2 /* "-%c" */ + ((has & HAS_LONG_OPTS) ? 2 /* ", " */ : 0); if (has & HAS_LONG_OPTS) n += 2 + max; /* "--%s" */ n += 2; /* right margin */ } *hasp = has; *opts_width = n; *desc_width = 80 - n; } void getopts_print_help (GetOptsContext *ctx) { size_t opts_width, desc_width; register const char *inptr; const char *start, *lwsp; size_t width, n; uint32_t flags; uint32_t has; int i; get_widths (ctx->options, &has, &opts_width, &desc_width); for (i = 0; ctx->options[i].id != 0; i++) { if (ctx->options[i].short_name) { if (ctx->options[i].arg_descrip && !ctx->options[i].long_name) { /* we don't have a long_name so we have room to put an arg_descrip */ if (ctx->options[i].flags & GETOPTS_ARG_IN_SHORT) { if (ctx->options[i].flags & GETOPTS_REQUIRED_ARG) { width = printf (" -%c%s", ctx->options[i].short_name, ctx->options[i].arg_descrip); } else { width = printf (" -%c[%s]", ctx->options[i].short_name, ctx->options[i].arg_descrip); } } else { if (ctx->options[i].flags & GETOPTS_REQUIRED_ARG) { width = printf (" -%c %s", ctx->options[i].short_name, ctx->options[i].arg_descrip); } else { width = printf (" -%c [%s]", ctx->options[i].short_name, ctx->options[i].arg_descrip); } } } else { printf (" -%c%s ", ctx->options[i].short_name, ctx->options[i].long_name ? "," : " "); width = 6; } } else if (has == HAS_BOTH_OPTS) { fputs (" ", stdout); width = 6; } else { fputs (" ", stdout); width = 2; } if (ctx->options[i].long_name) { flags = ctx->options[i].flags & GETOPTS_FLAG_MASK; width += printf ("--%s", ctx->options[i].long_name); if (ctx->options[i].arg_descrip && flags && !(flags & GETOPTS_ARG_IN_SHORT)) { if (flags & GETOPTS_REQUIRED_ARG) width += printf ("=%s", ctx->options[i].arg_descrip); else width += printf ("[=%s]", ctx->options[i].arg_descrip); } } inptr = ctx->options[i].description; while (*inptr != '\0') { while (width < opts_width) { fputc (' ', stdout); width++; } lwsp = NULL; start = inptr; while (*inptr != '\0' && (inptr - start) < desc_width) { if (*inptr == ' ') lwsp = inptr; inptr++; } if (!lwsp) lwsp = inptr; if (*inptr != '\0') { n = lwsp - start; inptr = lwsp + 1; } else { n = inptr - start; } fwrite (start, 1, n, stdout); fputc ('\n', stdout); width = 0; } } fflush (stdout); } static int decode_bool (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { if (!arg || !strcmp (arg, "yes") || !strcmp (arg, "true")) { *((int *) valuep) = 1; return 0; } if (!strcmp (arg, "no") || !strcmp (arg, "false")) { *((int *) valuep) = 0; return 0; } ctx->err = EINVAL; return -1; } #define STRTOINT(bits, max) \ static int \ strtoint##bits (const char *in, char **inend, int##bits##_t *retval, int *err) \ { \ register const char *inptr = in; \ int##bits##_t val = 0; \ int digit, sign = 1; \ \ while (*inptr == ' ') \ inptr++; \ \ if (*inptr == '-') { \ sign = -1; \ inptr++; \ } \ \ in = inptr; \ while (*inptr >= '0' && *inptr <= '9') { \ digit = (*inptr - '0'); \ if (val > (max / 10)) { \ *err = EOVERFLOW; \ return -1; \ } else if (val == (max / 10)) { \ if (digit > (max % 10) && \ (sign > 0 || digit > ((max % 10) + 1))) { \ *err = EOVERFLOW; \ return -1; \ } \ \ if (sign < 0) \ val = (val * sign * 10) - digit; \ else \ val = (val * 10) + digit; \ \ inptr++; \ if (*inptr >= '0' && *inptr <= '9') { \ *err = EOVERFLOW; \ return -1; \ } \ \ goto ret; \ } else { \ val = (val * 10) + digit; \ } \ \ inptr++; \ } \ \ if (inptr == in) { \ *err = EINVAL; \ return -1; \ } \ \ val *= sign; \ \ ret: \ *inend = (char *) inptr; \ *retval = val; \ \ return 0; \ } STRTOINT(8, 127) STRTOINT(16, 32767) STRTOINT(32, 2147483647L) STRTOINT(64, 9223372036854775807LL) #define STRTOUINT(bits, max) \ static int \ strtouint##bits (const char *in, char **inend, uint##bits##_t *retval, int *err) \ { \ register const char *inptr = in; \ uint##bits##_t val = 0; \ int digit; \ \ while (*inptr == ' ') \ inptr++; \ \ in = inptr; \ while (*inptr >= '0' && *inptr <= '9') { \ digit = (*inptr - '0'); \ if (val > (max / 10)) { \ *err = EOVERFLOW; \ return -1; \ } else if (val == (max / 10) && digit > (max % 10)) { \ *err = EOVERFLOW; \ return -1; \ } else { \ val = (val * 10) + digit; \ } \ \ inptr++; \ } \ \ if (inptr == in) { \ *err = EINVAL; \ return -1; \ } \ \ *inend = (char *) inptr; \ *retval = val; \ \ return 0; \ } STRTOUINT(8, 255) STRTOUINT(16, 65535) STRTOUINT(32, 4294967295UL) STRTOUINT(64, 18446744073709551615ULL) #define DECODE_INT(bits) \ static int \ decode_int##bits (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) \ { \ char *endptr; \ \ if ((strtoint##bits (arg, &endptr, (int##bits##_t *) valuep, &ctx->err) == -1)) \ return -1; \ \ if (*endptr != '\0') { \ ctx->err = EINVAL; \ return -1; \ } \ \ return 0; \ } DECODE_INT(8) DECODE_INT(16) DECODE_INT(32) DECODE_INT(64) #define DECODE_UINT(bits) \ static int \ decode_uint##bits (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) \ { \ char *endptr; \ \ if ((strtouint##bits (arg, &endptr, (uint##bits##_t *) valuep, &ctx->err) == -1)) \ return -1; \ \ if (*endptr != '\0') { \ ctx->err = EINVAL; \ return -1; \ } \ \ return 0; \ } DECODE_UINT(8) DECODE_UINT(16) DECODE_UINT(32) DECODE_UINT(64) static int decode_float (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { char *endptr; float val; val = (float) strtod (arg, &endptr); if (endptr == (char *) arg || *endptr != '\0') return -1; *((float *) valuep) = val; return 0; } static int decode_double (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { char *endptr; double val; val = strtod (arg, &endptr); if (endptr == (char *) arg || *endptr != '\0') return -1; *((double *) valuep) = val; return 0; } static int decode_string (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { *((char **) valuep) = (char *) arg; return 0; } static int decode_arg (GetOptsContext *ctx, GetOptsOption *opt, const char *arg) { void *valuep = opt->value; int rc; if (opt->value == NULL && !(opt->flags & GETOPTS_ARG_CUSTOM)) { ctx->arg = arg; return opt->id; } switch (opt->flags & GETOPTS_ARG_MASK) { case GETOPTS_ARG_NONE: case GETOPTS_ARG_BOOL: rc = decode_bool (ctx, opt, arg, valuep); break; case GETOPTS_ARG_INT8: rc = decode_int8 (ctx, opt, arg, valuep); break; case GETOPTS_ARG_UINT8: rc = decode_uint8 (ctx, opt, arg, valuep); break; case GETOPTS_ARG_INT16: rc = decode_int16 (ctx, opt, arg, valuep); break; case GETOPTS_ARG_UINT16: rc = decode_uint16 (ctx, opt, arg, valuep); break; case GETOPTS_ARG_INT32: rc = decode_int32 (ctx, opt, arg, valuep); break; case GETOPTS_ARG_UINT32: rc = decode_uint32 (ctx, opt, arg, valuep); break; case GETOPTS_ARG_INT64: rc = decode_int64 (ctx, opt, arg, valuep); break; case GETOPTS_ARG_UINT64: rc = decode_uint64 (ctx, opt, arg, valuep); break; case GETOPTS_ARG_FLOAT: rc = decode_float (ctx, opt, arg, valuep); break; case GETOPTS_ARG_DOUBLE: rc = decode_double (ctx, opt, arg, valuep); break; case GETOPTS_ARG_STRING: rc = decode_string (ctx, opt, arg, valuep); break; case GETOPTS_ARG_CUSTOM: rc = opt->custom (ctx, opt, arg, valuep); break; default: return GETOPTS_ERROR_INVALID_ARG; } if (rc == -1) return GETOPTS_ERROR_INVALID_ARG; return opt->id; } #define GETOPTS_CAN_HAVE_ARG(x) ((x) & (GETOPTS_OPTIONAL_ARG | GETOPTS_REQUIRED_ARG)) int getopts_get_next_opt (GetOptsContext *ctx) { const char *long_opt, *arg, *eq; size_t n, len; int i; ctx->err = 0; if (ctx->subindex == 0) { if (ctx->argindex > ctx->index) ctx->index = ctx->argindex + 1; else ctx->index++; } while (ctx->index < ctx->argc) { if (!strncmp (ctx->argv[ctx->index], "--", 2)) { ctx->lastopt = ctx->index; if (ctx->argv[ctx->index][2] == '\0') break; eq = long_opt = ctx->argv[ctx->index] + 2; while (*eq && *eq != '=') eq++; n = eq - long_opt; for (i = 0; ctx->options[i].id != 0; i++) { len = ctx->options[i].long_name ? strlen (ctx->options[i].long_name) : 0; if (len == n && !strncmp (long_opt, ctx->options[i].long_name, n)) goto get_long_arg; } return GETOPTS_ERROR_BAD_OPTION; } else if (ctx->argv[ctx->index][0] == '-') { ctx->lastopt = ctx->index; long_opt = ctx->argv[ctx->index] + 1; if (ctx->subindex == 0 && (ctx->flags & GETOPTS_FLAG_ALLOW_SINGLE_DASH) && *long_opt) { eq = long_opt; while (*eq && *eq != '=') eq++; n = eq - long_opt; for (i = 0; ctx->options[i].id != 0; i++) { len = ctx->options[i].long_name ? strlen (ctx->options[i].long_name) : 0; if (len == n && !strncmp (long_opt, ctx->options[i].long_name, n)) goto get_long_arg; } /* fall thru */ } ctx->subindex++; if (ctx->argv[ctx->index][ctx->subindex] != '\0') { for (i = 0; ctx->options[i].id != 0; i++) { if (ctx->argv[ctx->index][ctx->subindex] == ctx->options[i].short_name) goto get_arg; } return GETOPTS_ERROR_BAD_OPTION; } if (ctx->argindex > ctx->index) ctx->index = ctx->argindex; } else if (ctx->flags & GETOPTS_FLAG_BREAK_ON_FIRST_NONARG) { break; } else { /* keep track of unused args */ ctx->args[ctx->nargs++] = ctx->argv[ctx->index]; } ctx->index++; ctx->subindex = 0; } return -1; get_long_arg: if (!GETOPTS_CAN_HAVE_ARG (ctx->options[i].flags)) return decode_arg (ctx, &ctx->options[i], NULL); if (*eq != '\0') { return decode_arg (ctx, &ctx->options[i], eq + 1); } else if (ctx->index + 1 < ctx->argc && ctx->argv[ctx->index + 1][0] != '-') { ctx->argindex = ctx->index + 1; arg = ctx->argv[ctx->argindex]; return decode_arg (ctx, &ctx->options[i], arg); } if (ctx->options[i].flags & GETOPTS_REQUIRED_ARG) return GETOPTS_ERROR_MISSING_ARG; return decode_arg (ctx, &ctx->options[i], NULL); get_arg: if (!GETOPTS_CAN_HAVE_ARG (ctx->options[i].flags)) return decode_arg (ctx, &ctx->options[i], NULL); if (ctx->argindex < ctx->index) ctx->argindex = ctx->index; if (ctx->options[i].flags & GETOPTS_ARG_IN_SHORT) { arg = ctx->argv[ctx->index] + ctx->subindex + 1; ctx->subindex = 0; if (arg[0] == '\0' && (ctx->options[i].flags & GETOPTS_REQUIRED_ARG)) return GETOPTS_ERROR_MISSING_ARG; return decode_arg (ctx, &ctx->options[i], arg); } if (ctx->argindex + 1 < ctx->argc && ctx->argv[ctx->argindex + 1][0] != '-') { ctx->argindex++; arg = ctx->argv[ctx->argindex]; return decode_arg (ctx, &ctx->options[i], arg); } if (ctx->options[i].flags & GETOPTS_REQUIRED_ARG) return GETOPTS_ERROR_MISSING_ARG; return decode_arg (ctx, &ctx->options[i], NULL); } const char * getopts_get_opt_arg (GetOptsContext *ctx) { const char *arg; arg = ctx->arg; ctx->arg = NULL; return arg; } void getopts_parse_args (GetOptsContext *ctx) { int rc; while ((rc = getopts_get_next_opt (ctx)) != -1) { switch (rc) { case GETOPTS_ERROR_BAD_OPTION: case GETOPTS_ERROR_MISSING_ARG: case GETOPTS_ERROR_INVALID_ARG: getopts_perror (ctx, rc); exit (1); break; default: break; } } } int getopts_get_next_index (GetOptsContext *ctx) { if (ctx->argindex > ctx->lastopt) return ctx->argindex + 1; return ctx->lastopt + 1; } const char ** getopts_get_args (GetOptsContext *ctx, int *nargs) { int i, n; n = ctx->nargs; i = getopts_get_next_index (ctx); while (i < ctx->argc) ctx->args[n++] = ctx->argv[i++]; ctx->args[n] = NULL; if (nargs) *nargs = n; return (const char **) ctx->args; } void getopts_perror (GetOptsContext *ctx, int err) { const char *long_opt, *eq; const char *reason; if (ctx->index >= ctx->argc || ctx->argv[ctx->index][0] != '-') return; if (ctx->subindex == 0) { if (!strncmp (ctx->argv[ctx->index], "--", 2)) long_opt = ctx->argv[ctx->index] + 2; else long_opt = ctx->argv[ctx->index] + 1; eq = long_opt; while (*eq && *eq != '=') eq++; } switch (err) { case GETOPTS_ERROR_BAD_OPTION: if (ctx->subindex == 0) { fprintf (stderr, "%s: unrecognized option `--%.*s'\n", basename (ctx->argv[0]), eq - long_opt, long_opt); } else { fprintf (stderr, "%s: unrecognized option -- %c\n", basename (ctx->argv[0]), ctx->argv[ctx->index][ctx->subindex]); } break; case GETOPTS_ERROR_MISSING_ARG: if (ctx->subindex == 0) { fprintf (stderr, "%s: option `--%.*s' requires an argument\n", basename (ctx->argv[0]), eq - long_opt, long_opt); } else { fprintf (stderr, "%s: option requires an argument -- %c\n", basename (ctx->argv[0]), ctx->argv[ctx->index][ctx->subindex]); } break; case GETOPTS_ERROR_INVALID_ARG: switch (ctx->err) { case EOVERFLOW: reason = "overflow error"; break; default: reason = NULL; } if (ctx->subindex == 0) { fprintf (stderr, "%s: invalid argument passed to option `--%.*s'%s%s\n", basename (ctx->argv[0]), eq - long_opt, long_opt, reason ? ": " : "", reason ? reason : ""); } else { fprintf (stderr, "%s: invalid argument passed to option -- %c%s%s\n", basename (ctx->argv[0]), ctx->argv[ctx->index][ctx->subindex], reason ? ": " : "", reason ? reason : ""); } break; default: break; } } #ifdef TEST_SUITE static int display_help (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { printf ("Usage: %s [OPTIONS...]\n\n", basename (ctx->argv[0])); getopts_print_help (ctx); exit (0); return 0; } static int display_version (GetOptsContext *ctx, GetOptsOption *opt, const char *arg, void *valuep) { printf ("version 1.0.0\n"); exit (0); return 0; } static int really_long_arg = 0; static const char *required_arg = NULL; static const char *optional_arg = NULL; static const char *a = NULL; static const char *b = NULL; static const char *c = NULL; static int O = 0; static const char *W = NULL; static int bool = 0; static int64_t bignum = 0; static uint64_t ubignum = 0; static float fpnum = 0.0; static double dpnum = 0.0; static GetOptsOption options[] = { { "help", '?', GETOPTS_NO_ARG|GETOPTS_ARG_CUSTOM, "display this help and quit", NULL, 'h', display_help, NULL }, { "version", 'v', GETOPTS_NO_ARG|GETOPTS_ARG_CUSTOM, "display version and quit", NULL, 'v', display_version, NULL }, { "really-really-long-option-arg", 'l', GETOPTS_NO_ARG, "a really really really really long option that can take an optional argument and stuff", NULL, 'l', NULL, &really_long_arg }, { "required-arg", 'r', GETOPTS_REQUIRED_STRING_ARG, "a required argument", "", 'r', NULL, &required_arg }, { "optional-arg", 'o', GETOPTS_OPTIONAL_STRING_ARG, "an optional argument", "", 'o', NULL, &optional_arg }, { NULL, 'a', GETOPTS_REQUIRED_STRING_ARG, "required", "", 'a', NULL, &a }, { NULL, 'b', GETOPTS_OPTIONAL_STRING_ARG, "optional", "", 'b', NULL, &b }, { NULL, 'c', GETOPTS_REQUIRED_STRING_ARG, "required", "", 'c', NULL, &c }, { NULL, 'O', GETOPTS_OPTIONAL_INT_ARG | GETOPTS_ARG_IN_SHORT, "set optimisation level", "", 'O', NULL, &O }, { NULL, 'W', GETOPTS_REQUIRED_STRING_ARG | GETOPTS_ARG_IN_SHORT, "enable a particular type of warning, e.g. -Wall", "", 'W', NULL, &W }, { "bool", '\0', GETOPTS_REQUIRED_BOOL_ARG, "bool arg", "", 't', NULL, &bool }, { "int64", '\0', GETOPTS_REQUIRED_INT64_ARG, "int64 arg", "", 'i', NULL, &bignum }, { "uint64", '\0', GETOPTS_REQUIRED_UINT64_ARG, "uint64 arg", "", 'u', NULL, &ubignum }, { "float", '\0', GETOPTS_REQUIRED_FLOAT_ARG, "float arg", "", 'f', NULL, &fpnum }, { "double", '\0', GETOPTS_REQUIRED_DOUBLE_ARG, "double arg", "", 'd', NULL, &dpnum }, GETOPTS_TABLE_END }; int main (int argc, char **argv) { GetOptsContext *ctx; int i; ctx = getopts_context_new (argc, argv, options, GETOPTS_FLAG_ALLOW_SINGLE_DASH | GETOPTS_FLAG_BREAK_ON_FIRST_NONARG); getopts_parse_args (ctx); fprintf (stdout, "remaining args: "); for (i = getopts_get_next_index (ctx); i < argc; i++) { fputs (argv[i], stdout); fputc (' ', stdout); } fputc ('\n', stdout); if (really_long_arg) printf ("- we got the really really long arg\n"); if (required_arg) printf ("- --required-arg was passed with a value of %s\n", required_arg); if (optional_arg) printf ("- --optional-arg's value was %s\n", optional_arg); printf ("- a = '%s'; b = '%s'; c = '%s'\n", a ? a : "(null)", b ? b : "(null)", c ? c : "(null)"); printf ("- optimisation level is %d\n", O); printf ("- showing %s warnings\n", W ? W : "no"); printf ("- bool arg was %d\n", bool); printf ("- int64 value was %lld\n", bignum); printf ("- uint64 value was %llu\n", ubignum); printf ("- float value was %f\n", fpnum); printf ("- double value was %f\n", dpnum); getopts_context_free (ctx, 1); return 0; } #endif /* TEST_SUITE */ alleyoop-0.9.8/src/vgtoolview.h0000644000175000001440000000671111276130505013443 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_TOOL_VIEW_H__ #define __VG_TOOL_VIEW_H__ #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_TOOL_VIEW (vg_tool_view_get_type ()) #define VG_TOOL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_TOOL_VIEW, VgToolView)) #define VG_TOOL_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_TOOL_VIEW, VgToolViewClass)) #define VG_IS_TOOL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_TOOL_VIEW)) #define VG_IS_TOOL_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_TOOL_VIEW)) #define VG_TOOL_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_TOOL_VIEW, VgToolViewClass)) typedef struct _VgToolView VgToolView; typedef struct _VgToolViewClass VgToolViewClass; struct _VgToolView { GtkVBox parent_object; const char **argv; /* argv of program to debug */ const char **srcdir; /* list of src dirs to check for src files */ GtkWidget *rules; }; struct _VgToolViewClass { GtkVBoxClass parent_class; /* virtual methods */ /* state methods */ void (* clear) (VgToolView *view); /* clears the display (implies a disconnect if needed) */ void (* reset) (VgToolView *view); /* resets the state */ void (* connect) (VgToolView *view, int sockfd); /* connect to valgrind's --logfile-fd */ int (* step) (VgToolView *view); /* take 1 parse step over valgrind's output stream */ void (* disconnect) (VgToolView *view); /* disconnect from valgrind's --logfile-fd */ int (* save_log) (VgToolView *view, int fd); /* cut/copy/paste methods */ void (* cut) (VgToolView *view); void (* copy) (VgToolView *view); void (* paste) (VgToolView *view); /* other methods */ void (* show_rules) (VgToolView *view); /* show suppression rules dialog */ }; GType vg_tool_view_get_type (void); void vg_tool_view_set_argv (VgToolView *view, const char **argv); void vg_tool_view_set_srcdir (VgToolView *view, const char **srcdir); void vg_tool_view_clear (VgToolView *view); void vg_tool_view_reset (VgToolView *view); void vg_tool_view_connect (VgToolView *view, int sockfd); int vg_tool_view_step (VgToolView *view); void vg_tool_view_disconnect (VgToolView *view); int vg_tool_view_save_log (VgToolView *view, int fd); void vg_tool_view_cut (VgToolView *view); void vg_tool_view_copy (VgToolView *view); void vg_tool_view_paste (VgToolView *view); void vg_tool_view_show_rules (VgToolView *view); char *vg_tool_view_scan_path (const char *program); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_TOOL_VIEW_H__ */ alleyoop-0.9.8/src/vggeneralprefs.h0000644000175000001440000000447511302523606014253 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_GENERAL_PREFS_H__ #define __VG_GENERAL_PREFS_H__ #include #include "vgtoolprefs.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_GENERAL_PREFS (vg_general_prefs_get_type ()) #define VG_GENERAL_PREFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_GENERAL_PREFS, VgGeneralPrefs)) #define VG_GENERAL_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_GENERAL_PREFS, VgGeneralPrefsClass)) #define VG_IS_GENERAL_PREFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_GENERAL_PREFS)) #define VG_IS_GENERAL_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_GENERAL_PREFS)) #define VG_GENERAL_PREFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_GENERAL_PREFS, VgGeneralPrefsClass)) typedef struct _VgGeneralPrefs VgGeneralPrefs; typedef struct _VgGeneralPrefsClass VgGeneralPrefsClass; struct _VgGeneralPrefs { VgToolPrefs parent_object; GtkToggleButton *demangle; GtkSpinButton *num_callers; GtkToggleButton *error_limit; GtkToggleButton *sloppy_malloc; GtkToggleButton *trace_children; GtkToggleButton *track_fds; GtkToggleButton *track_origins; GtkToggleButton *time_stamp; GtkToggleButton *run_libc_freeres; GnomeFileEntry *suppressions; }; struct _VgGeneralPrefsClass { VgToolPrefsClass parent_class; }; GType vg_general_prefs_get_type (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_GENERAL_PREFS_H__ */ alleyoop-0.9.8/src/vgrule-list.c0000644000175000001440000004344211302637133013507 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include "vgrule-list.h" #include "vgmarshal.h" typedef struct _RuleNode { struct _RuleNode *next; struct _RuleNode *prev; VgRule *rule; } RuleNode; enum { COL_STRING_NAME, COL_POINTER_RULE, COL_POINTER_RULE_NODE, COL_LAST }; static GType col_types[] = { G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_POINTER, }; enum { RULE_ADDED, LAST_SIGNAL }; static unsigned int signals[LAST_SIGNAL] = { 0 }; #define SUPPRESSIONS_KEY "/apps/alleyoop/valgrind/general/suppressions" static void vg_rule_list_class_init (VgRuleListClass *klass); static void vg_rule_list_init (VgRuleList *list); static void vg_rule_list_destroy (GtkObject *obj); static void vg_rule_list_finalize (GObject *obj); static GtkVBoxClass *parent_class = NULL; GType vg_rule_list_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (VgRuleListClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) vg_rule_list_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (VgRuleList), 0, /* n_preallocs */ (GInstanceInitFunc) vg_rule_list_init, }; type = g_type_register_static (GTK_TYPE_VBOX, "VgRuleList", &info, 0); } return type; } static void vg_rule_list_class_init (VgRuleListClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); parent_class = g_type_class_ref (GTK_TYPE_VBOX); object_class->finalize = vg_rule_list_finalize; gtk_object_class->destroy = vg_rule_list_destroy; signals[RULE_ADDED] = g_signal_new ("rule_added", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (VgRuleListClass, rule_added), NULL, NULL, vg_marshal_NONE__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); } static GtkWidget * rule_editor_dialog_new (GtkWindow *parent, VgRule *rule) { GtkWidget *dialog, *editor; /* FIXME: we should really get this title from somewhere else? */ dialog = gtk_dialog_new_with_buttons (_("Valgrind Suppression"), parent, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); if (rule != NULL) editor = vg_rule_editor_new_from_rule (rule); else editor = vg_rule_editor_new (); gtk_container_set_border_width ((GtkContainer *) editor, 6); gtk_widget_show (editor); gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 3); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), editor, TRUE, TRUE, 0); g_object_set_data ((GObject *) dialog, "editor", editor); return dialog; } static void add_response_cb (GtkDialog *dialog, int response, gpointer user_data) { VgRuleList *list = user_data; GtkWidget *editor; GtkTreeIter iter; RuleNode *node; VgRule *rule; if (response == GTK_RESPONSE_OK) { const char *name; GtkWidget *msg; editor = g_object_get_data ((GObject *) dialog, "editor"); name = vg_rule_editor_get_name ((VgRuleEditor *) editor); if (!name || *name == '\0') { msg = gtk_message_dialog_new ((GtkWindow *) dialog, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_CLOSE, _("You have forgotten to name your suppression rule.")); gtk_dialog_run ((GtkDialog *) msg); gtk_widget_destroy (msg); return; } list->changed = TRUE; rule = vg_rule_editor_get_rule ((VgRuleEditor *) editor); node = g_new (RuleNode, 1); node->rule = rule; list_append_node (&list->rules, (ListNode *) node); vg_rule_list_save (list); gtk_list_store_append ((GtkListStore *) list->model, &iter); gtk_list_store_set ((GtkListStore *) list->model, &iter, COL_STRING_NAME, rule->name, COL_POINTER_RULE, rule, COL_POINTER_RULE_NODE, node, -1); g_signal_emit (list, signals[RULE_ADDED], 0, rule); } gtk_widget_destroy ((GtkWidget *) dialog); } static void add_cb (GtkWidget *button, gpointer user_data) { VgRuleList *list = user_data; GtkWidget *parent; GtkWidget *dialog; parent = gtk_widget_get_toplevel ((GtkWidget *) list); parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; dialog = rule_editor_dialog_new ((GtkWindow *) parent, NULL); g_signal_connect (dialog, "response", G_CALLBACK (add_response_cb), list); gtk_widget_show (dialog); } static void edit_response_cb (GtkDialog *dialog, int response, gpointer user_data) { VgRuleList *list = user_data; GtkWidget *editor; GtkTreePath *path; GtkTreeIter iter; RuleNode *node; VgRule *rule; if (response == GTK_RESPONSE_OK) { const char *name; GtkWidget *msg; editor = g_object_get_data ((GObject *) dialog, "editor"); name = vg_rule_editor_get_name ((VgRuleEditor *) editor); if (!name || *name == '\0') { msg = gtk_message_dialog_new ((GtkWindow *) dialog, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_CLOSE, _("You have forgotten to name your suppression rule.")); gtk_dialog_run ((GtkDialog *) msg); gtk_widget_destroy (msg); return; } list->changed = TRUE; rule = vg_rule_editor_get_rule ((VgRuleEditor *) editor); path = g_object_get_data ((GObject *) dialog, "path"); if (gtk_tree_model_get_iter (list->model, &iter, path)) { /* replace the old rule node... */ gtk_tree_model_get (list->model, &iter, COL_POINTER_RULE_NODE, &node, -1); vg_rule_free (node->rule); node->rule = rule; } else { /* create a new rule node... */ node = g_new (RuleNode, 1); node->rule = rule; list_append_node (&list->rules, (ListNode *) node); gtk_list_store_append ((GtkListStore *) list->model, &iter); } gtk_list_store_set ((GtkListStore *) list->model, &iter, COL_STRING_NAME, rule->name, COL_POINTER_RULE, rule, COL_POINTER_RULE_NODE, node, -1); /* FIXME: only emit if we've changed something that matters? */ g_signal_emit (list, signals[RULE_ADDED], 0, rule); } gtk_widget_destroy ((GtkWidget *) dialog); } static void edit_cb (GtkWidget *button, gpointer user_data) { VgRuleList *list = user_data; GtkTreeSelection *selection; GtkTreeModel *model = NULL; VgRule *rule = NULL; GtkWidget *parent; GtkWidget *dialog; GtkTreePath *path; GtkTreeIter iter; selection = gtk_tree_view_get_selection ((GtkTreeView *) list->list); if (gtk_tree_selection_get_selected (selection, &model, &iter)) gtk_tree_model_get (model, &iter, COL_POINTER_RULE, &rule, -1); if (rule == NULL) return; path = gtk_tree_model_get_path (model, &iter); parent = gtk_widget_get_toplevel ((GtkWidget *) list); parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; dialog = rule_editor_dialog_new ((GtkWindow *) parent, rule); g_signal_connect (dialog, "response", G_CALLBACK (edit_response_cb), list); g_object_set_data_full ((GObject *) dialog, "path", path, (GDestroyNotify) gtk_tree_path_free); gtk_widget_show (dialog); } static void remove_cb (GtkWidget *button, gpointer user_data) { VgRuleList *list = user_data; GtkTreeSelection *selection; GtkTreeModel *model = NULL; RuleNode *node = NULL; VgRule *rule = NULL; GtkTreeIter iter; selection = gtk_tree_view_get_selection ((GtkTreeView *) list->list); if (gtk_tree_selection_get_selected (selection, &model, &iter)) gtk_tree_model_get (model, &iter, COL_POINTER_RULE, &rule, COL_POINTER_RULE_NODE, &node, -1); if (rule == NULL) return; list->changed = TRUE; gtk_list_store_remove ((GtkListStore *) model, &iter); list_node_unlink ((ListNode *) node); vg_rule_free (rule); g_free (node); } static void row_activate_cb (GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data) { /* double-clicked on a rule, pop the rule up in an editor */ edit_cb (NULL, user_data); } static void selection_change_cb (GtkTreeSelection *selection, gpointer user_data) { VgRuleList *list = user_data; GtkTreeModel *model; GtkTreeIter iter; int state; state = gtk_tree_selection_get_selected (selection, &model, &iter); if (state == 0) gtk_widget_grab_focus (list->add); gtk_widget_set_sensitive (list->edit, state); gtk_widget_set_sensitive (list->remove, state); } static void vg_rule_list_init (VgRuleList *list) { GtkTreeSelection *selection; GtkCellRenderer *renderer; GtkWidget *hbox, *vbox; GtkWidget *scrolled; hbox = gtk_hbox_new (FALSE, 6); scrolled = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled), GTK_SHADOW_IN); list->model = (GtkTreeModel *) gtk_list_store_newv (COL_LAST, col_types); list->list = gtk_tree_view_new_with_model (list->model); renderer = gtk_cell_renderer_text_new (); gtk_tree_view_insert_column_with_attributes ((GtkTreeView *) list->list, -1, "", renderer, "text", 0, NULL); selection = gtk_tree_view_get_selection ((GtkTreeView *) list->list); gtk_tree_selection_set_mode (selection, GTK_SELECTION_SINGLE); gtk_tree_view_set_headers_visible ((GtkTreeView *) list->list, FALSE); g_signal_connect (selection, "changed", G_CALLBACK (selection_change_cb), list); g_signal_connect (list->list, "row-activated", G_CALLBACK (row_activate_cb), list); gtk_widget_show (list->list); gtk_container_add (GTK_CONTAINER (scrolled), list->list); gtk_widget_show (scrolled); gtk_box_pack_start (GTK_BOX (hbox), scrolled, TRUE, TRUE, 0); vbox = gtk_vbox_new (FALSE, 3); list->add = gtk_button_new_from_stock (GTK_STOCK_ADD); g_signal_connect (list->add, "clicked", G_CALLBACK (add_cb), list); gtk_widget_show (list->add); gtk_box_pack_start (GTK_BOX (vbox), list->add, FALSE, FALSE, 0); list->edit = gtk_button_new_with_mnemonic (_("_Edit")); gtk_widget_set_sensitive (list->edit, FALSE); g_signal_connect (list->edit, "clicked", G_CALLBACK (edit_cb), list); gtk_widget_show (list->edit); gtk_box_pack_start (GTK_BOX (vbox), list->edit, FALSE, FALSE, 0); list->remove = gtk_button_new_from_stock (GTK_STOCK_REMOVE); gtk_widget_set_sensitive (list->remove, FALSE); g_signal_connect (list->remove, "clicked", G_CALLBACK (remove_cb), list); gtk_widget_show (list->remove); gtk_box_pack_start (GTK_BOX (vbox), list->remove, FALSE, FALSE, 0); gtk_widget_show (vbox); gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_container_add ((GtkContainer *) list, hbox); /* init our data */ list_init (&list->rules); list->changed = FALSE; list->filename = NULL; list->parser = NULL; list->gio = NULL; list->show_id = 0; list->load_id = 0; } static void vg_rule_list_finalize (GObject *obj) { VgRuleList *list = (VgRuleList *) obj; RuleNode *n, *nn; g_free (list->filename); vg_rule_parser_free (list->parser); n = (RuleNode *) list->rules.head; while (n->next != NULL) { nn = n->next; vg_rule_free (n->rule); g_free (n); n = nn; } G_OBJECT_CLASS (parent_class)->finalize (obj); } static void vg_rule_list_destroy (GtkObject *obj) { VgRuleList *list = (VgRuleList *) obj; if (list->gio != NULL) { g_io_channel_close (list->gio); g_io_channel_unref (list->gio); list->load_id = 0; list->gio = NULL; } GTK_OBJECT_CLASS (parent_class)->destroy (obj); } static void load_rule_cb (VgRuleParser *parser, VgRule *rule, gpointer user_data) { VgRuleList *list = user_data; GtkTreeIter iter; RuleNode *node; node = g_new (RuleNode, 1); node->rule = rule; list_append_node (&list->rules, (ListNode *) node); gtk_list_store_append ((GtkListStore *) list->model, &iter); gtk_list_store_set ((GtkListStore *) list->model, &iter, COL_STRING_NAME, rule->name, COL_POINTER_RULE, rule, COL_POINTER_RULE_NODE, node, -1); } static gboolean load_rules_step_cb (GIOChannel *gio, GIOCondition condition, gpointer user_data) { VgRuleList *list = user_data; if ((condition & G_IO_IN) && vg_rule_parser_step (list->parser) <= 0) goto disconnect; if (condition & G_IO_HUP) goto disconnect; return TRUE; disconnect: vg_rule_parser_free (list->parser); list->parser = NULL; g_io_channel_close (list->gio); g_io_channel_unref (list->gio); list->load_id = 0; list->gio = NULL; return FALSE; } static void load_rules (GtkWidget *widget, gpointer user_data) { VgRuleList *list = user_data; int fd; list->changed = FALSE; if (list->show_id != 0) { g_signal_handler_disconnect (list, list->show_id); list->show_id = 0; } if (list->filename == NULL) return; if ((fd = open (list->filename, O_RDONLY)) == -1) return; list->parser = vg_rule_parser_new (fd, load_rule_cb, list); list->gio = g_io_channel_unix_new (fd); list->load_id = g_io_add_watch (list->gio, G_IO_IN | G_IO_HUP, load_rules_step_cb, list); } GtkWidget * vg_rule_list_new (const char *filename) { VgRuleList *list; list = g_object_new (VG_TYPE_RULE_LIST, NULL); list->filename = g_strdup (filename); /* suppressions file may be large, so don't actually load it until the user shows it for the first time */ list->show_id = g_signal_connect (list, "map", G_CALLBACK (load_rules), list); return (GtkWidget *) list; } void vg_rule_list_set_filename (VgRuleList *list, const char *filename) { RuleNode *n, *nn; g_free (list->filename); list->filename = g_strdup (filename); if (list->show_id != 0) { /* good, the user hasn't shown the dialog yet. * this means that we don't have to do anything special! */ } else { if (list->load_id != 0) { /* this means the file is currently being loaded. ugh */ vg_rule_parser_free (list->parser); g_io_channel_close (list->gio); g_io_channel_unref (list->gio); list->load_id = 0; list->gio = NULL; } n = (RuleNode *) list->rules.head; while (n->next != NULL) { nn = n->next; vg_rule_free (n->rule); g_free (n); n = nn; } gtk_list_store_clear ((GtkListStore *) list->model); if (!GTK_WIDGET_MAPPED (list)) list->show_id = g_signal_connect (list, "map", G_CALLBACK (load_rules), list); else load_rules ((GtkWidget *) list, list); } } int vg_rule_list_save (VgRuleList *list) { GtkWidget *parent, *msg; char *filename = NULL; const char *basename; RuleNode *node; int fd = -1; /* only save if we need to... */ if (!list->changed) return 0; if (list->filename == NULL) goto exception; if (!(basename = strrchr (list->filename, '/'))) basename = list->filename; else basename++; filename = g_strdup_printf ("%.*s.#%s", (basename - list->filename), list->filename, basename); if ((fd = open (filename, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL, 0666)) == -1) goto exception; if (vg_suppressions_file_write_header (fd, "This Valgrind suppresion file was generated by Alleyoop") == -1) goto exception; node = (RuleNode *) list->rules.head; while (node->next != NULL) { if (vg_suppressions_file_append_rule (fd, node->rule) == -1) goto exception; node = node->next; } close (fd); fd = -1; if (rename (filename, list->filename) == -1) goto exception; g_free (filename); return 0; exception: parent = gtk_widget_get_toplevel ((GtkWidget *) list); parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; msg = gtk_message_dialog_new ((GtkWindow *) parent, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("Cannot save suppression rules: %s"), list->filename ? g_strerror (errno) : _("You have not set a suppressions file in your settings.")); g_signal_connect_swapped (msg, "response", G_CALLBACK (gtk_widget_destroy), msg); gtk_widget_show (msg); if (fd != -1) close (fd); if (filename) { unlink (filename); g_free (filename); } return -1; } void vg_rule_list_add_rule (VgRuleList *list, const char *title, GtkWindow *parent, VgErrorSummary *summary) { GtkWidget *dialog, *editor; GConfClient *gconf; dialog = gtk_dialog_new_with_buttons (title, parent, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); if (summary != NULL) editor = vg_rule_editor_new_from_summary (summary); else editor = vg_rule_editor_new (); gtk_widget_show (editor); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), editor, TRUE, TRUE, 0); g_signal_connect (dialog, "response", G_CALLBACK (add_response_cb), list); g_object_set_data ((GObject *) dialog, "editor", editor); if (list->filename == NULL) { gconf = gconf_client_get_default (); list->filename = g_strdup_printf ("%s/.alleyoop.supp", g_get_home_dir ()); gconf_client_set_string (gconf, SUPPRESSIONS_KEY, list->filename, NULL); g_object_unref (gconf); } /* FIXME: what if the rules haven't finished loading before the user adds this rule? */ gtk_widget_show (dialog); } alleyoop-0.9.8/src/vgrule.c0000644000175000001440000003637511276130505012546 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include "vgstrpool.h" #include "vgrule.h" #include "vgio.h" static const char *vg_caller_types[] = { "fun", "obj", NULL }; const char * vg_caller_type_to_name (vgcaller_t type) { return vg_caller_types[type]; } vgcaller_t vg_caller_type_from_name (const char *name) { int i; for (i = 0; i < VG_CALLER_LAST; i++) { if (!strcmp (vg_caller_types[i], name)) break; } return i; } VgCaller * vg_caller_new (vgcaller_t type, const char *name) { VgCaller *caller; caller = g_new (VgCaller, 1); caller->next = NULL; caller->type = type; caller->name = g_strdup (name); return caller; } void vg_caller_free (VgCaller *caller) { if (caller == NULL) return; g_free (caller->name); g_free (caller); } static const char *vg_rule_types[] = { "Addr1", "Addr2", "Addr4", "Addr8", "Cond", "Free", "Leak", "Param", "PThread", "Value1", "Value2", "Value4", "Value8", NULL }; const char * vg_rule_type_to_name (vgrule_t type) { return vg_rule_types[type]; } vgrule_t vg_rule_type_from_name (const char *name) { int i; for (i = 0; i < VG_RULE_LAST; i++) { if (!strcmp (vg_rule_types[i], name)) break; } return i; } int vg_rule_type_from_report (const char *report, vgrule_t *type, char **syscall) { const char *inptr, *call; unsigned int size; char *end; if (syscall) *syscall = NULL; /* FIXME: How can we auto-detect PThread errors? */ if (!strncmp (report, "Conditional ", 12)) { *type = VG_RULE_COND; return TRUE; } else if (!strncmp (report, "Syscall param ", 14)) { *type = VG_RULE_PARAM; if (syscall) { call = report + 14; if ((inptr = strchr (call, ' ')) != NULL) *syscall = g_strndup (call, (inptr - call)); } return TRUE; } else if (!strcmp (report, "Invalid free() / delete / delete[]")) { *type = VG_RULE_FREE; return TRUE; } else if ((inptr = strstr (report, " in loss record "))) { *type = VG_RULE_LEAK; return TRUE; } else if (!strncmp (report, "Invalid read of size ", 21)) { inptr = report + 21; size = strtoul (inptr, &end, 10); switch (size) { case 1: *type = VG_RULE_ADDR1; break; case 2: *type = VG_RULE_ADDR2; break; case 4: *type = VG_RULE_ADDR4; break; case 8: *type = VG_RULE_ADDR8; break; default: return FALSE; } return TRUE; } else if ((inptr = strstr (report, "value of size "))) { /* only reason we strstr here instead of strncmp'ing * against "Use of uninitialised value of size " is * that someone may eventually convince the valgrind * authors to use the Americanised spelling and then * our strncmp would fail */ inptr += 14; size = strtoul (inptr, &end, 10); switch (size) { case 1: *type = VG_RULE_VALUE1; break; case 2: *type = VG_RULE_VALUE2; break; case 4: *type = VG_RULE_VALUE4; break; case 8: *type = VG_RULE_VALUE8; break; default: return FALSE; } return TRUE; } return FALSE; } VgRule * vg_rule_new (vgrule_t type, const char *name) { VgRule *rule; rule = g_new (VgRule, 1); rule->name = g_strdup (name); rule->tools = NULL; rule->type = type; rule->syscall = NULL; rule->callers = NULL; return rule; } static VgTool * parse_tool_list (unsigned char *tool_list) { VgTool *tail, *n, *list = NULL; register unsigned char *inptr; unsigned char *start; tail = (VgTool *) &list; start = inptr = tool_list; while (*inptr) { while (*inptr && *inptr != ',') inptr++; if (*inptr == ',') *inptr++ = '\0'; n = g_new (VgTool, 1); n->next = NULL; n->name = vg_strdup (start); tail->next = n; tail = n; start = inptr; } return list; } void vg_rule_add_tool (VgRule *rule, const char *tool) { VgTool *tail, *n; n = g_new (VgTool, 1); n->next = NULL; n->name = vg_strdup (tool); tail = (VgTool *) &rule->tools; while (tail->next != NULL) tail = tail->next; tail->next = n; } void vg_rule_free (VgRule *rule) { VgCaller *n, *nn; VgTool *s, *sn; if (rule == NULL) return; g_free (rule->name); g_free (rule->syscall); s = rule->tools; while (s != NULL) { sn = s->next; vg_strfree (s->name); g_free (s); s = sn; } n = rule->callers; while (n != NULL) { nn = n->next; vg_caller_free (n); n = nn; } g_free (rule); } enum { VG_RULE_PARSER_STATE_INIT = 0, VG_RULE_PARSER_STATE_COMMENT = (1 << 0), VG_RULE_PARSER_STATE_RULE_NAME = (1 << 1), VG_RULE_PARSER_STATE_RULE_TYPE = (1 << 2), VG_RULE_PARSER_STATE_RULE_SYSCALL = (1 << 3), VG_RULE_PARSER_STATE_RULE_CALLER = (1 << 4), }; VgRuleParser * vg_rule_parser_new (int fd, VgRuleParserRuleCallback rule_cb, void *user_data) { VgRuleParser *parser; parser = g_new (VgRuleParser, 1); parser_init ((Parser *) parser, fd); parser->linebuf = g_malloc (128); parser->lineptr = parser->linebuf; parser->lineleft = 128; parser->current = NULL; parser->tail = NULL; parser->rule_cb = rule_cb; parser->user_data = user_data; parser->state = VG_RULE_PARSER_STATE_INIT; return parser; } void vg_rule_parser_free (VgRuleParser *parser) { if (parser == NULL) return; g_free (parser->linebuf); g_free (parser); } #define backup_linebuf(parser, start, len) G_STMT_START { \ if (parser->lineleft <= len) { \ unsigned int llen, loff; \ \ llen = loff = parser->lineptr - parser->linebuf; \ llen = llen ? llen : 1; \ \ while (llen < (loff + len + 1)) \ llen <<= 1; \ \ parser->linebuf = g_realloc (parser->linebuf, llen); \ parser->lineptr = parser->linebuf + loff; \ parser->lineleft = llen - loff; \ } \ \ memcpy (parser->lineptr, start, len); \ parser->lineptr += len; \ parser->lineleft -= len; \ } G_STMT_END static void vg_parser_parse_caller (VgRuleParser *parser) { register unsigned char *inptr; VgCaller *caller; vgcaller_t type; *parser->lineptr = ':'; inptr = parser->linebuf; while (*inptr != ':') inptr++; if (inptr == parser->lineptr) { *parser->lineptr = '\0'; fprintf (stderr, "Invalid caller field encountered: '%s'\n", parser->linebuf); return; } *inptr++ = '\0'; if ((type = vg_caller_type_from_name (parser->linebuf)) == VG_CALLER_LAST) { fprintf (stderr, "Invalid caller type encountered: '%s'\n", parser->linebuf); return; } *parser->lineptr = '\0'; caller = vg_caller_new (type, inptr); parser->tail->next = caller; parser->tail = caller; } int vg_rule_parser_step (VgRuleParser *parser) { register unsigned char *inptr; unsigned char *start; Parser *priv; int ret; priv = (Parser *) parser; if ((ret = parser_fill (priv)) == 0) { return 0; } else if (ret == -1) { return -1; } start = inptr = priv->inptr; *priv->inend = '\n'; while (inptr < priv->inend) { if (parser->state == VG_RULE_PARSER_STATE_INIT) { if (*inptr == '#') { parser->state = VG_RULE_PARSER_STATE_COMMENT; inptr++; } else if (*inptr == '{') { parser->state = VG_RULE_PARSER_STATE_RULE_NAME; parser->current = vg_rule_new (0, NULL); parser->tail = (VgCaller *) &parser->current->callers; inptr++; } else { /* eat any whitespace?? */ while (*inptr == ' ' || *inptr == '\t') inptr++; if (*inptr == '#' || *inptr == '{') continue; /* unknown, skip this line??? */ *priv->inend = '\n'; while (*inptr != '\n') inptr++; if (inptr == priv->inend) break; inptr++; continue; } } comment: if (parser->state & VG_RULE_PARSER_STATE_COMMENT) { /* eat this line... in the future we may want to save comment lines? */ *priv->inend = '\n'; while (*inptr != '\n') inptr++; if (inptr == priv->inend) break; inptr++; parser->state &= ~VG_RULE_PARSER_STATE_COMMENT; if (parser->state == VG_RULE_PARSER_STATE_INIT) continue; } if (parser->lineptr == parser->linebuf) { /* haven't come to the start of the actual rule data line yet */ /* eat lwsp */ *priv->inend = '\0'; while (isspace ((int) *inptr)) inptr++; if (inptr == priv->inend) break; if (*inptr == '#') { /* comment within the rule brackets */ parser->state |= VG_RULE_PARSER_STATE_COMMENT; inptr++; goto comment; } } if (*inptr == '}') { inptr++; if (parser->state == VG_RULE_PARSER_STATE_RULE_CALLER) { parser->rule_cb (parser, parser->current, parser->user_data); } else { fprintf (stderr, "Encountered unexpected '}'\n"); vg_rule_free (parser->current); } parser->state = VG_RULE_PARSER_STATE_INIT; parser->current = NULL; parser->tail = NULL; parser->lineleft += (parser->lineptr - parser->linebuf); parser->lineptr = parser->linebuf; continue; } *priv->inend = '\n'; start = inptr; while (*inptr != '\n') inptr++; backup_linebuf (parser, start, (inptr - start)); if (inptr == priv->inend) break; switch (parser->state) { case VG_RULE_PARSER_STATE_RULE_NAME: *parser->lineptr = '\0'; parser->current->name = g_strdup (parser->linebuf); parser->state = VG_RULE_PARSER_STATE_RULE_TYPE; break; case VG_RULE_PARSER_STATE_RULE_TYPE: /* The newer valgrind (1.9.5) suppression format contains * a list of tool names preceeding the suppression type: * * Memcheck,Addrcheck:Param * * The older format (1.0.x) contained just the type name. */ /* trim tailing whitespc */ start = parser->lineptr - 1; while (start > parser->linebuf && isspace ((int) *start)) start--; start[1] = '\0'; /* does this suppression rule contain a list of tools that it is meant for? */ while (start > parser->linebuf && *start != ':') start--; if (*start == ':') { /* why yes, yes it does... */ *start++ = '\0'; parser->current->tools = parse_tool_list (parser->linebuf); } parser->current->type = vg_rule_type_from_name (start); g_assert (parser->current->type != VG_RULE_LAST); if (parser->current->type == VG_RULE_PARAM) parser->state = VG_RULE_PARSER_STATE_RULE_SYSCALL; else parser->state = VG_RULE_PARSER_STATE_RULE_CALLER; break; case VG_RULE_PARSER_STATE_RULE_SYSCALL: parser->current->syscall = g_strndup (start, (inptr - start)); parser->state = VG_RULE_PARSER_STATE_RULE_CALLER; break; case VG_RULE_PARSER_STATE_RULE_CALLER: vg_parser_parse_caller (parser); break; } parser->lineleft += (parser->lineptr - parser->linebuf); parser->lineptr = parser->linebuf; inptr++; } priv->inptr = inptr; return 1; } void vg_rule_parser_flush (VgRuleParser *parser) { ; } int vg_suppressions_file_write_header (int fd, const char *summary) { GString *string; string = g_string_new ("##----------------------------------------------------------------------##\n\n"); g_string_append (string, "# "); g_string_append (string, summary); g_string_append (string, "\n\n"); /* format specification header */ g_string_append (string, "# Format of this file is:\n"); g_string_append (string, "# {\n"); g_string_append (string, "# name_of_suppression\n"); g_string_append (string, "# tool_name:supp_kind\n"); g_string_append (string, "# (optional extra info for some suppression types)\n"); g_string_append (string, "# caller0 name, or /name/of/so/file.so\n"); g_string_append (string, "# caller1 name, or ditto\n"); g_string_append (string, "# (optionally: caller2 name)\n"); g_string_append (string, "# (optionally: caller3 name)\n"); g_string_append (string, "# }\n"); g_string_append (string, "#\n"); g_string_append (string, "# For Memcheck, the supp_kinds are:\n"); g_string_append (string, "#\n"); g_string_append (string, "# Param Value1 Value2 Value4 Value8\n"); g_string_append (string, "# Free Addr1 Addr2 Addr4 Addr8 Leak\n"); g_string_append (string, "# Cond (previously known as Value0)\n"); g_string_append (string, "#\n"); g_string_append (string, "# and the optional extra info is:\n"); g_string_append (string, "# if Param: name of system call param\n"); g_string_append (string, "# if Free: name of free-ing fn)\n\n"); if (vg_write (fd, string->str, string->len) == -1) { g_string_free (string, TRUE); return -1; } g_string_free (string, TRUE); return 0; } int vg_suppressions_file_append_rule (int fd, VgRule *rule) { GString *string; VgCaller *caller; VgTool *tool; string = g_string_new ("{\n "); g_string_append (string, rule->name); g_string_append (string, "\n "); tool = rule->tools; if (tool != NULL) { while (tool != NULL) { g_string_append (string, tool->name); if (tool->next) g_string_append_c (string, ','); tool = tool->next; } g_string_append_c (string, ':'); } g_string_append (string, vg_rule_types[rule->type]); if (rule->type == VG_RULE_PARAM) { g_string_append (string, "\n "); g_string_append (string, rule->syscall); } caller = rule->callers; while (caller != NULL) { g_string_append_printf (string, "\n %s:%s", vg_caller_types[caller->type], caller->name); caller = caller->next; } g_string_append (string, "\n}\n"); if (vg_write (fd, string->str, string->len) == -1) { g_string_free (string, TRUE); return -1; } g_string_free (string, TRUE); return 0; } #if TEST static void my_rule_cb (VgRuleParser *parser, VgRule *rule, void *user_data) { vg_suppressions_file_append_rule (1, rule); } int main (int argc, char **argv) { VgRuleParser *parser; int fd; if ((fd = open (argv[1], O_RDONLY)) == -1) return 0; vg_suppressions_file_write_header (1, "Errors to suppress by default for glibc 2.1.3"); parser = vg_rule_parser_new (fd, my_rule_cb, NULL); while (vg_rule_parser_step (parser) > 0) ; vg_rule_parser_free (parser); close (fd); return 0; } #endif alleyoop-0.9.8/src/vgdefaultview.c0000644000175000001440000007656411303123754014121 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include "vgdefaultview.h" #include "vgrulepattern.h" #include "vgsearchbar.h" #include "vgrule-list.h" #include "menu-utils.h" #include "vgio.h" #define d(x) #define w(x) x #define NUM_LINES_KEY "/apps/alleyoop/num-lines" #define CUSTOM_EDITOR_KEY "/apps/alleyoop/editor" #define SUPPRESSIONS_KEY "/apps/alleyoop/valgrind/general/suppressions" enum { COL_STRING_DISPLAY, COL_POINTER_ERROR, COL_POINTER_SUMMARY, COL_POINTER_STACK, COL_LOAD_SRC_PREVIEW, COL_IS_SRC_PREVIEW, COL_LAST }; static GType col_types[] = { G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_POINTER, G_TYPE_POINTER, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN }; static void vg_default_view_class_init (VgDefaultViewClass *klass); static void vg_default_view_init (VgDefaultView *view); static void vg_default_view_destroy (GtkObject *obj); static void vg_default_view_finalize (GObject *obj); static void valgrind_view_clear (VgToolView *tool); static void valgrind_view_reset (VgToolView *tool); static void valgrind_view_connect (VgToolView *tool, int sockfd); static int valgrind_view_step (VgToolView *tool); static void valgrind_view_disconnect (VgToolView *tool); static int valgrind_view_save_log (VgToolView *tool, int fd); static void valgrind_view_cut (VgToolView *tool); static void valgrind_view_copy (VgToolView *tool); static void valgrind_view_paste (VgToolView *tool); static void valgrind_view_show_rules (VgToolView *tool); static void rule_added (VgRuleList *list, VgRule *rule, gpointer user_data); static void tree_row_expanded (GtkTreeView *treeview, GtkTreeIter *root, GtkTreePath *path, gpointer user_data); static gboolean tree_button_press (GtkWidget *treeview, GdkEventButton *event, gpointer user_data); static void view_show_error (VgDefaultView *view, GtkTreeStore *model, VgError *err); static void view_rebuild (VgDefaultView *view); static VgToolViewClass *parent_class = NULL; GType vg_default_view_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (VgDefaultViewClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) vg_default_view_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (VgDefaultView), 0, /* n_preallocs */ (GInstanceInitFunc) vg_default_view_init, }; type = g_type_register_static (VG_TYPE_TOOL_VIEW, "VgDefaultView", &info, 0); } return type; } static void vg_default_view_class_init (VgDefaultViewClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); VgToolViewClass *tool_class = VG_TOOL_VIEW_CLASS (klass); parent_class = g_type_class_ref (VG_TYPE_TOOL_VIEW); object_class->finalize = vg_default_view_finalize; gtk_object_class->destroy = vg_default_view_destroy; /* virtual methods */ tool_class->clear = valgrind_view_clear; tool_class->reset = valgrind_view_reset; tool_class->connect = valgrind_view_connect; tool_class->step = valgrind_view_step; tool_class->disconnect = valgrind_view_disconnect; tool_class->save_log = valgrind_view_save_log; tool_class->cut = valgrind_view_cut; tool_class->copy = valgrind_view_copy; tool_class->paste = valgrind_view_paste; tool_class->show_rules = valgrind_view_show_rules; } static GtkWidget * valgrind_table_new (void) { GtkTreeSelection *selection; GtkCellRenderer *renderer; GtkTreeStore *model; GtkWidget *table; model = gtk_tree_store_newv (COL_LAST, col_types); table = gtk_tree_view_new_with_model ((GtkTreeModel *) model); renderer = gtk_cell_renderer_text_new (); gtk_tree_view_insert_column_with_attributes ((GtkTreeView *) table, -1, "", renderer, "text", 0, NULL); selection = gtk_tree_view_get_selection ((GtkTreeView *) table); gtk_tree_selection_set_mode (selection, GTK_SELECTION_SINGLE); gtk_tree_view_set_headers_visible ((GtkTreeView *) table, FALSE); return table; } enum { SEARCH_ID_NONE, SEARCH_ID_ERROR, SEARCH_ID_FUNCTION, SEARCH_ID_OBJECT, SEARCH_ID_SOURCE }; static VgSearchBarItem search_items[] = { { N_("Error contains"), SEARCH_ID_ERROR }, { N_("Function contains"), SEARCH_ID_FUNCTION }, { N_("Object contains"), SEARCH_ID_OBJECT }, { N_("Source filename contains"), SEARCH_ID_SOURCE }, { NULL, 0 } }; static void set_search (VgDefaultView *view, int item_id, const char *expr) { GtkWidget *parent, *dialog; GError *err = NULL; if (view->search_regex != NULL) { g_regex_unref (view->search_regex); view->search_regex = NULL; } view->search_id = item_id; if (item_id == SEARCH_ID_NONE) return; #define COMPILE_FLAGS (G_REGEX_CASELESS | G_REGEX_EXTENDED | G_REGEX_OPTIMIZE) view->search_regex = g_regex_new (expr, COMPILE_FLAGS, 0, &err); #undef COMPILE_FLAGS if (err == NULL) { /* all is good in the world... */ return; } /* regex compilation failed */ view->search_id = SEARCH_ID_NONE; if (view->search_regex != NULL) { g_regex_unref (view->search_regex); view->search_regex = NULL; } parent = gtk_widget_get_toplevel ((GtkWidget *) view); parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; dialog = gtk_message_dialog_new ((GtkWindow *) parent, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", err->message); g_error_free (err); gtk_dialog_run ((GtkDialog *) dialog); gtk_widget_destroy (dialog); } static void search_bar_search (VgSearchBar *bar, int item_id, VgDefaultView *view) { const char *expr; expr = vg_search_bar_get_text (bar); set_search (view, item_id, expr); view_rebuild (view); } static void search_bar_clear (VgSearchBar *bar, VgDefaultView *view) { set_search (view, SEARCH_ID_NONE, NULL); view_rebuild (view); } static void vg_default_view_init (VgDefaultView *view) { GtkWidget *scrolled; GtkWidget *search; char *filename; view->suppressions = g_ptr_array_new (); view->errors = g_ptr_array_new (); view->search_id = SEARCH_ID_NONE; view->search_regex = NULL; view->parser = NULL; view->rules_id = 0; view->srclines = 0; view->lines_id = 0; view->gconf = gconf_client_get_default (); filename = gconf_client_get_string (view->gconf, SUPPRESSIONS_KEY, NULL); view->rule_list = vg_rule_list_new (filename); g_signal_connect (view->rule_list, "rule-added", G_CALLBACK (rule_added), view); g_object_ref (view->rule_list); gtk_object_sink ((GtkObject *) view->rule_list); gtk_widget_show (view->rule_list); g_free (filename); search = vg_search_bar_new (); vg_search_bar_set_menu_items ((VgSearchBar *) search, search_items); g_signal_connect (search, "search", G_CALLBACK (search_bar_search), view); g_signal_connect (search, "clear", G_CALLBACK (search_bar_clear), view); gtk_widget_show (search); gtk_box_pack_start ((GtkBox *) view, search, FALSE, FALSE, 3); scrolled = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled), GTK_SHADOW_IN); view->table = valgrind_table_new (); gtk_widget_show (view->table); g_signal_connect (view->table, "row-expanded", G_CALLBACK (tree_row_expanded), view); g_signal_connect (view->table, "button-press-event", G_CALLBACK (tree_button_press), view); gtk_container_add (GTK_CONTAINER (scrolled), view->table); gtk_widget_show (scrolled); /*gtk_container_add (GTK_CONTAINER (view), scrolled);*/ gtk_box_pack_start ((GtkBox *) view, scrolled, TRUE, TRUE, 0); } static void vg_default_view_finalize (GObject *obj) { VgDefaultView *view = (VgDefaultView *) obj; int i; for (i = 0; i < view->suppressions->len; i++) vg_rule_pattern_free (view->suppressions->pdata[i]); g_ptr_array_free (view->suppressions, TRUE); for (i = 0; i < view->errors->len; i++) vg_error_free (view->errors->pdata[i]); g_ptr_array_free (view->errors, TRUE); if (view->parser) { vg_error_parser_free (view->parser); view->parser = NULL; } if (view->search_regex != NULL) { g_regex_unref (view->search_regex); view->search_regex = NULL; } G_OBJECT_CLASS (parent_class)->finalize (obj); } static void vg_default_view_destroy (GtkObject *obj) { VgDefaultView *view = (VgDefaultView *) obj; if (view->rule_list) { g_object_unref (view->rule_list); view->rule_list = NULL; } if (view->gconf) { if (view->rules_id != 0) { gconf_client_notify_remove (view->gconf, view->rules_id); view->rules_id = 0; } if (view->lines_id != 0) { gconf_client_notify_remove (view->gconf, view->lines_id); view->lines_id = 0; } g_object_unref (view->gconf); view->gconf = NULL; } GTK_OBJECT_CLASS (parent_class)->destroy (obj); } static void valgrind_view_clear (VgToolView *tool) { VgDefaultView *view = (VgDefaultView *) tool; GtkTreeStore *model; int i; model = (GtkTreeStore *) gtk_tree_view_get_model ((GtkTreeView *) view->table); gtk_tree_store_clear (model); for (i = 0; i < view->errors->len; i++) vg_error_free (view->errors->pdata[i]); g_ptr_array_set_size (view->errors, 0); } static void valgrind_view_reset (VgToolView *tool) { ; } static void valgrind_init_src_preview (VgDefaultView *view, GtkTreeStore *model, GtkTreeIter *root, VgErrorStack *stack) { VgToolView *tool = (VgToolView *) view; GtkTreeIter iter; if (!tool->srcdir) return; gtk_tree_store_append (model, &iter, root); gtk_tree_store_set (model, &iter, COL_STRING_DISPLAY, NULL, COL_POINTER_ERROR, stack->summary->parent, COL_POINTER_SUMMARY, stack->summary, COL_POINTER_STACK, stack, COL_LOAD_SRC_PREVIEW, TRUE, COL_IS_SRC_PREVIEW, TRUE, -1); } static void view_show_error (VgDefaultView *view, GtkTreeStore *model, VgError *err) { VgErrorSummary *summary; GtkTreeIter iter, root; summary = err->summary; gtk_tree_store_append (model, &iter, NULL); gtk_tree_store_set (model, &iter, COL_STRING_DISPLAY, summary->report, COL_POINTER_ERROR, err, COL_POINTER_SUMMARY, summary, COL_POINTER_STACK, NULL, COL_LOAD_SRC_PREVIEW, FALSE, COL_IS_SRC_PREVIEW, FALSE, -1); root = iter; do { VgErrorStack *stack; stack = summary->frames; while (stack != NULL) { gboolean load = FALSE; GString *str; gtk_tree_store_append (model, &iter, &root); str = g_string_new (stack->where == VG_WHERE_AT ? "at " : "by "); g_string_append (str, stack->symbol ? stack->symbol : "???"); if (stack->type != VG_STACK_EMPTY) { g_string_append (str, " ["); if (stack->type == VG_STACK_SOURCE) { if (stack->info.src.filename) { g_string_append (str, stack->info.src.filename); if (stack->info.src.lineno) { g_string_append_printf (str, ":%u", stack->info.src.lineno); load = TRUE; } } } else { g_string_append (str, "in "); g_string_append (str, stack->info.object); } g_string_append_c (str, ']'); } gtk_tree_store_set (model, &iter, COL_STRING_DISPLAY, str->str, COL_POINTER_ERROR, err, COL_POINTER_SUMMARY, summary, COL_POINTER_STACK, stack, COL_LOAD_SRC_PREVIEW, load, COL_IS_SRC_PREVIEW, FALSE, -1); g_string_free (str, TRUE); if (load) valgrind_init_src_preview (view, model, &iter, stack); stack = stack->next; } if ((summary = summary->next) != NULL) { gtk_tree_store_append (model, &iter, &root); gtk_tree_store_set (model, &iter, COL_STRING_DISPLAY, summary->report, COL_POINTER_ERROR, err, COL_POINTER_SUMMARY, summary, COL_POINTER_STACK, NULL, COL_LOAD_SRC_PREVIEW, FALSE, COL_IS_SRC_PREVIEW, FALSE, -1); } } while (summary != NULL); } static gboolean error_matches_search (VgError *err, int search_id, GRegex *regex) { VgErrorSummary *summary; VgErrorStack *stack; if (search_id == SEARCH_ID_NONE) return TRUE; if (regex == NULL) return FALSE; summary = err->summary; if (search_id == SEARCH_ID_ERROR) { return g_regex_match (regex, summary->report, 0, NULL); } else { do { stack = summary->frames; while (stack != NULL) { const char *str; switch (search_id) { case SEARCH_ID_FUNCTION: str = stack->symbol; break; case SEARCH_ID_OBJECT: str = stack->type == VG_STACK_OBJECT ? stack->info.object : NULL; break; case SEARCH_ID_SOURCE: str = stack->type == VG_STACK_SOURCE ? stack->info.src.filename : NULL; break; default: g_assert_not_reached (); } if (str && g_regex_match (regex, str, 0, NULL)) return TRUE; stack = stack->next; } summary = summary->next; } while (summary != NULL); } return FALSE; } static void view_rebuild (VgDefaultView *view) { GtkTreeStore *model; int i; model = (GtkTreeStore *) gtk_tree_view_get_model ((GtkTreeView *) view->table); gtk_tree_store_clear (model); for (i = 0; i < view->errors->len; i++) { VgError *err = view->errors->pdata[i]; if (error_matches_search (err, view->search_id, view->search_regex)) view_show_error (view, model, err); } } static void recv_error_cb (VgErrorParser *parser, VgError *err, gpointer user_data) { VgDefaultView *view = user_data; GtkTreeStore *model; int i; for (i = 0; i < view->suppressions->len; i++) { VgRulePattern *pat = view->suppressions->pdata[i]; if (vg_rule_pattern_matches (pat, err)) { /* suppress this error */ vg_error_free (err); return; } } g_ptr_array_add (view->errors, err); model = (GtkTreeStore *) gtk_tree_view_get_model ((GtkTreeView *) view->table); if (error_matches_search (err, view->search_id, view->search_regex)) view_show_error (view, model, err); } static void valgrind_view_connect (VgToolView *tool, int sockfd) { VgDefaultView *view = (VgDefaultView *) tool; if (view->parser != NULL) valgrind_view_disconnect (tool); view->parser = vg_error_parser_new (sockfd, recv_error_cb, view); } static int valgrind_view_step (VgToolView *tool) { VgDefaultView *view = (VgDefaultView *) tool; g_return_val_if_fail (view->parser != NULL, -1); return vg_error_parser_step (view->parser); } static void valgrind_view_disconnect (VgToolView *tool) { VgDefaultView *view = (VgDefaultView *) tool; int i; if (view->parser) { vg_error_parser_flush (view->parser); vg_error_parser_free (view->parser); view->parser = NULL; } /* clear out suppressions added last session - a new `run' * will force valgrind to re-read it's own suppressions file * and so these will be unneeded */ for (i = 0; i < view->suppressions->len; i++) vg_rule_pattern_free (view->suppressions->pdata[i]); g_ptr_array_set_size (view->suppressions, 0); } static int valgrind_view_save_log (VgToolView *tool, int fd) { VgDefaultView *view = (VgDefaultView *) tool; VgError *err; GString *str; int i; str = g_string_new (""); for (i = 0; i < view->errors->len; i++) { err = view->errors->pdata[i]; vg_error_to_string (err, str); if (vg_write (fd, str->str, str->len) == -1) { g_string_free (str, TRUE); return -1; } g_string_truncate (str, 0); } g_string_free (str, TRUE); if (fsync (fd) == -1) return -1; return 0; } static void valgrind_view_cut (VgToolView *tool) { valgrind_view_copy (tool); } static void valgrind_view_copy (VgToolView *tool) { VgDefaultView *view = (VgDefaultView *) tool; GtkTreeSelection *selection; GtkClipboard *clipboard; VgErrorSummary *summary; GtkTreeModel *model; GtkTreeIter iter; VgError *err; GString *str; selection = gtk_tree_view_get_selection ((GtkTreeView *) view->table); if (!gtk_tree_selection_get_selected (selection, &model, &iter)) return; gtk_tree_model_get (model, &iter, COL_POINTER_ERROR, &err, COL_POINTER_SUMMARY, &summary, -1); str = g_string_new (""); vg_error_to_string (err, str); clipboard = gtk_widget_get_clipboard (GTK_WIDGET (view), GDK_SELECTION_CLIPBOARD); gtk_clipboard_set_text (clipboard, str->str, str->len); g_string_free (str, TRUE); } static void valgrind_view_paste (VgToolView *tool) { ; } static void rules_response_cb (GtkDialog *dialog, int response, gpointer user_data) { VgDefaultView *view = user_data; if (response == GTK_RESPONSE_OK) vg_rule_list_save ((VgRuleList *) view->rule_list); gtk_widget_hide ((GtkWidget *) dialog); } static gboolean rules_delete_event_cb (GtkWidget *widget, gpointer user_data) { gtk_widget_hide (widget); return TRUE; } static void valgrind_view_show_rules (VgToolView *tool) { VgDefaultView *view = (VgDefaultView *) tool; GtkWidget *dialog; GtkWidget *parent; if (tool->rules == NULL) { parent = gtk_widget_get_toplevel ((GtkWidget *) tool); parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; /* FIXME: we should really get this title from somewhere else? */ dialog = gtk_dialog_new_with_buttons (_("Valgrind Suppression Rules"), (GtkWindow *) parent, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); gtk_window_set_type_hint ((GtkWindow *) dialog, GDK_WINDOW_TYPE_HINT_NORMAL); gtk_box_set_spacing ((GtkBox *) ((GtkDialog *) dialog)->vbox, 3); gtk_window_set_default_size ((GtkWindow *) dialog, 450, 400); gtk_container_set_border_width ((GtkContainer *) view->rule_list, 6); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), view->rule_list, TRUE, TRUE, 0); g_signal_connect (dialog, "response", G_CALLBACK (rules_response_cb), view); g_signal_connect (dialog, "delete-event", G_CALLBACK (rules_delete_event_cb), view); tool->rules = dialog; } VG_TOOL_VIEW_CLASS (parent_class)->show_rules (tool); } static void rules_filename_changed (GConfClient *client, guint cnxn_id, GConfEntry *entry, gpointer user_data) { VgDefaultView *view = user_data; char *filename; filename = gconf_client_get_string (client, SUPPRESSIONS_KEY, NULL); vg_rule_list_set_filename ((VgRuleList *) view->rule_list, filename); g_free (filename); } static void num_lines_changed (GConfClient *client, guint cnxn_id, GConfEntry *entry, gpointer user_data) { VgDefaultView *view = user_data; view->srclines = gconf_client_get_int (client, NUM_LINES_KEY, NULL); } GtkWidget * vg_default_view_new (void) { VgDefaultView *view; view = g_object_new (VG_TYPE_DEFAULT_VIEW, NULL); view->srclines = gconf_client_get_int (view->gconf, NUM_LINES_KEY, NULL); /* listen for changes in the number of lines to show above/below target src line */ gconf_client_add_dir (view->gconf, NUM_LINES_KEY, GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); view->lines_id = gconf_client_notify_add (view->gconf, NUM_LINES_KEY, num_lines_changed, view, NULL, NULL); /* listen for suppression-file changes */ gconf_client_add_dir (view->gconf, SUPPRESSIONS_KEY, GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); view->rules_id = gconf_client_notify_add (view->gconf, SUPPRESSIONS_KEY, rules_filename_changed, view, NULL, NULL); return (GtkWidget *) view; } /* signal callbacks */ static void rule_added (VgRuleList *list, VgRule *rule, gpointer user_data) { VgDefaultView *view = user_data; VgRulePattern *pat; int i; if (!(pat = vg_rule_pattern_new (rule))) return; g_ptr_array_add (view->suppressions, pat); for (i = view->errors->len - 1; i >= 0; ) { VgError *err = view->errors->pdata[i]; if (vg_rule_pattern_matches (pat, err)) { g_ptr_array_remove_index (view->errors, i); vg_error_free (err); if (i == view->errors->len) i--; } else { i--; } } view_rebuild (view); } static char * read_src_lines (const char *filename, size_t first, size_t last, size_t target) { unsigned char linebuf[4097]; size_t len, buflen = 0; size_t lineno = 1; gboolean midline; char *buf = NULL; FILE *fp; d(printf ("read_src_lines (\"%s\", %u, %u)\n", filename, first, last)); if ((fp = fopen (filename, "rt")) == NULL) return NULL; midline = FALSE; while (lineno <= last && fgets (linebuf, sizeof (linebuf), fp) != NULL) { len = strlen (linebuf); if (lineno >= first) { if (buf != NULL) { buf = g_realloc (buf, buflen + len + 2); } else { buf = g_malloc (len + 2); } d(printf ("read_src_lines(): added '%.*s'\n", len - 1, linebuf)); if (!midline) { if (lineno == target) { buf[buflen++] = '='; buf[buflen++] = '>'; } else { buf[buflen++] = ' '; buf[buflen++] = ' '; } } memcpy (buf + buflen, linebuf, len); buflen += len; } if (linebuf[len - 1] == '\n') { midline = FALSE; lineno++; } else { midline = TRUE; } } fclose (fp); if (buf != NULL) { buf[buflen - 1] = '\0'; d(printf ("read_src_lines(): returning:\n%s\n", buf)); } else { d(printf ("read_src_lines(): returning: (null)\n", buf)); } return buf; } static char * resolve_full_path (VgToolView *tool, VgErrorStack *stack) { const char *filename; char *path; if (!(filename = stack->info.src.filename)) return NULL; if (*filename == '/') return g_strdup (filename); if (tool->srcdir) { unsigned int buflen; const char *dir; struct stat st; int flen, dlen; char *p; int i; buflen = 1024; path = g_malloc (1024); flen = strlen (filename); for (i = 0; tool->srcdir[i] != NULL; i++) { dir = tool->srcdir[i]; dlen = strlen (dir); if (dlen + flen + 2 > buflen) { buflen = dlen + flen + 2; buflen = ((buflen >> 5) << 5) + 64; path = g_realloc (path, buflen); } p = g_stpcpy (path, dir); *p++ = '/'; strcpy (p, filename); if (stat (path, &st) != -1) break; } if (tool->srcdir[i] != NULL && S_ISREG (st.st_mode)) return path; g_free (path); } return NULL; } static char * load_src_buf (VgToolView *tool, VgErrorStack *stack, int srclines) { char *path, *srcbuf; size_t lineno; size_t first; lineno = stack->info.src.lineno; first = lineno > (srclines + 1) ? lineno - srclines : 1; if (!(path = resolve_full_path (tool, stack))) return NULL; srcbuf = read_src_lines (path, first, lineno + srclines, lineno); g_free (path); return srcbuf; } static void tree_row_expanded (GtkTreeView *treeview, GtkTreeIter *parent, GtkTreePath *path, gpointer user_data) { VgDefaultView *view = user_data; VgToolView *tool = user_data; VgErrorStack *stack = NULL; GtkTreeStore *model; GtkTreeIter iter; gboolean load; char *srcbuf; model = (GtkTreeStore *) gtk_tree_view_get_model (treeview); gtk_tree_model_get ((GtkTreeModel *) model, parent, COL_LOAD_SRC_PREVIEW, &load, -1); if (!load) return; /* unset the LOAD_SRC_PREVIEW flag - pass or fail, we won't be trying this again */ gtk_tree_store_set (model, parent, COL_LOAD_SRC_PREVIEW, FALSE, -1); /* get the first child (which will be a dummy if we haven't loaded the src-preview yet) */ gtk_tree_model_iter_children ((GtkTreeModel *) model, &iter, parent); gtk_tree_model_get ((GtkTreeModel *) model, &iter, COL_POINTER_STACK, &stack, -1); if (!(srcbuf = load_src_buf (tool, stack, view->srclines))) { w(g_warning ("couldn't load src preview")); gtk_tree_store_remove (model, &iter); return; } gtk_tree_store_set (model, &iter, COL_STRING_DISPLAY, srcbuf, COL_POINTER_ERROR, stack->summary->parent, COL_POINTER_SUMMARY, stack->summary, COL_POINTER_STACK, stack, COL_LOAD_SRC_PREVIEW, FALSE, COL_IS_SRC_PREVIEW, TRUE, -1); g_free (srcbuf); } static void cut_cb (GtkWidget *widget, gpointer user_data) { VgToolView *tool = user_data; valgrind_view_cut (tool); } static void copy_cb (GtkWidget *widget, gpointer user_data) { VgToolView *tool = user_data; valgrind_view_copy (tool); } static void suppress_cb (GtkWidget *widget, gpointer user_data) { VgDefaultView *view = user_data; GtkTreeSelection *selection; VgErrorSummary *summary; GtkTreeModel *model; GtkWidget *parent; GtkTreeIter iter; selection = gtk_tree_view_get_selection ((GtkTreeView *) view->table); if (!gtk_tree_selection_get_selected (selection, &model, &iter)) return; gtk_tree_model_get (model, &iter, COL_POINTER_SUMMARY, &summary, -1); if (summary == NULL) return; parent = gtk_widget_get_toplevel ((GtkWidget *) view); parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; /* FIXME: we should really get this title from somewhere else? */ vg_rule_list_add_rule ((VgRuleList *) view->rule_list, _("Valgrind Suppression"), (GtkWindow *) parent, summary); } static void spawn_editor (VgDefaultView *view, const char *editor) { GtkTreeSelection *selection; VgErrorStack *stack = NULL; GtkTreeModel *model; GtkTreeIter iter; char *path, *lineno; char *argv[4]; selection = gtk_tree_view_get_selection ((GtkTreeView *) view->table); if (!gtk_tree_selection_get_selected (selection, &model, &iter)) return; gtk_tree_model_get (model, &iter, COL_POINTER_STACK, &stack, -1); if (stack == NULL) return; if (!(path = resolve_full_path ((VgToolView *) view, stack))) return; lineno = g_strdup_printf ("+%u", stack->info.src.lineno); argv[0] = (char *) editor; argv[1] = lineno; argv[2] = path; argv[3] = NULL; g_spawn_async (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); g_free (lineno); g_free (path); } static void emacs_cb (GtkWidget *widget, gpointer user_data) { VgDefaultView *view = user_data; GtkTreeSelection *selection; VgErrorStack *stack = NULL; GtkTreeModel *model; GtkTreeIter iter; char *path, *lineno; gboolean spawned; char *argv[5]; int status; selection = gtk_tree_view_get_selection ((GtkTreeView *) view->table); if (!gtk_tree_selection_get_selected (selection, &model, &iter)) return; gtk_tree_model_get (model, &iter, COL_POINTER_STACK, &stack, -1); if (stack == NULL) return; if (!(path = resolve_full_path ((VgToolView *) view, stack))) return; lineno = g_strdup_printf ("+%u", stack->info.src.lineno); argv[0] = EMACSCLIENT_PATH; argv[1] = "-n"; argv[2] = lineno; argv[3] = path; argv[4] = NULL; spawned = g_spawn_sync (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, &status, NULL); if (!spawned || WEXITSTATUS (status) != 0) { argv[0] = EMACS_PATH; argv[1] = lineno; argv[2] = path; argv[3] = NULL; g_spawn_async (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); } g_free (lineno); g_free (path); } static void xemacs_cb (GtkWidget *widget, gpointer user_data) { spawn_editor ((VgDefaultView *) user_data, XEMACS_PATH); } static void gvim_cb (GtkWidget *widget, gpointer user_data) { spawn_editor ((VgDefaultView *) user_data, GVIM_PATH); } static void custom_editor_cb (GtkWidget *widget, gpointer user_data) { VgDefaultView *view = user_data; GtkTreeSelection *selection; VgErrorStack *stack = NULL; GtkTreeModel *model; GtkTreeIter iter; char *path, *var; GString *new; char **argv; int argc; int i; selection = gtk_tree_view_get_selection ((GtkTreeView *) view->table); if (!gtk_tree_selection_get_selected (selection, &model, &iter)) return; gtk_tree_model_get (model, &iter, COL_POINTER_STACK, &stack, -1); if (stack == NULL) return; if (!(path = resolve_full_path ((VgToolView *) view, stack))) return; if (!(var = gconf_client_get_string (view->gconf, CUSTOM_EDITOR_KEY, NULL))) { g_free (path); return; } if (!g_shell_parse_argv (var, &argc, &argv, NULL)) { g_free (path); g_free (var); return; } g_free (var); for (i = 0; i < argc; i++) { if ((var = strstr (argv[i], "${")) != NULL && (var > argv[i] ? var[-1] != '\\' : TRUE)) { new = g_string_new (""); g_string_append_len (new, argv[i], var - argv[i]); if (!strncasecmp (var, "${filename}", 11)) { g_string_append (new, path); var += 11; } else if (!strncasecmp (var, "${lineno}", 9)) { g_string_append_printf (new, "%u", stack->info.src.lineno); var += 9; } else { g_warning ("Invalid editor variable: %s", var); } g_string_append (new, var); g_free (argv[i]); argv[i] = new->str; g_string_free (new, FALSE); } } g_free (path); g_spawn_async (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); for (i = 0; i < argc; i++) g_free (argv[i]); g_free (argv); } enum { SELECTED_MASK = (1 << 0), STACK_MASK = (1 << 1), }; static struct _MenuItem popup_menu_items[] = { { N_("Cu_t"), GTK_STOCK_CUT, TRUE, FALSE, FALSE, FALSE, G_CALLBACK (cut_cb), SELECTED_MASK }, { N_("_Copy"), GTK_STOCK_COPY, TRUE, FALSE, FALSE, FALSE, G_CALLBACK (copy_cb), SELECTED_MASK }, { N_("_Paste"), GTK_STOCK_PASTE, TRUE, FALSE, FALSE, FALSE, NULL, 0 }, MENU_ITEM_SEPARATOR, { N_("Suppress"), NULL, FALSE, FALSE, FALSE, FALSE, G_CALLBACK (suppress_cb), SELECTED_MASK }, MENU_ITEM_SEPARATOR, { N_("Edit in GNU/Emacs"), NULL, FALSE, FALSE, FALSE, FALSE, G_CALLBACK (emacs_cb), STACK_MASK }, { N_("Edit in XEmacs"), NULL, FALSE, FALSE, FALSE, FALSE, G_CALLBACK (xemacs_cb), STACK_MASK }, { N_("Edit in GVim"), NULL, FALSE, FALSE, FALSE, FALSE, G_CALLBACK (gvim_cb), STACK_MASK }, { N_("Edit in Custom Editor"), NULL, FALSE, FALSE, FALSE, FALSE, G_CALLBACK (custom_editor_cb), STACK_MASK }, MENU_ITEM_TERMINATOR }; static gboolean tree_button_press (GtkWidget *treeview, GdkEventButton *event, gpointer user_data) { VgDefaultView *view = user_data; GtkTreeSelection *selection; VgErrorStack *stack = NULL; GtkTreeModel *model; GtkTreePath *path; GtkTreeIter iter; guint32 mask = 0; GtkWidget *menu; if (!gtk_tree_view_get_path_at_pos ((GtkTreeView *) treeview, event->x, event->y, &path, NULL, NULL, NULL)) return FALSE; /* make sure the correct row is selected before continuing */ selection = gtk_tree_view_get_selection ((GtkTreeView *) treeview); gtk_tree_selection_select_path (selection, path); gtk_tree_path_free (path); if (event->type == GDK_BUTTON_PRESS && event->button == 3) { /* right-click */ if (gtk_tree_selection_get_selected (selection, &model, &iter)) { gtk_tree_model_get ((GtkTreeModel *) model, &iter, COL_POINTER_STACK, &stack, -1); if (stack == NULL) mask |= STACK_MASK; } else { mask |= (SELECTED_MASK | STACK_MASK); } menu = gtk_menu_new (); menu_utils_construct_menu (menu, popup_menu_items, mask, view); gtk_widget_show (menu); gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, event->button, event->time); } else if (event->type == GDK_2BUTTON_PRESS && event->button == 1) { /* double-click */ custom_editor_cb (treeview, user_data); } return FALSE; } alleyoop-0.9.8/src/vgrulepattern.c0000644000175000001440000000541711276130505014135 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "vgrulepattern.h" struct _VgRulePattern { GPtrArray *patterns; vgrule_t type; char *syscall; }; VgRulePattern * vg_rule_pattern_new (VgRule *rule) { VgRulePattern *pat; VgCaller *c; pat = g_new (VgRulePattern, 1); pat->patterns = g_ptr_array_new (); pat->type = rule->type; pat->syscall = g_strdup (rule->syscall); c = rule->callers; while (c != NULL) { regex_t *regex; regex = g_new (regex_t, 1); if (regcomp (regex, c->name, REG_EXTENDED | REG_NOSUB) != 0) { g_free (regex); break; } g_ptr_array_add (pat->patterns, regex); c = c->next; } return pat; } void vg_rule_pattern_free (VgRulePattern *pat) { int i; if (pat == NULL) return; for (i = 0; i < pat->patterns->len; i++) { regex_t *regex = pat->patterns->pdata[i]; regfree (regex); g_free (regex); } g_ptr_array_free (pat->patterns, TRUE); g_free (pat->syscall); g_free (pat); } gboolean vg_rule_pattern_matches (VgRulePattern *pat, VgError *err) { VgErrorStack *s = err->summary->frames; vgrule_t type; int i; if (s == NULL) return FALSE; if (!vg_rule_type_from_report (err->summary->report, &type, NULL) || type != pat->type) return FALSE; if (pat->type == VG_RULE_PARAM) { const char *syscall; int n; syscall = err->summary->report + 14; n = strcspn (syscall, " "); if (n != strlen (pat->syscall) || strncmp (pat->syscall, syscall, n) != 0) return FALSE; } for (i = 0; s != NULL && i < pat->patterns->len; i++) { regex_t *regex = pat->patterns->pdata[i]; const char *str; if (s->symbol) { str = s->symbol; } else if (s->type == VG_STACK_OBJECT) { str = s->info.object; } else { return FALSE; } if (regexec (regex, str, 0, NULL, 0) != 0) return FALSE; s = s->next; } if (i == pat->patterns->len) return TRUE; return FALSE; } alleyoop-0.9.8/src/vgstrpool.c0000644000175000001440000000560011276130505013264 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include "vgstrpool.h" #ifdef ENABLE_STRPOOL static GHashTable *strpool = NULL; void vg_strpool_init (void) { if (strpool != NULL) return; strpool = g_hash_table_new (g_str_hash, g_str_equal); } static void strpool_foreach (gpointer key, gpointer val, gpointer user_data) { g_free (key); } void vg_strpool_shutdown (void) { if (strpool == NULL) return; g_hash_table_foreach (strpool, strpool_foreach, NULL); g_hash_table_destroy (strpool); strpool = NULL; } char * vg_strpool_add (char *string, int own) { void *ref_countp; int ref_count; char *str; g_return_val_if_fail (strpool != NULL, string); g_return_val_if_fail (string != NULL, NULL); if (!g_hash_table_lookup_extended (strpool, string, (void **) &str, &ref_countp)) { str = own ? string : g_strdup (string); ref_count = 0; } else { if (own) g_free (string); ref_count = GPOINTER_TO_INT (ref_countp); } ref_count++; g_hash_table_insert (strpool, str, GINT_TO_POINTER (ref_count)); return str; } char * vg_strdup (const char *string) { if (string == NULL) return NULL; if (string[0] == '\0') return ""; return vg_strpool_add ((char *) string, FALSE); } char * vg_strndup (const char *string, size_t n) { char *str; if (string == NULL) return NULL; if (n == 0 || string[0] == '\0') return ""; str = g_strndup (string, n); return vg_strpool_add (str, TRUE); } void vg_strfree (char *string) { void *ref_countp; int ref_count; char *str; g_return_if_fail (strpool != NULL); if (string == NULL || string[0] == '\0') return; if (!g_hash_table_lookup_extended (strpool, string, (void **) &str, &ref_countp)) { g_warning ("tring to free a string (%p) not created with vg_str[n]dup", string); g_free (string); return; } ref_count = GPOINTER_TO_INT (ref_countp); if (ref_count == 1) { g_hash_table_remove (strpool, str); g_free (str); } else { ref_count--; g_hash_table_insert (strpool, str, GINT_TO_POINTER (ref_count)); } } #endif /* ENABLE_STRPOOL */ alleyoop-0.9.8/src/vgio.h0000644000175000001440000000221711276130505012177 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VGIO_H__ #define __VGIO_H__ #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ ssize_t vg_read (int fd, char *buf, size_t n); ssize_t vg_write (int fd, const char *buf, size_t n); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VGIO_H__ */ alleyoop-0.9.8/src/legolas.h0000644000175000001440000000576411276130505012673 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __LEGOLAS_H__ #define __LEGOLAS_H__ #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ typedef size_t vma_t; typedef struct _ElfDesc ElfDesc; typedef struct _ElfSection { struct _ElfSection *next; struct _ElfSection *link; const char *name; ElfDesc *elfd; size_t index; void *data; vma_t vma; } ElfSection; typedef struct _ElfSymbol { struct _ElfSymbol *next; ElfSection *sect; const char *name; ElfDesc *elfd; size_t index; } ElfSymbol; typedef enum { ELF_TYPE_ANY, ELF_TYPE_RELOCATABLE, ELF_TYPE_EXECUTABLE, ELF_TYPE_SHARED_OBJECT, ELF_TYPE_CORE } ElfType; /* errno's */ #define ELF_ENOTELF (-1) #define ELF_EINVALCLASS (-2) #define ELF_EINVALENC (-3) #define ELF_EINVALVER (-4) #define ELF_EINVALOSABI (-5) #define ELF_EINVALTYPE (-6) #define ELF_ENOTTYPE (-7) #define ELF_ENOARCH (-8) #define ELF_ESHDRSIZE (-9) /* elf flags */ #define ELF_FLAGS_HAS_SYMS (1 << 0) /* ELF files */ ElfDesc *elf_open (const char *filename, ElfType expect); void elf_close (ElfDesc *elfd); const char *elf_get_filename (ElfDesc *elfd); unsigned int elf_flags (ElfDesc *elfd); void elf_dump (ElfDesc *elfd); typedef void (* ElfSharedLibsForeachFunc) (ElfDesc *elfd, const char *libname, void *user_data); void elf_shared_libs_foreach (ElfDesc *elfd, ElfSharedLibsForeachFunc cb, void *user_data); /* ELF sections */ const ElfSection *elf_get_section_by_name (ElfDesc *elfd, const char *name); #define elf_section_vma (section) (((ElfSection *) section)->vma) size_t elf_section_get_size_before_reloc (const ElfSection *section); /* ELF symbol tables */ ElfSymbol *elf_get_symbols (ElfDesc *elfd); void elf_symbols_free (ElfSymbol *symbols); /* ELF symbol lookups */ int elf_find_nearest_line (ElfDesc *elfd, const ElfSection *section, ElfSymbol **syms, vma_t vma, const char **filename, const char **symname, unsigned int *lineno); int elf_symbols_lookup (ElfSymbol **syms, vma_t vma, const char **filename, const char **symname, unsigned int *lineno); /* error strings */ const char *elf_strerror (int err); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __LEGOLAS_H__ */ alleyoop-0.9.8/src/vgrulepattern.h0000644000175000001440000000246311276130505014140 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_RULE_PATTERN_H__ #define __VG_RULE_PATTERN_H__ #include "vgrule.h" #include "vgerror.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ typedef struct _VgRulePattern VgRulePattern; VgRulePattern *vg_rule_pattern_new (VgRule *rule); void vg_rule_pattern_free (VgRulePattern *pat); gboolean vg_rule_pattern_matches (VgRulePattern *pat, VgError *err); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_RULE_PATTERN_H__ */ alleyoop-0.9.8/src/vgtoolprefs.h0000644000175000001440000000424511276130505013610 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_TOOL_PREFS_H__ #define __VG_TOOL_PREFS_H__ #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_TOOL_PREFS (vg_tool_prefs_get_type ()) #define VG_TOOL_PREFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_TOOL_PREFS, VgToolPrefs)) #define VG_TOOL_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_TOOL_PREFS, VgToolPrefsClass)) #define VG_IS_TOOL_PREFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_TOOL_PREFS)) #define VG_IS_TOOL_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_TOOL_PREFS)) #define VG_TOOL_PREFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_TOOL_PREFS, VgToolPrefsClass)) typedef struct _VgToolPrefs VgToolPrefs; typedef struct _VgToolPrefsClass VgToolPrefsClass; struct _VgToolPrefs { GtkVBox parent_object; const char *label; }; struct _VgToolPrefsClass { GtkVBoxClass parent_class; /* virtual methods */ void (* apply) (VgToolPrefs *prefs); void (* get_argv) (VgToolPrefs *prefs, const char *tool, GPtrArray *argv); }; GType vg_tool_prefs_get_type (void); void vg_tool_prefs_apply (VgToolPrefs *prefs); void vg_tool_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_TOOL_PREFS_H__ */ alleyoop-0.9.8/src/vgsearchbar.h0000644000175000001440000000464111276130505013525 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_SEARCH_BAR_H__ #define __VG_SEARCH_BAR_H__ #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_SEARCH_BAR (vg_search_bar_get_type ()) #define VG_SEARCH_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_SEARCH_BAR, VgSearchBar)) #define VG_SEARCH_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_SEARCH_BAR, VgSearchBarClass)) #define VG_IS_SEARCH_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_SEARCH_BAR)) #define VG_IS_SEARCH_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_SEARCH_BAR)) #define VG_SEARCH_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_SEARCH_BAR, VgSearchBarClass)) typedef struct _VgSearchBar VgSearchBar; typedef struct _VgSearchBarClass VgSearchBarClass; typedef struct _VgSearchBarItem { const char *label; int id; } VgSearchBarItem; struct _VgSearchBar { GtkHBox parent_object; GtkOptionMenu *menu; GtkEntry *entry; GtkWidget *clear; int item_id; }; struct _VgSearchBarClass { GtkHBoxClass parent_class; /* virtual methods */ void (* set_menu_items) (VgSearchBar *bar, VgSearchBarItem *items); /* signals */ void (* search) (VgSearchBar *bar, int item_id); void (* clear) (VgSearchBar *bar); }; GType vg_search_bar_get_type (void); GtkWidget *vg_search_bar_new (void); void vg_search_bar_set_menu_items (VgSearchBar *bar, VgSearchBarItem *items); const char *vg_search_bar_get_text (VgSearchBar *bar); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_SEARCH_BAR_H__ */ alleyoop-0.9.8/src/alleyoop.h0000644000175000001440000000426711276130505013066 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __ALLEYOOP_H__ #define __ALLEYOOP_H__ #include #include #include "vgerror.h" #include "process.h" #define ALLEYOOP_TYPE (alleyoop_get_type ()) #define ALLEYOOP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ALLEYOOP_TYPE, Alleyoop)) #define ALLEYOOP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ALLEYOOP_TYPE, AlleyoopClass)) #define IS_ALLEYOOP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ALLEYOOP_TYPE)) #define IS_ALLEYOOP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ALLEYOOP_TYPE)) #define ALLEYOOP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ALLEYOOP_TYPE, AlleyoopClass)) typedef struct _Alleyoop Alleyoop; typedef struct _AlleyoopClass AlleyoopClass; struct _Alleyoop { GnomeApp parent_object; const char *tool; const char **argv; const char **srcdir; GtkWidget *view; GIOChannel *gio; guint watch_id; pid_t pid; GtkWidget *toolbar_run; GtkWidget *toolbar_kill; GtkWidget *about; /* About dialog */ GtkWidget *prefs; /* Prefs dialog */ }; struct _AlleyoopClass { GnomeAppClass parent_class; }; GType alleyoop_get_type (void); GtkWidget *alleyoop_new (const char *tool, const char **argv, const char **srcdir); void alleyoop_run (Alleyoop *alleyoop, GError **err); void alleyoop_kill (Alleyoop *alleyoop); #endif /* __ALLEYOOP_H__ */ alleyoop-0.9.8/src/vgrule-list.h0000644000175000001440000000502711276130505013512 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_RULE_LIST_H__ #define __VG_RULE_LIST_H__ #include #include "vgrule-editor.h" #include "list.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_RULE_LIST (vg_rule_list_get_type ()) #define VG_RULE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_RULE_LIST, VgRuleList)) #define VG_RULE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_RULE_LIST, VgRuleListClass)) #define IS_VG_RULE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_RULE_LIST)) #define IS_VG_RULE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_RULE_LIST)) #define VG_RULE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_RULE_LIST, VgRuleListClass)) typedef struct _VgRuleList VgRuleList; typedef struct _VgRuleListClass VgRuleListClass; struct _VgRuleList { GtkVBox parent_object; GtkTreeModel *model; GtkWidget *list; List rules; GtkWidget *add; GtkWidget *edit; GtkWidget *remove; char *filename; VgRuleParser *parser; GIOChannel *gio; guint show_id; guint load_id; gboolean changed; }; struct _VgRuleListClass { GtkVBoxClass parent_class; /* signals */ void (* rule_added) (VgRuleList *list, VgRule *rule); }; GType vg_rule_list_get_class (void); GtkWidget *vg_rule_list_new (const char *filename); void vg_rule_list_set_filename (VgRuleList *list, const char *filename); int vg_rule_list_save (VgRuleList *list); /* interface to get add a rule from another window */ void vg_rule_list_add_rule (VgRuleList *list, const char *title, GtkWindow *parent, VgErrorSummary *summary); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_RULE_LIST__ */ alleyoop-0.9.8/src/list.c0000644000175000001440000000424411276130505012203 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include "list.h" void list_init (List *list) { list->head = (ListNode *) &list->tail; list->tail = NULL; list->tailpred = (ListNode *) &list->head; } int list_is_empty (List *list) { return list->head == (ListNode *) &list->tail; } int list_length (List *list) { ListNode *node; int n = 0; node = list->head; while (node->next) { node = node->next; n++; } return n; } ListNode * list_unlink_head (List *list) { ListNode *n, *nn; n = list->head; nn = n->next; if (nn) { nn->prev = n->prev; list->head = nn; return n; } return NULL; } ListNode * list_unlink_tail (List *list) { ListNode *n, *np; n = list->tailpred; np = n->prev; if (np) { np->next = n->next; list->tailpred = np; return n; } return NULL; } ListNode * list_prepend_node (List *list, ListNode *node) { node->next = list->head; node->prev = (ListNode *) &list->head; list->head->prev = node; list->head = node; return node; } ListNode * list_append_node (List *list, ListNode *node) { node->next = (ListNode *) &list->tail; node->prev = list->tailpred; list->tailpred->next = node; list->tailpred = node; return node; } ListNode * list_node_unlink (ListNode *node) { node->next->prev = node->prev; node->prev->next = node->next; return node; } alleyoop-0.9.8/src/vggeneralprefs.c0000644000175000001440000003146111303124127014235 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include "vggeneralprefs.h" #define DEMANGLE_KEY "/apps/alleyoop/valgrind/general/demangle" #define NUM_CALLERS_KEY "/apps/alleyoop/valgrind/general/num-callers" #define ERROR_LIMIT_KEY "/apps/alleyoop/valgrind/general/error-limit" #ifdef SLOPPY_MALLOC #define SLOPPY_MALLOC_KEY "/apps/alleyoop/valgrind/general/sloppy-malloc" #endif #define TRACE_CHILDREN_KEY "/apps/alleyoop/valgrind/general/trace-children" #define TRACK_FDS_KEY "/apps/alleyoop/valgrind/general/track-fds" #define TRACK_ORIGINS_KEY "/apps/alleyoop/valgrind/general/track-origins" #define TIME_STAMP_KEY "/apps/alleyoop/valgrind/general/time-stamp" #define RUN_LIBC_FREERES_KEY "/apps/alleyoop/valgrind/general/run-libc-freeres" #define SUPPRESSIONS_KEY "/apps/alleyoop/valgrind/general/suppressions" static void vg_general_prefs_class_init (VgGeneralPrefsClass *klass); static void vg_general_prefs_init (VgGeneralPrefs *prefs); static void vg_general_prefs_destroy (GtkObject *obj); static void vg_general_prefs_finalize (GObject *obj); static void general_prefs_apply (VgToolPrefs *prefs); static void general_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv); static VgToolPrefsClass *parent_class = NULL; GType vg_general_prefs_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (VgGeneralPrefsClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) vg_general_prefs_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (VgGeneralPrefs), 0, /* n_preallocs */ (GInstanceInitFunc) vg_general_prefs_init, }; type = g_type_register_static (VG_TYPE_TOOL_PREFS, "VgGeneralPrefs", &info, 0); } return type; } static void vg_general_prefs_class_init (VgGeneralPrefsClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); VgToolPrefsClass *tool_class = VG_TOOL_PREFS_CLASS (klass); parent_class = g_type_class_ref (VG_TYPE_TOOL_PREFS); object_class->finalize = vg_general_prefs_finalize; gtk_object_class->destroy = vg_general_prefs_destroy; /* virtual methods */ tool_class->apply = general_prefs_apply; tool_class->get_argv = general_prefs_get_argv; } static void toggle_button_toggled (GtkToggleButton *toggle, const char *key) { GConfClient *gconf; gboolean bool; gconf = gconf_client_get_default (); bool = gtk_toggle_button_get_active (toggle); gconf_client_set_bool (gconf, key, bool, NULL); g_object_unref (gconf); } static gboolean spin_focus_out (GtkSpinButton *spin, GdkEventFocus *event, const char *key) { GConfClient *gconf; int num; gconf = gconf_client_get_default (); num = gtk_spin_button_get_value_as_int (spin); gconf_client_set_int (gconf, key, num, NULL); g_object_unref (gconf); return FALSE; } static void file_entry_changed (GtkEntry *entry, const char *key) { GnomeFileEntry *file_entry; GConfClient *gconf; char *str; gconf = gconf_client_get_default (); file_entry = (GnomeFileEntry *) gtk_widget_get_ancestor ((GtkWidget *) entry, GNOME_TYPE_FILE_ENTRY); str = gnome_file_entry_get_full_path (file_entry, FALSE); gconf_client_set_string (gconf, key, str ? str : "", NULL); g_free (str); g_object_unref (gconf); } static void vg_general_prefs_init (VgGeneralPrefs *prefs) { GtkWidget *vbox, *hbox, *label, *w; GConfClient *gconf; GError *err = NULL; GtkWidget *widget; gboolean bool; char *str; int num; gconf = gconf_client_get_default (); ((VgToolPrefs *) prefs)->label = _("General"); vbox = (GtkWidget *) prefs; gtk_box_set_spacing ((GtkBox *) vbox, 6); bool = gconf_client_get_bool (gconf, DEMANGLE_KEY, NULL); widget = gtk_check_button_new_with_label (_("Demangle c++ symbol names")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), DEMANGLE_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->demangle = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Show")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); num = gconf_client_get_int (gconf, NUM_CALLERS_KEY, NULL); widget = gtk_spin_button_new_with_range (0, (gdouble) 1024, 1); gtk_widget_show (widget); prefs->num_callers = (GtkSpinButton *) widget; gtk_spin_button_set_digits (prefs->num_callers, 0); gtk_spin_button_set_numeric (prefs->num_callers, TRUE); gtk_spin_button_set_value (prefs->num_callers, (gdouble) num); g_signal_connect (widget, "focus-out-event", G_CALLBACK (spin_focus_out), NUM_CALLERS_KEY); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); label = gtk_label_new (_("callers in stack trace")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); bool = gconf_client_get_bool (gconf, ERROR_LIMIT_KEY, NULL); widget = gtk_check_button_new_with_label (_("Stop showing errors if there are too many")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), ERROR_LIMIT_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->error_limit = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); #ifdef SLOPPY_MALLOC bool = gconf_client_get_bool (gconf, SLOPPY_MALLOC_KEY, NULL); widget = gtk_check_button_new_with_label (_("Round malloc sizes to next word")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), SLOPPY_MALLOC_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->sloppy_malloc = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); #endif bool = gconf_client_get_bool (gconf, TRACE_CHILDREN_KEY, NULL); widget = gtk_check_button_new_with_label (_("Trace any child processes forked off by the program being debugged")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), TRACE_CHILDREN_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->trace_children = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); bool = gconf_client_get_bool (gconf, TRACK_FDS_KEY, NULL); widget = gtk_check_button_new_with_label (_("Track open file descriptors")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), TRACK_FDS_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->track_fds = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); bool = gconf_client_get_bool (gconf, TRACK_ORIGINS_KEY, NULL); widget = gtk_check_button_new_with_label (_("Track origins of undefined values")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), TRACK_ORIGINS_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->track_origins = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); bool = gconf_client_get_bool (gconf, TIME_STAMP_KEY, NULL); widget = gtk_check_button_new_with_label (_("Add time stamps to log messages")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), TIME_STAMP_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->time_stamp = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); bool = gconf_client_get_bool (gconf, RUN_LIBC_FREERES_KEY, NULL); widget = gtk_check_button_new_with_label (_("Call __libc_freeres() at exit before checking for memory leaks")); g_signal_connect (widget, "toggled", G_CALLBACK (toggle_button_toggled), RUN_LIBC_FREERES_KEY); gtk_toggle_button_set_active ((GtkToggleButton *) widget, bool); prefs->run_libc_freeres = (GtkToggleButton *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) vbox, widget, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Suppressions File:")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); if (!(str = gconf_client_get_string (gconf, SUPPRESSIONS_KEY, &err)) || err != NULL) { int fd; str = g_build_filename (g_get_home_dir (), ".alleyoop.supp", NULL); if ((fd = open (str, O_WRONLY | O_CREAT, 0666)) == -1) { g_free (str); str = NULL; } else { close (fd); } g_clear_error (&err); } widget = gnome_file_entry_new ("suppressions-id", _("Choose Valgrind Suppressions File...")); w = gnome_file_entry_gtk_entry ((GnomeFileEntry *) widget); g_signal_connect (w, "changed", G_CALLBACK (file_entry_changed), SUPPRESSIONS_KEY); gtk_entry_set_text ((GtkEntry *) w, str ? str : ""); prefs->suppressions = (GnomeFileEntry *) widget; gtk_widget_show (widget); gtk_box_pack_start ((GtkBox *) hbox, widget, FALSE, FALSE, 0); g_free (str); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); g_object_unref (gconf); } static void vg_general_prefs_finalize (GObject *obj) { G_OBJECT_CLASS (parent_class)->finalize (obj); } static void vg_general_prefs_destroy (GtkObject *obj) { GTK_OBJECT_CLASS (parent_class)->destroy (obj); } static void general_prefs_apply (VgToolPrefs *prefs) { ; } enum { ARG_TYPE_BOOL, ARG_TYPE_INT, ARG_TYPE_STRING }; static struct { const char *key; const char *arg; char *buf; int type; int dval; } general_args[] = { { DEMANGLE_KEY, "--demangle", NULL, ARG_TYPE_BOOL, 1 }, { NUM_CALLERS_KEY, "--num-callers", NULL, ARG_TYPE_INT, 0 }, { ERROR_LIMIT_KEY, "--error-limit", NULL, ARG_TYPE_BOOL, 1 }, #ifdef SLOPPY_MALLOC { SLOPPY_MALLOC_KEY, "--sloppy-malloc", NULL, ARG_TYPE_BOOL, 0 }, #endif { TRACE_CHILDREN_KEY, "--trace-children", NULL, ARG_TYPE_BOOL, 0 }, { TRACK_FDS_KEY, "--track-fds", NULL, ARG_TYPE_BOOL, 0 }, { TRACK_ORIGINS_KEY, "--track-origins", NULL, ARG_TYPE_BOOL, 0 }, { TIME_STAMP_KEY, "--time-stamp", NULL, ARG_TYPE_BOOL, 0 }, { RUN_LIBC_FREERES_KEY, "--run-libc-freeres", NULL, ARG_TYPE_BOOL, 0 }, { SUPPRESSIONS_KEY, "--suppressions", NULL, ARG_TYPE_STRING, 0 }, }; static void general_prefs_get_argv (VgToolPrefs *prefs, const char *tool, GPtrArray *argv) { GConfClient *gconf; int bool, num, i; char *str; gconf = gconf_client_get_default (); /*g_ptr_array_add (argv, "--alignment=8");*/ for (i = 0; i < G_N_ELEMENTS (general_args); i++) { const char *arg = general_args[i].arg; const char *key = general_args[i].key; struct stat st; g_free (general_args[i].buf); if (general_args[i].type == ARG_TYPE_INT) { num = gconf_client_get_int (gconf, key, NULL); if (num == general_args[i].dval) continue; general_args[i].buf = g_strdup_printf ("%s=%d", arg, num); } else if (general_args[i].type == ARG_TYPE_BOOL) { bool = gconf_client_get_bool (gconf, key, NULL) ? 1 : 0; if (bool == general_args[i].dval) continue; general_args[i].buf = g_strdup_printf ("%s=%s", arg, bool ? "yes" : "no"); } else { if (!(str = gconf_client_get_string (gconf, key, NULL)) || *str == '\0') { general_args[i].buf = NULL; g_free (str); continue; } if (!strcmp (general_args[i].key, SUPPRESSIONS_KEY) && (stat (str, &st) == -1 || !S_ISREG (st.st_mode))) { general_args[i].buf = NULL; g_free (str); continue; } general_args[i].buf = g_strdup_printf ("%s=%s", arg, str); g_free (str); } g_ptr_array_add (argv, general_args[i].buf); } g_object_unref (gconf); } alleyoop-0.9.8/src/list.h0000644000175000001440000000316611276130505012212 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __LIST_H__ #define __LIST_H__ #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ typedef struct _ListNode { struct _ListNode *next; struct _ListNode *prev; } ListNode; typedef struct { ListNode *head; ListNode *tail; ListNode *tailpred; } List; #define LIST_INITIALIZER(l) { (ListNode *) &l.tail, NULL, (ListNode *) &l.head } void list_init (List *list); int list_is_empty (List *list); int list_length (List *list); ListNode *list_unlink_head (List *list); ListNode *list_unlink_tail (List *list); ListNode *list_prepend_node (List *list, ListNode *node); ListNode *list_append_node (List *list, ListNode *node); ListNode *list_node_unlink (ListNode *node); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __LIST_H__ */ alleyoop-0.9.8/src/menu-utils.h0000644000175000001440000000301011276130505013325 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __MENU_UTILS_H__ #define __MENU_UTILS_H__ #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ struct _MenuItem { char *label; char *stock_id; guint is_stock : 1; guint is_toggle : 1; guint is_radio : 1; guint is_active : 1; GCallback callback; guint32 disable_mask; }; #define MENU_ITEM_SEPARATOR { "", NULL, FALSE, FALSE, FALSE, FALSE, NULL, 0 } #define MENU_ITEM_TERMINATOR { NULL, NULL, FALSE, FALSE, FALSE, FALSE, NULL, 0 } void menu_utils_construct_menu (GtkWidget *menu, struct _MenuItem *items, guint32 disable_mask, void *user_data); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __MENU_UTILS_H__ */ alleyoop-0.9.8/src/parser.h0000644000175000001440000000257211276130505012533 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __PARSER_H__ #define __PARSER_H__ #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define PARSER_SCAN_HEAD (128) #define PARSER_SCAN_BUF (4096) typedef struct _Parser { unsigned char realbuf[PARSER_SCAN_HEAD + PARSER_SCAN_BUF + 1]; unsigned char *inbuf; unsigned char *inptr; unsigned char *inend; int fd; } Parser; void parser_init (Parser *parser, int fd); ssize_t parser_fill (Parser *parser); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __PARSER_H__ */ alleyoop-0.9.8/src/legolas.c0000644000175000001440000010210711276130505012653 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include "vgio.h" #include "legolas.h" struct _ElfDesc { char *filename; int fd; union { Elf32_Ehdr hdr32; Elf64_Ehdr hdr64; } hdr; void *secthdrs; ElfSection *sections; ElfSection *shstrtab; }; static char *elf_class[ELFCLASSNUM] = { "Invalid class", "32-bit objects", "64-bit objects" }; static char *elf_data[ELFDATANUM] = { "Invalid data encoding", "2's compliment, little endian", "2's compliment, big endian" }; #define ELFOSABINUM 256 static char *elf_osabi[ELFOSABINUM] = { "UNIX System V", "HP-UX", "NetbSD", "Linux", NULL, NULL, "Sun Solaris", "IBM AIX", "SGI Irix", "FreeBSD", "Compaq TRU64", "Novell Modesto", "OpenBSD", }; static char *elf_objtype[ET_NUM] = { "No file type", "Relocatable file", "Executable file", "Shared object file", "Core file", }; static char *elf_sym_types[16] = { "Unspecified", "Object", "Function", "Section", "File", "Common", "TLS (thread-local)", }; static const char * elf_arch (unsigned int arch) { switch (arch) { default: case EM_NONE: return "No machine"; case EM_M32: return "AT&T WE 32100"; case EM_SPARC: return "SUN SPARC"; case EM_386: return "Intel 80386"; case EM_68K: return "Motorola m68k family"; case EM_88K: return "Motorola m88k family"; case EM_860: return "Intel 80860"; case EM_MIPS: return "MIPS R3000 big-endian"; case EM_S370: return "IBM System/370"; case EM_MIPS_RS3_LE: return "MIPS R3000 little-endian"; case EM_PARISC: return "HPPA"; case EM_VPP500: return "Fujitsu VPP500"; case EM_SPARC32PLUS: return "Sun's \"v8plus\""; case EM_960: return "Intel 80960"; case EM_PPC: return "PowerPC"; case EM_PPC64: return "PowerPC 64-bit"; case EM_S390: return "IBM S390"; case EM_V800: return "NEC V800 series"; case EM_FR20: return "Fujitsu FR20"; case EM_RH32: return "TRW RH-32"; case EM_RCE: return "Motorola RCE"; case EM_ARM: return "ARM"; case EM_FAKE_ALPHA: return "Digital Alpha"; case EM_SH: return "Hitachi SH"; case EM_SPARCV9: return "SPARC v9 64-bit"; case EM_TRICORE: return "Siemens Tricore"; case EM_ARC: return "Argonaut RISC Core"; case EM_H8_300: return "Hitachi H8/300"; case EM_H8_300H: return "Hitachi H8/300H"; case EM_H8S: return "Hitachi H8S"; case EM_H8_500: return "Hitachi H8/500"; case EM_IA_64: return "Intel Merced"; case EM_MIPS_X: return "Stanford MIPS-X"; case EM_COLDFIRE: return "Motorola Coldfire"; case EM_68HC12: return "Motorola M68HC12"; case EM_MMA: return "Fujitsu Multimedia Accelerator"; case EM_PCP: return "Siemens PCP"; case EM_NCPU: return "Sony nCPU embedded RISC"; case EM_NDR1: return "Denso NDR1 microprocessor"; case EM_STARCORE: return "Motorola Start*Core processor"; case EM_ME16: return "Toyota ME16 processor"; case EM_ST100: return "STMicroelectronic ST100 processor"; case EM_TINYJ: return "Advanced Logic Corp. Tinyj emb.fam"; case EM_X86_64: return "AMD x86-64 architecture"; case EM_PDSP: return "Sony DSP Processor"; case EM_FX66: return "Siemens FX66 microcontroller"; case EM_ST9PLUS: return "STMicroelectronics ST9+ 8/16 mc"; case EM_ST7: return "STmicroelectronics ST7 8 bit mc"; case EM_68HC16: return "Motorola M68HC16 microcontroller"; case EM_68HC11: return "Motorola M68HC11 microcontroller"; case EM_68HC08: return "Motorola M68HC08 microcontroller"; case EM_68HC05: return "Motorola M68HC05 microcontroller"; case EM_SVX: return "Silicon Graphics SVx"; case EM_ST19: return "STMicroelectronics ST19 8 bit mc"; case EM_VAX: return "Digital VAX"; case EM_CRIS: return "Axis Communications 32-bit embedded processor"; case EM_JAVELIN: return "Infineon Technologies 32-bit embedded processor"; case EM_FIREPATH: return "Element 14 64-bit DSP Processor"; case EM_ZSP: return "LSI Logic 16-bit DSP Processor"; case EM_MMIX: return "Donald Knuth's educational 64-bit processor"; case EM_HUANY: return "Harvard University machine-independent object files"; case EM_PRISM: return "SiTera Prism"; case EM_AVR: return "Atmel AVR 8-bit microcontroller"; case EM_FR30: return "Fujitsu FR30"; case EM_D10V: return "Mitsubishi D10V"; case EM_D30V: return "Mitsubishi D30V"; case EM_V850: return "NEC v850"; case EM_M32R: return "Mitsubishi M32R"; case EM_MN10300: return "Matsushita MN10300"; case EM_MN10200: return "Matsushita MN10200"; case EM_PJ: return "picoJava"; case EM_OPENRISC: return "OpenRISC 32-bit embedded processor"; case EM_ARC_A5: return "ARC Cores Tangent-A5"; case EM_XTENSA: return "Tensilica Xtensa Architecture"; } } static int elf32_load (ElfDesc *elfd, unsigned char *ident, ElfType expect) { Elf32_Ehdr *hdr32 = &elfd->hdr.hdr32; ElfSection *sect, *tail; unsigned char *shstrtab; unsigned char *sectbuf; Elf32_Shdr *secthdrs; size_t sectoff, n; int fd = elfd->fd; int i; if (hdr32->e_type == ET_NONE || hdr32->e_type >= ET_NUM) { errno = ELF_EINVALTYPE; return -1; } if (expect && hdr32->e_type != expect) { errno = ELF_ENOTTYPE; return -1; } if (hdr32->e_machine == EM_NONE) { errno = ELF_ENOARCH; return -1; } if (hdr32->e_version != EV_CURRENT) { errno = ELF_EINVALVER; return -1; } if (hdr32->e_shoff != 0) { if (hdr32->e_shentsize != sizeof (Elf32_Shdr)) { errno = ELF_ESHDRSIZE; return -1; } if (lseek (fd, hdr32->e_shoff, SEEK_SET) == -1) return -1; n = hdr32->e_shnum * hdr32->e_shentsize; if (!(secthdrs = elfd->secthdrs = malloc (n))) { errno = ENOMEM; return -1; } /* read in our section headers */ if (vg_read (fd, (char *) secthdrs, n) == -1) return -1; /* load our shstrtab first */ if ((i = hdr32->e_shstrndx) != SHN_UNDEF) { if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(shstrtab = malloc (secthdrs[i].sh_size))) { errno = ENOMEM; return -1; } if (vg_read (fd, shstrtab, secthdrs[i].sh_size) == -1) return -1; } else { shstrtab = NULL; } /* create our linked list of ElfSections */ if (!(sectbuf = malloc (sizeof (ElfSection) * hdr32->e_shnum))) { errno = ENOMEM; return -1; } sectoff = 0; elfd->sections = NULL; tail = (ElfSection *) &elfd->sections; for (i = 0; i < hdr32->e_shnum; i++, sectoff += sizeof (ElfSection)) { sect = (ElfSection *) (sectbuf + sectoff); sect->next = NULL; sect->name = shstrtab ? shstrtab + secthdrs[i].sh_name : NULL; sect->elfd = elfd; sect->index = i; sect->vma = secthdrs[i].sh_addr; sect->data = NULL; if (secthdrs[i].sh_link) sect->link = (ElfSection *) (sectbuf + (secthdrs[i].sh_link * sizeof (ElfSection))); else sect->link = NULL; switch (secthdrs[i].sh_type) { case SHT_STRTAB: if (i != hdr32->e_shstrndx) { /* load the string table */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(sect->data = malloc (secthdrs[i].sh_size))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, secthdrs[i].sh_size) == -1) return -1; } else { /* this is the shstrtab, we've already loaded it */ sect->data = shstrtab; elfd->shstrtab = sect; } break; case SHT_SYMTAB: case SHT_DYNSYM: /* load the symbol table */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; n = secthdrs[i].sh_entsize * sizeof (Elf32_Sym); if (!(sect->data = malloc (n))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, n) == -1) return -1; break; case SHT_DYNAMIC: /* load the dynamic linking information */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; n = secthdrs[i].sh_entsize * sizeof (Elf32_Dyn); if (!(sect->data = malloc (n))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, n) == -1) return -1; break; case SHT_PROGBITS: if (sect->name == NULL) break; if (!strcmp (sect->name, ".interp")) { /* contains the path of the interpreter */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(sect->data = malloc (secthdrs[i].sh_size + 1))) { errno = ENOMEM; return -1; } ((char *) sect->data)[secthdrs[i].sh_size] = '\0'; if (vg_read (fd, sect->data, secthdrs[i].sh_size) == -1) return -1; } else if (!strcmp (sect->name, ".debug_str")) { /* contains the Dwarf2 debug string table */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(sect->data = malloc (secthdrs[i].sh_size + 1))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, secthdrs[i].sh_size) == -1) return -1; } else if (!strcmp (sect->name, ".debug_line")) { /* contains the Dwarf2 debug line-info table */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(sect->data = malloc (secthdrs[i].sh_size + 1))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, secthdrs[i].sh_size) == -1) return -1; } else if (!strcmp (sect->name, ".debug_pubnames")) { /* contains the Dwarf2 debug pubnames (public symbol strings) */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(sect->data = malloc (secthdrs[i].sh_size + 1))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, secthdrs[i].sh_size) == -1) return -1; } break; default: break; } tail->next = sect; tail = sect; } } return 0; } static int elf64_load (ElfDesc *elfd, unsigned char *ident, ElfType expect) { Elf64_Ehdr *hdr64 = &elfd->hdr.hdr64; ElfSection *sect, *tail; unsigned char *shstrtab; unsigned char *sectbuf; Elf64_Shdr *secthdrs; size_t sectoff, n; int fd = elfd->fd; int i; if (hdr64->e_type == ET_NONE || hdr64->e_type >= ET_NUM) { errno = ELF_EINVALTYPE; return -1; } if (expect && hdr64->e_type != expect) { errno = ELF_ENOTTYPE; return -1; } if (hdr64->e_machine == EM_NONE) { errno = ELF_ENOARCH; return -1; } if (hdr64->e_version != EV_CURRENT) { errno = ELF_EINVALVER; return -1; } if (hdr64->e_shoff != 0) { if (hdr64->e_shentsize != sizeof (Elf64_Shdr)) { errno = ELF_ESHDRSIZE; return -1; } if (lseek (fd, hdr64->e_shoff, SEEK_SET) == -1) return -1; n = hdr64->e_shnum * hdr64->e_shentsize; if (!(secthdrs = elfd->secthdrs = malloc (n))) { errno = ENOMEM; return -1; } /* read in our section headers */ if (vg_read (fd, (char *) secthdrs, n) == -1) return -1; /* load our shstrtab first */ if ((i = hdr64->e_shstrndx) != SHN_UNDEF) { if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(shstrtab = malloc (secthdrs[i].sh_size))) { errno = ENOMEM; return -1; } if (vg_read (fd, shstrtab, secthdrs[i].sh_size) == -1) return -1; } else { shstrtab = NULL; } /* create our linked list of ElfSections */ if (!(sectbuf = malloc (sizeof (ElfSection) * hdr64->e_shnum))) { errno = ENOMEM; return -1; } sectoff = 0; elfd->sections = NULL; tail = (ElfSection *) &elfd->sections; for (i = 0; i < hdr64->e_shnum; i++, sectoff += sizeof (ElfSection)) { sect = (ElfSection *) (sectbuf + sectoff); sect->next = NULL; sect->name = shstrtab ? shstrtab + secthdrs[i].sh_name : NULL; sect->elfd = elfd; sect->index = i; sect->vma = secthdrs[i].sh_addr; sect->data = NULL; if (secthdrs[i].sh_link) sect->link = (ElfSection *) (sectbuf + (secthdrs[i].sh_link * sizeof (ElfSection))); else sect->link = NULL; switch (secthdrs[i].sh_type) { case SHT_STRTAB: if (i != hdr64->e_shstrndx) { /* load the string table */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(sect->data = malloc (secthdrs[i].sh_size))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, secthdrs[i].sh_size) == -1) return -1; } else { /* this is the shstrtab, we've already loaded it */ sect->data = shstrtab; elfd->shstrtab = sect; } break; case SHT_SYMTAB: case SHT_DYNSYM: /* load the symbol table */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; n = secthdrs[i].sh_entsize * sizeof (Elf32_Sym); if (!(sect->data = malloc (n))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, n) == -1) return -1; break; case SHT_DYNAMIC: /* load the dynamic linking information */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; n = secthdrs[i].sh_entsize * sizeof (Elf32_Dyn); if (!(sect->data = malloc (n))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, n) == -1) return -1; break; case SHT_PROGBITS: if (sect->name == NULL) break; if (!strcmp (sect->name, ".interp")) { /* contains the path of the interpreter */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(sect->data = malloc (secthdrs[i].sh_size + 1))) { errno = ENOMEM; return -1; } ((char *) sect->data)[secthdrs[i].sh_size] = '\0'; if (vg_read (fd, sect->data, secthdrs[i].sh_size) == -1) return -1; } else if (!strcmp (sect->name, ".debug_str")) { /* contains the Dwarf2 debug string table */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(sect->data = malloc (secthdrs[i].sh_size + 1))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, secthdrs[i].sh_size) == -1) return -1; } else if (!strcmp (sect->name, ".debug_line")) { /* contains the Dwarf2 debug line-info table */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(sect->data = malloc (secthdrs[i].sh_size + 1))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, secthdrs[i].sh_size) == -1) return -1; } else if (!strcmp (sect->name, ".debug_pubnames")) { /* contains the Dwarf2 debug pubnames (public symbol strings) */ if (lseek (fd, secthdrs[i].sh_offset, SEEK_SET) == -1) return -1; if (!(sect->data = malloc (secthdrs[i].sh_size + 1))) { errno = ENOMEM; return -1; } if (vg_read (fd, sect->data, secthdrs[i].sh_size) == -1) return -1; } break; default: break; } tail->next = sect; tail = sect; } } return 0; } ElfDesc * elf_open (const char *filename, ElfType expect) { unsigned char ident[EI_NIDENT], *hdr; ElfDesc *elfd = NULL; ElfSection *sect; int errnosav, fd; size_t n; if ((fd = open (filename, O_RDONLY)) == -1) return NULL; if (vg_read (fd, ident, EI_NIDENT) == -1) { errnosav = errno; while (close (fd) == -1) ; errno = errnosav; return NULL; } if (memcmp (ident, ELFMAG, SELFMAG) != 0) { while (close (fd) == -1) ; errno = ELF_ENOTELF; return NULL; } if (ident[EI_CLASS] == ELFCLASSNONE || ident[EI_CLASS] >= ELFCLASSNUM) { while (close (fd) == -1) ; errno = ELF_EINVALCLASS; return NULL; } if (ident[EI_DATA] == ELFDATANONE || ident[EI_DATA] >= ELFDATANUM) { while (close (fd) == -1) ; errno = ELF_EINVALENC; return NULL; } if (ident[EI_VERSION] != EV_CURRENT) { while (close (fd) == -1) ; errno = ELF_EINVALVER; return NULL; } if (elf_osabi [ident[EI_OSABI]] == NULL) { while (close (fd) == -1) ; errno = ELF_EINVALOSABI; return NULL; } if (!(elfd = calloc (1, sizeof (ElfDesc)))) { while (close (fd) == -1) ; errno = ENOMEM; return NULL; } if (!(elfd->filename = strdup (filename))) { while (close (fd) == -1) ; free (elfd); errno = ENOMEM; return NULL; } elfd->fd = fd; if (ident[EI_CLASS] == ELFCLASS32) { n = sizeof (Elf32_Ehdr) - EI_NIDENT; } else if (ident[EI_CLASS] == ELFCLASS64) { n = sizeof (Elf64_Ehdr) - EI_NIDENT; } else { errno = ELF_EINVALCLASS; goto exception; } hdr = (unsigned char *) &elfd->hdr; memcpy (hdr, ident, EI_NIDENT); hdr += EI_NIDENT; if (vg_read (fd, hdr, n) == -1) { errnosav = errno; while (close (fd) == -1) ; free (elfd->filename); free (elfd); errno = errnosav; return NULL; } if (ident[EI_CLASS] == ELFCLASS32) { if (elf32_load (elfd, ident, expect) == -1) goto exception; } else { if (elf64_load (elfd, ident, expect) == -1) goto exception; } return elfd; exception: errnosav = errno; while (close (fd) == -1) ; errno = errnosav; sect = elfd->sections; while (sect != NULL) { free (sect->data); sect = sect->next; } free (elfd->filename); free (elfd->secthdrs); free (elfd->sections); /* yes, this free's the entire linked list. isn't my code leet? */ free (elfd); return NULL; } void elf_close (ElfDesc *elfd) { ElfSection *sect; while (close (elfd->fd) == -1) ; sect = elfd->sections; while (sect != NULL) { free (sect->data); sect = sect->next; } free (elfd->filename); free (elfd->secthdrs); free (elfd->sections); /* yes, this free's the entire linked list. isn't my code leet? */ free (elfd); } const char * elf_filename (ElfDesc *elfd) { return elfd->filename; } unsigned int elf_flags (ElfDesc *elfd) { /* FIXME: implement me */ return 0; } static void elf32_sym_dump (Elf32_Sym *sym, const char *strtab) { unsigned char st_type; const char *type; st_type = ELF32_ST_TYPE (sym->st_info); type = elf_sym_types[st_type]; printf (" Symbol name offset %u\n", sym->st_name); if (strtab != NULL) printf (" Symbol name %s\n", strtab + sym->st_name); printf (" Symbol value %u\n", sym->st_value); printf (" Symbol size %u\n", sym->st_size); printf (" Symbol binding %u\n", ELF32_ST_BIND (sym->st_info)); printf (" Symbol type %u (%s)\n", st_type, type ? type : "OS Specific"); printf (" Symbol other %u\n", sym->st_other); printf (" Symbol shindex %u\n\n", sym->st_shndx); } static void elf64_sym_dump (Elf64_Sym *sym, const char *strtab) { unsigned char st_type; const char *type; st_type = ELF64_ST_TYPE (sym->st_info); type = elf_sym_types[st_type]; printf (" Symbol name offset %u\n", sym->st_name); if (strtab != NULL) printf (" Symbol name %s\n", strtab + sym->st_name); printf (" Symbol value %u\n", sym->st_value); printf (" Symbol size %u\n", sym->st_size); printf (" Symbol binding %u\n", ELF64_ST_BIND (sym->st_info)); printf (" Symbol type %u (%s)\n", st_type, type ? type : "OS Specific"); printf (" Symbol other %u\n", sym->st_other); printf (" Symbol shindex %u\n\n", sym->st_shndx); } static void elf32_dyn_dump (Elf32_Dyn *dyn, const char *strtab) { printf (" Dynamic linking tag: %u\n", dyn->d_tag); printf (" Dynamic linking val/addr: %u\n", dyn->d_un.d_val); if (strtab && dyn->d_tag == DT_NEEDED) printf (" Dynamically Linked Library: %s\n", strtab + dyn->d_un.d_val); printf ("\n"); } static void elf64_dyn_dump (Elf64_Dyn *dyn, const char *strtab) { printf (" Dynamic linking tag: %u\n", dyn->d_tag); printf (" Dynamic linking val/addr: %u\n", dyn->d_un.d_val); if (strtab && dyn->d_tag == DT_NEEDED) printf (" Dynamically Linked Library: %s\n", strtab + dyn->d_un.d_val); printf ("\n"); } static void elf32_section_dump (ElfSection *sect) { Elf32_Shdr *secthdrs; Elf32_Sym *syms; Elf32_Dyn *dyn; char *strtab; size_t i, n; secthdrs = (Elf32_Shdr *) sect->elfd->secthdrs; i = sect->index; printf ("Section name index: %u\n", secthdrs[i].sh_name); if (sect->name != NULL) printf ("Section name: %s\n", sect->name); printf ("Section type: %u\n", secthdrs[i].sh_type); printf ("Section flags: %u\n", secthdrs[i].sh_flags); printf ("Section virtual addr at execution: 0x%x\n", secthdrs[i].sh_addr); printf ("Section file offset: %u\n", secthdrs[i].sh_offset); printf ("Section size in bytes: %u\n", secthdrs[i].sh_size); printf ("Link to another section: %u\n", secthdrs[i].sh_link); printf ("Additional section information: %u\n", secthdrs[i].sh_info); printf ("Section alignment: %u\n", secthdrs[i].sh_addralign); printf ("Entry size if section holds table: %u\n", secthdrs[i].sh_entsize); if (sect->data != NULL) { switch (secthdrs[i].sh_type) { case SHT_SYMTAB: case SHT_DYNSYM: printf ("\n Symbol Table contains:\n\n"); syms = sect->data; strtab = sect->link && sect->link->data ? sect->link->data : NULL; n = secthdrs[i].sh_entsize; for (i = 0; i < n; i++) elf32_sym_dump (&syms[i], strtab); break; case SHT_DYNAMIC: printf ("\n Dynamic Linking Information:\n\n"); dyn = sect->data; strtab = sect->link && sect->link->data ? sect->link->data : NULL; n = secthdrs[i].sh_entsize; for (i = 0; i < n; i++) elf32_dyn_dump (&dyn[i], strtab); break; default: printf ("\n"); break; } } else { printf ("\n"); } } static void elf64_section_dump (ElfSection *sect) { Elf64_Shdr *secthdrs; Elf64_Sym *syms; Elf64_Dyn *dyn; char *strtab; size_t i, n; secthdrs = (Elf64_Shdr *) sect->elfd->secthdrs; i = sect->index; printf ("Section name index: %u\n", secthdrs[i].sh_name); if (sect->name != NULL) printf ("Section name: %s\n", sect->name); printf ("Section type: %u\n", secthdrs[i].sh_type); printf ("Section flags: %u\n", secthdrs[i].sh_flags); printf ("Section virtual addr at execution: 0x%x\n", secthdrs[i].sh_addr); printf ("Section file offset: %u\n", secthdrs[i].sh_offset); printf ("Section size in bytes: %u\n", secthdrs[i].sh_size); printf ("Link to another section: %u\n", secthdrs[i].sh_link); printf ("Additional section information: %u\n", secthdrs[i].sh_info); printf ("Section alignment: %u\n", secthdrs[i].sh_addralign); printf ("Entry size if section holds table: %u\n", secthdrs[i].sh_entsize); if (sect->data != NULL) { switch (secthdrs[i].sh_type) { case SHT_SYMTAB: case SHT_DYNSYM: printf ("\nSymbol Table contains:\n"); syms = sect->data; strtab = sect->link && sect->link->data ? sect->link->data : NULL; n = secthdrs[i].sh_entsize; for (i = 0; i < n; i++) elf64_sym_dump (&syms[i], strtab); break; case SHT_DYNAMIC: printf ("\nDynamic Linking Information:\n"); dyn = sect->data; strtab = sect->link && sect->link->data ? sect->link->data : NULL; n = secthdrs[i].sh_entsize; for (i = 0; i < n; i++) elf64_dyn_dump (&dyn[i], strtab); break; default: printf ("\n"); break; } } else { printf ("\n"); } } static void elf_hdr32_dump (Elf32_Ehdr *hdr32) { printf ("Object file type: %s\n", elf_objtype[hdr32->e_type]); printf ("Architecture: %s\n", elf_arch (hdr32->e_machine)); printf ("Object file version: %u\n", hdr32->e_version); printf ("Entry point virtual address: 0x%x\n", hdr32->e_entry); printf ("Program header table file offset: %u\n", hdr32->e_phoff); printf ("Section header table file offset: %u\n", hdr32->e_shoff); printf ("Processor-specific flags: %u\n", hdr32->e_flags); printf ("ELF header size in bytes: %u\n", hdr32->e_ehsize); printf ("Program header table entry size: %u\n", hdr32->e_phentsize); printf ("Program header table entry count: %u\n", hdr32->e_phnum); printf ("Section header table entry size: %u\n", hdr32->e_shentsize); printf ("Section header table entry count: %u\n", hdr32->e_shnum); printf ("Section header string table index: %u\n", hdr32->e_shstrndx); } static void elf_hdr64_dump (Elf64_Ehdr *hdr64) { printf ("Object file type: %s\n", elf_objtype[hdr64->e_type]); printf ("Architecture: %s\n", elf_arch (hdr64->e_machine)); printf ("Object file version: %u\n", hdr64->e_version); printf ("Entry point virtual address: 0x%x\n", hdr64->e_entry); printf ("Program header table file offset: %u\n", hdr64->e_phoff); printf ("Section header table file offset: %u\n", hdr64->e_shoff); printf ("Processor-specific flags: %u\n", hdr64->e_flags); printf ("ELF header size in bytes: %u\n", hdr64->e_ehsize); printf ("Program header table entry size: %u\n", hdr64->e_phentsize); printf ("Program header table entry count: %u\n", hdr64->e_phnum); printf ("Section header table entry size: %u\n", hdr64->e_shentsize); printf ("Section header table entry count: %u\n", hdr64->e_shnum); printf ("Section header string table index: %u\n", hdr64->e_shstrndx); } void elf_dump (ElfDesc *elfd) { unsigned char *ident; ElfSection *sect; ident = elfd->hdr.hdr32.e_ident; printf ("Object sizes: %s\n", elf_class[ident[EI_CLASS]]); printf ("Data encoding: %s\n", elf_data[ident[EI_DATA]]); printf ("ELF version: %d\n", (int) ident[EI_VERSION]); printf ("Operating System ABI: %s\n", elf_osabi[ident[EI_OSABI]]); printf ("OS ABI version: %d\n", (int) ident[EI_ABIVERSION]); printf ("--- padding ---\n"); if (ident[EI_CLASS] == ELFCLASS32) elf_hdr32_dump (&elfd->hdr.hdr32); else elf_hdr64_dump (&elfd->hdr.hdr64); printf ("\nELF Sections:\n\n"); sect = elfd->sections; while (sect != NULL) { printf ("Section %u:\n", sect->index); if (ident[EI_CLASS] == ELFCLASS32) elf32_section_dump (sect); else elf64_section_dump (sect); sect = sect->next; } } void elf_shared_libs_foreach (ElfDesc *elfd, ElfSharedLibsForeachFunc cb, void *user_data) { const char *strtab, *libname; unsigned char *ident; ElfSection *sect; size_t i, n; ident = elfd->hdr.hdr32.e_ident; sect = elfd->sections; if (ident[EI_CLASS] == ELFCLASS32) { Elf32_Shdr *secthdrs = elfd->secthdrs; Elf32_Dyn *dyn; while (sect != NULL) { dyn = sect->data; if (secthdrs[sect->index].sh_type == SHT_DYNAMIC && dyn) strtab = sect->link && sect->link->data ? sect->link->data : NULL; else strtab = NULL; if (strtab != NULL) { n = secthdrs[sect->index].sh_entsize; for (i = 0; i < n; i++) { if (dyn[i].d_tag == DT_NEEDED) { libname = strtab + dyn[i].d_un.d_val; if (*libname) cb (elfd, libname, user_data); } } } sect = sect->next; } } else { Elf64_Shdr *secthdrs = elfd->secthdrs; Elf64_Dyn *dyn; while (sect != NULL) { dyn = sect->data; if (secthdrs[sect->index].sh_type == SHT_DYNAMIC && dyn) strtab = sect->link && sect->link->data ? sect->link->data : NULL; else strtab = NULL; if (strtab != NULL) { n = secthdrs[sect->index].sh_entsize; for (i = 0; i < n; i++) { if (dyn[i].d_tag == DT_NEEDED) { libname = strtab + dyn[i].d_un.d_val; if (*libname) cb (elfd, libname, user_data); } } } sect = sect->next; } } } const ElfSection * elf_get_section_by_name (ElfDesc *elfd, const char *name) { ElfSection *sect; if (name == NULL) return NULL; if (elfd->shstrtab == NULL || elfd->shstrtab->data == NULL) return NULL; sect = elfd->sections; while (sect != NULL) { if (sect->name && !strcmp (sect->name, name)) return sect; sect = sect->next; } return NULL; } size_t elf_section_get_size_before_reloc (const ElfSection *section) { unsigned char *ident; ElfDesc *elfd; size_t i; elfd = section->elfd; i = section->index; ident = elfd->hdr.hdr32.e_ident; if (ident[EI_CLASS] == ELFCLASS32) { Elf32_Shdr *secthdrs = (Elf32_Shdr *) elfd->secthdrs; return secthdrs[i].sh_entsize; } else { Elf64_Shdr *secthdrs = (Elf64_Shdr *) elfd->secthdrs; return secthdrs[i].sh_entsize; } } static ElfSymbol * elf32_get_symbols (ElfDesc *elfd) { ElfSymbol *symbols, *sym, *tail; Elf32_Shdr *secthdrs; ElfSection *sect; Elf32_Sym *syms; char *strtab; size_t i, n; symbols = NULL; tail = (ElfSymbol *) &symbols; secthdrs = (Elf32_Shdr *) elfd->secthdrs; sect = elfd->sections; while (sect != NULL) { switch (secthdrs[sect->index].sh_type) { case SHT_SYMTAB: case SHT_DYNSYM: /* sect->link points to our string table section */ strtab = sect->link && sect->link->data ? sect->link->data : NULL; syms = sect->data; n = secthdrs[sect->index].sh_entsize; for (i = 0; i < n; i++) { if (!(sym = malloc (sizeof (ElfSymbol)))) { errno = ENOMEM; goto exception; } sym->next = NULL; sym->sect = sect; sym->name = strtab ? strtab + syms[i].st_name : NULL; sym->elfd = elfd; sym->index = i; tail->next = sym; tail = sym; } break; default: break; } sect = sect->next; } return symbols; exception: sym = symbols; while (sym != NULL) { tail = sym->next; free (sym); sym = tail; } return NULL; } static ElfSymbol * elf64_get_symbols (ElfDesc *elfd) { ElfSymbol *symbols, *sym, *tail; Elf64_Shdr *secthdrs; ElfSection *sect; Elf64_Sym *syms; char *strtab; size_t i, n; symbols = NULL; tail = (ElfSymbol *) &symbols; secthdrs = (Elf64_Shdr *) elfd->secthdrs; sect = elfd->sections; while (sect != NULL) { switch (secthdrs[sect->index].sh_type) { case SHT_SYMTAB: case SHT_DYNSYM: /* sect->link points to our string table section */ strtab = sect->link && sect->link->data ? sect->link->data : NULL; syms = sect->data; n = secthdrs[sect->index].sh_entsize; for (i = 0; i < n; i++) { if (!(sym = malloc (sizeof (ElfSymbol)))) { errno = ENOMEM; goto exception; } sym->next = NULL; sym->sect = sect; sym->name = strtab ? strtab + syms[i].st_name : NULL; sym->elfd = elfd; sym->index = i; tail->next = sym; tail = sym; } break; default: break; } sect = sect->next; } return symbols; exception: sym = symbols; while (sym != NULL) { tail = sym->next; free (sym); sym = tail; } return NULL; } ElfSymbol * elf_get_symbols (ElfDesc *elfd) { unsigned char *ident; ident = elfd->hdr.hdr32.e_ident; if (ident[EI_CLASS] == ELFCLASS32) return elf32_get_symbols (elfd); else return elf64_get_symbols (elfd); } void elf_symbols_free (ElfSymbol *symbols) { ElfSymbol *sym, *n; sym = symbols; while (sym != NULL) { n = sym->next; free (sym); sym = n; } } static int elf32_find_nearest_line (ElfDesc *elfd, const ElfSection *section, ElfSymbol **syms, vma_t vma, const char **filename, const char **symname, unsigned int *lineno) { return 0; } static int elf64_find_nearest_line (ElfDesc *elfd, const ElfSection *section, ElfSymbol **syms, vma_t vma, const char **filename, const char **symname, unsigned int *lineno) { return 0; } int elf_find_nearest_line (ElfDesc *elfd, const ElfSection *section, ElfSymbol **syms, vma_t vma, const char **filename, const char **symname, unsigned int *lineno) { unsigned char *ident; ident = elfd->hdr.hdr32.e_ident; if (ident[EI_CLASS] == ELFCLASS32) return elf32_find_nearest_line (elfd, section, syms, vma, filename, symname, lineno); else return elf64_find_nearest_line (elfd, section, syms, vma, filename, symname, lineno); } const char * elf_strerror (int err) { if (err >= 0) return strerror (err); switch (err) { case ELF_ENOTELF: return "Not an ELF object"; case ELF_EINVALCLASS: return "Invalid ELF class"; case ELF_EINVALENC: return "Invalid ELF encoding"; case ELF_EINVALVER: return "Invalid ELF version"; case ELF_EINVALOSABI: return "Invalid ELF OS ABI"; case ELF_EINVALTYPE: return "Invalid ELF object type"; case ELF_ENOTTYPE: return "Not expected ELF object type"; case ELF_ENOARCH: return "ELF object is of unknown machine type"; case ELF_ESHDRSIZE: return "Unexpected ELF section header size"; } return "Not an ELF error"; } alleyoop-0.9.8/src/prefs.c0000644000175000001440000001741211276130505012350 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "prefs.h" #include "vgtoolprefs.h" #include "vggeneralprefs.h" #include "vghelgrindprefs.h" #include "vgmemcheckprefs.h" #include "vgcachegrindprefs.h" #define EDITOR_KEY "/apps/alleyoop/editor" #define NUM_LINES_KEY "/apps/alleyoop/num-lines" enum { PAGE_GENERAL = 0, PAGE_MEMCHECK = 1, PAGE_ADDRCHECK = PAGE_MEMCHECK, PAGE_CACHEGRIND = 2, PAGE_HELGRIND = 3, }; static GType page_types[] = { (GType) 0, /* general */ (GType) 0, /* memcheck (addrcheck) */ (GType) 0, /* cachegrind */ (GType) 0, /* helgrind */ }; #define NUM_PREFS_PAGES 4 static void alleyoop_prefs_class_init (AlleyoopPrefsClass *klass); static void alleyoop_prefs_init (AlleyoopPrefs *prefs); static void alleyoop_prefs_destroy (GtkObject *obj); static void alleyoop_prefs_finalize (GObject *obj); static GtkDialogClass *parent_class = NULL; GType alleyoop_prefs_get_type (void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof (AlleyoopPrefsClass), NULL, /* base_class_init */ NULL, /* base_class_finalize */ (GClassInitFunc) alleyoop_prefs_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (AlleyoopPrefs), 0, /* n_preallocs */ (GInstanceInitFunc) alleyoop_prefs_init, }; type = g_type_register_static (GTK_TYPE_DIALOG, "AlleyoopPrefs", &info, 0); } return type; } static void alleyoop_prefs_class_init (AlleyoopPrefsClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass); parent_class = g_type_class_ref (GTK_TYPE_DIALOG); object_class->finalize = alleyoop_prefs_finalize; gtk_object_class->destroy = alleyoop_prefs_destroy; if (page_types[0] == (GType) 0) { page_types[PAGE_GENERAL] = VG_TYPE_GENERAL_PREFS; page_types[PAGE_MEMCHECK] = VG_TYPE_MEMCHECK_PREFS; page_types[PAGE_CACHEGRIND] = VG_TYPE_CACHEGRIND_PREFS; page_types[PAGE_HELGRIND] = VG_TYPE_HELGRIND_PREFS; } } static gboolean entry_changed (GtkEntry *entry, GdkEvent *event, const char *key) { GConfClient *gconf; const char *str; gconf = gconf_client_get_default (); str = gtk_entry_get_text (entry); gconf_client_set_string (gconf, key, str ? str : "", NULL); g_object_unref (gconf); return FALSE; } static gboolean spin_changed (GtkSpinButton *spin, GdkEvent *event, const char *key) { GConfClient *gconf; int num; gconf = gconf_client_get_default (); num = gtk_spin_button_get_value_as_int (spin); gconf_client_set_int (gconf, key, num, NULL); g_object_unref (gconf); return FALSE; } static void alleyoop_prefs_init (AlleyoopPrefs *prefs) { GtkWidget *vbox, *hbox, *label; GtkWidget *notebook; GConfClient *gconf; int num, i; char *str; gconf = gconf_client_get_default (); gtk_window_set_title ((GtkWindow *) prefs, _("Alleyoop Preferences")); gtk_window_set_type_hint ((GtkWindow *) prefs, GDK_WINDOW_TYPE_HINT_NORMAL); gtk_dialog_add_button ((GtkDialog *) prefs, GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE); gtk_box_set_spacing ((GtkBox *) ((GtkDialog *) prefs)->vbox, 6); gtk_container_set_border_width ((GtkContainer *) prefs, 6); vbox = gtk_vbox_new (FALSE, 6); hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Editor:")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); if (!(str = gconf_client_get_string (gconf, EDITOR_KEY, NULL))) str = g_strdup ("emacsclient -n +${lineno} \"${filename}\""); prefs->editor = (GtkEntry *) gtk_entry_new (); gtk_entry_set_text (prefs->editor, str); g_signal_connect (prefs->editor, "focus-out-event", G_CALLBACK (entry_changed), EDITOR_KEY); gtk_widget_show ((GtkWidget *) prefs->editor); gtk_box_pack_start ((GtkBox *) hbox, (GtkWidget *) prefs->editor, TRUE, TRUE, 0); g_free (str); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 6); label = gtk_label_new (_("Preview")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); num = gconf_client_get_int (gconf, NUM_LINES_KEY, NULL); prefs->numlines = (GtkSpinButton *) gtk_spin_button_new_with_range (0, (gdouble) INT_MAX, 1); gtk_spin_button_set_digits (prefs->numlines, 0); gtk_spin_button_set_numeric (prefs->numlines, TRUE); gtk_spin_button_set_value (prefs->numlines, (gdouble) num); g_signal_connect (prefs->numlines, "focus-out-event", G_CALLBACK (spin_changed), NUM_LINES_KEY); gtk_widget_show ((GtkWidget *) prefs->numlines); gtk_box_pack_start ((GtkBox *) hbox, (GtkWidget *) prefs->numlines, FALSE, FALSE, 0); label = gtk_label_new (_("lines above and below the target line.")); gtk_widget_show (label); gtk_box_pack_start ((GtkBox *) hbox, label, FALSE, FALSE, 0); gtk_widget_show (hbox); gtk_box_pack_start ((GtkBox *) vbox, hbox, FALSE, FALSE, 0); notebook = gtk_notebook_new (); for (i = 0; i < NUM_PREFS_PAGES; i++) { prefs->pages[i] = g_object_new (page_types[i], NULL); label = gtk_label_new (((VgToolPrefs *) prefs->pages[i])->label); gtk_container_set_border_width ((GtkContainer *) prefs->pages[i], 6); gtk_widget_show (prefs->pages[i]); gtk_widget_show (label); gtk_notebook_append_page ((GtkNotebook *) notebook, prefs->pages[i], label); } gtk_widget_show (notebook); gtk_box_pack_start ((GtkBox *) vbox, notebook, FALSE, FALSE, 0); gtk_widget_show (vbox); gtk_box_pack_start_defaults (GTK_BOX (GTK_DIALOG (prefs)->vbox), vbox); g_object_unref (gconf); } static void alleyoop_prefs_finalize (GObject *obj) { G_OBJECT_CLASS (parent_class)->finalize (obj); } static void alleyoop_prefs_destroy (GtkObject *obj) { GTK_OBJECT_CLASS (parent_class)->destroy (obj); } GtkWidget * alleyoop_prefs_new (void) { AlleyoopPrefs *prefs; prefs = g_object_new (ALLEYOOP_TYPE_PREFS, NULL); return (GtkWidget *) prefs; } GPtrArray * alleyoop_prefs_create_argv (AlleyoopPrefs *prefs, const char *tool) { GPtrArray *argv; int page; argv = g_ptr_array_new (); g_ptr_array_add (argv, VALGRIND_PATH); if (tool != NULL) { if (!strcmp (tool, "memcheck")) { g_ptr_array_add (argv, "--tool=memcheck"); page = PAGE_MEMCHECK; } else if (!strcmp (tool, "addrcheck")) { g_ptr_array_add (argv, "--tool=addrcheck"); page = PAGE_ADDRCHECK; } else if (!strcmp (tool, "cachegrind")) { g_ptr_array_add (argv, "--tool=cachegrind"); page = PAGE_CACHEGRIND; } else if (!strcmp (tool, "helgrind")) { g_ptr_array_add (argv, "--tool=helgrind"); page = PAGE_HELGRIND; } else { g_assert_not_reached (); } } else { /* default tool */ g_ptr_array_add (argv, "--tool=memcheck"); page = PAGE_MEMCHECK; } /* next, apply the general prefs */ vg_tool_prefs_get_argv ((VgToolPrefs *) prefs->pages[PAGE_GENERAL], tool, argv); /* finally, apply the current view's prefs */ vg_tool_prefs_get_argv ((VgToolPrefs *) prefs->pages[page], tool, argv); return argv; } alleyoop-0.9.8/src/vgrule-editor.h0000644000175000001440000000543611276130505014031 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_RULE_EDITOR_H__ #define __VG_RULE_EDITOR_H__ #include #include "vgerror.h" #include "vgrule.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_RULE_EDITOR (vg_rule_editor_get_type ()) #define VG_RULE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_RULE_EDITOR, VgRuleEditor)) #define VG_RULE_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_RULE_EDITOR, VgRuleEditorClass)) #define IS_VG_RULE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_RULE_EDITOR)) #define IS_VG_RULE_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_RULE_EDITOR)) #define VG_RULE_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_RULE_EDITOR, VgRuleEditorClass)) typedef struct _VgRuleEditor VgRuleEditor; typedef struct _VgRuleEditorClass VgRuleEditorClass; struct _VgRuleEditor { GtkVBox parent_object; GtkEntry *name; GtkOptionMenu *type; GtkWidget *types[VG_RULE_LAST]; GtkEntry *syscall; GtkToggleButton *addrcheck; GtkToggleButton *memcheck; GPtrArray *callers; GtkBox *call_stack; }; struct _VgRuleEditorClass { GtkVBoxClass parent_class; }; GType vg_rule_editor_get_type (void); GtkWidget *vg_rule_editor_new (void); GtkWidget *vg_rule_editor_new_from_rule (VgRule *rule); GtkWidget *vg_rule_editor_new_from_summary (VgErrorSummary *summary); const char *vg_rule_editor_get_name (VgRuleEditor *editor); void vg_rule_editor_set_name (VgRuleEditor *editor, const char *name); void vg_rule_editor_set_type (VgRuleEditor *editor, vgrule_t type); void vg_rule_editor_set_syscall (VgRuleEditor *editor, const char *syscall); void vg_rule_editor_add_caller (VgRuleEditor *editor, vgcaller_t type, const char *name); VgRule *vg_rule_editor_get_rule (VgRuleEditor *editor); void vg_rule_editor_save (VgRuleEditor *editor, const char *filename); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_RULE_EDITOR_H__ */ alleyoop-0.9.8/src/vghelgrindprefs.h0000644000175000001440000000415311276130505014425 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Alleyoop * Copyright (C) 2003-2009 Jeffrey Stedfast * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ #ifndef __VG_HELGRIND_PREFS_H__ #define __VG_HELGRIND_PREFS_H__ #include "vgtoolprefs.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_HELGRIND_PREFS (vg_helgrind_prefs_get_type ()) #define VG_HELGRIND_PREFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_HELGRIND_PREFS, VgHelgrindPrefs)) #define VG_HELGRIND_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_HELGRIND_PREFS, VgHelgrindPrefsClass)) #define VG_IS_HELGRIND_PREFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_HELGRIND_PREFS)) #define VG_IS_HELGRIND_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_HELGRIND_PREFS)) #define VG_HELGRIND_PREFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_HELGRIND_PREFS, VgHelgrindPrefsClass)) typedef struct _VgHelgrindPrefs VgHelgrindPrefs; typedef struct _VgHelgrindPrefsClass VgHelgrindPrefsClass; struct _VgHelgrindPrefs { VgToolPrefs parent_object; GtkOptionMenu *happens_before; GtkToggleButton *enable_trace_addr; GtkEntry *trace_addr; GtkOptionMenu *trace_level; }; struct _VgHelgrindPrefsClass { VgToolPrefsClass parent_class; }; GType vg_helgrind_prefs_get_type (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_HELGRIND_PREFS_H__ */ alleyoop-0.9.8/README0000644000175000001440000001433211276130505011154 00000000000000This README is meant to address basic usage of Alleyoop until I get around to writing some real documentation. Basic Usage: ------------ To run Alleyoop, execute the following command at a shell prompt: alleyoop This will start the main user interface. At this point you will likely wish to click on the "Run" toolbar button (or use the shortcut keys: Control+R) which will prompt you to enter the name of a program to debug and any command-line arguments you wish to pass. Beware that environment variables in the command-line entered in the prompt will NOT be expanded. An easier way to do this (in my opinion, anyway) is to specify the program on the command-line: alleyoop ./a.out -v --arg1=foo aout.in The example above will initialise Alleyoop to run the command: ./a.out -v --arg1=foo aout.in when you click on the Run toolbar button. Command-line Arguments and Environment Variables: ------------------------------------------------- Because the debugging symbols in the program (and/or shared libraries that the program depends on) may not contain the full path of the source code for said object, you might need to use one of the following command-line arguments: -I, --include These arguments allow you to specify a single source path for Alleyoop to scan when you request it to load a source preview or launch an editor. You may use these as many times as you like. -R, --recursive These arguments, like -I or --include, allow you to specify a source path to Alleyoop. The difference is that -R and --recursive will also add all subdirectories of the path specified to Alleyoop's internal list of source paths. ALLEYOOP_INCLUDE_PATH Also for your convenience, there exists an environment variable, ALLEYOOP_INCLUDE_PATH, that Alleyoop will also use for this purpose. Like the PATH and LD_LIBRARY_PATH environment variables, directory names are delimited using the colon (:) character. Note: paths passed to Alleyoop via the command-line arguments take precedence over any specified in the environment variable under the assumption that the user will have likely set ALLEYOOP_INCLUDE_PATH for all the core libraries that the the programs he/she is interested in debugging while using the command-line arguments for source paths limited to the program itself. Other command-line arguments for Alleyoop include: --tool This command-line argument allows you to specify which Valgrind tool you want to use by default for this particular "Alleyoop Debug Session". An example usage might be: alleyoop --tool=addrcheck -h, --help Gee, I wonder ;-) -v, --version Prints the version and then exits. Using Alleyoop: --------------- Okay, now that you've been introduced to starting Alleyoop and its various command-line arguments, lets take a look at how to actually use Alleyoop. The first thing you are likely to notice is a big white rectangular area right below the toolbar/searchbar. This is the most important user interface element because this is where the errors will be reported. Once you hit that Run button in the toolbar, messages will start to appear. You should immediately notice that each line of text will have a side-ways triangle next to it. When you click on one of these triangles, the error message will expand to present you with more information. Generally, this information will consist of at least 1 call-chain[1]. When multiple call-chains appear, they will be separated by a singleton line giving further information about the error. Usually, call chains after the first will be used to provide you with clues as to where memory involved in the error was allocated or freed. Each line of a call-chain will normally have a side-ways triangle next to it as well. Expanding a call-chain tree node will, presuming Alleyoop can find the source file, load a preview of the source code involved in the error (you can configure the numbr of lines of context you wish to see in the preview, by default the number of context lines are 2 lines above and below the line with the error). There are several operations that you can do with a call-chain node: 1) Double-clicking a call-chain node with the left mouse button will launch your preferred editor on the source file containing the error (using the command-line you configured in the Preferences dialog). 2) Right-clicking a call-chain node will popup a context menu allowing you to: a) Cut/Copy: Selecting either of these items will copy the current error condition into your clipboard buffer in the format used by Valgrind. b) Suppress[2]: This item will open a suppression editor dialog pre-filled with the currently selected call-chain information. The suppression editor will also default the Suppression-Type and System-call values if it can. c) Edit in ...: These items all launch the editor specified in the menu name on the source file containing the error (similar to double-clicking a call-chain node as explained above). Note: The GNU/Emacs item is special - it first tries to use `emacsclient -n +${lineno} "${filename}"`. Failing that, it falls back to launching a new emacs editor. Using the Search Bar: --------------------- Like suppressions, the Search Bar (located just below the toolbar) can be a valuable tool in limiting the errors you see to those that you care about seeing. Unlike suppressions, however, they: 1) do not act like as a blacklist (instead, they act more as a whitelist). 2) are not permanantly applied - clearing the search will restore the full error log. You are currently able to search using the following criteria: Error contains: This option can be used to search for substrings in the error summary (toplevel node for each error). Function contains: Search for errors with a particular function in the call-chain. Object contains: Search for errors with a particular shared library (or other object) in a call-chain. Source filename contains: Search for errors where a function in the call-chain is in a particular source file. Note: Regular Expressions can be used when searching. Appendix: --------- 1. A call-chain is the first few parent stack frames leading up to the error. 2. A suppression is a way of ignoring specific errors produced by your program. For further information, see Valgrind's documentation. alleyoop-0.9.8/intltool-extract.in0000644000175000001440000000000011673145622014132 00000000000000alleyoop-0.9.8/missing0000755000175000001440000002623311673145625011710 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, 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 tar try tar, gnutar, gtar, then tar without non-portable flags 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. ;; tar*) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $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 ;; tar*) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: alleyoop-0.9.8/intltool-merge.in0000644000175000001440000000000011673145622013557 00000000000000alleyoop-0.9.8/ChangeLog0000644000175000001440000007437411673145577012102 000000000000002011-12-17 Jeffrey Stedfast * configure.in: Bumped version to 0.9.8 2010-12-06 Jeffrey Stedfast * src/vgmemcheckprefs.c: Added support for Memcheck's --track-origins flag. 2010-02-03 Jeffrey Stedfast * configure.in: Add -fno-strict-aliasing to CFLAGS. 2009-11-24 Jeffrey Stedfast * configure.in: We now require glib-2.0 >= 2.14 for GRegex. * src/vgdefaultview.c: Switched to using GRegex which gives us much nicer error messages when regex patterns fail to compile. Plus the GRegex API is a bit nicer to work with. 2009-11-23 Jeffrey Stedfast * configure.in: Bumped version to 0.9.7 * src/vgrule-list.c (vg_rule_list_add_rule): Use g_get_home_dir() instead of getenv("HOME") as this is probably more portable. * src/main.c (main): If getopts_get_args() returns 0 arguments, set args to NULL so that the Run command will prompt the user for a command to run. 2009-11-23 Jeffrey Stedfast * configure.in: Bumped version to 0.9.6 * src/vggeneralprefs.c (vg_general_prefs_init): Added new widget to control the --track-origins Valgrind option, thanks to a patch by Gérald Fauvelle. (general_args): Change the default value of the --num-callers argument to 0 so that if it somehow gets set to 0, it gets ignored rather than passing --num-callers=0 and causing Valgrind to error out. 2009-11-09 Jeffrey Stedfast * src/vggeneralprefs.c (general_prefs_get_argv): Don't bother with the --alignment argument anymore. Valgrind has long since been fixed to use a reasonable default. 2009-04-24 Jeffrey Stedfast Patch by Petr Uzel * src/vgmemcheckprefs.c: #include stdlib.h (entry_focus_out): Use strcmp for key comparisons. * src/vghelgrindprefs.c: #include stdlib.h (decode_hex_value): Fixed printf hex-formatter. (menu_item_activated): Use strcmp for key comparison. (option_menu_new): Same. (helgrind_prefs_get_argv): Here too. * src/vggeneralprefs.c (general_prefs_get_argv): Use strcmp for key comparison rather than a pointer compare. * src/vgerror.c (vg_error_parser_step): Removed unused variable. * src/vgdefaultview.c (tree_button_press): Return FALSE from non-void function. 2009-03-08 Jeffrey Stedfast * src/alleyoop.schemas: Updated. * src/vghelgrindprefs.c (helgrind_prefs_get_argv): Changed the trace-level gconf key to store an int instead of string. 2009-03-07 Jeffrey Stedfast * configure.in: Bumped version to 0.9.5 * src/main.c (main): Fixed options table to use CUSTOM args so that our callbacks get called. * src/vghelgrindprefs.c: Updated for the new Helgrind configuration options. (helgrind_prefs_get_argv): Disable --trace-addr/--trace-level if the trace-addr string is empty. * src/vgmemcheckprefs.c: Add support for --ignore-ranges, --malloc-fill, and --free-fill. 2009-02-08 Jeffrey Stedfast * configure.in: Bumped version to 0.9.4 * src/alleyoop.c: Get rid of the SymTab context - we don't actually want this anymore. Valgrind already gives us all we can hope to get from the debugging symbols for filename lookups. * src/vgtoolview.c (vg_tool_view_set_symtab): Removed. * src/vgdefaultview.c (resolve_full_path): Removed our own symtab lookups to try and get the source filename. If that debugging symbol information is available, Valgrind will give it to us, no need to do the same work for no added gain. * src/getopts.c (getopts_get_next_opt): When we get to the end of a group of short options, make sure to advance past any argument args that the short options may have consumed. * src/symtab.[c,h]: Removed. * src/ldd.[c,h]: Removed. 2007-09-15 Yannig Marchegay * po/oc.po: Updated Occitan translation 2007-04-05 Jeffrey Stedfast * src/vgdefaultview.c (view_show_error): Handle VG_STACK_EMPTY here too. * src/vgerror.c (vg_error_stack_new): Init the stack type to VG_STACK_EMPTY instead of VG_STACK_SOURCE so that we can better handle run-time generated code segments. (vg_error_parser_step): Handle "???" being at the end of the line too (e.g. not followed by a space). 2006-08-14 Jeffrey Stedfast * configure.in: Bumped version to 0.9.3 * src/main.c: Reworked to use my own custom getopt parser rather than popt since popt sucks and using it in combination with GnomeProgram breaks stuff anyway. * src/getopts.[c,h]: A really nice option parser API. 2006-07-28 Jeffrey Stedfast * configure.in: Bumped version to 0.9.2 * src/vgdefaultview.c (tree_button_press): Select the row before doing anything else in case the user is right-clicking or double-clicking a row that she did not select first. 2006-07-27 Jeffrey Stedfast * src/alleyoop.schemas: The default value for leak-check should be "no", not "false". 2006-07-06 Jeffrey Stedfast * src/vgstrpool.c (vg_strfree): Updated to not need to malloc memory for each bucket in the hash table (since all we really need is a ref_count, we can just use that as the hash table data). 2006-06-12 Jeffrey Stedfast * src/vgerror.c: Updated to use the new member names. * src/vgerror.h (timestamp_t): Changed to reduce the size by 20 bytes and use a union so we can have better member names. 2006-06-12 Jeffrey Stedfast * src/vgerror.c (decode_timestamp_and_pid): New function to extract the timestamp (2.4.0 and 3.1.0 formats) and pid in a log stream. (vg_error_parser_step): Use the new function to parse the timestamp formats to keep this function a little less messy. (vg_error_timestamp_to_string): New helper function to write out the correct timestamp format. (vg_error_stack_to_string): Use the timestamp formatter. (vg_error_summary_to_string): Same. (vg_error_to_string): Here too. * src/vgrule.c (vg_rule_type_from_report): Match against " in loss record " instead of " are still reachable in loss record " for Leak suppressions. This will match against all 3 types of Leak warnings. 2006-06-12 Jeffrey Stedfast * configure.in: Bumped version to 0.9.1 and making a release that works with Valgrind 3.1.0. * src/symtab.c (symtab_resolve_addr): Fixed some casting problems with some pointer arithmetic. 2006-02-28 Jeffrey Stedfast * src/vggeneralprefs.c: #ifdef'd out the --sloppy-malloc option that no longer seems to be available in Valgrind 3.1.0 * src/alleyoop.c (alleyoop_run): The Valgrind --logfile-fd option has changed to --log-fd in version 3.1.0 (possibly 3.0.0 too?) 2006-01-24 Clytie Siddall * configure.in: Added vi in ALL_LINGUAS line. 2005-08-01 Ahmad Riza H Nst * configure.in: Added id in ALL_LINGUAS line. 2005-06-09 Pauli Virtanen * configure.in: Added "fi" (Finnish) in ALL_LINGUAS. 2005-06-01 Jeffrey Stedfast * src/ldd.c (ldd_parse_linebuf): Made a little more robust. 2005-05-24 Pawan Chitrakar * configure.in: Added ne in ALL_LINGUAS 2005-05-05 Jeffrey Stedfast * configure.in: Bumped version to 0.9.0, making a new release that works with Valgrind 2.4.0 2005-04-08 Jeffrey Stedfast * src/alleyoop.c (alleyoop_run): Free the entire argv array after fork/exec'ing. * src/vgmemcheckprefs.c (vg_memcheck_prefs_init): The leak-check option is now an option menu rather than a checkbox with the following values: "no", "summary", "full". * src/vgrule.c (vg_rule_type_from_report): Added support for matching against leak reports. 2005-04-08 Jeffrey Stedfast * src/vgerror.c (vg_error_stack_new): Return NULL (this isn't a void function). (vg_error_parser_step): handle parsing the time-stamp if it exists. (vg_error_to_string): Handle outputting the time-stamp if available. (vg_error_summary_to_string): Same. (vg_error_stack_to_string): Same. * src/vgtoolview.c (tool_view_step): Must return a value. 2005-04-07 Jeffrey Stedfast * src/vggeneralprefs.c (vg_general_prefs_init): Add a checkbox for the new time-stamp feature of valgrind 2.4 2005-04-01 Steve Murphy * configure.in: Added "rw" to ALL_LINGUAS. 2005-02-10 Jeffrey Stedfast * src/vgrule-list.c (add_response_cb): Save the rules after adding it so that if the user never opens the rule-list widget, at least his suprpessions added from a right-click menu are saved. 2005-02-08 Jeffrey Stedfast * NEWS: Updated. * configure.in: Bumped the version to 0.8.3 2005-02-08 Jeffrey Stedfast * configure.in: check that bfd_get_section_size_before_reloc() exists * src/symtab.c (symtab_map_new): Use before_reloc() if we can (older binutils packages don't have the new symbol). 2005-01-31 Jeffrey Stedfast * src/symtab.c (symtab_map_new): Use bfd_get_section_size() to build with newer libbfd versions. 2004-09-29 Kjartan Maraas * configure.in: Add «nb» to ALL_LINGUAS. 2004-09-09 Ankit Patel * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS. 2004-06-25 Jeffrey Stedfast * src/vgerror.c (vg_error_parser_step): Handle "warning: ..." log messages (and any additional lines that belong to said warning message). 2004-04-30 Adam Weinberger * configure.in: Added en_CA to ALL_LINGUAS. 2004-04-07 Yuriy Syrota * configure.in: Added "uk" (Ukrainian) to ALL_LINGUAS. 2004-04-04 Jeffrey Stedfast * NEWS: Updated. * configure.in: Bumped the version to 0.8.2 2004-04-04 Gareth Owen * configure.in: Added en_GB to ALL_LINGUAS 2004-04-03 Jeffrey Stedfast * src/vggeneralprefs.c (general_prefs_get_argv): Fixed so we don't end up appending NULL args to argv. Doh. * src/vghelgrindprefs.c (helgrind_prefs_get_argv): Same. * src/vgmemcheckprefs.c (memcheck_prefs_get_argv): Same. * src/vgcachegrindprefs.c (cachegrind_prefs_get_argv): Check for empty string too. * src/prefs.c (alleyoop_prefs_create_argv): Always specify a skin (valgrind 2.1.1 seems to require this whereas previous versions did not). 2004-04-02 Jeffrey Stedfast * src/vghelgrindprefs.c (helgrind_prefs_get_argv): Same. * src/vgmemcheckprefs.c (memcheck_prefs_get_argv): Same as general_prefs_get_argv(). * src/vgerror.c (vg_error_stack_to_string): The stack addr token should begin with "0x" so add that. * src/alleyoop.c: Re-enable the menu item for the helgrind skin. * src/vggeneralprefs.c (vg_general_prefs_init): Added new option for --track-fds (new feature in valgrind 2.1.1, whoo!) (general_prefs_get_argv): Only pass the value on the command-line if it is not the default value (this way the user can run an older version of valgrind (ie. one that doesn't have the latest fancy feature that alleyoop has a setting for) successfully. 2004-03-22 Wang Jian * configure.in: Added "zh_CN" to ALL_LINGUAS. 2004-03-12 Jeffrey Stedfast * src/symtab.c (slurp_symtab): Use fprintf instead of g_warning. 2004-03-10 Alastair McKinstry * configure.in: Added "ga" to ALL_LINGUAS. 2004-03-09 Jeffrey Stedfast * src/vgerror.c (vg_error_parser_step): Fixed a type-o in the line-number parsing code. 2004-02-09 Jeffrey Stedfast * NEWS: Updated. * configure.in: Bumped the version to 0.8.1 * src/vgrule.c (vg_rule_type_from_report): Added code to detect invalid free error types as well as invalid reads of size 1,2,4,8. * src/vgerror.c (vg_error_pop): Restructured if/else statements to not need to check the same values twice. 2004-02-01 Robert Sedak * configure.in: Added "hr" (Croatian) to ALL_LINGUAS. 2004-01-24 Marcel Telka * configure.in (ALL_LINGUAS): Added sk. 2004-01-13 Laurent Dhima * configure.in: Added "sq" to ALL_LINGUAS. 2004-01-08 Jeffrey Stedfast * src/vgdefaultview.c (view_show_error): NULL-check the filename string before trying to append it to the GString. Prevents a warning from glib. 2004-01-07 Sanlig Badral * configure.in: Added "mn" to ALL_LINGUAS. 2004-01-03 Jeffrey Stedfast * src/process.c (process_fork): Oops, fixed a mistake from my last commit. * configure.in: Add a --disable-deprecated configure flag which is used to decide if we should define *_DISABLE_DEPRECATED in the build. * src/Makefile.am: Use the new DISABLE_DEPRECATED dingus. 2003-12-03 Jeffrey Stedfast * src/process.c (process_fork): Don't close all the child's fd's, use fcntl to set the FD_CLOEXEC attribute on them instead. Also start the loop at fd = 3 so we don't have to check for stdin/out/err. 2003-11-21 Jeffrey Stedfast * src/legolas.c (elf32_load): Load the .debug_str and .debug_line sections. (elf64_load): Same. 2003-11-15 Jeffrey Stedfast * src/legolas.c (elf32_load): load dynamic linking information. (elf64_load): Same. (elf_shared_libs_foreach): New function to get all the shared objects that an ELF object depends on. 2003-11-15 Jeffrey Stedfast * src/legolas.c: Changed the ElfSection structure to contain a link to a related section and also to hold its own data as there may be multiple strtabs and/or symtabs. ElfDesc now contains a pointer to the shstrtab ElfSection rather than the shstrtab data itself. (elf32_load): Upated for above design changes. (elf64_load): Same. (elf32_get_symbols): Implemented. (elf64_get_symbols): Implemented. (elf_dump): New function for debugging mostly, dumps parsed elf object contents to stdout. 2003-11-12 Jeffrey Stedfast * src/legolas.h: Make the definition of ElfSection public. * src/legolas.c (elf32_load): Construct a linked list of ElfSection's. (elf64_load): Same. (elf_close): Free the linked list of ElfSection's. 2003-11-10 Jeffrey Stedfast * src/legolas.[c,h]: New source files to decode ELF object files, eventually meant to replace our need for binutils' bfd. 2003-10-28 Jeffrey Stedfast * src/vggeneralprefs.c (general_prefs_get_argv): If the suppressions file doesn't exist, don't pass the arg. 2003-10-21 Jeffrey Stedfast * NEWS: Updated. * configure.in: Bumped the version to 0.8.0 2003-10-21 Jeffrey Stedfast * src/vgrulepattern.c (vg_rule_pattern_matches): Use vg_rule_type_from_report(). * src/vgrule.c (vg_rule_type_from_report): Split out from vg_rule_editor_new_from_summary(). Parses a summary report string to try and figure out what rule-type a suppression should be in order to suprpess this type of error. Also parses out the syscall string. * src/vgrule-editor.c (vg_rule_editor_new_from_summary): Use vg_rule_type_from_report(). 2003-10-20 Jeffrey Stedfast * src/vgrulepattern.c (vg_rule_pattern_free): Handle the case where @pat is NULL to be consistant with other free funcs. * src/vgrule.c (vg_rule_free): Free the syscall string member. * src/vgrule-list.c (edit_response_cb): emit the RULE_ADDED signal here too. * src/vgdefaultview.c (vg_default_view_init): init the list of suppressions (array of VgRulePatterns). (vg_default_view_finalize): free the suppression patterns. (recv_error_cb): suppress any errors that match any new rules the user has added since invocation. (valgrind_view_disconnect): Clear out suppression rules added this session. 2003-10-20 Jeffrey Stedfast * src/vgdefaultview.c (vg_default_view_init): Connect to the rule-added signal on the rule_list widget. (rule_added): New callback function for the rule_added signal. Removes all errors that match the new rule from the view. * src/vgrulepattern.[c,h]: New source files to construct a pattern matcher for a VgRule against a VgError. * src/vgrule-list.c (add_response_cb): Emit a rule-added event. * src/vgrule-editor.c (vg_rule_editor_new_from_summary): Set the addrcheck/memcheck checkboxes to TRUE. (vg_rule_editor_new): Same. 2003-09-01 Metin Amiroff * configure.in: Added "az" in ALL_LINGUAS. 2003-08-15 Christophe Merlet * configure.in: Added "fr" (French) to ALL_LINGUAS. 2003-07-27 Alessio Frusciante * configure.in: Added "it" (Italian) to ALL_LINGUAS. 2003-07-26 Hasbullah Bin Pit * configure.in: Added 'ms' (Malay) in ALL_LINGUAS. 2003-07-25 Artur Flinta * configure.in (ALL_LINGUAS): Added "pl" (Polish). 2003-07-09 Christian Neumair * configure.in (ALL_LINGUAS): Added "de" (German). 2003-06-06 Pablo Gonzalo del Campo * configure.in (ALL_LINGUAS): Add "es" (Spanish). 2003-06-01 Jeffrey Stedfast * NEWS: Updated. * configure.in: Bumped the version to 0.7.3 * src/main.c (main): Unref the program object after exiting the main loop. 2003-05-24 Jeffrey Stedfast * src/vgdefaultview.c (custom_editor_cb): Rearrange a bit for better error handling of the case where we cannot resolve the path of the source file. (emacs_cb): Handle not being able to resolve the src file path. (spawn_editor): Same. * src/vgerror.c (vg_error_parser_step): Modified to handle parsing error reports from multiple pids at once. 2003-05-21 Jeffrey Stedfast * NEWS: Updated. * configure.in: Bumped the version to 0.7.2 2003-05-21 Jeffrey Stedfast * src/alleyoop.c (alleyoop_finalize): Free the symtab. * src/vgrule-list.c (vg_rule_list_add_rule): Unref the gconf client when we finish with it. * src/vgmemcheckprefs.c (toggle_button_toggled): Unref the gconf client after we're done using it. (menu_item_activated): Same. (spin_focus_out): And here. (vg_memcheck_prefs_init): Same. (memcheck_prefs_get_argv): And finally here. * src/vghelgrindprefs.c (toggle_button_toggled): Unref the gconf client when we finish with it. (menu_item_activated): Same. (vg_helgrind_prefs_init): And here. (helgrind_prefs_get_argv): Here too. * src/vggeneralprefs.c (toggle_button_toggled): Unref the gconf client when we finish with it. (spin_focus_out): Here too. (file_entry_changed): And here. (vg_general_prefs_init): Same. (general_prefs_get_argv): Again here. * src/vgcachegrindprefs.c (toggle_button_toggled): Unref the gconf client when we finish with it. (entry_focus_out): Same. (vg_cachegrind_prefs_init): Here too. (cachegrind_prefs_get_argv): And finally here. * src/prefs.c (entry_changed): Unref the gconf client when we finish with it. (spin_changed): Same. (alleyoop_prefs_init): And here too. * src/vgdefaultview.c (vg_default_view_init): Save the gconf client on the view. (vg_default_view_destroy): Unref the gconf client. (vg_default_view_new): Use the view->gconf instead of using gconf_client_get_default (). (custom_editor_cb): Same. 2003-05-21 Jeffrey Stedfast * src/vgerror.c: Disable debug messages. * src/process.c: Disable debug messages. * src/symtab.c (slurp_symtab): Change warnings to use g_warning instead of fprintf. * src/alleyoop.c (alleyoop_run): Updated for new process_fork() API - we want to redirect stdin/out/err to our stdin/out/err. * src/process.c (process_fork): Take a new argument, redirect, which decides whether or not we want the child process to redirect its stdin/stdout/stderr to our stdin/stdout/stderr. * src/symtab.c (symtab_new): Updated for new process_fork() API - pass FALSE for redirect here as we don't want the output of ld redirected to our stdin/out/err. 2003-05-16 Jordi Mallach * configure.in (ALL_LINGUAS): Add "ca" (Catalan). 2003-05-09 Jeffrey Stedfast * src/vgrule-list.c: Use a linked list rather than a GPtrArray for storing the rules. This way we can quickly remove the rules when the user removes them via the UI. Also fixes a bug that relied on using the array indexes (which would become wrong if any rules with a lower index got removed). * src/list.[c,h]: New source files implementing a linked list. * src/vgerror.c (vg_error_parser_step): Ignore "IGNORED call to:" errors. 2003-05-08 Jeffrey Stedfast * src/vgrule-list.c (add_response_cb): Don't allow the user to save a rule without a name. (edit_response_cb): Same. * src/vgrule-editor.c (vg_rule_editor_new_from_summary): Set a default rule name - saves a lot of typing :-) (vg_rule_editor_get_name): New function to get the name of a rule from the editor. * src/vgerror.c (vg_error_parser_step): Handle Valgrind 1.9.6's thread-id output. 2003-05-07 Danilo Šegan * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS. 2003-04-29 Jeffrey Stedfast * alleyoop.c: s/AddrCheck/Addrcheck/ s/MemCheck/Memcheck/ Make sure we can write out both Valgrind 1.0.4 and 1.9.5 formatted supp files. (if you want to save a 1.0.4 formatted supp rule, simply don't check the Addrcheck nor Memcheck checkboxes). * src/vgrule-editor.c (vg_rule_editor_get_rule): If the Addrcheck/Memcheck checkboxes are checked, add them to the rule. (vg_rule_editor_new_from_rule): Set the 'active' state of the Addrcheck/Memcheck toggle buttons. (vg_rule_editor_init): Create the addrcheck and memcheck checkboxes. 2003-04-29 Kjartan Maraas * configure.in (ALL_LINGUAS): Added "no" (Norwegian) 2003-04-26 Evandro Fernandes Giovanini * configure.in (ALL_LINGUAS): Added "pt_BR" (Brazilian Portuguese). 2003-04-26 Jeffrey Stedfast * NEWS: Updated. * configure.in: Bumped version to 0.7.1 * README: Added some basic usage documentation. * src/prefs.c (alleyoop_prefs_init): Changed the default editor string. * src/vgdefaultview.c (custom_editor_cb): Launch the user's custom editor command-line. (tree_button_press): Add a double-click support - this launches the user's configured editor. 2003-04-25 Miloslav Trmac * configure.in: Added "cs" (Czech) to ALL_LINGUAS. 2003-04-25 Jeffrey Stedfast * src/prefs.c: Add another page. (alleyoop_prefs_class_init): Initialise page_types[PAGE_HELGRIND]. * src/vghelgrindprefs.[c,h]: New VgSkinPrefs subclass which implements the config options meant to be used with the Helgrind skin. 2003-04-23 Duarte Loreto * configure.in: Added "pt" (Portuguese) to ALL_LINGUAS. 2003-04-23 Christian Rose * configure.in: Added "sv" to ALL_LINGUAS. 2003-04-22 Jeffrey Stedfast * src/alleyoop.c (run_prompt_argv): New function to prompt for an executable (and command-line arguments) to debug. (file_run_cb): If alleyoop was started without an argv specified in the command-line, prompt for a program to execute. 2003-04-22 Jeffrey Stedfast * NEWS: Updated. * configure.in: Bumped version to 0.7.0 * src/vgmemcheckprefs.c: Fix a compiler warning introduced when the table fields changed. 2003-04-22 Jeffrey Stedfast * src/vgrule-list.c (vg_rule_list_new): Connect to the "map" signal to load the suppressiosn rather than the "show" signal. This fixes the "suppressions file doesn't load" bug that no one reported :-) * src/vgdefaultview.c (vg_default_view_init): Set the initial suppressions filename on the vgrule-list widget. 2003-04-22 Jeffrey Stedfast * src/alleyoop.c: Comment out the cachegrind and helgrind menu items since we don't support either yet. * src/main.c (main): Disable the ability to specify helgrind or cachegrind on the command-line (spit out a warning) since we don't yet support them. 2003-04-22 Jeffrey Stedfast Updated the suppressions rule parser to handle the 1.9.x file format as well as the 1.0.x format. * src/vgrule.c (vg_rule_new): Initialise the list of skins to NULL. (vg_rule_add_skin): New function to append a skin to the rule. (vg_rule_free): Free the list of skins the rule is meant for. (vg_rule_parser_step): If the line containing the suppression type also contains a list of skins for which it is meant to be used, parse the skin list as well. (vg_suppressions_file_append_rule): If the rule is meant to be used by only specific skins, make sure to write out the skins it is meant to be used with. (vg_suppressions_file_write_header): Updated to match the suppression header in the Valgrind 1.9.5 distribution. 2003-04-21 Jeffrey Stedfast * src/prefs.c (alleyoop_prefs_create_argv): Keep track of which page we need to grab the specific prefs from. * src/main.c: #define POPT_TABLEEND ourselves if it isn't already defined by popt.h. This is a workaround for systems such as SuSE 8.1 which ship with an old version of popt. 2003-04-21 Jeffrey Stedfast * src/alleyoop.schemas: Added Cachegrind options. * src/prefs.c: Added vgcachegrindprefs support. * src/vgcachegrindprefs.[c,h]: New VgSkinPrefs subclass which implements the config options meant to be used with the Cachegrind skin. 2003-04-20 Jeffrey Stedfast * src/main.c (main): Parse a --skin argument (syntax is exactly the same as for valgrind). Currently supported are just memcheck and addrcheck, however. * src/alleyoop.c (alleyoop_new): Now takes a skin argument which can be specified on the command-line. Also added a menu to allow the user to specify which skin to use for valgrind. (alleyoop_run): Pass the current 'skin' preference to alleyoop_prefs_create_argv(). * src/vgmemcheckprefs.c (memcheck_prefs_get_argv): Updated to handle both memcheck and addrcheck prefs (since they are virtually identical except for one command-line argument). * src/vgskinprefs.c (vg_skin_prefs_get_argv): Now takes a skin argument. * src/prefs.c (alleyoop_prefs_create_argv): Remove the code to add the --alignment=8 switch from here. Also now takes a 'skin' argument. If the skin is non-NULL, add the --skin= argument. * src/vggeneralprefs.c (general_prefs_get_argv): Move the alignment switch into here instead. Also updated to take a 'skin' argument. 2003-04-19 Jeffrey Stedfast * NEWS: Updated. * configure.in: Bumped version to 0.6.5 * src/vgdefaultview.c (resolve_full_path): Make sure the stack info's filename is non-NULL before dereferencing it. Also make sure the resolved sym->filename is not NULL. (valgrind_view_cut): Implemented. (valgrind_view_copy): Implemented. (valgrind_view_paste): Nothing to do here. 2003-04-19 Jeffrey Stedfast * NEWS: Updated. * configure.in: Bumped version to 0.6.4 * src/vgdefaultview.c (vg_default_view_finalize): Free the pre-compiled regex if a search is in effect. (set_search): New convenience function to set the view search_id and search_regex and free the old search_regex if needed. Also handles popping up a message dialog if the regex is invalid. (search_bar_search): Call set_search(). (search_bar_clear): Same. (view_rebuild): No longer takes an expr argument. Instead, we just use view->search_regex. (recv_error_cb): Since we now keep the search_regex on the view object, we can now apply the current search to any new errors that get reported, thus allowing us to update the view as new errors come in when a search is active. (tree_row_expanded): Don't free the srcbuf until *after* we've set it on the treeview model. D'oh! 2003-04-19 Jeffrey Stedfast * src/alleyoop.c (alleyoop_new): Don't create a searchbar, this needs to be handled by the view. * src/vgdefaultview.c (vg_default_view_init): Create our own search bar. (search_bar_clear): New callback for when the search gets cleared. Rebuild the view - show all errors. (search_bar_search): New callback for when a search is activated. Rebuild the view showing only those errors which match. (view_show_error): New convenience function which adds an error to the view. (error_matches_search): New function to see if an error matches the search expression. (view_rebuild): New convenience function to rebuild the view using the search expression (if there is any). (recv_error_cb): If the error matches the search, add it to the view using view_show_error() instead of doing it ourselves. * src/vgsearchbar.[c,h]: New source files implementing a basic search-bar widget. 2003-04-18 Jeffrey Stedfast * src/vgdefaultview.c (vg_default_view_new): Get the num-lines value from gconf instead of hard-coding it to 2. (tree_row_expanded): GtkTreeStore copies strings, so there's no need for us to keep a collection of malloc'd strings ourselves. (recv_error_cb): Same here. (vg_default_view_init): No need to keep an array of malloc'd strings anymore, so get rid of view->gc. (vg_default_view_finalize): Same here. (valgrind_view_clear): And here. * src/prefs.c (alleyoop_prefs_init): Added a new preference option allowing the user to specify the number of lines above and below the target src line he/she wishes to view in a preview. 2003-04-17 Jeffrey Stedfast * src/main.c (main): When printing the version, clean up any malloc'd memory before exiting. 2003-04-16 Jeffrey Stedfast * configure.in: Bumped version to 0.6.3 * po/POTFILES.in: Updated. * src/vgerror.c (vg_error_parser_flush): Only pop the unflushed error if we are in a state in which something may have been parsed (ie, not NEW_ERROR state). Otherwise free the error and reset the state. * src/vgdefaultview.c (valgrind_view_clear): After freeing all the VgErrors, set the size of the error array to 0 (not the gc size to 0 again). Copy-paste-o :-) (valgrind_view_disconnect): Flush the parser before freeing it to flush that last error off to our UI. * src/alleyoop.c (edit_clear_cb): New callback to clear the view's display. (edit_menu): Added a 'clear' menu item. * src/main.c (main): Add support for -R, --recursive. This new command-line option is similar to -I, --include, except that we recursively scan subdirectories and add them to the include path automagically.